Merge with gcc-4_3-branch up to revision 175516.
[official-gcc.git] / libstdc++-v3 / configure
blob2ce2fa2c9c02f1bbbdff1032d2f47bbaba2624b9
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
49 done
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
96 rm -f conf$$.sh
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
154 esac
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
238 IFS=" $as_nl"
240 # CDPATH.
241 $as_unset CDPATH
245 # Check that we are running under the correct shell.
246 SHELL=${CONFIG_SHELL-/bin/sh}
248 case X$lt_ECHO in
249 X*--fallback-echo)
250 # Remove one level of quotation (which was required for Make).
251 ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
253 esac
255 ECHO=${lt_ECHO-echo}
256 if test "X$1" = X--no-reexec; then
257 # Discard the --no-reexec flag, and continue.
258 shift
259 elif test "X$1" = X--fallback-echo; then
260 # Avoid inline document here, it may be left over
262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263 # Yippee, $ECHO works!
265 else
266 # Restart under the correct shell.
267 exec $SHELL "$0" --no-reexec ${1+"$@"}
270 if test "X$1" = X--fallback-echo; then
271 # used as fallback echo
272 shift
273 cat <<_LT_EOF
275 _LT_EOF
276 exit 0
279 # The HP-UX ksh and POSIX shell print the target directory to stdout
280 # if CDPATH is set.
281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
283 if test -z "$lt_ECHO"; then
284 if test "X${echo_test_string+set}" != Xset; then
285 # find a string as large as possible, as long as the shell can cope with it
286 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288 if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
289 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
290 then
291 break
293 done
296 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298 test "X$echo_testing_string" = "X$echo_test_string"; then
300 else
301 # The Solaris, AIX, and Digital Unix default echo programs unquote
302 # backslashes. This makes it impossible to quote backslashes using
303 # echo "$something" | sed 's/\\/\\\\/g'
305 # So, first we look for a working echo in the user's PATH.
307 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
308 for dir in $PATH /usr/ucb; do
309 IFS="$lt_save_ifs"
310 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
311 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313 test "X$echo_testing_string" = "X$echo_test_string"; then
314 ECHO="$dir/echo"
315 break
317 done
318 IFS="$lt_save_ifs"
320 if test "X$ECHO" = Xecho; then
321 # We didn't find a better echo, so look for alternatives.
322 if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323 echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324 test "X$echo_testing_string" = "X$echo_test_string"; then
325 # This shell has a builtin print -r that does the trick.
326 ECHO='print -r'
327 elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
328 test "X$CONFIG_SHELL" != X/bin/ksh; then
329 # If we have ksh, try running configure again with it.
330 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
331 export ORIGINAL_CONFIG_SHELL
332 CONFIG_SHELL=/bin/ksh
333 export CONFIG_SHELL
334 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
335 else
336 # Try using printf.
337 ECHO='printf %s\n'
338 if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339 echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340 test "X$echo_testing_string" = "X$echo_test_string"; then
341 # Cool, printf works
343 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344 test "X$echo_testing_string" = 'X\t' &&
345 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346 test "X$echo_testing_string" = "X$echo_test_string"; then
347 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
348 export CONFIG_SHELL
349 SHELL="$CONFIG_SHELL"
350 export SHELL
351 ECHO="$CONFIG_SHELL $0 --fallback-echo"
352 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353 test "X$echo_testing_string" = 'X\t' &&
354 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355 test "X$echo_testing_string" = "X$echo_test_string"; then
356 ECHO="$CONFIG_SHELL $0 --fallback-echo"
357 else
358 # maybe with a smaller string...
359 prev=:
361 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362 if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
363 then
364 break
366 prev="$cmd"
367 done
369 if test "$prev" != 'sed 50q "$0"'; then
370 echo_test_string=`eval $prev`
371 export echo_test_string
372 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
373 else
374 # Oops. We lost completely, so just stick with echo.
375 ECHO=echo
383 # Copy echo and quote the copy suitably for passing to libtool from
384 # the Makefile, instead of quoting the original, which is used later.
385 lt_ECHO=$ECHO
386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387 lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
393 # Name of the host.
394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
395 # so uname gets run too.
396 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
398 exec 6>&1
401 # Initializations.
403 ac_default_prefix=/usr/local
404 ac_config_libobj_dir=.
405 cross_compiling=no
406 subdirs=
407 MFLAGS=
408 MAKEFLAGS=
409 SHELL=${CONFIG_SHELL-/bin/sh}
411 # Maximum number of lines to put in a shell here document.
412 # This variable seems obsolete. It should probably be removed, and
413 # only ac_max_sed_lines should be used.
414 : ${ac_max_here_lines=38}
416 # Identity of this package.
417 PACKAGE_NAME='package-unused'
418 PACKAGE_TARNAME='libstdc++'
419 PACKAGE_VERSION='version-unused'
420 PACKAGE_STRING='package-unused version-unused'
421 PACKAGE_BUGREPORT=''
423 ac_unique_file="src/ios.cc"
424 # Factoring default headers for most tests.
425 ac_includes_default="\
426 #include <stdio.h>
427 #if HAVE_SYS_TYPES_H
428 # include <sys/types.h>
429 #endif
430 #if HAVE_SYS_STAT_H
431 # include <sys/stat.h>
432 #endif
433 #if STDC_HEADERS
434 # include <stdlib.h>
435 # include <stddef.h>
436 #else
437 # if HAVE_STDLIB_H
438 # include <stdlib.h>
439 # endif
440 #endif
441 #if HAVE_STRING_H
442 # if !STDC_HEADERS && HAVE_MEMORY_H
443 # include <memory.h>
444 # endif
445 # include <string.h>
446 #endif
447 #if HAVE_STRINGS_H
448 # include <strings.h>
449 #endif
450 #if HAVE_INTTYPES_H
451 # include <inttypes.h>
452 #else
453 # if HAVE_STDINT_H
454 # include <stdint.h>
455 # endif
456 #endif
457 #if HAVE_UNISTD_H
458 # include <unistd.h>
459 #endif"
461 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CPP CPPFLAGS EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM lt_ECHO LDFLAGS CXXCPP enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_C_GLOBAL_TRUE GLIBCXX_C_HEADERS_C_GLOBAL_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE GLIBCXX_C_HEADERS_EXTRA_TRUE GLIBCXX_C_HEADERS_EXTRA_FALSE DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE ENABLE_PARALLEL_TRUE ENABLE_PARALLEL_FALSE EXTRA_CXX_FLAGS glibcxx_thread_h WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV LTLIBICONV SYMVER_FILE port_specific_symbol_files ENABLE_SYMVERS_TRUE ENABLE_SYMVERS_FALSE ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_GNU_NAMESPACE_TRUE ENABLE_SYMVERS_GNU_NAMESPACE_FALSE ENABLE_SYMVERS_DARWIN_TRUE ENABLE_SYMVERS_DARWIN_FALSE ENABLE_VISIBILITY_TRUE ENABLE_VISIBILITY_FALSE GLIBCXX_LDBL_COMPAT_TRUE GLIBCXX_LDBL_COMPAT_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR ATOMIC_FLAGS CPU_DEFINES_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR ERROR_CONSTANTS_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
462 ac_subst_files=''
464 # Initialize some variables set by options.
465 ac_init_help=
466 ac_init_version=false
467 # The variables have the same names as the options, with
468 # dashes changed to underlines.
469 cache_file=/dev/null
470 exec_prefix=NONE
471 no_create=
472 no_recursion=
473 prefix=NONE
474 program_prefix=NONE
475 program_suffix=NONE
476 program_transform_name=s,x,x,
477 silent=
478 site=
479 srcdir=
480 verbose=
481 x_includes=NONE
482 x_libraries=NONE
484 # Installation directory options.
485 # These are left unexpanded so users can "make install exec_prefix=/foo"
486 # and all the variables that are supposed to be based on exec_prefix
487 # by default will actually change.
488 # Use braces instead of parens because sh, perl, etc. also accept them.
489 bindir='${exec_prefix}/bin'
490 sbindir='${exec_prefix}/sbin'
491 libexecdir='${exec_prefix}/libexec'
492 datadir='${prefix}/share'
493 sysconfdir='${prefix}/etc'
494 sharedstatedir='${prefix}/com'
495 localstatedir='${prefix}/var'
496 libdir='${exec_prefix}/lib'
497 includedir='${prefix}/include'
498 oldincludedir='/usr/include'
499 infodir='${prefix}/info'
500 mandir='${prefix}/man'
502 ac_prev=
503 for ac_option
505 # If the previous option needs an argument, assign it.
506 if test -n "$ac_prev"; then
507 eval "$ac_prev=\$ac_option"
508 ac_prev=
509 continue
512 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
514 # Accept the important Cygnus configure options, so we can diagnose typos.
516 case $ac_option in
518 -bindir | --bindir | --bindi | --bind | --bin | --bi)
519 ac_prev=bindir ;;
520 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
521 bindir=$ac_optarg ;;
523 -build | --build | --buil | --bui | --bu)
524 ac_prev=build_alias ;;
525 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
526 build_alias=$ac_optarg ;;
528 -cache-file | --cache-file | --cache-fil | --cache-fi \
529 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
530 ac_prev=cache_file ;;
531 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
532 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
533 cache_file=$ac_optarg ;;
535 --config-cache | -C)
536 cache_file=config.cache ;;
538 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
539 ac_prev=datadir ;;
540 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
541 | --da=*)
542 datadir=$ac_optarg ;;
544 -disable-* | --disable-*)
545 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
546 # Reject names that are not valid shell variable names.
547 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
548 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
549 { (exit 1); exit 1; }; }
550 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
551 eval "enable_$ac_feature=no" ;;
553 -enable-* | --enable-*)
554 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
560 case $ac_option in
561 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
562 *) ac_optarg=yes ;;
563 esac
564 eval "enable_$ac_feature='$ac_optarg'" ;;
566 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
567 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
568 | --exec | --exe | --ex)
569 ac_prev=exec_prefix ;;
570 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
571 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
572 | --exec=* | --exe=* | --ex=*)
573 exec_prefix=$ac_optarg ;;
575 -gas | --gas | --ga | --g)
576 # Obsolete; use --with-gas.
577 with_gas=yes ;;
579 -help | --help | --hel | --he | -h)
580 ac_init_help=long ;;
581 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
582 ac_init_help=recursive ;;
583 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
584 ac_init_help=short ;;
586 -host | --host | --hos | --ho)
587 ac_prev=host_alias ;;
588 -host=* | --host=* | --hos=* | --ho=*)
589 host_alias=$ac_optarg ;;
591 -includedir | --includedir | --includedi | --included | --include \
592 | --includ | --inclu | --incl | --inc)
593 ac_prev=includedir ;;
594 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
595 | --includ=* | --inclu=* | --incl=* | --inc=*)
596 includedir=$ac_optarg ;;
598 -infodir | --infodir | --infodi | --infod | --info | --inf)
599 ac_prev=infodir ;;
600 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
601 infodir=$ac_optarg ;;
603 -libdir | --libdir | --libdi | --libd)
604 ac_prev=libdir ;;
605 -libdir=* | --libdir=* | --libdi=* | --libd=*)
606 libdir=$ac_optarg ;;
608 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
609 | --libexe | --libex | --libe)
610 ac_prev=libexecdir ;;
611 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
612 | --libexe=* | --libex=* | --libe=*)
613 libexecdir=$ac_optarg ;;
615 -localstatedir | --localstatedir | --localstatedi | --localstated \
616 | --localstate | --localstat | --localsta | --localst \
617 | --locals | --local | --loca | --loc | --lo)
618 ac_prev=localstatedir ;;
619 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
620 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
621 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
622 localstatedir=$ac_optarg ;;
624 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
625 ac_prev=mandir ;;
626 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
627 mandir=$ac_optarg ;;
629 -nfp | --nfp | --nf)
630 # Obsolete; use --without-fp.
631 with_fp=no ;;
633 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
634 | --no-cr | --no-c | -n)
635 no_create=yes ;;
637 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
638 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
639 no_recursion=yes ;;
641 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
642 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
643 | --oldin | --oldi | --old | --ol | --o)
644 ac_prev=oldincludedir ;;
645 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
646 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
647 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
648 oldincludedir=$ac_optarg ;;
650 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
651 ac_prev=prefix ;;
652 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
653 prefix=$ac_optarg ;;
655 -program-prefix | --program-prefix | --program-prefi | --program-pref \
656 | --program-pre | --program-pr | --program-p)
657 ac_prev=program_prefix ;;
658 -program-prefix=* | --program-prefix=* | --program-prefi=* \
659 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
660 program_prefix=$ac_optarg ;;
662 -program-suffix | --program-suffix | --program-suffi | --program-suff \
663 | --program-suf | --program-su | --program-s)
664 ac_prev=program_suffix ;;
665 -program-suffix=* | --program-suffix=* | --program-suffi=* \
666 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
667 program_suffix=$ac_optarg ;;
669 -program-transform-name | --program-transform-name \
670 | --program-transform-nam | --program-transform-na \
671 | --program-transform-n | --program-transform- \
672 | --program-transform | --program-transfor \
673 | --program-transfo | --program-transf \
674 | --program-trans | --program-tran \
675 | --progr-tra | --program-tr | --program-t)
676 ac_prev=program_transform_name ;;
677 -program-transform-name=* | --program-transform-name=* \
678 | --program-transform-nam=* | --program-transform-na=* \
679 | --program-transform-n=* | --program-transform-=* \
680 | --program-transform=* | --program-transfor=* \
681 | --program-transfo=* | --program-transf=* \
682 | --program-trans=* | --program-tran=* \
683 | --progr-tra=* | --program-tr=* | --program-t=*)
684 program_transform_name=$ac_optarg ;;
686 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
687 | -silent | --silent | --silen | --sile | --sil)
688 silent=yes ;;
690 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
691 ac_prev=sbindir ;;
692 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
693 | --sbi=* | --sb=*)
694 sbindir=$ac_optarg ;;
696 -sharedstatedir | --sharedstatedir | --sharedstatedi \
697 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
698 | --sharedst | --shareds | --shared | --share | --shar \
699 | --sha | --sh)
700 ac_prev=sharedstatedir ;;
701 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
702 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
703 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
704 | --sha=* | --sh=*)
705 sharedstatedir=$ac_optarg ;;
707 -site | --site | --sit)
708 ac_prev=site ;;
709 -site=* | --site=* | --sit=*)
710 site=$ac_optarg ;;
712 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
713 ac_prev=srcdir ;;
714 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
715 srcdir=$ac_optarg ;;
717 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
718 | --syscon | --sysco | --sysc | --sys | --sy)
719 ac_prev=sysconfdir ;;
720 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
721 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
722 sysconfdir=$ac_optarg ;;
724 -target | --target | --targe | --targ | --tar | --ta | --t)
725 ac_prev=target_alias ;;
726 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
727 target_alias=$ac_optarg ;;
729 -v | -verbose | --verbose | --verbos | --verbo | --verb)
730 verbose=yes ;;
732 -version | --version | --versio | --versi | --vers | -V)
733 ac_init_version=: ;;
735 -with-* | --with-*)
736 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
737 # Reject names that are not valid shell variable names.
738 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
739 { echo "$as_me: error: invalid package name: $ac_package" >&2
740 { (exit 1); exit 1; }; }
741 ac_package=`echo $ac_package| sed 's/-/_/g'`
742 case $ac_option in
743 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
744 *) ac_optarg=yes ;;
745 esac
746 eval "with_$ac_package='$ac_optarg'" ;;
748 -without-* | --without-*)
749 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
750 # Reject names that are not valid shell variable names.
751 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
752 { echo "$as_me: error: invalid package name: $ac_package" >&2
753 { (exit 1); exit 1; }; }
754 ac_package=`echo $ac_package | sed 's/-/_/g'`
755 eval "with_$ac_package=no" ;;
757 --x)
758 # Obsolete; use --with-x.
759 with_x=yes ;;
761 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
762 | --x-incl | --x-inc | --x-in | --x-i)
763 ac_prev=x_includes ;;
764 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
765 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
766 x_includes=$ac_optarg ;;
768 -x-libraries | --x-libraries | --x-librarie | --x-librari \
769 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
770 ac_prev=x_libraries ;;
771 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
772 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
773 x_libraries=$ac_optarg ;;
775 -*) { echo "$as_me: error: unrecognized option: $ac_option
776 Try \`$0 --help' for more information." >&2
777 { (exit 1); exit 1; }; }
780 *=*)
781 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
782 # Reject names that are not valid shell variable names.
783 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
784 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
785 { (exit 1); exit 1; }; }
786 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
787 eval "$ac_envvar='$ac_optarg'"
788 export $ac_envvar ;;
791 # FIXME: should be removed in autoconf 3.0.
792 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
793 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
794 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
795 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
798 esac
799 done
801 if test -n "$ac_prev"; then
802 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
803 { echo "$as_me: error: missing argument to $ac_option" >&2
804 { (exit 1); exit 1; }; }
807 # Be sure to have absolute paths.
808 for ac_var in exec_prefix prefix
810 eval ac_val=$`echo $ac_var`
811 case $ac_val in
812 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
813 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
814 { (exit 1); exit 1; }; };;
815 esac
816 done
818 # Be sure to have absolute paths.
819 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
820 localstatedir libdir includedir oldincludedir infodir mandir
822 eval ac_val=$`echo $ac_var`
823 case $ac_val in
824 [\\/$]* | ?:[\\/]* ) ;;
825 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
826 { (exit 1); exit 1; }; };;
827 esac
828 done
830 # There might be people who depend on the old broken behavior: `$host'
831 # used to hold the argument of --host etc.
832 # FIXME: To remove some day.
833 build=$build_alias
834 host=$host_alias
835 target=$target_alias
837 # FIXME: To remove some day.
838 if test "x$host_alias" != x; then
839 if test "x$build_alias" = x; then
840 cross_compiling=maybe
841 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
842 If a cross compiler is detected then cross compile mode will be used." >&2
843 elif test "x$build_alias" != "x$host_alias"; then
844 cross_compiling=yes
848 ac_tool_prefix=
849 test -n "$host_alias" && ac_tool_prefix=$host_alias-
851 test "$silent" = yes && exec 6>/dev/null
854 # Find the source files, if location was not specified.
855 if test -z "$srcdir"; then
856 ac_srcdir_defaulted=yes
857 # Try the directory containing this script, then its parent.
858 ac_confdir=`(dirname "$0") 2>/dev/null ||
859 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
860 X"$0" : 'X\(//\)[^/]' \| \
861 X"$0" : 'X\(//\)$' \| \
862 X"$0" : 'X\(/\)' \| \
863 . : '\(.\)' 2>/dev/null ||
864 echo X"$0" |
865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
867 /^X\(\/\/\)$/{ s//\1/; q; }
868 /^X\(\/\).*/{ s//\1/; q; }
869 s/.*/./; q'`
870 srcdir=$ac_confdir
871 if test ! -r $srcdir/$ac_unique_file; then
872 srcdir=..
874 else
875 ac_srcdir_defaulted=no
877 if test ! -r $srcdir/$ac_unique_file; then
878 if test "$ac_srcdir_defaulted" = yes; then
879 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
880 { (exit 1); exit 1; }; }
881 else
882 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
883 { (exit 1); exit 1; }; }
886 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
887 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
888 { (exit 1); exit 1; }; }
889 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
890 ac_env_build_alias_set=${build_alias+set}
891 ac_env_build_alias_value=$build_alias
892 ac_cv_env_build_alias_set=${build_alias+set}
893 ac_cv_env_build_alias_value=$build_alias
894 ac_env_host_alias_set=${host_alias+set}
895 ac_env_host_alias_value=$host_alias
896 ac_cv_env_host_alias_set=${host_alias+set}
897 ac_cv_env_host_alias_value=$host_alias
898 ac_env_target_alias_set=${target_alias+set}
899 ac_env_target_alias_value=$target_alias
900 ac_cv_env_target_alias_set=${target_alias+set}
901 ac_cv_env_target_alias_value=$target_alias
902 ac_env_CPP_set=${CPP+set}
903 ac_env_CPP_value=$CPP
904 ac_cv_env_CPP_set=${CPP+set}
905 ac_cv_env_CPP_value=$CPP
906 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
907 ac_env_CPPFLAGS_value=$CPPFLAGS
908 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
909 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
910 ac_env_CXX_set=${CXX+set}
911 ac_env_CXX_value=$CXX
912 ac_cv_env_CXX_set=${CXX+set}
913 ac_cv_env_CXX_value=$CXX
914 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
915 ac_env_CXXFLAGS_value=$CXXFLAGS
916 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
917 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
918 ac_env_LDFLAGS_set=${LDFLAGS+set}
919 ac_env_LDFLAGS_value=$LDFLAGS
920 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
921 ac_cv_env_LDFLAGS_value=$LDFLAGS
922 ac_env_CXXCPP_set=${CXXCPP+set}
923 ac_env_CXXCPP_value=$CXXCPP
924 ac_cv_env_CXXCPP_set=${CXXCPP+set}
925 ac_cv_env_CXXCPP_value=$CXXCPP
928 # Report the --help message.
930 if test "$ac_init_help" = "long"; then
931 # Omit some internal or obsolete options to make the list less imposing.
932 # This message is too long to be a string in the A/UX 3.1 sh.
933 cat <<_ACEOF
934 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
936 Usage: $0 [OPTION]... [VAR=VALUE]...
938 To assign environment variables (e.g., CC, CFLAGS...), specify them as
939 VAR=VALUE. See below for descriptions of some of the useful variables.
941 Defaults for the options are specified in brackets.
943 Configuration:
944 -h, --help display this help and exit
945 --help=short display options specific to this package
946 --help=recursive display the short help of all the included packages
947 -V, --version display version information and exit
948 -q, --quiet, --silent do not print \`checking...' messages
949 --cache-file=FILE cache test results in FILE [disabled]
950 -C, --config-cache alias for \`--cache-file=config.cache'
951 -n, --no-create do not create output files
952 --srcdir=DIR find the sources in DIR [configure dir or \`..']
954 _ACEOF
956 cat <<_ACEOF
957 Installation directories:
958 --prefix=PREFIX install architecture-independent files in PREFIX
959 [$ac_default_prefix]
960 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
961 [PREFIX]
963 By default, \`make install' will install all the files in
964 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
965 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
966 for instance \`--prefix=\$HOME'.
968 For better control, use the options below.
970 Fine tuning of the installation directories:
971 --bindir=DIR user executables [EPREFIX/bin]
972 --sbindir=DIR system admin executables [EPREFIX/sbin]
973 --libexecdir=DIR program executables [EPREFIX/libexec]
974 --datadir=DIR read-only architecture-independent data [PREFIX/share]
975 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
976 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
977 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
978 --libdir=DIR object code libraries [EPREFIX/lib]
979 --includedir=DIR C header files [PREFIX/include]
980 --oldincludedir=DIR C header files for non-gcc [/usr/include]
981 --infodir=DIR info documentation [PREFIX/info]
982 --mandir=DIR man documentation [PREFIX/man]
983 _ACEOF
985 cat <<\_ACEOF
987 Program names:
988 --program-prefix=PREFIX prepend PREFIX to installed program names
989 --program-suffix=SUFFIX append SUFFIX to installed program names
990 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
992 System types:
993 --build=BUILD configure for building on BUILD [guessed]
994 --host=HOST cross-compile to build programs to run on HOST [BUILD]
995 --target=TARGET configure for building compilers for TARGET [HOST]
996 _ACEOF
999 if test -n "$ac_init_help"; then
1000 case $ac_init_help in
1001 short | recursive ) echo "Configuration of package-unused version-unused:";;
1002 esac
1003 cat <<\_ACEOF
1005 Optional Features:
1006 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1007 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1008 --enable-multilib build many library versions (default)
1009 --enable-maintainer-mode enable make rules and dependencies not useful
1010 (and sometimes confusing) to the casual installer
1011 --enable-shared[=PKGS]
1012 build shared libraries [default=yes]
1013 --enable-static[=PKGS]
1014 build static libraries [default=yes]
1015 --enable-fast-install[=PKGS]
1016 optimize for fast installation [default=yes]
1017 --disable-libtool-lock avoid locking (might break parallel builds)
1018 --disable-hosted-libstdcxx
1019 only build freestanding C++ runtime support
1020 --enable-sjlj-exceptions
1021 force use of builtin_setjmp for exceptions
1022 [default=auto]
1023 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1024 [default=$is_hosted]
1025 --enable-cstdio=PACKAGE use target-specific I/O package
1026 [default=stdio]
1027 --enable-clocale[=MODEL]
1028 use MODEL for target locale package
1029 [default=auto]
1030 --enable-nls use Native Language Support (default)
1031 --enable-libstdcxx-allocator=KIND
1032 use KIND for target std::allocator base
1033 [default=auto]
1034 --enable-cheaders=KIND construct "C" headers for g++
1035 [default=$c_model]
1036 --enable-long-long enable template specializations for 'long long'
1037 [default=yes]
1038 --enable-wchar_t enable template specializations for 'wchar_t'
1039 [default=yes]
1040 --enable-c99 turns on ISO/IEC 9899:1999 support
1041 [default=yes]
1042 --enable-concept-checks use Boost-derived template checks [default=no]
1043 --enable-libstdcxx-debug-flags=FLAGS
1044 pass compiler FLAGS when building debug library
1045 [default="-g3 -O0"]
1046 --enable-libstdcxx-debug
1047 build extra debug library [default=no]
1048 --enable-cxx-flags=FLAGS
1049 pass compiler FLAGS when building library
1050 [default=]
1051 --enable-fully-dynamic-string
1052 do not put empty strings in per-process static
1053 memory [default=no]
1054 --enable-tls Use thread-local storage [default=yes]
1055 --disable-rpath do not hardcode runtime library paths
1056 --enable-linux-futex use the Linux futex system call
1057 [default=default]
1058 --enable-symvers=STYLE enables symbol versioning of the shared library
1059 [default=yes]
1060 --enable-visibility enables visibility safe usage [default=yes]
1061 --enable-version-specific-runtime-libs
1062 Specify that runtime libraries should be installed
1063 in a compiler-specific directory
1065 Optional Packages:
1066 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1067 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1068 --with-target-subdir=SUBDIR
1069 configuring in a subdirectory
1070 --with-cross-host=HOST configuring with a cross compiler
1071 --with-newlib assume newlib as a system C library
1072 --with-pic try to use only PIC/non-PIC objects [default=use
1073 both]
1074 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1075 --with-gnu-ld assume the C compiler uses GNU ld default=no
1076 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1077 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1078 --with-gxx-include-dir=DIR
1079 installation directory for include files
1081 Some influential environment variables:
1082 CC C compiler command
1083 CFLAGS C compiler flags
1084 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1085 nonstandard directory <lib dir>
1086 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1087 headers in a nonstandard directory <include dir>
1088 CXX C++ compiler command
1089 CXXFLAGS C++ compiler flags
1090 CPP C preprocessor
1091 CXXCPP C++ preprocessor
1093 Use these variables to override the choices made by `configure' or to help
1094 it to find libraries and programs with nonstandard names/locations.
1096 _ACEOF
1099 if test "$ac_init_help" = "recursive"; then
1100 # If there are subdirs, report their specific --help.
1101 ac_popdir=`pwd`
1102 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1103 test -d $ac_dir || continue
1104 ac_builddir=.
1106 if test "$ac_dir" != .; then
1107 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1108 # A "../" for each directory in $ac_dir_suffix.
1109 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1110 else
1111 ac_dir_suffix= ac_top_builddir=
1114 case $srcdir in
1115 .) # No --srcdir option. We are building in place.
1116 ac_srcdir=.
1117 if test -z "$ac_top_builddir"; then
1118 ac_top_srcdir=.
1119 else
1120 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1121 fi ;;
1122 [\\/]* | ?:[\\/]* ) # Absolute path.
1123 ac_srcdir=$srcdir$ac_dir_suffix;
1124 ac_top_srcdir=$srcdir ;;
1125 *) # Relative path.
1126 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1127 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1128 esac
1130 # Do not use `cd foo && pwd` to compute absolute paths, because
1131 # the directories may not exist.
1132 case `pwd` in
1133 .) ac_abs_builddir="$ac_dir";;
1135 case "$ac_dir" in
1136 .) ac_abs_builddir=`pwd`;;
1137 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1138 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1139 esac;;
1140 esac
1141 case $ac_abs_builddir in
1142 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1144 case ${ac_top_builddir}. in
1145 .) ac_abs_top_builddir=$ac_abs_builddir;;
1146 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1147 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1148 esac;;
1149 esac
1150 case $ac_abs_builddir in
1151 .) ac_abs_srcdir=$ac_srcdir;;
1153 case $ac_srcdir in
1154 .) ac_abs_srcdir=$ac_abs_builddir;;
1155 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1156 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1157 esac;;
1158 esac
1159 case $ac_abs_builddir in
1160 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1162 case $ac_top_srcdir in
1163 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1164 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1165 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1166 esac;;
1167 esac
1169 cd $ac_dir
1170 # Check for guested configure; otherwise get Cygnus style configure.
1171 if test -f $ac_srcdir/configure.gnu; then
1172 echo
1173 $SHELL $ac_srcdir/configure.gnu --help=recursive
1174 elif test -f $ac_srcdir/configure; then
1175 echo
1176 $SHELL $ac_srcdir/configure --help=recursive
1177 elif test -f $ac_srcdir/configure.ac ||
1178 test -f $ac_srcdir/configure.in; then
1179 echo
1180 $ac_configure --help
1181 else
1182 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1184 cd $ac_popdir
1185 done
1188 test -n "$ac_init_help" && exit 0
1189 if $ac_init_version; then
1190 cat <<\_ACEOF
1191 package-unused configure version-unused
1192 generated by GNU Autoconf 2.59
1194 Copyright (C) 2003 Free Software Foundation, Inc.
1195 This configure script is free software; the Free Software Foundation
1196 gives unlimited permission to copy, distribute and modify it.
1197 _ACEOF
1198 exit 0
1200 exec 5>config.log
1201 cat >&5 <<_ACEOF
1202 This file contains any messages produced by compilers while
1203 running configure, to aid debugging if configure makes a mistake.
1205 It was created by package-unused $as_me version-unused, which was
1206 generated by GNU Autoconf 2.59. Invocation command line was
1208 $ $0 $@
1210 _ACEOF
1212 cat <<_ASUNAME
1213 ## --------- ##
1214 ## Platform. ##
1215 ## --------- ##
1217 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1218 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1219 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1220 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1221 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1223 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1224 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1226 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1227 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1228 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1229 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1230 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1231 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1232 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1234 _ASUNAME
1236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1237 for as_dir in $PATH
1239 IFS=$as_save_IFS
1240 test -z "$as_dir" && as_dir=.
1241 echo "PATH: $as_dir"
1242 done
1244 } >&5
1246 cat >&5 <<_ACEOF
1249 ## ----------- ##
1250 ## Core tests. ##
1251 ## ----------- ##
1253 _ACEOF
1256 # Keep a trace of the command line.
1257 # Strip out --no-create and --no-recursion so they do not pile up.
1258 # Strip out --silent because we don't want to record it for future runs.
1259 # Also quote any args containing shell meta-characters.
1260 # Make two passes to allow for proper duplicate-argument suppression.
1261 ac_configure_args=
1262 ac_configure_args0=
1263 ac_configure_args1=
1264 ac_sep=
1265 ac_must_keep_next=false
1266 for ac_pass in 1 2
1268 for ac_arg
1270 case $ac_arg in
1271 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1272 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1273 | -silent | --silent | --silen | --sile | --sil)
1274 continue ;;
1275 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1276 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1277 esac
1278 case $ac_pass in
1279 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1281 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1282 if test $ac_must_keep_next = true; then
1283 ac_must_keep_next=false # Got value, back to normal.
1284 else
1285 case $ac_arg in
1286 *=* | --config-cache | -C | -disable-* | --disable-* \
1287 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1288 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1289 | -with-* | --with-* | -without-* | --without-* | --x)
1290 case "$ac_configure_args0 " in
1291 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1292 esac
1294 -* ) ac_must_keep_next=true ;;
1295 esac
1297 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1298 # Get rid of the leading space.
1299 ac_sep=" "
1301 esac
1302 done
1303 done
1304 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1305 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1307 # When interrupted or exit'd, cleanup temporary files, and complete
1308 # config.log. We remove comments because anyway the quotes in there
1309 # would cause problems or look ugly.
1310 # WARNING: Be sure not to use single quotes in there, as some shells,
1311 # such as our DU 5.0 friend, will then `close' the trap.
1312 trap 'exit_status=$?
1313 # Save into config.log some information that might help in debugging.
1315 echo
1317 cat <<\_ASBOX
1318 ## ---------------- ##
1319 ## Cache variables. ##
1320 ## ---------------- ##
1321 _ASBOX
1322 echo
1323 # The following way of writing the cache mishandles newlines in values,
1325 (set) 2>&1 |
1326 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1327 *ac_space=\ *)
1328 sed -n \
1329 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1330 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1333 sed -n \
1334 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1336 esac;
1338 echo
1340 cat <<\_ASBOX
1341 ## ----------------- ##
1342 ## Output variables. ##
1343 ## ----------------- ##
1344 _ASBOX
1345 echo
1346 for ac_var in $ac_subst_vars
1348 eval ac_val=$`echo $ac_var`
1349 echo "$ac_var='"'"'$ac_val'"'"'"
1350 done | sort
1351 echo
1353 if test -n "$ac_subst_files"; then
1354 cat <<\_ASBOX
1355 ## ------------- ##
1356 ## Output files. ##
1357 ## ------------- ##
1358 _ASBOX
1359 echo
1360 for ac_var in $ac_subst_files
1362 eval ac_val=$`echo $ac_var`
1363 echo "$ac_var='"'"'$ac_val'"'"'"
1364 done | sort
1365 echo
1368 if test -s confdefs.h; then
1369 cat <<\_ASBOX
1370 ## ----------- ##
1371 ## confdefs.h. ##
1372 ## ----------- ##
1373 _ASBOX
1374 echo
1375 sed "/^$/d" confdefs.h | sort
1376 echo
1378 test "$ac_signal" != 0 &&
1379 echo "$as_me: caught signal $ac_signal"
1380 echo "$as_me: exit $exit_status"
1381 } >&5
1382 rm -f core *.core &&
1383 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1384 exit $exit_status
1386 for ac_signal in 1 2 13 15; do
1387 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1388 done
1389 ac_signal=0
1391 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1392 rm -rf conftest* confdefs.h
1393 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1394 echo >confdefs.h
1396 # Predefined preprocessor variables.
1398 cat >>confdefs.h <<_ACEOF
1399 #define PACKAGE_NAME "$PACKAGE_NAME"
1400 _ACEOF
1403 cat >>confdefs.h <<_ACEOF
1404 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1405 _ACEOF
1408 cat >>confdefs.h <<_ACEOF
1409 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1410 _ACEOF
1413 cat >>confdefs.h <<_ACEOF
1414 #define PACKAGE_STRING "$PACKAGE_STRING"
1415 _ACEOF
1418 cat >>confdefs.h <<_ACEOF
1419 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1420 _ACEOF
1423 # Let the site file select an alternate cache file if it wants to.
1424 # Prefer explicitly selected file to automatically selected ones.
1425 if test -z "$CONFIG_SITE"; then
1426 if test "x$prefix" != xNONE; then
1427 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1428 else
1429 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1432 for ac_site_file in $CONFIG_SITE; do
1433 if test -r "$ac_site_file"; then
1434 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1435 echo "$as_me: loading site script $ac_site_file" >&6;}
1436 sed 's/^/| /' "$ac_site_file" >&5
1437 . "$ac_site_file"
1439 done
1441 if test -r "$cache_file"; then
1442 # Some versions of bash will fail to source /dev/null (special
1443 # files actually), so we avoid doing that.
1444 if test -f "$cache_file"; then
1445 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1446 echo "$as_me: loading cache $cache_file" >&6;}
1447 case $cache_file in
1448 [\\/]* | ?:[\\/]* ) . $cache_file;;
1449 *) . ./$cache_file;;
1450 esac
1452 else
1453 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1454 echo "$as_me: creating cache $cache_file" >&6;}
1455 >$cache_file
1458 # Check that the precious variables saved in the cache have kept the same
1459 # value.
1460 ac_cache_corrupted=false
1461 for ac_var in `(set) 2>&1 |
1462 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1463 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1464 eval ac_new_set=\$ac_env_${ac_var}_set
1465 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1466 eval ac_new_val="\$ac_env_${ac_var}_value"
1467 case $ac_old_set,$ac_new_set in
1468 set,)
1469 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1470 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1471 ac_cache_corrupted=: ;;
1472 ,set)
1473 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1474 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1475 ac_cache_corrupted=: ;;
1476 ,);;
1478 if test "x$ac_old_val" != "x$ac_new_val"; then
1479 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1480 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1481 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1482 echo "$as_me: former value: $ac_old_val" >&2;}
1483 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1484 echo "$as_me: current value: $ac_new_val" >&2;}
1485 ac_cache_corrupted=:
1486 fi;;
1487 esac
1488 # Pass precious variables to config.status.
1489 if test "$ac_new_set" = set; then
1490 case $ac_new_val in
1491 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1492 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1493 *) ac_arg=$ac_var=$ac_new_val ;;
1494 esac
1495 case " $ac_configure_args " in
1496 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1497 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1498 esac
1500 done
1501 if $ac_cache_corrupted; then
1502 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1503 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1504 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1505 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1506 { (exit 1); exit 1; }; }
1509 ac_ext=c
1510 ac_cpp='$CPP $CPPFLAGS'
1511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1542 ac_config_headers="$ac_config_headers config.h"
1545 # This works around the fact that libtool configuration may change LD
1546 # for this particular configuration, but some shells, instead of
1547 # keeping the changes in LD private, export them just because LD is
1548 # exported. Only used at the end of this file.
1549 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1551 # For libtool versioning info, format is CURRENT:REVISION:AGE
1552 libtool_VERSION=6:10:0
1555 # Find the rest of the source tree framework.
1556 # Default to --enable-multilib
1557 # Check whether --enable-multilib or --disable-multilib was given.
1558 if test "${enable_multilib+set}" = set; then
1559 enableval="$enable_multilib"
1560 case "$enableval" in
1561 yes) multilib=yes ;;
1562 no) multilib=no ;;
1563 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1564 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1565 { (exit 1); exit 1; }; } ;;
1566 esac
1567 else
1568 multilib=yes
1571 # We may get other options which we leave undocumented:
1572 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1573 # See config-ml.in if you want the gory details.
1575 if test "$srcdir" = "."; then
1576 if test "$with_target_subdir" != "."; then
1577 multi_basedir="$srcdir/$with_multisrctop../.."
1578 else
1579 multi_basedir="$srcdir/$with_multisrctop.."
1581 else
1582 multi_basedir="$srcdir/.."
1586 # Even if the default multilib is not a cross compilation,
1587 # it may be that some of the other multilibs are.
1588 if test $cross_compiling = no && test $multilib = yes \
1589 && test "x${with_multisubdir}" != x ; then
1590 cross_compiling=maybe
1593 ac_config_commands="$ac_config_commands default-1"
1596 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1598 # You will slowly go insane if you do not grok the following fact: when
1599 # building v3 as part of the compiler, the top-level /target/ becomes the
1600 # library's /host/. configure then causes --target to default to --host,
1601 # exactly like any other package using autoconf. Therefore, 'target' and
1602 # 'host' will always be the same. This makes sense both for native and
1603 # cross compilers, just think about it for a little while. :-)
1605 # Also, if v3 is being configured as part of a cross compiler, the top-level
1606 # configure script will pass the "real" host as $with_cross_host.
1608 # Do not delete or change the following two lines. For why, see
1609 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1610 ac_aux_dir=
1611 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1612 if test -f $ac_dir/install-sh; then
1613 ac_aux_dir=$ac_dir
1614 ac_install_sh="$ac_aux_dir/install-sh -c"
1615 break
1616 elif test -f $ac_dir/install.sh; then
1617 ac_aux_dir=$ac_dir
1618 ac_install_sh="$ac_aux_dir/install.sh -c"
1619 break
1620 elif test -f $ac_dir/shtool; then
1621 ac_aux_dir=$ac_dir
1622 ac_install_sh="$ac_aux_dir/shtool install -c"
1623 break
1625 done
1626 if test -z "$ac_aux_dir"; then
1627 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1628 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1629 { (exit 1); exit 1; }; }
1631 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1632 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1633 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1635 # Make sure we can run config.sub.
1636 $ac_config_sub sun4 >/dev/null 2>&1 ||
1637 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1638 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1639 { (exit 1); exit 1; }; }
1641 echo "$as_me:$LINENO: checking build system type" >&5
1642 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1643 if test "${ac_cv_build+set}" = set; then
1644 echo $ECHO_N "(cached) $ECHO_C" >&6
1645 else
1646 ac_cv_build_alias=$build_alias
1647 test -z "$ac_cv_build_alias" &&
1648 ac_cv_build_alias=`$ac_config_guess`
1649 test -z "$ac_cv_build_alias" &&
1650 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1651 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1652 { (exit 1); exit 1; }; }
1653 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1654 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1655 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1656 { (exit 1); exit 1; }; }
1659 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1660 echo "${ECHO_T}$ac_cv_build" >&6
1661 build=$ac_cv_build
1662 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1663 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1664 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1667 echo "$as_me:$LINENO: checking host system type" >&5
1668 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1669 if test "${ac_cv_host+set}" = set; then
1670 echo $ECHO_N "(cached) $ECHO_C" >&6
1671 else
1672 ac_cv_host_alias=$host_alias
1673 test -z "$ac_cv_host_alias" &&
1674 ac_cv_host_alias=$ac_cv_build_alias
1675 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1676 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1677 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1678 { (exit 1); exit 1; }; }
1681 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1682 echo "${ECHO_T}$ac_cv_host" >&6
1683 host=$ac_cv_host
1684 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1685 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1686 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1689 echo "$as_me:$LINENO: checking target system type" >&5
1690 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1691 if test "${ac_cv_target+set}" = set; then
1692 echo $ECHO_N "(cached) $ECHO_C" >&6
1693 else
1694 ac_cv_target_alias=$target_alias
1695 test "x$ac_cv_target_alias" = "x" &&
1696 ac_cv_target_alias=$ac_cv_host_alias
1697 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1698 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1699 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1700 { (exit 1); exit 1; }; }
1703 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1704 echo "${ECHO_T}$ac_cv_target" >&6
1705 target=$ac_cv_target
1706 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1707 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1708 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1711 # The aliases save the names the user supplied, while $host etc.
1712 # will get canonicalized.
1713 test -n "$target_alias" &&
1714 test "$program_prefix$program_suffix$program_transform_name" = \
1715 NONENONEs,x,x, &&
1716 program_prefix=${target_alias}-
1717 target_alias=${target_alias-$host_alias}
1719 # Handy for debugging:
1720 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1722 if test "$build" != "$host"; then
1723 # We are being configured with some form of cross compiler.
1724 GLIBCXX_IS_NATIVE=false
1725 case "$host","$target" in
1726 # Darwin crosses can use the host system's libraries and headers,
1727 # because of the fat library support. Of course, it must be the
1728 # same version of Darwin on both sides. Allow the user to
1729 # just say --target=foo-darwin without a version number to mean
1730 # "the version on this system".
1731 *-*-darwin*,*-*-darwin*)
1732 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1733 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1734 if test $hostos = $targetos -o $targetos = darwin ; then
1735 GLIBCXX_IS_NATIVE=true
1742 esac
1743 else
1744 GLIBCXX_IS_NATIVE=true
1747 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1748 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1749 # 1.x: minimum required version
1750 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1751 # of other PACKAGE_* variables will, however, and there's nothing
1752 # we can do about that; they come from AC_INIT).
1753 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1754 # file in the top srcdir, etc, etc), so stop complaining.
1755 # no-dependencies: turns off auto dependency generation (just for now)
1756 # no-dist: we don't want 'dist' and related rules.
1757 # -Wall: turns on all automake warnings...
1758 # -Wno-portability: ...except this one, since GNU make is now required.
1759 am__api_version="1.9"
1760 # Find a good install program. We prefer a C program (faster),
1761 # so one script is as good as another. But avoid the broken or
1762 # incompatible versions:
1763 # SysV /etc/install, /usr/sbin/install
1764 # SunOS /usr/etc/install
1765 # IRIX /sbin/install
1766 # AIX /bin/install
1767 # AmigaOS /C/install, which installs bootblocks on floppy discs
1768 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1769 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1770 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1771 # OS/2's system install, which has a completely different semantic
1772 # ./install, which can be erroneously created by make from ./install.sh.
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 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1807 break 3
1810 done
1811 done
1813 esac
1814 done
1818 if test "${ac_cv_path_install+set}" = set; then
1819 INSTALL=$ac_cv_path_install
1820 else
1821 # As a last resort, use the slow shell script. We don't cache a
1822 # path for INSTALL within a source directory, because that will
1823 # break other packages using the cache if that directory is
1824 # removed, or if the path is relative.
1825 INSTALL=$ac_install_sh
1828 echo "$as_me:$LINENO: result: $INSTALL" >&5
1829 echo "${ECHO_T}$INSTALL" >&6
1831 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1832 # It thinks the first close brace ends the variable substitution.
1833 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1835 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1837 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1839 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1840 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1841 # Just in case
1842 sleep 1
1843 echo timestamp > conftest.file
1844 # Do `set' in a subshell so we don't clobber the current shell's
1845 # arguments. Must try -L first in case configure is actually a
1846 # symlink; some systems play weird games with the mod time of symlinks
1847 # (eg FreeBSD returns the mod time of the symlink's containing
1848 # directory).
1849 if (
1850 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1851 if test "$*" = "X"; then
1852 # -L didn't work.
1853 set X `ls -t $srcdir/configure conftest.file`
1855 rm -f conftest.file
1856 if test "$*" != "X $srcdir/configure conftest.file" \
1857 && test "$*" != "X conftest.file $srcdir/configure"; then
1859 # If neither matched, then we have a broken ls. This can happen
1860 # if, for instance, CONFIG_SHELL is bash and it inherits a
1861 # broken ls alias from the environment. This has actually
1862 # happened. Such a system could not be considered "sane".
1863 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1864 alias in your environment" >&5
1865 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1866 alias in your environment" >&2;}
1867 { (exit 1); exit 1; }; }
1870 test "$2" = conftest.file
1872 then
1873 # Ok.
1875 else
1876 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1877 Check your system clock" >&5
1878 echo "$as_me: error: newly created file is older than distributed files!
1879 Check your system clock" >&2;}
1880 { (exit 1); exit 1; }; }
1882 echo "$as_me:$LINENO: result: yes" >&5
1883 echo "${ECHO_T}yes" >&6
1884 test "$program_prefix" != NONE &&
1885 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1886 # Use a double $ so make ignores it.
1887 test "$program_suffix" != NONE &&
1888 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1889 # Double any \ or $. echo might interpret backslashes.
1890 # By default was `s,x,x', remove it if useless.
1891 cat <<\_ACEOF >conftest.sed
1892 s/[\\$]/&&/g;s/;s,x,x,$//
1893 _ACEOF
1894 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1895 rm conftest.sed
1897 # expand $ac_aux_dir to an absolute path
1898 am_aux_dir=`cd $ac_aux_dir && pwd`
1900 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1901 # Use eval to expand $SHELL
1902 if eval "$MISSING --run true"; then
1903 am_missing_run="$MISSING --run "
1904 else
1905 am_missing_run=
1906 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1907 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1910 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1911 # We used to keeping the `.' as first argument, in order to
1912 # allow $(mkdir_p) to be used without argument. As in
1913 # $(mkdir_p) $(somedir)
1914 # where $(somedir) is conditionally defined. However this is wrong
1915 # for two reasons:
1916 # 1. if the package is installed by a user who cannot write `.'
1917 # make install will fail,
1918 # 2. the above comment should most certainly read
1919 # $(mkdir_p) $(DESTDIR)$(somedir)
1920 # so it does not work when $(somedir) is undefined and
1921 # $(DESTDIR) is not.
1922 # To support the latter case, we have to write
1923 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1924 # so the `.' trick is pointless.
1925 mkdir_p='mkdir -p --'
1926 else
1927 # On NextStep and OpenStep, the `mkdir' command does not
1928 # recognize any option. It will interpret all options as
1929 # directories to create, and then abort because `.' already
1930 # exists.
1931 for d in ./-p ./--version;
1933 test -d $d && rmdir $d
1934 done
1935 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1936 if test -f "$ac_aux_dir/mkinstalldirs"; then
1937 mkdir_p='$(mkinstalldirs)'
1938 else
1939 mkdir_p='$(install_sh) -d'
1943 for ac_prog in gawk mawk nawk awk
1945 # Extract the first word of "$ac_prog", so it can be a program name with args.
1946 set dummy $ac_prog; ac_word=$2
1947 echo "$as_me:$LINENO: checking for $ac_word" >&5
1948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1949 if test "${ac_cv_prog_AWK+set}" = set; then
1950 echo $ECHO_N "(cached) $ECHO_C" >&6
1951 else
1952 if test -n "$AWK"; then
1953 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1954 else
1955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1956 for as_dir in $PATH
1958 IFS=$as_save_IFS
1959 test -z "$as_dir" && as_dir=.
1960 for ac_exec_ext in '' $ac_executable_extensions; do
1961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1962 ac_cv_prog_AWK="$ac_prog"
1963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1964 break 2
1966 done
1967 done
1971 AWK=$ac_cv_prog_AWK
1972 if test -n "$AWK"; then
1973 echo "$as_me:$LINENO: result: $AWK" >&5
1974 echo "${ECHO_T}$AWK" >&6
1975 else
1976 echo "$as_me:$LINENO: result: no" >&5
1977 echo "${ECHO_T}no" >&6
1980 test -n "$AWK" && break
1981 done
1983 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1984 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1985 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1986 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1987 echo $ECHO_N "(cached) $ECHO_C" >&6
1988 else
1989 cat >conftest.make <<\_ACEOF
1990 all:
1991 @echo 'ac_maketemp="$(MAKE)"'
1992 _ACEOF
1993 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1994 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1995 if test -n "$ac_maketemp"; then
1996 eval ac_cv_prog_make_${ac_make}_set=yes
1997 else
1998 eval ac_cv_prog_make_${ac_make}_set=no
2000 rm -f conftest.make
2002 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2003 echo "$as_me:$LINENO: result: yes" >&5
2004 echo "${ECHO_T}yes" >&6
2005 SET_MAKE=
2006 else
2007 echo "$as_me:$LINENO: result: no" >&5
2008 echo "${ECHO_T}no" >&6
2009 SET_MAKE="MAKE=${MAKE-make}"
2012 rm -rf .tst 2>/dev/null
2013 mkdir .tst 2>/dev/null
2014 if test -d .tst; then
2015 am__leading_dot=.
2016 else
2017 am__leading_dot=_
2019 rmdir .tst 2>/dev/null
2021 # test to see if srcdir already configured
2022 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2023 test -f $srcdir/config.status; then
2024 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2025 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2026 { (exit 1); exit 1; }; }
2029 # test whether we have cygpath
2030 if test -z "$CYGPATH_W"; then
2031 if (cygpath --version) >/dev/null 2>/dev/null; then
2032 CYGPATH_W='cygpath -w'
2033 else
2034 CYGPATH_W=echo
2039 # Define the identity of the package.
2040 PACKAGE='libstdc++'
2041 VERSION='version-unused'
2044 # Some tools Automake needs.
2046 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2049 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2052 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2055 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2058 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2060 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2062 # Installed binaries are usually stripped using `strip' when the user
2063 # run `make install-strip'. However `strip' might not be the right
2064 # tool to use in cross-compilation environments, therefore Automake
2065 # will honor the `STRIP' environment variable to overrule this program.
2066 if test "$cross_compiling" != no; then
2067 if test -n "$ac_tool_prefix"; then
2068 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2069 set dummy ${ac_tool_prefix}strip; ac_word=$2
2070 echo "$as_me:$LINENO: checking for $ac_word" >&5
2071 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2072 if test "${ac_cv_prog_STRIP+set}" = set; then
2073 echo $ECHO_N "(cached) $ECHO_C" >&6
2074 else
2075 if test -n "$STRIP"; then
2076 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2077 else
2078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2079 for as_dir in $PATH
2081 IFS=$as_save_IFS
2082 test -z "$as_dir" && as_dir=.
2083 for ac_exec_ext in '' $ac_executable_extensions; do
2084 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2085 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2087 break 2
2089 done
2090 done
2094 STRIP=$ac_cv_prog_STRIP
2095 if test -n "$STRIP"; then
2096 echo "$as_me:$LINENO: result: $STRIP" >&5
2097 echo "${ECHO_T}$STRIP" >&6
2098 else
2099 echo "$as_me:$LINENO: result: no" >&5
2100 echo "${ECHO_T}no" >&6
2104 if test -z "$ac_cv_prog_STRIP"; then
2105 ac_ct_STRIP=$STRIP
2106 # Extract the first word of "strip", so it can be a program name with args.
2107 set dummy strip; ac_word=$2
2108 echo "$as_me:$LINENO: checking for $ac_word" >&5
2109 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2110 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2111 echo $ECHO_N "(cached) $ECHO_C" >&6
2112 else
2113 if test -n "$ac_ct_STRIP"; then
2114 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2115 else
2116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2117 for as_dir in $PATH
2119 IFS=$as_save_IFS
2120 test -z "$as_dir" && as_dir=.
2121 for ac_exec_ext in '' $ac_executable_extensions; do
2122 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2123 ac_cv_prog_ac_ct_STRIP="strip"
2124 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2125 break 2
2127 done
2128 done
2130 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2133 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2134 if test -n "$ac_ct_STRIP"; then
2135 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2136 echo "${ECHO_T}$ac_ct_STRIP" >&6
2137 else
2138 echo "$as_me:$LINENO: result: no" >&5
2139 echo "${ECHO_T}no" >&6
2142 STRIP=$ac_ct_STRIP
2143 else
2144 STRIP="$ac_cv_prog_STRIP"
2148 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2150 # We need awk for the "check" target. The system "awk" is bad on
2151 # some platforms.
2152 # Always define AMTAR for backward compatibility.
2154 AMTAR=${AMTAR-"${am_missing_run}tar"}
2156 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2167 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
2168 # up critical shell variables.
2170 ac_ext=c
2171 ac_cpp='$CPP $CPPFLAGS'
2172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2175 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2176 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2177 # On Suns, sometimes $CPP names a directory.
2178 if test -n "$CPP" && test -d "$CPP"; then
2179 CPP=
2181 if test -z "$CPP"; then
2182 if test "${ac_cv_prog_CPP+set}" = set; then
2183 echo $ECHO_N "(cached) $ECHO_C" >&6
2184 else
2185 # Double quotes because CPP needs to be expanded
2186 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2188 ac_preproc_ok=false
2189 for ac_c_preproc_warn_flag in '' yes
2191 # Use a header file that comes with gcc, so configuring glibc
2192 # with a fresh cross-compiler works.
2193 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2194 # <limits.h> exists even on freestanding compilers.
2195 # On the NeXT, cc -E runs the code through the compiler's parser,
2196 # not just through cpp. "Syntax error" is here to catch this case.
2197 cat >conftest.$ac_ext <<_ACEOF
2198 /* confdefs.h. */
2199 _ACEOF
2200 cat confdefs.h >>conftest.$ac_ext
2201 cat >>conftest.$ac_ext <<_ACEOF
2202 /* end confdefs.h. */
2203 #ifdef __STDC__
2204 # include <limits.h>
2205 #else
2206 # include <assert.h>
2207 #endif
2208 Syntax error
2209 _ACEOF
2210 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2211 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2212 ac_status=$?
2213 grep -v '^ *+' conftest.er1 >conftest.err
2214 rm -f conftest.er1
2215 cat conftest.err >&5
2216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2217 (exit $ac_status); } >/dev/null; then
2218 if test -s conftest.err; then
2219 ac_cpp_err=$ac_c_preproc_warn_flag
2220 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2221 else
2222 ac_cpp_err=
2224 else
2225 ac_cpp_err=yes
2227 if test -z "$ac_cpp_err"; then
2229 else
2230 echo "$as_me: failed program was:" >&5
2231 sed 's/^/| /' conftest.$ac_ext >&5
2233 # Broken: fails on valid input.
2234 continue
2236 rm -f conftest.err conftest.$ac_ext
2238 # OK, works on sane cases. Now check whether non-existent headers
2239 # can be detected and how.
2240 cat >conftest.$ac_ext <<_ACEOF
2241 /* confdefs.h. */
2242 _ACEOF
2243 cat confdefs.h >>conftest.$ac_ext
2244 cat >>conftest.$ac_ext <<_ACEOF
2245 /* end confdefs.h. */
2246 #include <ac_nonexistent.h>
2247 _ACEOF
2248 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2249 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2250 ac_status=$?
2251 grep -v '^ *+' conftest.er1 >conftest.err
2252 rm -f conftest.er1
2253 cat conftest.err >&5
2254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2255 (exit $ac_status); } >/dev/null; then
2256 if test -s conftest.err; then
2257 ac_cpp_err=$ac_c_preproc_warn_flag
2258 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2259 else
2260 ac_cpp_err=
2262 else
2263 ac_cpp_err=yes
2265 if test -z "$ac_cpp_err"; then
2266 # Broken: success on invalid input.
2267 continue
2268 else
2269 echo "$as_me: failed program was:" >&5
2270 sed 's/^/| /' conftest.$ac_ext >&5
2272 # Passes both tests.
2273 ac_preproc_ok=:
2274 break
2276 rm -f conftest.err conftest.$ac_ext
2278 done
2279 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2280 rm -f conftest.err conftest.$ac_ext
2281 if $ac_preproc_ok; then
2282 break
2285 done
2286 ac_cv_prog_CPP=$CPP
2289 CPP=$ac_cv_prog_CPP
2290 else
2291 ac_cv_prog_CPP=$CPP
2293 echo "$as_me:$LINENO: result: $CPP" >&5
2294 echo "${ECHO_T}$CPP" >&6
2295 ac_preproc_ok=false
2296 for ac_c_preproc_warn_flag in '' yes
2298 # Use a header file that comes with gcc, so configuring glibc
2299 # with a fresh cross-compiler works.
2300 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2301 # <limits.h> exists even on freestanding compilers.
2302 # On the NeXT, cc -E runs the code through the compiler's parser,
2303 # not just through cpp. "Syntax error" is here to catch this case.
2304 cat >conftest.$ac_ext <<_ACEOF
2305 /* confdefs.h. */
2306 _ACEOF
2307 cat confdefs.h >>conftest.$ac_ext
2308 cat >>conftest.$ac_ext <<_ACEOF
2309 /* end confdefs.h. */
2310 #ifdef __STDC__
2311 # include <limits.h>
2312 #else
2313 # include <assert.h>
2314 #endif
2315 Syntax error
2316 _ACEOF
2317 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2318 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2319 ac_status=$?
2320 grep -v '^ *+' conftest.er1 >conftest.err
2321 rm -f conftest.er1
2322 cat conftest.err >&5
2323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2324 (exit $ac_status); } >/dev/null; then
2325 if test -s conftest.err; then
2326 ac_cpp_err=$ac_c_preproc_warn_flag
2327 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2328 else
2329 ac_cpp_err=
2331 else
2332 ac_cpp_err=yes
2334 if test -z "$ac_cpp_err"; then
2336 else
2337 echo "$as_me: failed program was:" >&5
2338 sed 's/^/| /' conftest.$ac_ext >&5
2340 # Broken: fails on valid input.
2341 continue
2343 rm -f conftest.err conftest.$ac_ext
2345 # OK, works on sane cases. Now check whether non-existent headers
2346 # can be detected and how.
2347 cat >conftest.$ac_ext <<_ACEOF
2348 /* confdefs.h. */
2349 _ACEOF
2350 cat confdefs.h >>conftest.$ac_ext
2351 cat >>conftest.$ac_ext <<_ACEOF
2352 /* end confdefs.h. */
2353 #include <ac_nonexistent.h>
2354 _ACEOF
2355 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2356 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2357 ac_status=$?
2358 grep -v '^ *+' conftest.er1 >conftest.err
2359 rm -f conftest.er1
2360 cat conftest.err >&5
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); } >/dev/null; then
2363 if test -s conftest.err; then
2364 ac_cpp_err=$ac_c_preproc_warn_flag
2365 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2366 else
2367 ac_cpp_err=
2369 else
2370 ac_cpp_err=yes
2372 if test -z "$ac_cpp_err"; then
2373 # Broken: success on invalid input.
2374 continue
2375 else
2376 echo "$as_me: failed program was:" >&5
2377 sed 's/^/| /' conftest.$ac_ext >&5
2379 # Passes both tests.
2380 ac_preproc_ok=:
2381 break
2383 rm -f conftest.err conftest.$ac_ext
2385 done
2386 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2387 rm -f conftest.err conftest.$ac_ext
2388 if $ac_preproc_ok; then
2390 else
2391 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2392 See \`config.log' for more details." >&5
2393 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2394 See \`config.log' for more details." >&2;}
2395 { (exit 1); exit 1; }; }
2398 ac_ext=c
2399 ac_cpp='$CPP $CPPFLAGS'
2400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2405 echo "$as_me:$LINENO: checking for egrep" >&5
2406 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2407 if test "${ac_cv_prog_egrep+set}" = set; then
2408 echo $ECHO_N "(cached) $ECHO_C" >&6
2409 else
2410 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2411 then ac_cv_prog_egrep='grep -E'
2412 else ac_cv_prog_egrep='egrep'
2415 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2416 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2417 EGREP=$ac_cv_prog_egrep
2421 # Keep these sync'd with the list in Makefile.am. The first provides an
2422 # expandable list at autoconf time; the second provides an expandable list
2423 # (i.e., shell variable) at configure time.
2425 SUBDIRS='include libmath libsupc++ src doc po testsuite'
2427 # These need to be absolute paths, yet at the same time need to
2428 # canonicalize only relative paths, because then amd will not unmount
2429 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2430 glibcxx_builddir=`${PWDCMD-pwd}`
2431 case $srcdir in
2432 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2433 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2434 esac
2435 toplevel_srcdir=${glibcxx_srcdir}/..
2440 # We use these options to decide which functions to include. They are
2441 # set from the top level.
2443 # Check whether --with-target-subdir or --without-target-subdir was given.
2444 if test "${with_target_subdir+set}" = set; then
2445 withval="$with_target_subdir"
2450 # Check whether --with-cross-host or --without-cross-host was given.
2451 if test "${with_cross_host+set}" = set; then
2452 withval="$with_cross_host"
2457 # Check whether --with-newlib or --without-newlib was given.
2458 if test "${with_newlib+set}" = set; then
2459 withval="$with_newlib"
2463 # We're almost certainly being configured before anything else which uses
2464 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2465 # we not cache the value of CXX that we "discover" here, because it's set
2466 # to something unique for us and libjava. Other target libraries need to
2467 # find CXX for themselves. We yank the rug out from under the normal AC_*
2468 # process by sneakily renaming the cache variable. This also lets us debug
2469 # the value of "our" CXX in postmortems.
2471 # We must also force CXX to /not/ be a precious variable, otherwise the
2472 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2473 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2474 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2475 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2477 # -fno-builtin must be present here so that a non-conflicting form of
2478 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2483 save_CXXFLAGS="$CXXFLAGS"
2484 CXXFLAGS="$CXXFLAGS -fno-builtin"
2485 ac_ext=c
2486 ac_cpp='$CPP $CPPFLAGS'
2487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2490 if test -n "$ac_tool_prefix"; then
2491 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2492 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2493 echo "$as_me:$LINENO: checking for $ac_word" >&5
2494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2495 if test "${ac_cv_prog_CC+set}" = set; then
2496 echo $ECHO_N "(cached) $ECHO_C" >&6
2497 else
2498 if test -n "$CC"; then
2499 ac_cv_prog_CC="$CC" # Let the user override the test.
2500 else
2501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2502 for as_dir in $PATH
2504 IFS=$as_save_IFS
2505 test -z "$as_dir" && as_dir=.
2506 for ac_exec_ext in '' $ac_executable_extensions; do
2507 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2508 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2510 break 2
2512 done
2513 done
2517 CC=$ac_cv_prog_CC
2518 if test -n "$CC"; then
2519 echo "$as_me:$LINENO: result: $CC" >&5
2520 echo "${ECHO_T}$CC" >&6
2521 else
2522 echo "$as_me:$LINENO: result: no" >&5
2523 echo "${ECHO_T}no" >&6
2527 if test -z "$ac_cv_prog_CC"; then
2528 ac_ct_CC=$CC
2529 # Extract the first word of "gcc", so it can be a program name with args.
2530 set dummy gcc; ac_word=$2
2531 echo "$as_me:$LINENO: checking for $ac_word" >&5
2532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2533 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2534 echo $ECHO_N "(cached) $ECHO_C" >&6
2535 else
2536 if test -n "$ac_ct_CC"; then
2537 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2538 else
2539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2540 for as_dir in $PATH
2542 IFS=$as_save_IFS
2543 test -z "$as_dir" && as_dir=.
2544 for ac_exec_ext in '' $ac_executable_extensions; do
2545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2546 ac_cv_prog_ac_ct_CC="gcc"
2547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2548 break 2
2550 done
2551 done
2555 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2556 if test -n "$ac_ct_CC"; then
2557 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2558 echo "${ECHO_T}$ac_ct_CC" >&6
2559 else
2560 echo "$as_me:$LINENO: result: no" >&5
2561 echo "${ECHO_T}no" >&6
2564 CC=$ac_ct_CC
2565 else
2566 CC="$ac_cv_prog_CC"
2569 if test -z "$CC"; then
2570 if test -n "$ac_tool_prefix"; then
2571 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2572 set dummy ${ac_tool_prefix}cc; ac_word=$2
2573 echo "$as_me:$LINENO: checking for $ac_word" >&5
2574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2575 if test "${ac_cv_prog_CC+set}" = set; then
2576 echo $ECHO_N "(cached) $ECHO_C" >&6
2577 else
2578 if test -n "$CC"; then
2579 ac_cv_prog_CC="$CC" # Let the user override the test.
2580 else
2581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2582 for as_dir in $PATH
2584 IFS=$as_save_IFS
2585 test -z "$as_dir" && as_dir=.
2586 for ac_exec_ext in '' $ac_executable_extensions; do
2587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2588 ac_cv_prog_CC="${ac_tool_prefix}cc"
2589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2590 break 2
2592 done
2593 done
2597 CC=$ac_cv_prog_CC
2598 if test -n "$CC"; then
2599 echo "$as_me:$LINENO: result: $CC" >&5
2600 echo "${ECHO_T}$CC" >&6
2601 else
2602 echo "$as_me:$LINENO: result: no" >&5
2603 echo "${ECHO_T}no" >&6
2607 if test -z "$ac_cv_prog_CC"; then
2608 ac_ct_CC=$CC
2609 # Extract the first word of "cc", so it can be a program name with args.
2610 set dummy cc; ac_word=$2
2611 echo "$as_me:$LINENO: checking for $ac_word" >&5
2612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2613 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2614 echo $ECHO_N "(cached) $ECHO_C" >&6
2615 else
2616 if test -n "$ac_ct_CC"; then
2617 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2618 else
2619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2620 for as_dir in $PATH
2622 IFS=$as_save_IFS
2623 test -z "$as_dir" && as_dir=.
2624 for ac_exec_ext in '' $ac_executable_extensions; do
2625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2626 ac_cv_prog_ac_ct_CC="cc"
2627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2628 break 2
2630 done
2631 done
2635 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2636 if test -n "$ac_ct_CC"; then
2637 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2638 echo "${ECHO_T}$ac_ct_CC" >&6
2639 else
2640 echo "$as_me:$LINENO: result: no" >&5
2641 echo "${ECHO_T}no" >&6
2644 CC=$ac_ct_CC
2645 else
2646 CC="$ac_cv_prog_CC"
2650 if test -z "$CC"; then
2651 # Extract the first word of "cc", so it can be a program name with args.
2652 set dummy cc; ac_word=$2
2653 echo "$as_me:$LINENO: checking for $ac_word" >&5
2654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2655 if test "${ac_cv_prog_CC+set}" = set; then
2656 echo $ECHO_N "(cached) $ECHO_C" >&6
2657 else
2658 if test -n "$CC"; then
2659 ac_cv_prog_CC="$CC" # Let the user override the test.
2660 else
2661 ac_prog_rejected=no
2662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2663 for as_dir in $PATH
2665 IFS=$as_save_IFS
2666 test -z "$as_dir" && as_dir=.
2667 for ac_exec_ext in '' $ac_executable_extensions; do
2668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2669 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2670 ac_prog_rejected=yes
2671 continue
2673 ac_cv_prog_CC="cc"
2674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2675 break 2
2677 done
2678 done
2680 if test $ac_prog_rejected = yes; then
2681 # We found a bogon in the path, so make sure we never use it.
2682 set dummy $ac_cv_prog_CC
2683 shift
2684 if test $# != 0; then
2685 # We chose a different compiler from the bogus one.
2686 # However, it has the same basename, so the bogon will be chosen
2687 # first if we set CC to just the basename; use the full file name.
2688 shift
2689 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2694 CC=$ac_cv_prog_CC
2695 if test -n "$CC"; then
2696 echo "$as_me:$LINENO: result: $CC" >&5
2697 echo "${ECHO_T}$CC" >&6
2698 else
2699 echo "$as_me:$LINENO: result: no" >&5
2700 echo "${ECHO_T}no" >&6
2704 if test -z "$CC"; then
2705 if test -n "$ac_tool_prefix"; then
2706 for ac_prog in cl
2708 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2709 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2710 echo "$as_me:$LINENO: checking for $ac_word" >&5
2711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2712 if test "${ac_cv_prog_CC+set}" = set; then
2713 echo $ECHO_N "(cached) $ECHO_C" >&6
2714 else
2715 if test -n "$CC"; then
2716 ac_cv_prog_CC="$CC" # Let the user override the test.
2717 else
2718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2719 for as_dir in $PATH
2721 IFS=$as_save_IFS
2722 test -z "$as_dir" && as_dir=.
2723 for ac_exec_ext in '' $ac_executable_extensions; do
2724 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2725 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2727 break 2
2729 done
2730 done
2734 CC=$ac_cv_prog_CC
2735 if test -n "$CC"; then
2736 echo "$as_me:$LINENO: result: $CC" >&5
2737 echo "${ECHO_T}$CC" >&6
2738 else
2739 echo "$as_me:$LINENO: result: no" >&5
2740 echo "${ECHO_T}no" >&6
2743 test -n "$CC" && break
2744 done
2746 if test -z "$CC"; then
2747 ac_ct_CC=$CC
2748 for ac_prog in cl
2750 # Extract the first word of "$ac_prog", so it can be a program name with args.
2751 set dummy $ac_prog; ac_word=$2
2752 echo "$as_me:$LINENO: checking for $ac_word" >&5
2753 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2754 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2755 echo $ECHO_N "(cached) $ECHO_C" >&6
2756 else
2757 if test -n "$ac_ct_CC"; then
2758 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2759 else
2760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2761 for as_dir in $PATH
2763 IFS=$as_save_IFS
2764 test -z "$as_dir" && as_dir=.
2765 for ac_exec_ext in '' $ac_executable_extensions; do
2766 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2767 ac_cv_prog_ac_ct_CC="$ac_prog"
2768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2769 break 2
2771 done
2772 done
2776 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2777 if test -n "$ac_ct_CC"; then
2778 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2779 echo "${ECHO_T}$ac_ct_CC" >&6
2780 else
2781 echo "$as_me:$LINENO: result: no" >&5
2782 echo "${ECHO_T}no" >&6
2785 test -n "$ac_ct_CC" && break
2786 done
2788 CC=$ac_ct_CC
2794 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2795 See \`config.log' for more details." >&5
2796 echo "$as_me: error: no acceptable C compiler found in \$PATH
2797 See \`config.log' for more details." >&2;}
2798 { (exit 1); exit 1; }; }
2800 # Provide some information about the compiler.
2801 echo "$as_me:$LINENO:" \
2802 "checking for C compiler version" >&5
2803 ac_compiler=`set X $ac_compile; echo $2`
2804 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2805 (eval $ac_compiler --version </dev/null >&5) 2>&5
2806 ac_status=$?
2807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2808 (exit $ac_status); }
2809 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2810 (eval $ac_compiler -v </dev/null >&5) 2>&5
2811 ac_status=$?
2812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813 (exit $ac_status); }
2814 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2815 (eval $ac_compiler -V </dev/null >&5) 2>&5
2816 ac_status=$?
2817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2818 (exit $ac_status); }
2820 cat >conftest.$ac_ext <<_ACEOF
2821 /* confdefs.h. */
2822 _ACEOF
2823 cat confdefs.h >>conftest.$ac_ext
2824 cat >>conftest.$ac_ext <<_ACEOF
2825 /* end confdefs.h. */
2828 main ()
2832 return 0;
2834 _ACEOF
2835 # FIXME: Cleanup?
2836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2837 (eval $ac_link) 2>&5
2838 ac_status=$?
2839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840 (exit $ac_status); }; then
2841 gcc_no_link=no
2842 else
2843 gcc_no_link=yes
2846 if test x$gcc_no_link = xyes; then
2847 # Setting cross_compile will disable run tests; it will
2848 # also disable AC_CHECK_FILE but that's generally
2849 # correct if we can't link.
2850 cross_compiling=yes
2851 EXEEXT=
2852 else
2853 cat >conftest.$ac_ext <<_ACEOF
2854 /* confdefs.h. */
2855 _ACEOF
2856 cat confdefs.h >>conftest.$ac_ext
2857 cat >>conftest.$ac_ext <<_ACEOF
2858 /* end confdefs.h. */
2861 main ()
2865 return 0;
2867 _ACEOF
2868 ac_clean_files_save=$ac_clean_files
2869 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2870 # Try to create an executable without -o first, disregard a.out.
2871 # It will help us diagnose broken compilers, and finding out an intuition
2872 # of exeext.
2873 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2874 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2875 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2876 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2877 (eval $ac_link_default) 2>&5
2878 ac_status=$?
2879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880 (exit $ac_status); }; then
2881 # Find the output, starting from the most likely. This scheme is
2882 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2883 # resort.
2885 # Be careful to initialize this variable, since it used to be cached.
2886 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2887 ac_cv_exeext=
2888 # b.out is created by i960 compilers.
2889 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2891 test -f "$ac_file" || continue
2892 case $ac_file in
2893 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2895 conftest.$ac_ext )
2896 # This is the source file.
2898 [ab].out )
2899 # We found the default executable, but exeext='' is most
2900 # certainly right.
2901 break;;
2902 *.* )
2903 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2904 # FIXME: I believe we export ac_cv_exeext for Libtool,
2905 # but it would be cool to find out if it's true. Does anybody
2906 # maintain Libtool? --akim.
2907 export ac_cv_exeext
2908 break;;
2910 break;;
2911 esac
2912 done
2913 else
2914 echo "$as_me: failed program was:" >&5
2915 sed 's/^/| /' conftest.$ac_ext >&5
2917 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2918 See \`config.log' for more details." >&5
2919 echo "$as_me: error: C compiler cannot create executables
2920 See \`config.log' for more details." >&2;}
2921 { (exit 77); exit 77; }; }
2924 ac_exeext=$ac_cv_exeext
2925 echo "$as_me:$LINENO: result: $ac_file" >&5
2926 echo "${ECHO_T}$ac_file" >&6
2928 # Check the compiler produces executables we can run. If not, either
2929 # the compiler is broken, or we cross compile.
2930 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2931 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2932 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2933 # If not cross compiling, check that we can run a simple program.
2934 if test "$cross_compiling" != yes; then
2935 if { ac_try='./$ac_file'
2936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2937 (eval $ac_try) 2>&5
2938 ac_status=$?
2939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940 (exit $ac_status); }; }; then
2941 cross_compiling=no
2942 else
2943 if test "$cross_compiling" = maybe; then
2944 cross_compiling=yes
2945 else
2946 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2947 If you meant to cross compile, use \`--host'.
2948 See \`config.log' for more details." >&5
2949 echo "$as_me: error: cannot run C compiled programs.
2950 If you meant to cross compile, use \`--host'.
2951 See \`config.log' for more details." >&2;}
2952 { (exit 1); exit 1; }; }
2956 echo "$as_me:$LINENO: result: yes" >&5
2957 echo "${ECHO_T}yes" >&6
2959 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2960 ac_clean_files=$ac_clean_files_save
2961 # Check the compiler produces executables we can run. If not, either
2962 # the compiler is broken, or we cross compile.
2963 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2964 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2965 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2966 echo "${ECHO_T}$cross_compiling" >&6
2968 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2969 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2971 (eval $ac_link) 2>&5
2972 ac_status=$?
2973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2974 (exit $ac_status); }; then
2975 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2976 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2977 # work properly (i.e., refer to `conftest.exe'), while it won't with
2978 # `rm'.
2979 for ac_file in conftest.exe conftest conftest.*; do
2980 test -f "$ac_file" || continue
2981 case $ac_file in
2982 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2983 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2984 export ac_cv_exeext
2985 break;;
2986 * ) break;;
2987 esac
2988 done
2989 else
2990 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2991 See \`config.log' for more details." >&5
2992 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2993 See \`config.log' for more details." >&2;}
2994 { (exit 1); exit 1; }; }
2997 rm -f conftest$ac_cv_exeext
2998 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2999 echo "${ECHO_T}$ac_cv_exeext" >&6
3001 rm -f conftest.$ac_ext
3002 EXEEXT=$ac_cv_exeext
3003 ac_exeext=$EXEEXT
3005 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3006 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3007 if test "${ac_cv_objext+set}" = set; then
3008 echo $ECHO_N "(cached) $ECHO_C" >&6
3009 else
3010 cat >conftest.$ac_ext <<_ACEOF
3011 /* confdefs.h. */
3012 _ACEOF
3013 cat confdefs.h >>conftest.$ac_ext
3014 cat >>conftest.$ac_ext <<_ACEOF
3015 /* end confdefs.h. */
3018 main ()
3022 return 0;
3024 _ACEOF
3025 rm -f conftest.o conftest.obj
3026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3027 (eval $ac_compile) 2>&5
3028 ac_status=$?
3029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3030 (exit $ac_status); }; then
3031 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3032 case $ac_file in
3033 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3034 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3035 break;;
3036 esac
3037 done
3038 else
3039 echo "$as_me: failed program was:" >&5
3040 sed 's/^/| /' conftest.$ac_ext >&5
3042 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3043 See \`config.log' for more details." >&5
3044 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3045 See \`config.log' for more details." >&2;}
3046 { (exit 1); exit 1; }; }
3049 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3051 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3052 echo "${ECHO_T}$ac_cv_objext" >&6
3053 OBJEXT=$ac_cv_objext
3054 ac_objext=$OBJEXT
3055 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3056 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3057 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3058 echo $ECHO_N "(cached) $ECHO_C" >&6
3059 else
3060 cat >conftest.$ac_ext <<_ACEOF
3061 /* confdefs.h. */
3062 _ACEOF
3063 cat confdefs.h >>conftest.$ac_ext
3064 cat >>conftest.$ac_ext <<_ACEOF
3065 /* end confdefs.h. */
3068 main ()
3070 #ifndef __GNUC__
3071 choke me
3072 #endif
3075 return 0;
3077 _ACEOF
3078 rm -f conftest.$ac_objext
3079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3080 (eval $ac_compile) 2>conftest.er1
3081 ac_status=$?
3082 grep -v '^ *+' conftest.er1 >conftest.err
3083 rm -f conftest.er1
3084 cat conftest.err >&5
3085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3086 (exit $ac_status); } &&
3087 { ac_try='test -z "$ac_c_werror_flag"
3088 || test ! -s conftest.err'
3089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3090 (eval $ac_try) 2>&5
3091 ac_status=$?
3092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3093 (exit $ac_status); }; } &&
3094 { ac_try='test -s conftest.$ac_objext'
3095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3096 (eval $ac_try) 2>&5
3097 ac_status=$?
3098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3099 (exit $ac_status); }; }; then
3100 ac_compiler_gnu=yes
3101 else
3102 echo "$as_me: failed program was:" >&5
3103 sed 's/^/| /' conftest.$ac_ext >&5
3105 ac_compiler_gnu=no
3107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3108 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3111 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3112 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3113 GCC=`test $ac_compiler_gnu = yes && echo yes`
3114 ac_test_CFLAGS=${CFLAGS+set}
3115 ac_save_CFLAGS=$CFLAGS
3116 CFLAGS="-g"
3117 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3118 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3119 if test "${ac_cv_prog_cc_g+set}" = set; then
3120 echo $ECHO_N "(cached) $ECHO_C" >&6
3121 else
3122 cat >conftest.$ac_ext <<_ACEOF
3123 /* confdefs.h. */
3124 _ACEOF
3125 cat confdefs.h >>conftest.$ac_ext
3126 cat >>conftest.$ac_ext <<_ACEOF
3127 /* end confdefs.h. */
3130 main ()
3134 return 0;
3136 _ACEOF
3137 rm -f conftest.$ac_objext
3138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3139 (eval $ac_compile) 2>conftest.er1
3140 ac_status=$?
3141 grep -v '^ *+' conftest.er1 >conftest.err
3142 rm -f conftest.er1
3143 cat conftest.err >&5
3144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3145 (exit $ac_status); } &&
3146 { ac_try='test -z "$ac_c_werror_flag"
3147 || test ! -s conftest.err'
3148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3149 (eval $ac_try) 2>&5
3150 ac_status=$?
3151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3152 (exit $ac_status); }; } &&
3153 { ac_try='test -s conftest.$ac_objext'
3154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3155 (eval $ac_try) 2>&5
3156 ac_status=$?
3157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3158 (exit $ac_status); }; }; then
3159 ac_cv_prog_cc_g=yes
3160 else
3161 echo "$as_me: failed program was:" >&5
3162 sed 's/^/| /' conftest.$ac_ext >&5
3164 ac_cv_prog_cc_g=no
3166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3168 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3169 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3170 if test "$ac_test_CFLAGS" = set; then
3171 CFLAGS=$ac_save_CFLAGS
3172 elif test $ac_cv_prog_cc_g = yes; then
3173 if test "$GCC" = yes; then
3174 CFLAGS="-g -O2"
3175 else
3176 CFLAGS="-g"
3178 else
3179 if test "$GCC" = yes; then
3180 CFLAGS="-O2"
3181 else
3182 CFLAGS=
3185 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3186 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3187 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3188 echo $ECHO_N "(cached) $ECHO_C" >&6
3189 else
3190 ac_cv_prog_cc_stdc=no
3191 ac_save_CC=$CC
3192 cat >conftest.$ac_ext <<_ACEOF
3193 /* confdefs.h. */
3194 _ACEOF
3195 cat confdefs.h >>conftest.$ac_ext
3196 cat >>conftest.$ac_ext <<_ACEOF
3197 /* end confdefs.h. */
3198 #include <stdarg.h>
3199 #include <stdio.h>
3200 #include <sys/types.h>
3201 #include <sys/stat.h>
3202 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3203 struct buf { int x; };
3204 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3205 static char *e (p, i)
3206 char **p;
3207 int i;
3209 return p[i];
3211 static char *f (char * (*g) (char **, int), char **p, ...)
3213 char *s;
3214 va_list v;
3215 va_start (v,p);
3216 s = g (p, va_arg (v,int));
3217 va_end (v);
3218 return s;
3221 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3222 function prototypes and stuff, but not '\xHH' hex character constants.
3223 These don't provoke an error unfortunately, instead are silently treated
3224 as 'x'. The following induces an error, until -std1 is added to get
3225 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3226 array size at least. It's necessary to write '\x00'==0 to get something
3227 that's true only with -std1. */
3228 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3230 int test (int i, double x);
3231 struct s1 {int (*f) (int a);};
3232 struct s2 {int (*f) (double a);};
3233 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3234 int argc;
3235 char **argv;
3237 main ()
3239 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3241 return 0;
3243 _ACEOF
3244 # Don't try gcc -ansi; that turns off useful extensions and
3245 # breaks some systems' header files.
3246 # AIX -qlanglvl=ansi
3247 # Ultrix and OSF/1 -std1
3248 # HP-UX 10.20 and later -Ae
3249 # HP-UX older versions -Aa -D_HPUX_SOURCE
3250 # SVR4 -Xc -D__EXTENSIONS__
3251 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3253 CC="$ac_save_CC $ac_arg"
3254 rm -f conftest.$ac_objext
3255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3256 (eval $ac_compile) 2>conftest.er1
3257 ac_status=$?
3258 grep -v '^ *+' conftest.er1 >conftest.err
3259 rm -f conftest.er1
3260 cat conftest.err >&5
3261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3262 (exit $ac_status); } &&
3263 { ac_try='test -z "$ac_c_werror_flag"
3264 || test ! -s conftest.err'
3265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3266 (eval $ac_try) 2>&5
3267 ac_status=$?
3268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3269 (exit $ac_status); }; } &&
3270 { ac_try='test -s conftest.$ac_objext'
3271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3272 (eval $ac_try) 2>&5
3273 ac_status=$?
3274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3275 (exit $ac_status); }; }; then
3276 ac_cv_prog_cc_stdc=$ac_arg
3277 break
3278 else
3279 echo "$as_me: failed program was:" >&5
3280 sed 's/^/| /' conftest.$ac_ext >&5
3283 rm -f conftest.err conftest.$ac_objext
3284 done
3285 rm -f conftest.$ac_ext conftest.$ac_objext
3286 CC=$ac_save_CC
3290 case "x$ac_cv_prog_cc_stdc" in
3291 x|xno)
3292 echo "$as_me:$LINENO: result: none needed" >&5
3293 echo "${ECHO_T}none needed" >&6 ;;
3295 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3296 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3297 CC="$CC $ac_cv_prog_cc_stdc" ;;
3298 esac
3300 # Some people use a C++ compiler to compile C. Since we use `exit',
3301 # in C++ we need to declare it. In case someone uses the same compiler
3302 # for both compiling C and C++ we need to have the C++ compiler decide
3303 # the declaration of exit, since it's the most demanding environment.
3304 cat >conftest.$ac_ext <<_ACEOF
3305 #ifndef __cplusplus
3306 choke me
3307 #endif
3308 _ACEOF
3309 rm -f conftest.$ac_objext
3310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3311 (eval $ac_compile) 2>conftest.er1
3312 ac_status=$?
3313 grep -v '^ *+' conftest.er1 >conftest.err
3314 rm -f conftest.er1
3315 cat conftest.err >&5
3316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317 (exit $ac_status); } &&
3318 { ac_try='test -z "$ac_c_werror_flag"
3319 || test ! -s conftest.err'
3320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3321 (eval $ac_try) 2>&5
3322 ac_status=$?
3323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3324 (exit $ac_status); }; } &&
3325 { ac_try='test -s conftest.$ac_objext'
3326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3327 (eval $ac_try) 2>&5
3328 ac_status=$?
3329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330 (exit $ac_status); }; }; then
3331 for ac_declaration in \
3332 '' \
3333 'extern "C" void std::exit (int) throw (); using std::exit;' \
3334 'extern "C" void std::exit (int); using std::exit;' \
3335 'extern "C" void exit (int) throw ();' \
3336 'extern "C" void exit (int);' \
3337 'void exit (int);'
3339 cat >conftest.$ac_ext <<_ACEOF
3340 /* confdefs.h. */
3341 _ACEOF
3342 cat confdefs.h >>conftest.$ac_ext
3343 cat >>conftest.$ac_ext <<_ACEOF
3344 /* end confdefs.h. */
3345 $ac_declaration
3346 #include <stdlib.h>
3348 main ()
3350 exit (42);
3352 return 0;
3354 _ACEOF
3355 rm -f conftest.$ac_objext
3356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3357 (eval $ac_compile) 2>conftest.er1
3358 ac_status=$?
3359 grep -v '^ *+' conftest.er1 >conftest.err
3360 rm -f conftest.er1
3361 cat conftest.err >&5
3362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3363 (exit $ac_status); } &&
3364 { ac_try='test -z "$ac_c_werror_flag"
3365 || test ! -s conftest.err'
3366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3367 (eval $ac_try) 2>&5
3368 ac_status=$?
3369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3370 (exit $ac_status); }; } &&
3371 { ac_try='test -s conftest.$ac_objext'
3372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3373 (eval $ac_try) 2>&5
3374 ac_status=$?
3375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3376 (exit $ac_status); }; }; then
3378 else
3379 echo "$as_me: failed program was:" >&5
3380 sed 's/^/| /' conftest.$ac_ext >&5
3382 continue
3384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3385 cat >conftest.$ac_ext <<_ACEOF
3386 /* confdefs.h. */
3387 _ACEOF
3388 cat confdefs.h >>conftest.$ac_ext
3389 cat >>conftest.$ac_ext <<_ACEOF
3390 /* end confdefs.h. */
3391 $ac_declaration
3393 main ()
3395 exit (42);
3397 return 0;
3399 _ACEOF
3400 rm -f conftest.$ac_objext
3401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3402 (eval $ac_compile) 2>conftest.er1
3403 ac_status=$?
3404 grep -v '^ *+' conftest.er1 >conftest.err
3405 rm -f conftest.er1
3406 cat conftest.err >&5
3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); } &&
3409 { ac_try='test -z "$ac_c_werror_flag"
3410 || test ! -s conftest.err'
3411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3412 (eval $ac_try) 2>&5
3413 ac_status=$?
3414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3415 (exit $ac_status); }; } &&
3416 { ac_try='test -s conftest.$ac_objext'
3417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3418 (eval $ac_try) 2>&5
3419 ac_status=$?
3420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3421 (exit $ac_status); }; }; then
3422 break
3423 else
3424 echo "$as_me: failed program was:" >&5
3425 sed 's/^/| /' conftest.$ac_ext >&5
3428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3429 done
3430 rm -f conftest*
3431 if test -n "$ac_declaration"; then
3432 echo '#ifdef __cplusplus' >>confdefs.h
3433 echo $ac_declaration >>confdefs.h
3434 echo '#endif' >>confdefs.h
3437 else
3438 echo "$as_me: failed program was:" >&5
3439 sed 's/^/| /' conftest.$ac_ext >&5
3442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3443 ac_ext=c
3444 ac_cpp='$CPP $CPPFLAGS'
3445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3449 ac_ext=cc
3450 ac_cpp='$CXXCPP $CPPFLAGS'
3451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3454 if test -n "$ac_tool_prefix"; then
3455 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3457 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3458 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3459 echo "$as_me:$LINENO: checking for $ac_word" >&5
3460 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3461 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3462 echo $ECHO_N "(cached) $ECHO_C" >&6
3463 else
3464 if test -n "$CXX"; then
3465 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3466 else
3467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3468 for as_dir in $PATH
3470 IFS=$as_save_IFS
3471 test -z "$as_dir" && as_dir=.
3472 for ac_exec_ext in '' $ac_executable_extensions; do
3473 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3474 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3475 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3476 break 2
3478 done
3479 done
3483 CXX=$glibcxx_cv_prog_CXX
3484 if test -n "$CXX"; then
3485 echo "$as_me:$LINENO: result: $CXX" >&5
3486 echo "${ECHO_T}$CXX" >&6
3487 else
3488 echo "$as_me:$LINENO: result: no" >&5
3489 echo "${ECHO_T}no" >&6
3492 test -n "$CXX" && break
3493 done
3495 if test -z "$CXX"; then
3496 ac_ct_CXX=$CXX
3497 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3499 # Extract the first word of "$ac_prog", so it can be a program name with args.
3500 set dummy $ac_prog; ac_word=$2
3501 echo "$as_me:$LINENO: checking for $ac_word" >&5
3502 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3503 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3504 echo $ECHO_N "(cached) $ECHO_C" >&6
3505 else
3506 if test -n "$ac_ct_CXX"; then
3507 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3508 else
3509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3510 for as_dir in $PATH
3512 IFS=$as_save_IFS
3513 test -z "$as_dir" && as_dir=.
3514 for ac_exec_ext in '' $ac_executable_extensions; do
3515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3516 ac_cv_prog_ac_ct_CXX="$ac_prog"
3517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3518 break 2
3520 done
3521 done
3525 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3526 if test -n "$ac_ct_CXX"; then
3527 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3528 echo "${ECHO_T}$ac_ct_CXX" >&6
3529 else
3530 echo "$as_me:$LINENO: result: no" >&5
3531 echo "${ECHO_T}no" >&6
3534 test -n "$ac_ct_CXX" && break
3535 done
3536 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3538 CXX=$ac_ct_CXX
3542 # Provide some information about the compiler.
3543 echo "$as_me:$LINENO:" \
3544 "checking for C++ compiler version" >&5
3545 ac_compiler=`set X $ac_compile; echo $2`
3546 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3547 (eval $ac_compiler --version </dev/null >&5) 2>&5
3548 ac_status=$?
3549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3550 (exit $ac_status); }
3551 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3552 (eval $ac_compiler -v </dev/null >&5) 2>&5
3553 ac_status=$?
3554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3555 (exit $ac_status); }
3556 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3557 (eval $ac_compiler -V </dev/null >&5) 2>&5
3558 ac_status=$?
3559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560 (exit $ac_status); }
3562 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3563 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3564 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3565 echo $ECHO_N "(cached) $ECHO_C" >&6
3566 else
3567 cat >conftest.$ac_ext <<_ACEOF
3568 /* confdefs.h. */
3569 _ACEOF
3570 cat confdefs.h >>conftest.$ac_ext
3571 cat >>conftest.$ac_ext <<_ACEOF
3572 /* end confdefs.h. */
3575 main ()
3577 #ifndef __GNUC__
3578 choke me
3579 #endif
3582 return 0;
3584 _ACEOF
3585 rm -f conftest.$ac_objext
3586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3587 (eval $ac_compile) 2>conftest.er1
3588 ac_status=$?
3589 grep -v '^ *+' conftest.er1 >conftest.err
3590 rm -f conftest.er1
3591 cat conftest.err >&5
3592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3593 (exit $ac_status); } &&
3594 { ac_try='test -z "$ac_cxx_werror_flag"
3595 || test ! -s conftest.err'
3596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3597 (eval $ac_try) 2>&5
3598 ac_status=$?
3599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3600 (exit $ac_status); }; } &&
3601 { ac_try='test -s conftest.$ac_objext'
3602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3603 (eval $ac_try) 2>&5
3604 ac_status=$?
3605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606 (exit $ac_status); }; }; then
3607 ac_compiler_gnu=yes
3608 else
3609 echo "$as_me: failed program was:" >&5
3610 sed 's/^/| /' conftest.$ac_ext >&5
3612 ac_compiler_gnu=no
3614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3615 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3618 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3619 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3620 GXX=`test $ac_compiler_gnu = yes && echo yes`
3621 ac_test_CXXFLAGS=${CXXFLAGS+set}
3622 ac_save_CXXFLAGS=$CXXFLAGS
3623 CXXFLAGS="-g"
3624 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3625 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3626 if test "${ac_cv_prog_cxx_g+set}" = set; then
3627 echo $ECHO_N "(cached) $ECHO_C" >&6
3628 else
3629 cat >conftest.$ac_ext <<_ACEOF
3630 /* confdefs.h. */
3631 _ACEOF
3632 cat confdefs.h >>conftest.$ac_ext
3633 cat >>conftest.$ac_ext <<_ACEOF
3634 /* end confdefs.h. */
3637 main ()
3641 return 0;
3643 _ACEOF
3644 rm -f conftest.$ac_objext
3645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3646 (eval $ac_compile) 2>conftest.er1
3647 ac_status=$?
3648 grep -v '^ *+' conftest.er1 >conftest.err
3649 rm -f conftest.er1
3650 cat conftest.err >&5
3651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3652 (exit $ac_status); } &&
3653 { ac_try='test -z "$ac_cxx_werror_flag"
3654 || test ! -s conftest.err'
3655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3656 (eval $ac_try) 2>&5
3657 ac_status=$?
3658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3659 (exit $ac_status); }; } &&
3660 { ac_try='test -s conftest.$ac_objext'
3661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3662 (eval $ac_try) 2>&5
3663 ac_status=$?
3664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3665 (exit $ac_status); }; }; then
3666 ac_cv_prog_cxx_g=yes
3667 else
3668 echo "$as_me: failed program was:" >&5
3669 sed 's/^/| /' conftest.$ac_ext >&5
3671 ac_cv_prog_cxx_g=no
3673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3675 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3676 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3677 if test "$ac_test_CXXFLAGS" = set; then
3678 CXXFLAGS=$ac_save_CXXFLAGS
3679 elif test $ac_cv_prog_cxx_g = yes; then
3680 if test "$GXX" = yes; then
3681 CXXFLAGS="-g -O2"
3682 else
3683 CXXFLAGS="-g"
3685 else
3686 if test "$GXX" = yes; then
3687 CXXFLAGS="-O2"
3688 else
3689 CXXFLAGS=
3692 for ac_declaration in \
3693 '' \
3694 'extern "C" void std::exit (int) throw (); using std::exit;' \
3695 'extern "C" void std::exit (int); using std::exit;' \
3696 'extern "C" void exit (int) throw ();' \
3697 'extern "C" void exit (int);' \
3698 'void exit (int);'
3700 cat >conftest.$ac_ext <<_ACEOF
3701 /* confdefs.h. */
3702 _ACEOF
3703 cat confdefs.h >>conftest.$ac_ext
3704 cat >>conftest.$ac_ext <<_ACEOF
3705 /* end confdefs.h. */
3706 $ac_declaration
3707 #include <stdlib.h>
3709 main ()
3711 exit (42);
3713 return 0;
3715 _ACEOF
3716 rm -f conftest.$ac_objext
3717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3718 (eval $ac_compile) 2>conftest.er1
3719 ac_status=$?
3720 grep -v '^ *+' conftest.er1 >conftest.err
3721 rm -f conftest.er1
3722 cat conftest.err >&5
3723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3724 (exit $ac_status); } &&
3725 { ac_try='test -z "$ac_cxx_werror_flag"
3726 || test ! -s conftest.err'
3727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3728 (eval $ac_try) 2>&5
3729 ac_status=$?
3730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3731 (exit $ac_status); }; } &&
3732 { ac_try='test -s conftest.$ac_objext'
3733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3734 (eval $ac_try) 2>&5
3735 ac_status=$?
3736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3737 (exit $ac_status); }; }; then
3739 else
3740 echo "$as_me: failed program was:" >&5
3741 sed 's/^/| /' conftest.$ac_ext >&5
3743 continue
3745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3746 cat >conftest.$ac_ext <<_ACEOF
3747 /* confdefs.h. */
3748 _ACEOF
3749 cat confdefs.h >>conftest.$ac_ext
3750 cat >>conftest.$ac_ext <<_ACEOF
3751 /* end confdefs.h. */
3752 $ac_declaration
3754 main ()
3756 exit (42);
3758 return 0;
3760 _ACEOF
3761 rm -f conftest.$ac_objext
3762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3763 (eval $ac_compile) 2>conftest.er1
3764 ac_status=$?
3765 grep -v '^ *+' conftest.er1 >conftest.err
3766 rm -f conftest.er1
3767 cat conftest.err >&5
3768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3769 (exit $ac_status); } &&
3770 { ac_try='test -z "$ac_cxx_werror_flag"
3771 || test ! -s conftest.err'
3772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3773 (eval $ac_try) 2>&5
3774 ac_status=$?
3775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3776 (exit $ac_status); }; } &&
3777 { ac_try='test -s conftest.$ac_objext'
3778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3779 (eval $ac_try) 2>&5
3780 ac_status=$?
3781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3782 (exit $ac_status); }; }; then
3783 break
3784 else
3785 echo "$as_me: failed program was:" >&5
3786 sed 's/^/| /' conftest.$ac_ext >&5
3789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3790 done
3791 rm -f conftest*
3792 if test -n "$ac_declaration"; then
3793 echo '#ifdef __cplusplus' >>confdefs.h
3794 echo $ac_declaration >>confdefs.h
3795 echo '#endif' >>confdefs.h
3798 ac_ext=c
3799 ac_cpp='$CPP $CPPFLAGS'
3800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3804 CXXFLAGS="$save_CXXFLAGS"
3809 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3810 # available). Uncomment the next line to force a particular method.
3811 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3812 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3813 LN_S=$as_ln_s
3814 if test "$LN_S" = "ln -s"; then
3815 echo "$as_me:$LINENO: result: yes" >&5
3816 echo "${ECHO_T}yes" >&6
3817 else
3818 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3819 echo "${ECHO_T}no, using $LN_S" >&6
3822 #LN_S='cp -p'
3824 if test -n "$ac_tool_prefix"; then
3825 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3826 set dummy ${ac_tool_prefix}as; ac_word=$2
3827 echo "$as_me:$LINENO: checking for $ac_word" >&5
3828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3829 if test "${ac_cv_prog_AS+set}" = set; then
3830 echo $ECHO_N "(cached) $ECHO_C" >&6
3831 else
3832 if test -n "$AS"; then
3833 ac_cv_prog_AS="$AS" # Let the user override the test.
3834 else
3835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3836 for as_dir in $PATH
3838 IFS=$as_save_IFS
3839 test -z "$as_dir" && as_dir=.
3840 for ac_exec_ext in '' $ac_executable_extensions; do
3841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3842 ac_cv_prog_AS="${ac_tool_prefix}as"
3843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3844 break 2
3846 done
3847 done
3851 AS=$ac_cv_prog_AS
3852 if test -n "$AS"; then
3853 echo "$as_me:$LINENO: result: $AS" >&5
3854 echo "${ECHO_T}$AS" >&6
3855 else
3856 echo "$as_me:$LINENO: result: no" >&5
3857 echo "${ECHO_T}no" >&6
3861 if test -z "$ac_cv_prog_AS"; then
3862 ac_ct_AS=$AS
3863 # Extract the first word of "as", so it can be a program name with args.
3864 set dummy as; ac_word=$2
3865 echo "$as_me:$LINENO: checking for $ac_word" >&5
3866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3867 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3868 echo $ECHO_N "(cached) $ECHO_C" >&6
3869 else
3870 if test -n "$ac_ct_AS"; then
3871 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3872 else
3873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3874 for as_dir in $PATH
3876 IFS=$as_save_IFS
3877 test -z "$as_dir" && as_dir=.
3878 for ac_exec_ext in '' $ac_executable_extensions; do
3879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3880 ac_cv_prog_ac_ct_AS="as"
3881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3882 break 2
3884 done
3885 done
3889 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3890 if test -n "$ac_ct_AS"; then
3891 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3892 echo "${ECHO_T}$ac_ct_AS" >&6
3893 else
3894 echo "$as_me:$LINENO: result: no" >&5
3895 echo "${ECHO_T}no" >&6
3898 AS=$ac_ct_AS
3899 else
3900 AS="$ac_cv_prog_AS"
3903 if test -n "$ac_tool_prefix"; then
3904 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3905 set dummy ${ac_tool_prefix}ar; ac_word=$2
3906 echo "$as_me:$LINENO: checking for $ac_word" >&5
3907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3908 if test "${ac_cv_prog_AR+set}" = set; then
3909 echo $ECHO_N "(cached) $ECHO_C" >&6
3910 else
3911 if test -n "$AR"; then
3912 ac_cv_prog_AR="$AR" # Let the user override the test.
3913 else
3914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3915 for as_dir in $PATH
3917 IFS=$as_save_IFS
3918 test -z "$as_dir" && as_dir=.
3919 for ac_exec_ext in '' $ac_executable_extensions; do
3920 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3921 ac_cv_prog_AR="${ac_tool_prefix}ar"
3922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3923 break 2
3925 done
3926 done
3930 AR=$ac_cv_prog_AR
3931 if test -n "$AR"; then
3932 echo "$as_me:$LINENO: result: $AR" >&5
3933 echo "${ECHO_T}$AR" >&6
3934 else
3935 echo "$as_me:$LINENO: result: no" >&5
3936 echo "${ECHO_T}no" >&6
3940 if test -z "$ac_cv_prog_AR"; then
3941 ac_ct_AR=$AR
3942 # Extract the first word of "ar", so it can be a program name with args.
3943 set dummy ar; ac_word=$2
3944 echo "$as_me:$LINENO: checking for $ac_word" >&5
3945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3946 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3947 echo $ECHO_N "(cached) $ECHO_C" >&6
3948 else
3949 if test -n "$ac_ct_AR"; then
3950 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3951 else
3952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3953 for as_dir in $PATH
3955 IFS=$as_save_IFS
3956 test -z "$as_dir" && as_dir=.
3957 for ac_exec_ext in '' $ac_executable_extensions; do
3958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3959 ac_cv_prog_ac_ct_AR="ar"
3960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3961 break 2
3963 done
3964 done
3968 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3969 if test -n "$ac_ct_AR"; then
3970 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3971 echo "${ECHO_T}$ac_ct_AR" >&6
3972 else
3973 echo "$as_me:$LINENO: result: no" >&5
3974 echo "${ECHO_T}no" >&6
3977 AR=$ac_ct_AR
3978 else
3979 AR="$ac_cv_prog_AR"
3982 if test -n "$ac_tool_prefix"; then
3983 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3984 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3985 echo "$as_me:$LINENO: checking for $ac_word" >&5
3986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3987 if test "${ac_cv_prog_RANLIB+set}" = set; then
3988 echo $ECHO_N "(cached) $ECHO_C" >&6
3989 else
3990 if test -n "$RANLIB"; then
3991 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3992 else
3993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3994 for as_dir in $PATH
3996 IFS=$as_save_IFS
3997 test -z "$as_dir" && as_dir=.
3998 for ac_exec_ext in '' $ac_executable_extensions; do
3999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4000 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4002 break 2
4004 done
4005 done
4009 RANLIB=$ac_cv_prog_RANLIB
4010 if test -n "$RANLIB"; then
4011 echo "$as_me:$LINENO: result: $RANLIB" >&5
4012 echo "${ECHO_T}$RANLIB" >&6
4013 else
4014 echo "$as_me:$LINENO: result: no" >&5
4015 echo "${ECHO_T}no" >&6
4019 if test -z "$ac_cv_prog_RANLIB"; then
4020 ac_ct_RANLIB=$RANLIB
4021 # Extract the first word of "ranlib", so it can be a program name with args.
4022 set dummy ranlib; ac_word=$2
4023 echo "$as_me:$LINENO: checking for $ac_word" >&5
4024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4025 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4026 echo $ECHO_N "(cached) $ECHO_C" >&6
4027 else
4028 if test -n "$ac_ct_RANLIB"; then
4029 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4030 else
4031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4032 for as_dir in $PATH
4034 IFS=$as_save_IFS
4035 test -z "$as_dir" && as_dir=.
4036 for ac_exec_ext in '' $ac_executable_extensions; do
4037 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4038 ac_cv_prog_ac_ct_RANLIB="ranlib"
4039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4040 break 2
4042 done
4043 done
4045 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
4048 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4049 if test -n "$ac_ct_RANLIB"; then
4050 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4051 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4052 else
4053 echo "$as_me:$LINENO: result: no" >&5
4054 echo "${ECHO_T}no" >&6
4057 RANLIB=$ac_ct_RANLIB
4058 else
4059 RANLIB="$ac_cv_prog_RANLIB"
4063 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4064 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4065 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4066 if test "${enable_maintainer_mode+set}" = set; then
4067 enableval="$enable_maintainer_mode"
4068 USE_MAINTAINER_MODE=$enableval
4069 else
4070 USE_MAINTAINER_MODE=no
4072 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4073 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4076 if test $USE_MAINTAINER_MODE = yes; then
4077 MAINTAINER_MODE_TRUE=
4078 MAINTAINER_MODE_FALSE='#'
4079 else
4080 MAINTAINER_MODE_TRUE='#'
4081 MAINTAINER_MODE_FALSE=
4084 MAINT=$MAINTAINER_MODE_TRUE
4088 # Set up safe default values for all subsequent AM_CONDITIONAL tests
4089 # which are themselves conditionally expanded.
4090 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
4091 ## other macros from doing the same. This should be automated.) -pme
4092 need_libmath=no
4094 # Check for uClibc since Linux platforms use different configuration
4095 # directories depending on the C library in use.
4096 cat >conftest.$ac_ext <<_ACEOF
4097 /* confdefs.h. */
4098 _ACEOF
4099 cat confdefs.h >>conftest.$ac_ext
4100 cat >>conftest.$ac_ext <<_ACEOF
4101 /* end confdefs.h. */
4103 #include <stdio.h>
4104 #if __UCLIBC__
4105 _using_uclibc
4106 #endif
4108 _ACEOF
4109 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4110 $EGREP "_using_uclibc" >/dev/null 2>&1; then
4111 uclibc=yes
4112 else
4113 uclibc=no
4115 rm -f conftest*
4118 # Find platform-specific directories containing configuration info.
4119 # Also possibly modify flags used elsewhere, as needed by the platform.
4121 . $glibcxx_srcdir/configure.host
4122 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
4123 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
4124 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
4125 echo "$as_me: OS config directory is $os_include_dir" >&6;}
4129 if test "x${with_newlib}" != "xyes"; then
4130 enable_dlopen=yes
4137 macro_version='2.1a'
4138 macro_revision='1.2435'
4151 ltmain="$ac_aux_dir/ltmain.sh"
4153 # Set options
4156 enable_win32_dll=no
4159 # Check whether --enable-shared or --disable-shared was given.
4160 if test "${enable_shared+set}" = set; then
4161 enableval="$enable_shared"
4162 p=${PACKAGE-default}
4163 case $enableval in
4164 yes) enable_shared=yes ;;
4165 no) enable_shared=no ;;
4167 enable_shared=no
4168 # Look at the argument we got. We use all the common list separators.
4169 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4170 for pkg in $enableval; do
4171 IFS="$lt_save_ifs"
4172 if test "X$pkg" = "X$p"; then
4173 enable_shared=yes
4175 done
4176 IFS="$lt_save_ifs"
4178 esac
4179 else
4180 enable_shared=yes
4190 # Check whether --enable-static or --disable-static was given.
4191 if test "${enable_static+set}" = set; then
4192 enableval="$enable_static"
4193 p=${PACKAGE-default}
4194 case $enableval in
4195 yes) enable_static=yes ;;
4196 no) enable_static=no ;;
4198 enable_static=no
4199 # Look at the argument we got. We use all the common list separators.
4200 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4201 for pkg in $enableval; do
4202 IFS="$lt_save_ifs"
4203 if test "X$pkg" = "X$p"; then
4204 enable_static=yes
4206 done
4207 IFS="$lt_save_ifs"
4209 esac
4210 else
4211 enable_static=yes
4222 # Check whether --with-pic or --without-pic was given.
4223 if test "${with_pic+set}" = set; then
4224 withval="$with_pic"
4225 pic_mode="$withval"
4226 else
4227 pic_mode=default
4230 test -z "$pic_mode" && pic_mode=default
4238 # Check whether --enable-fast-install or --disable-fast-install was given.
4239 if test "${enable_fast_install+set}" = set; then
4240 enableval="$enable_fast_install"
4241 p=${PACKAGE-default}
4242 case $enableval in
4243 yes) enable_fast_install=yes ;;
4244 no) enable_fast_install=no ;;
4246 enable_fast_install=no
4247 # Look at the argument we got. We use all the common list separators.
4248 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4249 for pkg in $enableval; do
4250 IFS="$lt_save_ifs"
4251 if test "X$pkg" = "X$p"; then
4252 enable_fast_install=yes
4254 done
4255 IFS="$lt_save_ifs"
4257 esac
4258 else
4259 enable_fast_install=yes
4269 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4270 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4271 if test "${lt_cv_path_SED+set}" = set; then
4272 echo $ECHO_N "(cached) $ECHO_C" >&6
4273 else
4274 # Loop through the user's path and test for sed and gsed.
4275 # Then use that list of sed's as ones to test for truncation.
4276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4277 for as_dir in $PATH
4279 IFS=$as_save_IFS
4280 test -z "$as_dir" && as_dir=.
4281 for lt_ac_prog in sed gsed; do
4282 for ac_exec_ext in '' $ac_executable_extensions; do
4283 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4284 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4286 done
4287 done
4288 done
4289 IFS=$as_save_IFS
4290 lt_ac_max=0
4291 lt_ac_count=0
4292 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4293 # along with /bin/sed that truncates output.
4294 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4295 test ! -f $lt_ac_sed && continue
4296 cat /dev/null > conftest.in
4297 lt_ac_count=0
4298 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4299 # Check for GNU sed and select it if it is found.
4300 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4301 lt_cv_path_SED=$lt_ac_sed
4302 break
4304 while true; do
4305 cat conftest.in conftest.in >conftest.tmp
4306 mv conftest.tmp conftest.in
4307 cp conftest.in conftest.nl
4308 echo >>conftest.nl
4309 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4310 cmp -s conftest.out conftest.nl || break
4311 # 10000 chars as input seems more than enough
4312 test $lt_ac_count -gt 10 && break
4313 lt_ac_count=`expr $lt_ac_count + 1`
4314 if test $lt_ac_count -gt $lt_ac_max; then
4315 lt_ac_max=$lt_ac_count
4316 lt_cv_path_SED=$lt_ac_sed
4318 done
4319 done
4323 SED=$lt_cv_path_SED
4325 echo "$as_me:$LINENO: result: $SED" >&5
4326 echo "${ECHO_T}$SED" >&6
4328 test -z "$SED" && SED=sed
4329 Xsed="$SED -e 1s/^X//"
4341 echo "$as_me:$LINENO: checking for fgrep" >&5
4342 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4343 if test "${ac_cv_prog_fgrep+set}" = set; then
4344 echo $ECHO_N "(cached) $ECHO_C" >&6
4345 else
4346 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4347 then ac_cv_prog_fgrep='grep -F'
4348 else ac_cv_prog_fgrep='fgrep'
4351 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4352 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4353 FGREP=$ac_cv_prog_fgrep
4356 test -z "$GREP" && GREP=grep
4376 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4377 if test "${with_gnu_ld+set}" = set; then
4378 withval="$with_gnu_ld"
4379 test "$withval" = no || with_gnu_ld=yes
4380 else
4381 with_gnu_ld=no
4383 ac_prog=ld
4384 if test "$GCC" = yes; then
4385 # Check if gcc -print-prog-name=ld gives a path.
4386 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4387 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4388 case $host in
4389 *-*-mingw*)
4390 # gcc leaves a trailing carriage return which upsets mingw
4391 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4393 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4394 esac
4395 case $ac_prog in
4396 # Accept absolute paths.
4397 [\\/]* | ?:[\\/]*)
4398 re_direlt='/[^/][^/]*/\.\./'
4399 # Canonicalize the pathname of ld
4400 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4401 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4402 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4403 done
4404 test -z "$LD" && LD="$ac_prog"
4407 # If it fails, then pretend we aren't using GCC.
4408 ac_prog=ld
4411 # If it is relative, then search for the first ld in PATH.
4412 with_gnu_ld=unknown
4414 esac
4415 elif test "$with_gnu_ld" = yes; then
4416 echo "$as_me:$LINENO: checking for GNU ld" >&5
4417 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4418 else
4419 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4420 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4422 if test "${lt_cv_path_LD+set}" = set; then
4423 echo $ECHO_N "(cached) $ECHO_C" >&6
4424 else
4425 if test -z "$LD"; then
4426 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4427 for ac_dir in $PATH; do
4428 IFS="$lt_save_ifs"
4429 test -z "$ac_dir" && ac_dir=.
4430 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4431 lt_cv_path_LD="$ac_dir/$ac_prog"
4432 # Check to see if the program is GNU ld. I'd rather use --version,
4433 # but apparently some variants of GNU ld only accept -v.
4434 # Break only if it was the GNU/non-GNU ld that we prefer.
4435 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4436 *GNU* | *'with BFD'*)
4437 test "$with_gnu_ld" != no && break
4440 test "$with_gnu_ld" != yes && break
4442 esac
4444 done
4445 IFS="$lt_save_ifs"
4446 else
4447 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4451 LD="$lt_cv_path_LD"
4452 if test -n "$LD"; then
4453 echo "$as_me:$LINENO: result: $LD" >&5
4454 echo "${ECHO_T}$LD" >&6
4455 else
4456 echo "$as_me:$LINENO: result: no" >&5
4457 echo "${ECHO_T}no" >&6
4459 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4460 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4461 { (exit 1); exit 1; }; }
4462 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4463 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4464 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4465 echo $ECHO_N "(cached) $ECHO_C" >&6
4466 else
4467 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4468 case `$LD -v 2>&1 </dev/null` in
4469 *GNU* | *'with BFD'*)
4470 lt_cv_prog_gnu_ld=yes
4473 lt_cv_prog_gnu_ld=no
4475 esac
4477 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4478 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4479 with_gnu_ld=$lt_cv_prog_gnu_ld
4490 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4491 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4492 if test "${lt_cv_path_NM+set}" = set; then
4493 echo $ECHO_N "(cached) $ECHO_C" >&6
4494 else
4495 if test -n "$NM"; then
4496 # Let the user override the test.
4497 lt_cv_path_NM="$NM"
4498 else
4499 lt_nm_to_check="${ac_tool_prefix}nm"
4500 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4501 lt_nm_to_check="$lt_nm_to_check nm"
4503 for lt_tmp_nm in $lt_nm_to_check; do
4504 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4505 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4506 IFS="$lt_save_ifs"
4507 test -z "$ac_dir" && ac_dir=.
4508 tmp_nm="$ac_dir/$lt_tmp_nm"
4509 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4510 # Check to see if the nm accepts a BSD-compat flag.
4511 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4512 # nm: unknown option "B" ignored
4513 # Tru64's nm complains that /dev/null is an invalid object file
4514 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4515 */dev/null* | *'Invalid file or object type'*)
4516 lt_cv_path_NM="$tmp_nm -B"
4517 break
4520 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4521 */dev/null*)
4522 lt_cv_path_NM="$tmp_nm -p"
4523 break
4526 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4527 continue # so that we can try to find one that supports BSD flags
4529 esac
4531 esac
4533 done
4534 IFS="$lt_save_ifs"
4535 done
4536 : ${lt_cv_path_NM=no}
4539 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4540 echo "${ECHO_T}$lt_cv_path_NM" >&6
4541 if test "$lt_cv_path_NM" != "no"; then
4542 NM="$lt_cv_path_NM"
4543 else
4544 # Didn't find any BSD compatible name lister, look for dumpbin.
4545 if test -n "$ac_tool_prefix"; then
4546 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4548 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4549 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4550 echo "$as_me:$LINENO: checking for $ac_word" >&5
4551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4552 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4553 echo $ECHO_N "(cached) $ECHO_C" >&6
4554 else
4555 if test -n "$DUMPBIN"; then
4556 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4557 else
4558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4559 for as_dir in $PATH
4561 IFS=$as_save_IFS
4562 test -z "$as_dir" && as_dir=.
4563 for ac_exec_ext in '' $ac_executable_extensions; do
4564 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4565 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4567 break 2
4569 done
4570 done
4574 DUMPBIN=$ac_cv_prog_DUMPBIN
4575 if test -n "$DUMPBIN"; then
4576 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4577 echo "${ECHO_T}$DUMPBIN" >&6
4578 else
4579 echo "$as_me:$LINENO: result: no" >&5
4580 echo "${ECHO_T}no" >&6
4583 test -n "$DUMPBIN" && break
4584 done
4586 if test -z "$DUMPBIN"; then
4587 ac_ct_DUMPBIN=$DUMPBIN
4588 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4590 # Extract the first word of "$ac_prog", so it can be a program name with args.
4591 set dummy $ac_prog; ac_word=$2
4592 echo "$as_me:$LINENO: checking for $ac_word" >&5
4593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4594 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4595 echo $ECHO_N "(cached) $ECHO_C" >&6
4596 else
4597 if test -n "$ac_ct_DUMPBIN"; then
4598 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4599 else
4600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4601 for as_dir in $PATH
4603 IFS=$as_save_IFS
4604 test -z "$as_dir" && as_dir=.
4605 for ac_exec_ext in '' $ac_executable_extensions; do
4606 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4607 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4608 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4609 break 2
4611 done
4612 done
4616 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4617 if test -n "$ac_ct_DUMPBIN"; then
4618 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4619 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4620 else
4621 echo "$as_me:$LINENO: result: no" >&5
4622 echo "${ECHO_T}no" >&6
4625 test -n "$ac_ct_DUMPBIN" && break
4626 done
4627 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4629 DUMPBIN=$ac_ct_DUMPBIN
4633 if test "$DUMPBIN" != ":"; then
4634 NM="$DUMPBIN"
4637 test -z "$NM" && NM=nm
4644 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4645 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4646 if test "${lt_cv_nm_interface+set}" = set; then
4647 echo $ECHO_N "(cached) $ECHO_C" >&6
4648 else
4649 lt_cv_nm_interface="BSD nm"
4650 echo "int some_variable = 0;" > conftest.$ac_ext
4651 (eval echo "\"\$as_me:4651: $ac_compile\"" >&5)
4652 (eval "$ac_compile" 2>conftest.err)
4653 cat conftest.err >&5
4654 (eval echo "\"\$as_me:4654: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4655 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4656 cat conftest.err >&5
4657 (eval echo "\"\$as_me:4657: output\"" >&5)
4658 cat conftest.out >&5
4659 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4660 lt_cv_nm_interface="MS dumpbin"
4662 rm -f conftest*
4664 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4665 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4667 # find the maximum length of command line arguments
4668 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4669 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4670 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4671 echo $ECHO_N "(cached) $ECHO_C" >&6
4672 else
4674 teststring="ABCD"
4676 case $build_os in
4677 msdosdjgpp*)
4678 # On DJGPP, this test can blow up pretty badly due to problems in libc
4679 # (any single argument exceeding 2000 bytes causes a buffer overrun
4680 # during glob expansion). Even if it were fixed, the result of this
4681 # check would be larger than it should be.
4682 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4685 gnu*)
4686 # Under GNU Hurd, this test is not required because there is
4687 # no limit to the length of command line arguments.
4688 # Libtool will interpret -1 as no limit whatsoever
4689 lt_cv_sys_max_cmd_len=-1;
4692 cygwin* | mingw*)
4693 # On Win9x/ME, this test blows up -- it succeeds, but takes
4694 # about 5 minutes as the teststring grows exponentially.
4695 # Worse, since 9x/ME are not pre-emptively multitasking,
4696 # you end up with a "frozen" computer, even though with patience
4697 # the test eventually succeeds (with a max line length of 256k).
4698 # Instead, let's just punt: use the minimum linelength reported by
4699 # all of the supported platforms: 8192 (on NT/2K/XP).
4700 lt_cv_sys_max_cmd_len=8192;
4703 amigaos*)
4704 # On AmigaOS with pdksh, this test takes hours, literally.
4705 # So we just punt and use a minimum line length of 8192.
4706 lt_cv_sys_max_cmd_len=8192;
4709 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4710 # This has been around since 386BSD, at least. Likely further.
4711 if test -x /sbin/sysctl; then
4712 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4713 elif test -x /usr/sbin/sysctl; then
4714 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4715 else
4716 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4718 # And add a safety zone
4719 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4720 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4723 interix*)
4724 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4725 lt_cv_sys_max_cmd_len=196608
4728 osf*)
4729 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4730 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4731 # nice to cause kernel panics so lets avoid the loop below.
4732 # First set a reasonable default.
4733 lt_cv_sys_max_cmd_len=16384
4735 if test -x /sbin/sysconfig; then
4736 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4737 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4738 esac
4741 sco3.2v5*)
4742 lt_cv_sys_max_cmd_len=102400
4744 sysv5* | sco5v6* | sysv4.2uw2*)
4745 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4746 if test -n "$kargmax"; then
4747 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4748 else
4749 lt_cv_sys_max_cmd_len=32768
4753 lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
4754 if test -n $lt_cv_sys_max_cmd_len; then
4755 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4756 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4757 else
4758 # Make teststring a little bigger before we do anything with it.
4759 # a 1K string should be a reasonable start.
4760 for i in 1 2 3 4 5 6 7 8 ; do
4761 teststring=$teststring$teststring
4762 done
4763 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4764 # If test is not a shell built-in, we'll probably end up computing a
4765 # maximum length that is only half of the actual maximum length, but
4766 # we can't tell.
4767 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4768 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4769 test $i != 17 # 1/2 MB should be enough
4771 i=`expr $i + 1`
4772 teststring=$teststring$teststring
4773 done
4774 # Only check the string length outside the loop.
4775 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4776 teststring=
4777 # Add a significant safety factor because C++ compilers can tack on
4778 # massive amounts of additional arguments before passing them to the
4779 # linker. It appears as though 1/2 is a usable value.
4780 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4783 esac
4787 if test -n $lt_cv_sys_max_cmd_len ; then
4788 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4789 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4790 else
4791 echo "$as_me:$LINENO: result: none" >&5
4792 echo "${ECHO_T}none" >&6
4794 max_cmd_len=$lt_cv_sys_max_cmd_len
4802 : ${CP="cp -f"}
4803 : ${MV="mv -f"}
4804 : ${RM="rm -f"}
4806 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4807 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4808 # Try some XSI features
4809 xsi_shell=no
4810 ( _lt_dummy="a/b/c"
4811 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4812 = c,a/b,, ) >/dev/null 2>&1 \
4813 && xsi_shell=yes
4814 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4815 echo "${ECHO_T}$xsi_shell" >&6
4818 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4819 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4820 lt_shell_append=no
4821 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4822 >/dev/null 2>&1 \
4823 && lt_shell_append=yes
4824 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4825 echo "${ECHO_T}$lt_shell_append" >&6
4828 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4829 lt_unset=unset
4830 else
4831 lt_unset=false
4838 # test EBCDIC or ASCII
4839 case `echo X|tr X '\101'` in
4840 A) # ASCII based system
4841 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4842 lt_SP2NL='tr \040 \012'
4843 lt_NL2SP='tr \015\012 \040\040'
4845 *) # EBCDIC based system
4846 lt_SP2NL='tr \100 \n'
4847 lt_NL2SP='tr \r\n \100\100'
4849 esac
4859 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4860 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4861 if test "${lt_cv_ld_reload_flag+set}" = set; then
4862 echo $ECHO_N "(cached) $ECHO_C" >&6
4863 else
4864 lt_cv_ld_reload_flag='-r'
4866 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4867 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4868 reload_flag=$lt_cv_ld_reload_flag
4869 case $reload_flag in
4870 "" | " "*) ;;
4871 *) reload_flag=" $reload_flag" ;;
4872 esac
4873 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4874 case $host_os in
4875 darwin*)
4876 if test "$GCC" = yes; then
4877 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4878 else
4879 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4882 esac
4893 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4894 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4895 if test "${lt_cv_deplibs_check_method+set}" = set; then
4896 echo $ECHO_N "(cached) $ECHO_C" >&6
4897 else
4898 lt_cv_file_magic_cmd='$MAGIC_CMD'
4899 lt_cv_file_magic_test_file=
4900 lt_cv_deplibs_check_method='unknown'
4901 # Need to set the preceding variable on all platforms that support
4902 # interlibrary dependencies.
4903 # 'none' -- dependencies not supported.
4904 # `unknown' -- same as none, but documents that we really don't know.
4905 # 'pass_all' -- all dependencies passed with no checks.
4906 # 'test_compile' -- check by making test program.
4907 # 'file_magic [[regex]]' -- check by looking for files in library path
4908 # which responds to the $file_magic_cmd with a given extended regex.
4909 # If you have `file' or equivalent on your system and you're not sure
4910 # whether `pass_all' will *always* work, you probably want this one.
4912 case $host_os in
4913 aix[4-9]*)
4914 lt_cv_deplibs_check_method=pass_all
4917 beos*)
4918 lt_cv_deplibs_check_method=pass_all
4921 bsdi[45]*)
4922 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4923 lt_cv_file_magic_cmd='/usr/bin/file -L'
4924 lt_cv_file_magic_test_file=/shlib/libc.so
4927 cygwin*)
4928 # func_win32_libid is a shell function defined in ltmain.sh
4929 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4930 lt_cv_file_magic_cmd='func_win32_libid'
4933 mingw* | pw32*)
4934 # Base MSYS/MinGW do not provide the 'file' command needed by
4935 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4936 # unless we find 'file', for example because we are cross-compiling.
4937 if ( file / ) >/dev/null 2>&1; then
4938 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4939 lt_cv_file_magic_cmd='func_win32_libid'
4940 else
4941 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4942 lt_cv_file_magic_cmd='$OBJDUMP -f'
4946 darwin* | rhapsody*)
4947 lt_cv_deplibs_check_method=pass_all
4950 freebsd* | dragonfly*)
4951 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4952 case $host_cpu in
4953 i*86 )
4954 # Not sure whether the presence of OpenBSD here was a mistake.
4955 # Let's accept both of them until this is cleared up.
4956 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4957 lt_cv_file_magic_cmd=/usr/bin/file
4958 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4960 esac
4961 else
4962 lt_cv_deplibs_check_method=pass_all
4966 gnu*)
4967 lt_cv_deplibs_check_method=pass_all
4970 hpux10.20* | hpux11*)
4971 lt_cv_file_magic_cmd=/usr/bin/file
4972 case $host_cpu in
4973 ia64*)
4974 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4975 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4977 hppa*64*)
4978 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]'
4979 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4982 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4983 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4985 esac
4988 interix[3-9]*)
4989 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4990 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4993 irix5* | irix6* | nonstopux*)
4994 case $LD in
4995 *-32|*"-32 ") libmagic=32-bit;;
4996 *-n32|*"-n32 ") libmagic=N32;;
4997 *-64|*"-64 ") libmagic=64-bit;;
4998 *) libmagic=never-match;;
4999 esac
5000 lt_cv_deplibs_check_method=pass_all
5003 # This must be Linux ELF.
5004 linux* | k*bsd*-gnu)
5005 lt_cv_deplibs_check_method=pass_all
5008 netbsd*)
5009 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5010 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5011 else
5012 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5016 newos6*)
5017 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5018 lt_cv_file_magic_cmd=/usr/bin/file
5019 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5022 *nto* | *qnx*)
5023 lt_cv_deplibs_check_method=pass_all
5026 openbsd*)
5027 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5028 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5029 else
5030 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5034 osf3* | osf4* | osf5*)
5035 lt_cv_deplibs_check_method=pass_all
5038 rdos*)
5039 lt_cv_deplibs_check_method=pass_all
5042 solaris*)
5043 lt_cv_deplibs_check_method=pass_all
5046 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5047 lt_cv_deplibs_check_method=pass_all
5050 sysv4 | sysv4.3*)
5051 case $host_vendor in
5052 motorola)
5053 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]'
5054 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5056 ncr)
5057 lt_cv_deplibs_check_method=pass_all
5059 sequent)
5060 lt_cv_file_magic_cmd='/bin/file'
5061 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5063 sni)
5064 lt_cv_file_magic_cmd='/bin/file'
5065 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5066 lt_cv_file_magic_test_file=/lib/libc.so
5068 siemens)
5069 lt_cv_deplibs_check_method=pass_all
5072 lt_cv_deplibs_check_method=pass_all
5074 esac
5077 tpf*)
5078 lt_cv_deplibs_check_method=pass_all
5080 esac
5083 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5084 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5085 file_magic_cmd=$lt_cv_file_magic_cmd
5086 deplibs_check_method=$lt_cv_deplibs_check_method
5087 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5100 if test -n "$ac_tool_prefix"; then
5101 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5102 set dummy ${ac_tool_prefix}ar; ac_word=$2
5103 echo "$as_me:$LINENO: checking for $ac_word" >&5
5104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5105 if test "${ac_cv_prog_AR+set}" = set; then
5106 echo $ECHO_N "(cached) $ECHO_C" >&6
5107 else
5108 if test -n "$AR"; then
5109 ac_cv_prog_AR="$AR" # Let the user override the test.
5110 else
5111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5112 for as_dir in $PATH
5114 IFS=$as_save_IFS
5115 test -z "$as_dir" && as_dir=.
5116 for ac_exec_ext in '' $ac_executable_extensions; do
5117 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5118 ac_cv_prog_AR="${ac_tool_prefix}ar"
5119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5120 break 2
5122 done
5123 done
5127 AR=$ac_cv_prog_AR
5128 if test -n "$AR"; then
5129 echo "$as_me:$LINENO: result: $AR" >&5
5130 echo "${ECHO_T}$AR" >&6
5131 else
5132 echo "$as_me:$LINENO: result: no" >&5
5133 echo "${ECHO_T}no" >&6
5137 if test -z "$ac_cv_prog_AR"; then
5138 ac_ct_AR=$AR
5139 # Extract the first word of "ar", so it can be a program name with args.
5140 set dummy ar; ac_word=$2
5141 echo "$as_me:$LINENO: checking for $ac_word" >&5
5142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5143 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5144 echo $ECHO_N "(cached) $ECHO_C" >&6
5145 else
5146 if test -n "$ac_ct_AR"; then
5147 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5148 else
5149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5150 for as_dir in $PATH
5152 IFS=$as_save_IFS
5153 test -z "$as_dir" && as_dir=.
5154 for ac_exec_ext in '' $ac_executable_extensions; do
5155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5156 ac_cv_prog_ac_ct_AR="ar"
5157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5158 break 2
5160 done
5161 done
5163 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5166 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5167 if test -n "$ac_ct_AR"; then
5168 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5169 echo "${ECHO_T}$ac_ct_AR" >&6
5170 else
5171 echo "$as_me:$LINENO: result: no" >&5
5172 echo "${ECHO_T}no" >&6
5175 AR=$ac_ct_AR
5176 else
5177 AR="$ac_cv_prog_AR"
5180 test -z "$AR" && AR=ar
5181 test -z "$AR_FLAGS" && AR_FLAGS=cru
5193 if test -n "$ac_tool_prefix"; then
5194 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5195 set dummy ${ac_tool_prefix}strip; ac_word=$2
5196 echo "$as_me:$LINENO: checking for $ac_word" >&5
5197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5198 if test "${ac_cv_prog_STRIP+set}" = set; then
5199 echo $ECHO_N "(cached) $ECHO_C" >&6
5200 else
5201 if test -n "$STRIP"; then
5202 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5203 else
5204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5205 for as_dir in $PATH
5207 IFS=$as_save_IFS
5208 test -z "$as_dir" && as_dir=.
5209 for ac_exec_ext in '' $ac_executable_extensions; do
5210 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5211 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5213 break 2
5215 done
5216 done
5220 STRIP=$ac_cv_prog_STRIP
5221 if test -n "$STRIP"; then
5222 echo "$as_me:$LINENO: result: $STRIP" >&5
5223 echo "${ECHO_T}$STRIP" >&6
5224 else
5225 echo "$as_me:$LINENO: result: no" >&5
5226 echo "${ECHO_T}no" >&6
5230 if test -z "$ac_cv_prog_STRIP"; then
5231 ac_ct_STRIP=$STRIP
5232 # Extract the first word of "strip", so it can be a program name with args.
5233 set dummy strip; ac_word=$2
5234 echo "$as_me:$LINENO: checking for $ac_word" >&5
5235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5236 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5237 echo $ECHO_N "(cached) $ECHO_C" >&6
5238 else
5239 if test -n "$ac_ct_STRIP"; then
5240 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5241 else
5242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5243 for as_dir in $PATH
5245 IFS=$as_save_IFS
5246 test -z "$as_dir" && as_dir=.
5247 for ac_exec_ext in '' $ac_executable_extensions; do
5248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5249 ac_cv_prog_ac_ct_STRIP="strip"
5250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5251 break 2
5253 done
5254 done
5256 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5259 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5260 if test -n "$ac_ct_STRIP"; then
5261 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5262 echo "${ECHO_T}$ac_ct_STRIP" >&6
5263 else
5264 echo "$as_me:$LINENO: result: no" >&5
5265 echo "${ECHO_T}no" >&6
5268 STRIP=$ac_ct_STRIP
5269 else
5270 STRIP="$ac_cv_prog_STRIP"
5273 test -z "$STRIP" && STRIP=:
5280 if test -n "$ac_tool_prefix"; then
5281 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5282 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5283 echo "$as_me:$LINENO: checking for $ac_word" >&5
5284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5285 if test "${ac_cv_prog_RANLIB+set}" = set; then
5286 echo $ECHO_N "(cached) $ECHO_C" >&6
5287 else
5288 if test -n "$RANLIB"; then
5289 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5290 else
5291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5292 for as_dir in $PATH
5294 IFS=$as_save_IFS
5295 test -z "$as_dir" && as_dir=.
5296 for ac_exec_ext in '' $ac_executable_extensions; do
5297 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5298 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5300 break 2
5302 done
5303 done
5307 RANLIB=$ac_cv_prog_RANLIB
5308 if test -n "$RANLIB"; then
5309 echo "$as_me:$LINENO: result: $RANLIB" >&5
5310 echo "${ECHO_T}$RANLIB" >&6
5311 else
5312 echo "$as_me:$LINENO: result: no" >&5
5313 echo "${ECHO_T}no" >&6
5317 if test -z "$ac_cv_prog_RANLIB"; then
5318 ac_ct_RANLIB=$RANLIB
5319 # Extract the first word of "ranlib", so it can be a program name with args.
5320 set dummy ranlib; ac_word=$2
5321 echo "$as_me:$LINENO: checking for $ac_word" >&5
5322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5323 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5324 echo $ECHO_N "(cached) $ECHO_C" >&6
5325 else
5326 if test -n "$ac_ct_RANLIB"; then
5327 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5328 else
5329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5330 for as_dir in $PATH
5332 IFS=$as_save_IFS
5333 test -z "$as_dir" && as_dir=.
5334 for ac_exec_ext in '' $ac_executable_extensions; do
5335 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5336 ac_cv_prog_ac_ct_RANLIB="ranlib"
5337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5338 break 2
5340 done
5341 done
5343 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5346 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5347 if test -n "$ac_ct_RANLIB"; then
5348 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5349 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5350 else
5351 echo "$as_me:$LINENO: result: no" >&5
5352 echo "${ECHO_T}no" >&6
5355 RANLIB=$ac_ct_RANLIB
5356 else
5357 RANLIB="$ac_cv_prog_RANLIB"
5360 test -z "$RANLIB" && RANLIB=:
5367 # Determine commands to create old-style static archives.
5368 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5369 old_postinstall_cmds='chmod 644 $oldlib'
5370 old_postuninstall_cmds=
5372 if test -n "$RANLIB"; then
5373 case $host_os in
5374 openbsd*)
5375 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5378 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5380 esac
5381 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5417 # If no C compiler was specified, use CC.
5418 LTCC=${LTCC-"$CC"}
5420 # If no C compiler flags were specified, use CFLAGS.
5421 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5423 # Allow CC to be a program name with arguments.
5424 compiler=$CC
5427 # Check for command to grab the raw symbol name followed by C symbol from nm.
5428 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5429 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5430 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5431 echo $ECHO_N "(cached) $ECHO_C" >&6
5432 else
5434 # These are sane defaults that work on at least a few old systems.
5435 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5437 # Character class describing NM global symbol codes.
5438 symcode='[BCDEGRST]'
5440 # Regexp to match symbols that can be accessed directly from C.
5441 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5443 # Define system-specific variables.
5444 case $host_os in
5445 aix*)
5446 symcode='[BCDT]'
5448 cygwin* | mingw* | pw32*)
5449 symcode='[ABCDGISTW]'
5451 hpux*)
5452 if test "$host_cpu" = ia64; then
5453 symcode='[ABCDEGRST]'
5456 irix* | nonstopux*)
5457 symcode='[BCDEGRST]'
5459 osf*)
5460 symcode='[BCDEGQRST]'
5462 solaris*)
5463 symcode='[BDRT]'
5465 sco3.2v5*)
5466 symcode='[DT]'
5468 sysv4.2uw2*)
5469 symcode='[DT]'
5471 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5472 symcode='[ABDT]'
5474 sysv4)
5475 symcode='[DFNSTU]'
5477 esac
5479 # If we're using GNU nm, then use its standard symbol codes.
5480 case `$NM -V 2>&1` in
5481 *GNU* | *'with BFD'*)
5482 symcode='[ABCDGIRSTW]' ;;
5483 esac
5485 # Transform an extracted symbol line into a proper C declaration.
5486 # Some systems (esp. on ia64) link data and code symbols differently,
5487 # so use this general approach.
5488 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5490 # Transform an extracted symbol line into symbol name and symbol address
5491 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5493 # Handle CRLF in mingw tool chain
5494 opt_cr=
5495 case $build_os in
5496 mingw*)
5497 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5499 esac
5501 # Try without a prefix underscore, then with it.
5502 for ac_symprfx in "" "_"; do
5504 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5505 symxfrm="\\1 $ac_symprfx\\2 \\2"
5507 # Write the raw and C identifiers.
5508 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5509 # Fake it for dumpbin and say T for any non-static function
5510 # and D for any global variable.
5511 # Also find C++ and __fastcall symbols from MSVC++,
5512 # which start with @ or ?.
5513 lt_cv_sys_global_symbol_pipe="$AWK '"\
5514 " {last_section=section; section=\$ 3};"\
5515 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5516 " \$ 0!~/External *\|/{next};"\
5517 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5518 " {if(hide[section]) next};"\
5519 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5520 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5521 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5522 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5523 " ' prfx=^$ac_symprfx"
5524 else
5525 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5528 # Check to see that the pipe works correctly.
5529 pipe_works=no
5531 rm -f conftest*
5532 cat > conftest.$ac_ext <<_LT_EOF
5533 #ifdef __cplusplus
5534 extern "C" {
5535 #endif
5536 char nm_test_var;
5537 void nm_test_func(void);
5538 void nm_test_func(void){}
5539 #ifdef __cplusplus
5541 #endif
5542 int main(){nm_test_var='a';nm_test_func();return(0);}
5543 _LT_EOF
5545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5546 (eval $ac_compile) 2>&5
5547 ac_status=$?
5548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5549 (exit $ac_status); }; then
5550 # Now try to grab the symbols.
5551 nlist=conftest.nm
5552 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5553 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5554 ac_status=$?
5555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5556 (exit $ac_status); } && test -s "$nlist"; then
5557 # Try sorting and uniquifying the output.
5558 if sort "$nlist" | uniq > "$nlist"T; then
5559 mv -f "$nlist"T "$nlist"
5560 else
5561 rm -f "$nlist"T
5564 # Make sure that we snagged all the symbols we need.
5565 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5566 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5567 cat <<_LT_EOF > conftest.$ac_ext
5568 #ifdef __cplusplus
5569 extern "C" {
5570 #endif
5572 _LT_EOF
5573 # Now generate the symbol file.
5574 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5576 cat <<_LT_EOF >> conftest.$ac_ext
5578 /* The mapping between symbol names and symbols. */
5579 const struct {
5580 const char *name;
5581 void *address;
5583 lt__PROGRAM__LTX_preloaded_symbols[] =
5585 { "@PROGRAM@", (void *) 0 },
5586 _LT_EOF
5587 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5588 cat <<\_LT_EOF >> conftest.$ac_ext
5589 {0, (void *) 0}
5592 /* This works around a problem in FreeBSD linker */
5593 #ifdef FREEBSD_WORKAROUND
5594 static const void *lt_preloaded_setup() {
5595 return lt__PROGRAM__LTX_preloaded_symbols;
5597 #endif
5599 #ifdef __cplusplus
5601 #endif
5602 _LT_EOF
5603 # Now try linking the two files.
5604 mv conftest.$ac_objext conftstm.$ac_objext
5605 lt_save_LIBS="$LIBS"
5606 lt_save_CFLAGS="$CFLAGS"
5607 LIBS="conftstm.$ac_objext"
5608 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5610 (eval $ac_link) 2>&5
5611 ac_status=$?
5612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5613 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5614 pipe_works=yes
5616 LIBS="$lt_save_LIBS"
5617 CFLAGS="$lt_save_CFLAGS"
5618 else
5619 echo "cannot find nm_test_func in $nlist" >&5
5621 else
5622 echo "cannot find nm_test_var in $nlist" >&5
5624 else
5625 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5627 else
5628 echo "$progname: failed program was:" >&5
5629 cat conftest.$ac_ext >&5
5631 rm -f conftest* conftst*
5633 # Do not use the global_symbol_pipe unless it works.
5634 if test "$pipe_works" = yes; then
5635 break
5636 else
5637 lt_cv_sys_global_symbol_pipe=
5639 done
5643 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5644 lt_cv_sys_global_symbol_to_cdecl=
5646 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5647 echo "$as_me:$LINENO: result: failed" >&5
5648 echo "${ECHO_T}failed" >&6
5649 else
5650 echo "$as_me:$LINENO: result: ok" >&5
5651 echo "${ECHO_T}ok" >&6
5670 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5671 if test "${enable_libtool_lock+set}" = set; then
5672 enableval="$enable_libtool_lock"
5675 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5677 # Some flags need to be propagated to the compiler or linker for good
5678 # libtool support.
5679 case $host in
5680 ia64-*-hpux*)
5681 # Find out which ABI we are using.
5682 echo 'int i;' > conftest.$ac_ext
5683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5684 (eval $ac_compile) 2>&5
5685 ac_status=$?
5686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5687 (exit $ac_status); }; then
5688 case `/usr/bin/file conftest.$ac_objext` in
5689 *ELF-32*)
5690 HPUX_IA64_MODE="32"
5692 *ELF-64*)
5693 HPUX_IA64_MODE="64"
5695 esac
5697 rm -rf conftest*
5699 *-*-irix6*)
5700 # Find out which ABI we are using.
5701 echo '#line 5701 "configure"' > conftest.$ac_ext
5702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5703 (eval $ac_compile) 2>&5
5704 ac_status=$?
5705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5706 (exit $ac_status); }; then
5707 if test "$lt_cv_prog_gnu_ld" = yes; then
5708 case `/usr/bin/file conftest.$ac_objext` in
5709 *32-bit*)
5710 LD="${LD-ld} -melf32bsmip"
5712 *N32*)
5713 LD="${LD-ld} -melf32bmipn32"
5715 *64-bit*)
5716 LD="${LD-ld} -melf64bmip"
5718 esac
5719 else
5720 case `/usr/bin/file conftest.$ac_objext` in
5721 *32-bit*)
5722 LD="${LD-ld} -32"
5724 *N32*)
5725 LD="${LD-ld} -n32"
5727 *64-bit*)
5728 LD="${LD-ld} -64"
5730 esac
5733 rm -rf conftest*
5736 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5737 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5738 # Find out which ABI we are using.
5739 echo 'int i;' > conftest.$ac_ext
5740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5741 (eval $ac_compile) 2>&5
5742 ac_status=$?
5743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5744 (exit $ac_status); }; then
5745 case `/usr/bin/file conftest.o` in
5746 *32-bit*)
5747 case $host in
5748 x86_64-*kfreebsd*-gnu)
5749 LD="${LD-ld} -m elf_i386_fbsd"
5751 x86_64-*linux*)
5752 LD="${LD-ld} -m elf_i386"
5754 ppc64-*linux*|powerpc64-*linux*)
5755 LD="${LD-ld} -m elf32ppclinux"
5757 s390x-*linux*)
5758 LD="${LD-ld} -m elf_s390"
5760 sparc64-*linux*)
5761 LD="${LD-ld} -m elf32_sparc"
5763 esac
5765 *64-bit*)
5766 case $host in
5767 x86_64-*kfreebsd*-gnu)
5768 LD="${LD-ld} -m elf_x86_64_fbsd"
5770 x86_64-*linux*)
5771 LD="${LD-ld} -m elf_x86_64"
5773 ppc*-*linux*|powerpc*-*linux*)
5774 LD="${LD-ld} -m elf64ppc"
5776 s390*-*linux*|s390*-*tpf*)
5777 LD="${LD-ld} -m elf64_s390"
5779 sparc*-*linux*)
5780 LD="${LD-ld} -m elf64_sparc"
5782 esac
5784 esac
5786 rm -rf conftest*
5789 *-*-sco3.2v5*)
5790 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5791 SAVE_CFLAGS="$CFLAGS"
5792 CFLAGS="$CFLAGS -belf"
5793 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5794 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5795 if test "${lt_cv_cc_needs_belf+set}" = set; then
5796 echo $ECHO_N "(cached) $ECHO_C" >&6
5797 else
5798 ac_ext=c
5799 ac_cpp='$CPP $CPPFLAGS'
5800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5804 if test x$gcc_no_link = xyes; then
5805 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5807 { (exit 1); exit 1; }; }
5809 cat >conftest.$ac_ext <<_ACEOF
5810 /* confdefs.h. */
5811 _ACEOF
5812 cat confdefs.h >>conftest.$ac_ext
5813 cat >>conftest.$ac_ext <<_ACEOF
5814 /* end confdefs.h. */
5817 main ()
5821 return 0;
5823 _ACEOF
5824 rm -f conftest.$ac_objext conftest$ac_exeext
5825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5826 (eval $ac_link) 2>conftest.er1
5827 ac_status=$?
5828 grep -v '^ *+' conftest.er1 >conftest.err
5829 rm -f conftest.er1
5830 cat conftest.err >&5
5831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5832 (exit $ac_status); } &&
5833 { ac_try='test -z "$ac_c_werror_flag"
5834 || test ! -s conftest.err'
5835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5836 (eval $ac_try) 2>&5
5837 ac_status=$?
5838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5839 (exit $ac_status); }; } &&
5840 { ac_try='test -s conftest$ac_exeext'
5841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5842 (eval $ac_try) 2>&5
5843 ac_status=$?
5844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5845 (exit $ac_status); }; }; then
5846 lt_cv_cc_needs_belf=yes
5847 else
5848 echo "$as_me: failed program was:" >&5
5849 sed 's/^/| /' conftest.$ac_ext >&5
5851 lt_cv_cc_needs_belf=no
5853 rm -f conftest.err conftest.$ac_objext \
5854 conftest$ac_exeext conftest.$ac_ext
5855 ac_ext=c
5856 ac_cpp='$CPP $CPPFLAGS'
5857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5862 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5863 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5864 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5865 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5866 CFLAGS="$SAVE_CFLAGS"
5869 sparc*-*solaris*)
5870 # Find out which ABI we are using.
5871 echo 'int i;' > conftest.$ac_ext
5872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5873 (eval $ac_compile) 2>&5
5874 ac_status=$?
5875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5876 (exit $ac_status); }; then
5877 case `/usr/bin/file conftest.o` in
5878 *64-bit*)
5879 case $lt_cv_prog_gnu_ld in
5880 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5881 *) LD="${LD-ld} -64" ;;
5882 esac
5884 esac
5886 rm -rf conftest*
5888 esac
5890 need_locks="$enable_libtool_lock"
5892 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5893 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5894 if test "${ac_cv_header_stdc+set}" = set; then
5895 echo $ECHO_N "(cached) $ECHO_C" >&6
5896 else
5897 cat >conftest.$ac_ext <<_ACEOF
5898 /* confdefs.h. */
5899 _ACEOF
5900 cat confdefs.h >>conftest.$ac_ext
5901 cat >>conftest.$ac_ext <<_ACEOF
5902 /* end confdefs.h. */
5903 #include <stdlib.h>
5904 #include <stdarg.h>
5905 #include <string.h>
5906 #include <float.h>
5909 main ()
5913 return 0;
5915 _ACEOF
5916 rm -f conftest.$ac_objext
5917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5918 (eval $ac_compile) 2>conftest.er1
5919 ac_status=$?
5920 grep -v '^ *+' conftest.er1 >conftest.err
5921 rm -f conftest.er1
5922 cat conftest.err >&5
5923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5924 (exit $ac_status); } &&
5925 { ac_try='test -z "$ac_c_werror_flag"
5926 || test ! -s conftest.err'
5927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5928 (eval $ac_try) 2>&5
5929 ac_status=$?
5930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5931 (exit $ac_status); }; } &&
5932 { ac_try='test -s conftest.$ac_objext'
5933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5934 (eval $ac_try) 2>&5
5935 ac_status=$?
5936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5937 (exit $ac_status); }; }; then
5938 ac_cv_header_stdc=yes
5939 else
5940 echo "$as_me: failed program was:" >&5
5941 sed 's/^/| /' conftest.$ac_ext >&5
5943 ac_cv_header_stdc=no
5945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5947 if test $ac_cv_header_stdc = yes; then
5948 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5949 cat >conftest.$ac_ext <<_ACEOF
5950 /* confdefs.h. */
5951 _ACEOF
5952 cat confdefs.h >>conftest.$ac_ext
5953 cat >>conftest.$ac_ext <<_ACEOF
5954 /* end confdefs.h. */
5955 #include <string.h>
5957 _ACEOF
5958 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5959 $EGREP "memchr" >/dev/null 2>&1; then
5961 else
5962 ac_cv_header_stdc=no
5964 rm -f conftest*
5968 if test $ac_cv_header_stdc = yes; then
5969 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5970 cat >conftest.$ac_ext <<_ACEOF
5971 /* confdefs.h. */
5972 _ACEOF
5973 cat confdefs.h >>conftest.$ac_ext
5974 cat >>conftest.$ac_ext <<_ACEOF
5975 /* end confdefs.h. */
5976 #include <stdlib.h>
5978 _ACEOF
5979 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5980 $EGREP "free" >/dev/null 2>&1; then
5982 else
5983 ac_cv_header_stdc=no
5985 rm -f conftest*
5989 if test $ac_cv_header_stdc = yes; then
5990 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5991 if test "$cross_compiling" = yes; then
5993 else
5994 cat >conftest.$ac_ext <<_ACEOF
5995 /* confdefs.h. */
5996 _ACEOF
5997 cat confdefs.h >>conftest.$ac_ext
5998 cat >>conftest.$ac_ext <<_ACEOF
5999 /* end confdefs.h. */
6000 #include <ctype.h>
6001 #if ((' ' & 0x0FF) == 0x020)
6002 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6003 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6004 #else
6005 # define ISLOWER(c) \
6006 (('a' <= (c) && (c) <= 'i') \
6007 || ('j' <= (c) && (c) <= 'r') \
6008 || ('s' <= (c) && (c) <= 'z'))
6009 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6010 #endif
6012 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6014 main ()
6016 int i;
6017 for (i = 0; i < 256; i++)
6018 if (XOR (islower (i), ISLOWER (i))
6019 || toupper (i) != TOUPPER (i))
6020 exit(2);
6021 exit (0);
6023 _ACEOF
6024 rm -f conftest$ac_exeext
6025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6026 (eval $ac_link) 2>&5
6027 ac_status=$?
6028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6029 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6031 (eval $ac_try) 2>&5
6032 ac_status=$?
6033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6034 (exit $ac_status); }; }; then
6036 else
6037 echo "$as_me: program exited with status $ac_status" >&5
6038 echo "$as_me: failed program was:" >&5
6039 sed 's/^/| /' conftest.$ac_ext >&5
6041 ( exit $ac_status )
6042 ac_cv_header_stdc=no
6044 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6048 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6049 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6050 if test $ac_cv_header_stdc = yes; then
6052 cat >>confdefs.h <<\_ACEOF
6053 #define STDC_HEADERS 1
6054 _ACEOF
6058 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6068 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6069 inttypes.h stdint.h unistd.h
6071 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6072 echo "$as_me:$LINENO: checking for $ac_header" >&5
6073 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6075 echo $ECHO_N "(cached) $ECHO_C" >&6
6076 else
6077 cat >conftest.$ac_ext <<_ACEOF
6078 /* confdefs.h. */
6079 _ACEOF
6080 cat confdefs.h >>conftest.$ac_ext
6081 cat >>conftest.$ac_ext <<_ACEOF
6082 /* end confdefs.h. */
6083 $ac_includes_default
6085 #include <$ac_header>
6086 _ACEOF
6087 rm -f conftest.$ac_objext
6088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6089 (eval $ac_compile) 2>conftest.er1
6090 ac_status=$?
6091 grep -v '^ *+' conftest.er1 >conftest.err
6092 rm -f conftest.er1
6093 cat conftest.err >&5
6094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6095 (exit $ac_status); } &&
6096 { ac_try='test -z "$ac_c_werror_flag"
6097 || test ! -s conftest.err'
6098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6099 (eval $ac_try) 2>&5
6100 ac_status=$?
6101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6102 (exit $ac_status); }; } &&
6103 { ac_try='test -s conftest.$ac_objext'
6104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6105 (eval $ac_try) 2>&5
6106 ac_status=$?
6107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6108 (exit $ac_status); }; }; then
6109 eval "$as_ac_Header=yes"
6110 else
6111 echo "$as_me: failed program was:" >&5
6112 sed 's/^/| /' conftest.$ac_ext >&5
6114 eval "$as_ac_Header=no"
6116 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6119 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6120 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6121 cat >>confdefs.h <<_ACEOF
6122 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6123 _ACEOF
6127 done
6131 for ac_header in dlfcn.h
6133 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6134 echo "$as_me:$LINENO: checking for $ac_header" >&5
6135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6137 echo $ECHO_N "(cached) $ECHO_C" >&6
6138 else
6139 cat >conftest.$ac_ext <<_ACEOF
6140 /* confdefs.h. */
6141 _ACEOF
6142 cat confdefs.h >>conftest.$ac_ext
6143 cat >>conftest.$ac_ext <<_ACEOF
6144 /* end confdefs.h. */
6145 $ac_includes_default
6147 #include <$ac_header>
6148 _ACEOF
6149 rm -f conftest.$ac_objext
6150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6151 (eval $ac_compile) 2>conftest.er1
6152 ac_status=$?
6153 grep -v '^ *+' conftest.er1 >conftest.err
6154 rm -f conftest.er1
6155 cat conftest.err >&5
6156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6157 (exit $ac_status); } &&
6158 { ac_try='test -z "$ac_c_werror_flag"
6159 || test ! -s conftest.err'
6160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6161 (eval $ac_try) 2>&5
6162 ac_status=$?
6163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6164 (exit $ac_status); }; } &&
6165 { ac_try='test -s conftest.$ac_objext'
6166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6167 (eval $ac_try) 2>&5
6168 ac_status=$?
6169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6170 (exit $ac_status); }; }; then
6171 eval "$as_ac_Header=yes"
6172 else
6173 echo "$as_me: failed program was:" >&5
6174 sed 's/^/| /' conftest.$ac_ext >&5
6176 eval "$as_ac_Header=no"
6178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6181 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6182 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6183 cat >>confdefs.h <<_ACEOF
6184 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6185 _ACEOF
6189 done
6193 ac_ext=cc
6194 ac_cpp='$CXXCPP $CPPFLAGS'
6195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6198 if test -n "$ac_tool_prefix"; then
6199 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6201 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6202 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6203 echo "$as_me:$LINENO: checking for $ac_word" >&5
6204 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6205 if test "${glibcxx_cv_prog_CXX+set}" = set; then
6206 echo $ECHO_N "(cached) $ECHO_C" >&6
6207 else
6208 if test -n "$CXX"; then
6209 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
6210 else
6211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6212 for as_dir in $PATH
6214 IFS=$as_save_IFS
6215 test -z "$as_dir" && as_dir=.
6216 for ac_exec_ext in '' $ac_executable_extensions; do
6217 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6218 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6219 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6220 break 2
6222 done
6223 done
6227 CXX=$glibcxx_cv_prog_CXX
6228 if test -n "$CXX"; then
6229 echo "$as_me:$LINENO: result: $CXX" >&5
6230 echo "${ECHO_T}$CXX" >&6
6231 else
6232 echo "$as_me:$LINENO: result: no" >&5
6233 echo "${ECHO_T}no" >&6
6236 test -n "$CXX" && break
6237 done
6239 if test -z "$CXX"; then
6240 ac_ct_CXX=$CXX
6241 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6243 # Extract the first word of "$ac_prog", so it can be a program name with args.
6244 set dummy $ac_prog; ac_word=$2
6245 echo "$as_me:$LINENO: checking for $ac_word" >&5
6246 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6247 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6248 echo $ECHO_N "(cached) $ECHO_C" >&6
6249 else
6250 if test -n "$ac_ct_CXX"; then
6251 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6252 else
6253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6254 for as_dir in $PATH
6256 IFS=$as_save_IFS
6257 test -z "$as_dir" && as_dir=.
6258 for ac_exec_ext in '' $ac_executable_extensions; do
6259 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6260 ac_cv_prog_ac_ct_CXX="$ac_prog"
6261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6262 break 2
6264 done
6265 done
6269 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6270 if test -n "$ac_ct_CXX"; then
6271 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6272 echo "${ECHO_T}$ac_ct_CXX" >&6
6273 else
6274 echo "$as_me:$LINENO: result: no" >&5
6275 echo "${ECHO_T}no" >&6
6278 test -n "$ac_ct_CXX" && break
6279 done
6280 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6282 CXX=$ac_ct_CXX
6286 # Provide some information about the compiler.
6287 echo "$as_me:$LINENO:" \
6288 "checking for C++ compiler version" >&5
6289 ac_compiler=`set X $ac_compile; echo $2`
6290 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6291 (eval $ac_compiler --version </dev/null >&5) 2>&5
6292 ac_status=$?
6293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6294 (exit $ac_status); }
6295 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6296 (eval $ac_compiler -v </dev/null >&5) 2>&5
6297 ac_status=$?
6298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6299 (exit $ac_status); }
6300 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6301 (eval $ac_compiler -V </dev/null >&5) 2>&5
6302 ac_status=$?
6303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6304 (exit $ac_status); }
6306 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6307 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6308 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6309 echo $ECHO_N "(cached) $ECHO_C" >&6
6310 else
6311 cat >conftest.$ac_ext <<_ACEOF
6312 /* confdefs.h. */
6313 _ACEOF
6314 cat confdefs.h >>conftest.$ac_ext
6315 cat >>conftest.$ac_ext <<_ACEOF
6316 /* end confdefs.h. */
6319 main ()
6321 #ifndef __GNUC__
6322 choke me
6323 #endif
6326 return 0;
6328 _ACEOF
6329 rm -f conftest.$ac_objext
6330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6331 (eval $ac_compile) 2>conftest.er1
6332 ac_status=$?
6333 grep -v '^ *+' conftest.er1 >conftest.err
6334 rm -f conftest.er1
6335 cat conftest.err >&5
6336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6337 (exit $ac_status); } &&
6338 { ac_try='test -z "$ac_cxx_werror_flag"
6339 || test ! -s conftest.err'
6340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6341 (eval $ac_try) 2>&5
6342 ac_status=$?
6343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6344 (exit $ac_status); }; } &&
6345 { ac_try='test -s conftest.$ac_objext'
6346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6347 (eval $ac_try) 2>&5
6348 ac_status=$?
6349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6350 (exit $ac_status); }; }; then
6351 ac_compiler_gnu=yes
6352 else
6353 echo "$as_me: failed program was:" >&5
6354 sed 's/^/| /' conftest.$ac_ext >&5
6356 ac_compiler_gnu=no
6358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6359 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6362 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6363 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6364 GXX=`test $ac_compiler_gnu = yes && echo yes`
6365 ac_test_CXXFLAGS=${CXXFLAGS+set}
6366 ac_save_CXXFLAGS=$CXXFLAGS
6367 CXXFLAGS="-g"
6368 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6369 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6370 if test "${ac_cv_prog_cxx_g+set}" = set; then
6371 echo $ECHO_N "(cached) $ECHO_C" >&6
6372 else
6373 cat >conftest.$ac_ext <<_ACEOF
6374 /* confdefs.h. */
6375 _ACEOF
6376 cat confdefs.h >>conftest.$ac_ext
6377 cat >>conftest.$ac_ext <<_ACEOF
6378 /* end confdefs.h. */
6381 main ()
6385 return 0;
6387 _ACEOF
6388 rm -f conftest.$ac_objext
6389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6390 (eval $ac_compile) 2>conftest.er1
6391 ac_status=$?
6392 grep -v '^ *+' conftest.er1 >conftest.err
6393 rm -f conftest.er1
6394 cat conftest.err >&5
6395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6396 (exit $ac_status); } &&
6397 { ac_try='test -z "$ac_cxx_werror_flag"
6398 || test ! -s conftest.err'
6399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6400 (eval $ac_try) 2>&5
6401 ac_status=$?
6402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6403 (exit $ac_status); }; } &&
6404 { ac_try='test -s conftest.$ac_objext'
6405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6406 (eval $ac_try) 2>&5
6407 ac_status=$?
6408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6409 (exit $ac_status); }; }; then
6410 ac_cv_prog_cxx_g=yes
6411 else
6412 echo "$as_me: failed program was:" >&5
6413 sed 's/^/| /' conftest.$ac_ext >&5
6415 ac_cv_prog_cxx_g=no
6417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6419 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6420 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6421 if test "$ac_test_CXXFLAGS" = set; then
6422 CXXFLAGS=$ac_save_CXXFLAGS
6423 elif test $ac_cv_prog_cxx_g = yes; then
6424 if test "$GXX" = yes; then
6425 CXXFLAGS="-g -O2"
6426 else
6427 CXXFLAGS="-g"
6429 else
6430 if test "$GXX" = yes; then
6431 CXXFLAGS="-O2"
6432 else
6433 CXXFLAGS=
6436 for ac_declaration in \
6437 '' \
6438 'extern "C" void std::exit (int) throw (); using std::exit;' \
6439 'extern "C" void std::exit (int); using std::exit;' \
6440 'extern "C" void exit (int) throw ();' \
6441 'extern "C" void exit (int);' \
6442 'void exit (int);'
6444 cat >conftest.$ac_ext <<_ACEOF
6445 /* confdefs.h. */
6446 _ACEOF
6447 cat confdefs.h >>conftest.$ac_ext
6448 cat >>conftest.$ac_ext <<_ACEOF
6449 /* end confdefs.h. */
6450 $ac_declaration
6451 #include <stdlib.h>
6453 main ()
6455 exit (42);
6457 return 0;
6459 _ACEOF
6460 rm -f conftest.$ac_objext
6461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6462 (eval $ac_compile) 2>conftest.er1
6463 ac_status=$?
6464 grep -v '^ *+' conftest.er1 >conftest.err
6465 rm -f conftest.er1
6466 cat conftest.err >&5
6467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6468 (exit $ac_status); } &&
6469 { ac_try='test -z "$ac_cxx_werror_flag"
6470 || test ! -s conftest.err'
6471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6472 (eval $ac_try) 2>&5
6473 ac_status=$?
6474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6475 (exit $ac_status); }; } &&
6476 { ac_try='test -s conftest.$ac_objext'
6477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6478 (eval $ac_try) 2>&5
6479 ac_status=$?
6480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6481 (exit $ac_status); }; }; then
6483 else
6484 echo "$as_me: failed program was:" >&5
6485 sed 's/^/| /' conftest.$ac_ext >&5
6487 continue
6489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6490 cat >conftest.$ac_ext <<_ACEOF
6491 /* confdefs.h. */
6492 _ACEOF
6493 cat confdefs.h >>conftest.$ac_ext
6494 cat >>conftest.$ac_ext <<_ACEOF
6495 /* end confdefs.h. */
6496 $ac_declaration
6498 main ()
6500 exit (42);
6502 return 0;
6504 _ACEOF
6505 rm -f conftest.$ac_objext
6506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6507 (eval $ac_compile) 2>conftest.er1
6508 ac_status=$?
6509 grep -v '^ *+' conftest.er1 >conftest.err
6510 rm -f conftest.er1
6511 cat conftest.err >&5
6512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6513 (exit $ac_status); } &&
6514 { ac_try='test -z "$ac_cxx_werror_flag"
6515 || test ! -s conftest.err'
6516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6517 (eval $ac_try) 2>&5
6518 ac_status=$?
6519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6520 (exit $ac_status); }; } &&
6521 { ac_try='test -s conftest.$ac_objext'
6522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6523 (eval $ac_try) 2>&5
6524 ac_status=$?
6525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6526 (exit $ac_status); }; }; then
6527 break
6528 else
6529 echo "$as_me: failed program was:" >&5
6530 sed 's/^/| /' conftest.$ac_ext >&5
6533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6534 done
6535 rm -f conftest*
6536 if test -n "$ac_declaration"; then
6537 echo '#ifdef __cplusplus' >>confdefs.h
6538 echo $ac_declaration >>confdefs.h
6539 echo '#endif' >>confdefs.h
6542 ac_ext=c
6543 ac_cpp='$CPP $CPPFLAGS'
6544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6548 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6549 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6550 (test "X$CXX" != "Xg++"))) ; then
6551 ac_ext=cc
6552 ac_cpp='$CXXCPP $CPPFLAGS'
6553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6556 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6557 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6558 if test -z "$CXXCPP"; then
6559 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6560 echo $ECHO_N "(cached) $ECHO_C" >&6
6561 else
6562 # Double quotes because CXXCPP needs to be expanded
6563 for CXXCPP in "$CXX -E" "/lib/cpp"
6565 ac_preproc_ok=false
6566 for ac_cxx_preproc_warn_flag in '' yes
6568 # Use a header file that comes with gcc, so configuring glibc
6569 # with a fresh cross-compiler works.
6570 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6571 # <limits.h> exists even on freestanding compilers.
6572 # On the NeXT, cc -E runs the code through the compiler's parser,
6573 # not just through cpp. "Syntax error" is here to catch this case.
6574 cat >conftest.$ac_ext <<_ACEOF
6575 /* confdefs.h. */
6576 _ACEOF
6577 cat confdefs.h >>conftest.$ac_ext
6578 cat >>conftest.$ac_ext <<_ACEOF
6579 /* end confdefs.h. */
6580 #ifdef __STDC__
6581 # include <limits.h>
6582 #else
6583 # include <assert.h>
6584 #endif
6585 Syntax error
6586 _ACEOF
6587 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6588 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6589 ac_status=$?
6590 grep -v '^ *+' conftest.er1 >conftest.err
6591 rm -f conftest.er1
6592 cat conftest.err >&5
6593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6594 (exit $ac_status); } >/dev/null; then
6595 if test -s conftest.err; then
6596 ac_cpp_err=$ac_cxx_preproc_warn_flag
6597 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6598 else
6599 ac_cpp_err=
6601 else
6602 ac_cpp_err=yes
6604 if test -z "$ac_cpp_err"; then
6606 else
6607 echo "$as_me: failed program was:" >&5
6608 sed 's/^/| /' conftest.$ac_ext >&5
6610 # Broken: fails on valid input.
6611 continue
6613 rm -f conftest.err conftest.$ac_ext
6615 # OK, works on sane cases. Now check whether non-existent headers
6616 # can be detected and how.
6617 cat >conftest.$ac_ext <<_ACEOF
6618 /* confdefs.h. */
6619 _ACEOF
6620 cat confdefs.h >>conftest.$ac_ext
6621 cat >>conftest.$ac_ext <<_ACEOF
6622 /* end confdefs.h. */
6623 #include <ac_nonexistent.h>
6624 _ACEOF
6625 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6626 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6627 ac_status=$?
6628 grep -v '^ *+' conftest.er1 >conftest.err
6629 rm -f conftest.er1
6630 cat conftest.err >&5
6631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6632 (exit $ac_status); } >/dev/null; then
6633 if test -s conftest.err; then
6634 ac_cpp_err=$ac_cxx_preproc_warn_flag
6635 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6636 else
6637 ac_cpp_err=
6639 else
6640 ac_cpp_err=yes
6642 if test -z "$ac_cpp_err"; then
6643 # Broken: success on invalid input.
6644 continue
6645 else
6646 echo "$as_me: failed program was:" >&5
6647 sed 's/^/| /' conftest.$ac_ext >&5
6649 # Passes both tests.
6650 ac_preproc_ok=:
6651 break
6653 rm -f conftest.err conftest.$ac_ext
6655 done
6656 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6657 rm -f conftest.err conftest.$ac_ext
6658 if $ac_preproc_ok; then
6659 break
6662 done
6663 ac_cv_prog_CXXCPP=$CXXCPP
6666 CXXCPP=$ac_cv_prog_CXXCPP
6667 else
6668 ac_cv_prog_CXXCPP=$CXXCPP
6670 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6671 echo "${ECHO_T}$CXXCPP" >&6
6672 ac_preproc_ok=false
6673 for ac_cxx_preproc_warn_flag in '' yes
6675 # Use a header file that comes with gcc, so configuring glibc
6676 # with a fresh cross-compiler works.
6677 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6678 # <limits.h> exists even on freestanding compilers.
6679 # On the NeXT, cc -E runs the code through the compiler's parser,
6680 # not just through cpp. "Syntax error" is here to catch this case.
6681 cat >conftest.$ac_ext <<_ACEOF
6682 /* confdefs.h. */
6683 _ACEOF
6684 cat confdefs.h >>conftest.$ac_ext
6685 cat >>conftest.$ac_ext <<_ACEOF
6686 /* end confdefs.h. */
6687 #ifdef __STDC__
6688 # include <limits.h>
6689 #else
6690 # include <assert.h>
6691 #endif
6692 Syntax error
6693 _ACEOF
6694 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6695 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6696 ac_status=$?
6697 grep -v '^ *+' conftest.er1 >conftest.err
6698 rm -f conftest.er1
6699 cat conftest.err >&5
6700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6701 (exit $ac_status); } >/dev/null; then
6702 if test -s conftest.err; then
6703 ac_cpp_err=$ac_cxx_preproc_warn_flag
6704 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6705 else
6706 ac_cpp_err=
6708 else
6709 ac_cpp_err=yes
6711 if test -z "$ac_cpp_err"; then
6713 else
6714 echo "$as_me: failed program was:" >&5
6715 sed 's/^/| /' conftest.$ac_ext >&5
6717 # Broken: fails on valid input.
6718 continue
6720 rm -f conftest.err conftest.$ac_ext
6722 # OK, works on sane cases. Now check whether non-existent headers
6723 # can be detected and how.
6724 cat >conftest.$ac_ext <<_ACEOF
6725 /* confdefs.h. */
6726 _ACEOF
6727 cat confdefs.h >>conftest.$ac_ext
6728 cat >>conftest.$ac_ext <<_ACEOF
6729 /* end confdefs.h. */
6730 #include <ac_nonexistent.h>
6731 _ACEOF
6732 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6733 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6734 ac_status=$?
6735 grep -v '^ *+' conftest.er1 >conftest.err
6736 rm -f conftest.er1
6737 cat conftest.err >&5
6738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6739 (exit $ac_status); } >/dev/null; then
6740 if test -s conftest.err; then
6741 ac_cpp_err=$ac_cxx_preproc_warn_flag
6742 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6743 else
6744 ac_cpp_err=
6746 else
6747 ac_cpp_err=yes
6749 if test -z "$ac_cpp_err"; then
6750 # Broken: success on invalid input.
6751 continue
6752 else
6753 echo "$as_me: failed program was:" >&5
6754 sed 's/^/| /' conftest.$ac_ext >&5
6756 # Passes both tests.
6757 ac_preproc_ok=:
6758 break
6760 rm -f conftest.err conftest.$ac_ext
6762 done
6763 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6764 rm -f conftest.err conftest.$ac_ext
6765 if $ac_preproc_ok; then
6767 else
6768 _lt_caught_CXX_error=yes
6771 ac_ext=c
6772 ac_cpp='$CPP $CPPFLAGS'
6773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6777 else
6778 _lt_caught_CXX_error=yes
6785 # This can be used to rebuild libtool when needed
6786 LIBTOOL_DEPS="$ltmain"
6788 # Always use our own libtool.
6789 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6815 test -z "$LN_S" && LN_S="ln -s"
6830 if test -n "${ZSH_VERSION+set}" ; then
6831 setopt NO_GLOB_SUBST
6834 echo "$as_me:$LINENO: checking for objdir" >&5
6835 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6836 if test "${lt_cv_objdir+set}" = set; then
6837 echo $ECHO_N "(cached) $ECHO_C" >&6
6838 else
6839 rm -f .libs 2>/dev/null
6840 mkdir .libs 2>/dev/null
6841 if test -d .libs; then
6842 lt_cv_objdir=.libs
6843 else
6844 # MS-DOS does not allow filenames that begin with a dot.
6845 lt_cv_objdir=_libs
6847 rmdir .libs 2>/dev/null
6849 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6850 echo "${ECHO_T}$lt_cv_objdir" >&6
6851 objdir=$lt_cv_objdir
6857 cat >>confdefs.h <<_ACEOF
6858 #define LT_OBJDIR "$lt_cv_objdir/"
6859 _ACEOF
6877 case $host_os in
6878 aix3*)
6879 # AIX sometimes has problems with the GCC collect2 program. For some
6880 # reason, if we set the COLLECT_NAMES environment variable, the problems
6881 # vanish in a puff of smoke.
6882 if test "X${COLLECT_NAMES+set}" != Xset; then
6883 COLLECT_NAMES=
6884 export COLLECT_NAMES
6887 esac
6889 # Sed substitution that helps us do robust quoting. It backslashifies
6890 # metacharacters that are still active within double-quoted strings.
6891 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6893 # Same as above, but do not quote variable references.
6894 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6896 # Sed substitution to delay expansion of an escaped shell variable in a
6897 # double_quote_subst'ed string.
6898 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6900 # Sed substitution to delay expansion of an escaped single quote.
6901 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6903 # Sed substitution to avoid accidental globbing in evaled expressions
6904 no_glob_subst='s/\*/\\\*/g'
6906 # Global variables:
6907 ofile=libtool
6908 can_build_shared=yes
6910 # All known linkers require a `.a' archive for static linking (except MSVC,
6911 # which needs '.lib').
6912 libext=a
6914 with_gnu_ld="$lt_cv_prog_gnu_ld"
6916 old_CC="$CC"
6917 old_CFLAGS="$CFLAGS"
6919 # Set sane defaults for various variables
6920 test -z "$CC" && CC=cc
6921 test -z "$LTCC" && LTCC=$CC
6922 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6923 test -z "$LD" && LD=ld
6924 test -z "$ac_objext" && ac_objext=o
6926 for cc_temp in $compiler""; do
6927 case $cc_temp in
6928 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6929 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6930 \-*) ;;
6931 *) break;;
6932 esac
6933 done
6934 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6937 # Only perform the check for file, if the check method requires it
6938 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6939 case $deplibs_check_method in
6940 file_magic*)
6941 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6942 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6943 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6944 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6945 echo $ECHO_N "(cached) $ECHO_C" >&6
6946 else
6947 case $MAGIC_CMD in
6948 [\\/*] | ?:[\\/]*)
6949 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6952 lt_save_MAGIC_CMD="$MAGIC_CMD"
6953 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6954 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6955 for ac_dir in $ac_dummy; do
6956 IFS="$lt_save_ifs"
6957 test -z "$ac_dir" && ac_dir=.
6958 if test -f $ac_dir/${ac_tool_prefix}file; then
6959 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6960 if test -n "$file_magic_test_file"; then
6961 case $deplibs_check_method in
6962 "file_magic "*)
6963 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
6964 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6965 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6966 $EGREP "$file_magic_regex" > /dev/null; then
6968 else
6969 cat <<_LT_EOF 1>&2
6971 *** Warning: the command libtool uses to detect shared libraries,
6972 *** $file_magic_cmd, produces output that libtool cannot recognize.
6973 *** The result is that libtool may fail to recognize shared libraries
6974 *** as such. This will affect the creation of libtool libraries that
6975 *** depend on shared libraries, but programs linked with such libtool
6976 *** libraries will work regardless of this problem. Nevertheless, you
6977 *** may want to report the problem to your system manager and/or to
6978 *** bug-libtool@gnu.org
6980 _LT_EOF
6981 fi ;;
6982 esac
6984 break
6986 done
6987 IFS="$lt_save_ifs"
6988 MAGIC_CMD="$lt_save_MAGIC_CMD"
6990 esac
6993 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6994 if test -n "$MAGIC_CMD"; then
6995 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6996 echo "${ECHO_T}$MAGIC_CMD" >&6
6997 else
6998 echo "$as_me:$LINENO: result: no" >&5
6999 echo "${ECHO_T}no" >&6
7006 if test -z "$lt_cv_path_MAGIC_CMD"; then
7007 if test -n "$ac_tool_prefix"; then
7008 echo "$as_me:$LINENO: checking for file" >&5
7009 echo $ECHO_N "checking for file... $ECHO_C" >&6
7010 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7011 echo $ECHO_N "(cached) $ECHO_C" >&6
7012 else
7013 case $MAGIC_CMD in
7014 [\\/*] | ?:[\\/]*)
7015 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7018 lt_save_MAGIC_CMD="$MAGIC_CMD"
7019 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7020 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7021 for ac_dir in $ac_dummy; do
7022 IFS="$lt_save_ifs"
7023 test -z "$ac_dir" && ac_dir=.
7024 if test -f $ac_dir/file; then
7025 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7026 if test -n "$file_magic_test_file"; then
7027 case $deplibs_check_method in
7028 "file_magic "*)
7029 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7030 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7031 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7032 $EGREP "$file_magic_regex" > /dev/null; then
7034 else
7035 cat <<_LT_EOF 1>&2
7037 *** Warning: the command libtool uses to detect shared libraries,
7038 *** $file_magic_cmd, produces output that libtool cannot recognize.
7039 *** The result is that libtool may fail to recognize shared libraries
7040 *** as such. This will affect the creation of libtool libraries that
7041 *** depend on shared libraries, but programs linked with such libtool
7042 *** libraries will work regardless of this problem. Nevertheless, you
7043 *** may want to report the problem to your system manager and/or to
7044 *** bug-libtool@gnu.org
7046 _LT_EOF
7047 fi ;;
7048 esac
7050 break
7052 done
7053 IFS="$lt_save_ifs"
7054 MAGIC_CMD="$lt_save_MAGIC_CMD"
7056 esac
7059 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7060 if test -n "$MAGIC_CMD"; then
7061 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7062 echo "${ECHO_T}$MAGIC_CMD" >&6
7063 else
7064 echo "$as_me:$LINENO: result: no" >&5
7065 echo "${ECHO_T}no" >&6
7069 else
7070 MAGIC_CMD=:
7076 esac
7078 # Use C for the default configuration in the libtool script
7080 lt_save_CC="$CC"
7081 ac_ext=c
7082 ac_cpp='$CPP $CPPFLAGS'
7083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7088 # Source file extension for C test sources.
7089 ac_ext=c
7091 # Object file extension for compiled C test sources.
7092 objext=o
7093 objext=$objext
7095 # Code to be used in simple compile tests
7096 lt_simple_compile_test_code="int some_variable = 0;"
7098 # Code to be used in simple link tests
7099 lt_simple_link_test_code='int main(){return(0);}'
7107 # If no C compiler was specified, use CC.
7108 LTCC=${LTCC-"$CC"}
7110 # If no C compiler flags were specified, use CFLAGS.
7111 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7113 # Allow CC to be a program name with arguments.
7114 compiler=$CC
7116 # Save the default compiler, since it gets overwritten when the other
7117 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7118 compiler_DEFAULT=$CC
7120 # save warnings/boilerplate of simple test code
7121 ac_outfile=conftest.$ac_objext
7122 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7123 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7124 _lt_compiler_boilerplate=`cat conftest.err`
7125 $RM conftest*
7127 ac_outfile=conftest.$ac_objext
7128 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7129 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7130 _lt_linker_boilerplate=`cat conftest.err`
7131 $RM conftest*
7134 ## CAVEAT EMPTOR:
7135 ## There is no encapsulation within the following macros, do not change
7136 ## the running order or otherwise move them around unless you know exactly
7137 ## what you are doing...
7138 if test -n "$compiler"; then
7140 lt_prog_compiler_no_builtin_flag=
7142 if test "$GCC" = yes; then
7143 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7145 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7146 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7147 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7148 echo $ECHO_N "(cached) $ECHO_C" >&6
7149 else
7150 lt_cv_prog_compiler_rtti_exceptions=no
7151 ac_outfile=conftest.$ac_objext
7152 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7153 lt_compiler_flag="-fno-rtti -fno-exceptions"
7154 # Insert the option either (1) after the last *FLAGS variable, or
7155 # (2) before a word containing "conftest.", or (3) at the end.
7156 # Note that $ac_compile itself does not contain backslashes and begins
7157 # with a dollar sign (not a hyphen), so the echo should work correctly.
7158 # The option is referenced via a variable to avoid confusing sed.
7159 lt_compile=`echo "$ac_compile" | $SED \
7160 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7161 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7162 -e 's:$: $lt_compiler_flag:'`
7163 (eval echo "\"\$as_me:7163: $lt_compile\"" >&5)
7164 (eval "$lt_compile" 2>conftest.err)
7165 ac_status=$?
7166 cat conftest.err >&5
7167 echo "$as_me:7167: \$? = $ac_status" >&5
7168 if (exit $ac_status) && test -s "$ac_outfile"; then
7169 # The compiler can only warn and ignore the option if not recognized
7170 # So say no if there are warnings other than the usual output.
7171 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7172 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7173 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7174 lt_cv_prog_compiler_rtti_exceptions=yes
7177 $RM conftest*
7180 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7181 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7183 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7184 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7185 else
7196 lt_prog_compiler_wl=
7197 lt_prog_compiler_pic=
7198 lt_prog_compiler_static=
7200 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7201 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7203 if test "$GCC" = yes; then
7204 lt_prog_compiler_wl='-Wl,'
7205 lt_prog_compiler_static='-static'
7207 case $host_os in
7208 aix*)
7209 # All AIX code is PIC.
7210 if test "$host_cpu" = ia64; then
7211 # AIX 5 now supports IA64 processor
7212 lt_prog_compiler_static='-Bstatic'
7216 amigaos*)
7217 if test "$host_cpu" = m68k; then
7218 # FIXME: we need at least 68020 code to build shared libraries, but
7219 # adding the `-m68020' flag to GCC prevents building anything better,
7220 # like `-m68040'.
7221 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7225 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7226 # PIC is the default for these OSes.
7229 mingw* | cygwin* | pw32* | os2*)
7230 # This hack is so that the source file can tell whether it is being
7231 # built for inclusion in a dll (and should export symbols for example).
7232 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7233 # (--disable-auto-import) libraries
7234 lt_prog_compiler_pic='-DDLL_EXPORT'
7237 darwin* | rhapsody*)
7238 # PIC is the default on this platform
7239 # Common symbols not allowed in MH_DYLIB files
7240 lt_prog_compiler_pic='-fno-common'
7243 hpux*)
7244 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7245 # not for PA HP-UX.
7246 case $host_cpu in
7247 hppa*64*|ia64*)
7248 # +Z the default
7251 lt_prog_compiler_pic='-fPIC'
7253 esac
7256 interix[3-9]*)
7257 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7258 # Instead, we relocate shared libraries at runtime.
7261 msdosdjgpp*)
7262 # Just because we use GCC doesn't mean we suddenly get shared libraries
7263 # on systems that don't support them.
7264 lt_prog_compiler_can_build_shared=no
7265 enable_shared=no
7268 *nto* | *qnx*)
7269 # QNX uses GNU C++, but need to define -shared option too, otherwise
7270 # it will coredump.
7271 lt_prog_compiler_pic='-fPIC -shared'
7274 sysv4*MP*)
7275 if test -d /usr/nec; then
7276 lt_prog_compiler_pic=-Kconform_pic
7281 lt_prog_compiler_pic='-fPIC'
7283 esac
7284 else
7285 # PORTME Check for flag to pass linker flags through the system compiler.
7286 case $host_os in
7287 aix*)
7288 lt_prog_compiler_wl='-Wl,'
7289 if test "$host_cpu" = ia64; then
7290 # AIX 5 now supports IA64 processor
7291 lt_prog_compiler_static='-Bstatic'
7292 else
7293 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7296 darwin*)
7297 # PIC is the default on this platform
7298 # Common symbols not allowed in MH_DYLIB files
7299 case $cc_basename in
7300 xlc*)
7301 lt_prog_compiler_pic='-qnocommon'
7302 lt_prog_compiler_wl='-Wl,'
7304 esac
7307 mingw* | cygwin* | pw32* | os2*)
7308 # This hack is so that the source file can tell whether it is being
7309 # built for inclusion in a dll (and should export symbols for example).
7310 lt_prog_compiler_pic='-DDLL_EXPORT'
7313 hpux9* | hpux10* | hpux11*)
7314 lt_prog_compiler_wl='-Wl,'
7315 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7316 # not for PA HP-UX.
7317 case $host_cpu in
7318 hppa*64*|ia64*)
7319 # +Z the default
7322 lt_prog_compiler_pic='+Z'
7324 esac
7325 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7326 lt_prog_compiler_static='${wl}-a ${wl}archive'
7329 irix5* | irix6* | nonstopux*)
7330 lt_prog_compiler_wl='-Wl,'
7331 # PIC (with -KPIC) is the default.
7332 lt_prog_compiler_static='-non_shared'
7335 linux* | k*bsd*-gnu)
7336 case $cc_basename in
7337 icc* | ecc*)
7338 lt_prog_compiler_wl='-Wl,'
7339 lt_prog_compiler_pic='-KPIC'
7340 lt_prog_compiler_static='-static'
7342 pgcc* | pgf77* | pgf90* | pgf95*)
7343 # Portland Group compilers (*not* the Pentium gcc compiler,
7344 # which looks to be a dead project)
7345 lt_prog_compiler_wl='-Wl,'
7346 lt_prog_compiler_pic='-fpic'
7347 lt_prog_compiler_static='-Bstatic'
7349 ccc*)
7350 lt_prog_compiler_wl='-Wl,'
7351 # All Alpha code is PIC.
7352 lt_prog_compiler_static='-non_shared'
7355 case `$CC -V 2>&1 | sed 5q` in
7356 *Sun\ C*)
7357 # Sun C 5.9
7358 lt_prog_compiler_pic='-KPIC'
7359 lt_prog_compiler_static='-Bstatic'
7360 lt_prog_compiler_wl='-Wl,'
7362 *Sun\ F*)
7363 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7364 lt_prog_compiler_pic='-KPIC'
7365 lt_prog_compiler_static='-Bstatic'
7366 lt_prog_compiler_wl=''
7368 esac
7370 esac
7373 newsos6)
7374 lt_prog_compiler_pic='-KPIC'
7375 lt_prog_compiler_static='-Bstatic'
7378 *nto* | *qnx*)
7379 # QNX uses GNU C++, but need to define -shared option too, otherwise
7380 # it will coredump.
7381 lt_prog_compiler_pic='-fPIC -shared'
7384 osf3* | osf4* | osf5*)
7385 lt_prog_compiler_wl='-Wl,'
7386 # All OSF/1 code is PIC.
7387 lt_prog_compiler_static='-non_shared'
7390 rdos*)
7391 lt_prog_compiler_static='-non_shared'
7394 solaris*)
7395 lt_prog_compiler_pic='-KPIC'
7396 lt_prog_compiler_static='-Bstatic'
7397 case $cc_basename in
7398 f77* | f90* | f95*)
7399 lt_prog_compiler_wl='-Qoption ld ';;
7401 lt_prog_compiler_wl='-Wl,';;
7402 esac
7405 sunos4*)
7406 lt_prog_compiler_wl='-Qoption ld '
7407 lt_prog_compiler_pic='-PIC'
7408 lt_prog_compiler_static='-Bstatic'
7411 sysv4 | sysv4.2uw2* | sysv4.3*)
7412 lt_prog_compiler_wl='-Wl,'
7413 lt_prog_compiler_pic='-KPIC'
7414 lt_prog_compiler_static='-Bstatic'
7417 sysv4*MP*)
7418 if test -d /usr/nec ;then
7419 lt_prog_compiler_pic='-Kconform_pic'
7420 lt_prog_compiler_static='-Bstatic'
7424 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7425 lt_prog_compiler_wl='-Wl,'
7426 lt_prog_compiler_pic='-KPIC'
7427 lt_prog_compiler_static='-Bstatic'
7430 unicos*)
7431 lt_prog_compiler_wl='-Wl,'
7432 lt_prog_compiler_can_build_shared=no
7435 uts4*)
7436 lt_prog_compiler_pic='-pic'
7437 lt_prog_compiler_static='-Bstatic'
7441 lt_prog_compiler_can_build_shared=no
7443 esac
7446 case $host_os in
7447 # For platforms which do not support PIC, -DPIC is meaningless:
7448 *djgpp*)
7449 lt_prog_compiler_pic=
7452 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7454 esac
7455 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7456 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7464 # Check to make sure the PIC flag actually works.
7466 if test -n "$lt_prog_compiler_pic"; then
7467 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7468 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7469 if test "${lt_prog_compiler_pic_works+set}" = set; then
7470 echo $ECHO_N "(cached) $ECHO_C" >&6
7471 else
7472 lt_prog_compiler_pic_works=no
7473 ac_outfile=conftest.$ac_objext
7474 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7475 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7476 # Insert the option either (1) after the last *FLAGS variable, or
7477 # (2) before a word containing "conftest.", or (3) at the end.
7478 # Note that $ac_compile itself does not contain backslashes and begins
7479 # with a dollar sign (not a hyphen), so the echo should work correctly.
7480 # The option is referenced via a variable to avoid confusing sed.
7481 lt_compile=`echo "$ac_compile" | $SED \
7482 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7483 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7484 -e 's:$: $lt_compiler_flag:'`
7485 (eval echo "\"\$as_me:7485: $lt_compile\"" >&5)
7486 (eval "$lt_compile" 2>conftest.err)
7487 ac_status=$?
7488 cat conftest.err >&5
7489 echo "$as_me:7489: \$? = $ac_status" >&5
7490 if (exit $ac_status) && test -s "$ac_outfile"; then
7491 # The compiler can only warn and ignore the option if not recognized
7492 # So say no if there are warnings other than the usual output.
7493 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7494 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7495 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7496 lt_prog_compiler_pic_works=yes
7499 $RM conftest*
7502 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7503 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7505 if test x"$lt_prog_compiler_pic_works" = xyes; then
7506 case $lt_prog_compiler_pic in
7507 "" | " "*) ;;
7508 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7509 esac
7510 else
7511 lt_prog_compiler_pic=
7512 lt_prog_compiler_can_build_shared=no
7523 # Check to make sure the static flag actually works.
7525 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7526 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7527 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7528 if test "${lt_prog_compiler_static_works+set}" = set; then
7529 echo $ECHO_N "(cached) $ECHO_C" >&6
7530 else
7531 lt_prog_compiler_static_works=no
7532 save_LDFLAGS="$LDFLAGS"
7533 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7534 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7535 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7536 # The linker can only warn and ignore the option if not recognized
7537 # So say no if there are warnings
7538 if test -s conftest.err; then
7539 # Append any errors to the config.log.
7540 cat conftest.err 1>&5
7541 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7542 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7543 if diff conftest.exp conftest.er2 >/dev/null; then
7544 lt_prog_compiler_static_works=yes
7546 else
7547 lt_prog_compiler_static_works=yes
7550 $RM conftest*
7551 LDFLAGS="$save_LDFLAGS"
7554 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7555 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7557 if test x"$lt_prog_compiler_static_works" = xyes; then
7559 else
7560 lt_prog_compiler_static=
7569 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7570 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7571 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7572 echo $ECHO_N "(cached) $ECHO_C" >&6
7573 else
7574 lt_cv_prog_compiler_c_o=no
7575 $RM -r conftest 2>/dev/null
7576 mkdir conftest
7577 cd conftest
7578 mkdir out
7579 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7581 lt_compiler_flag="-o out/conftest2.$ac_objext"
7582 # Insert the option either (1) after the last *FLAGS variable, or
7583 # (2) before a word containing "conftest.", or (3) at the end.
7584 # Note that $ac_compile itself does not contain backslashes and begins
7585 # with a dollar sign (not a hyphen), so the echo should work correctly.
7586 lt_compile=`echo "$ac_compile" | $SED \
7587 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7588 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7589 -e 's:$: $lt_compiler_flag:'`
7590 (eval echo "\"\$as_me:7590: $lt_compile\"" >&5)
7591 (eval "$lt_compile" 2>out/conftest.err)
7592 ac_status=$?
7593 cat out/conftest.err >&5
7594 echo "$as_me:7594: \$? = $ac_status" >&5
7595 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7596 then
7597 # The compiler can only warn and ignore the option if not recognized
7598 # So say no if there are warnings
7599 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7600 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7601 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7602 lt_cv_prog_compiler_c_o=yes
7605 chmod u+w . 2>&5
7606 $RM conftest*
7607 # SGI C++ compiler will create directory out/ii_files/ for
7608 # template instantiation
7609 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7610 $RM out/* && rmdir out
7611 cd ..
7612 $RM -r conftest
7613 $RM conftest*
7616 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7617 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7624 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7625 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7626 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7627 echo $ECHO_N "(cached) $ECHO_C" >&6
7628 else
7629 lt_cv_prog_compiler_c_o=no
7630 $RM -r conftest 2>/dev/null
7631 mkdir conftest
7632 cd conftest
7633 mkdir out
7634 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7636 lt_compiler_flag="-o out/conftest2.$ac_objext"
7637 # Insert the option either (1) after the last *FLAGS variable, or
7638 # (2) before a word containing "conftest.", or (3) at the end.
7639 # Note that $ac_compile itself does not contain backslashes and begins
7640 # with a dollar sign (not a hyphen), so the echo should work correctly.
7641 lt_compile=`echo "$ac_compile" | $SED \
7642 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7643 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7644 -e 's:$: $lt_compiler_flag:'`
7645 (eval echo "\"\$as_me:7645: $lt_compile\"" >&5)
7646 (eval "$lt_compile" 2>out/conftest.err)
7647 ac_status=$?
7648 cat out/conftest.err >&5
7649 echo "$as_me:7649: \$? = $ac_status" >&5
7650 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7651 then
7652 # The compiler can only warn and ignore the option if not recognized
7653 # So say no if there are warnings
7654 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7655 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7656 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7657 lt_cv_prog_compiler_c_o=yes
7660 chmod u+w . 2>&5
7661 $RM conftest*
7662 # SGI C++ compiler will create directory out/ii_files/ for
7663 # template instantiation
7664 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7665 $RM out/* && rmdir out
7666 cd ..
7667 $RM -r conftest
7668 $RM conftest*
7671 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7672 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7677 hard_links="nottested"
7678 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7679 # do not overwrite the value of need_locks provided by the user
7680 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7681 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7682 hard_links=yes
7683 $RM conftest*
7684 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7685 touch conftest.a
7686 ln conftest.a conftest.b 2>&5 || hard_links=no
7687 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7688 echo "$as_me:$LINENO: result: $hard_links" >&5
7689 echo "${ECHO_T}$hard_links" >&6
7690 if test "$hard_links" = no; then
7691 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7692 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7693 need_locks=warn
7695 else
7696 need_locks=no
7704 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7705 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7707 runpath_var=
7708 allow_undefined_flag=
7709 always_export_symbols=no
7710 archive_cmds=
7711 archive_expsym_cmds=
7712 compiler_needs_object=no
7713 enable_shared_with_static_runtimes=no
7714 export_dynamic_flag_spec=
7715 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7716 hardcode_automatic=no
7717 hardcode_direct=no
7718 hardcode_direct_absolute=no
7719 hardcode_libdir_flag_spec=
7720 hardcode_libdir_flag_spec_ld=
7721 hardcode_libdir_separator=
7722 hardcode_minus_L=no
7723 hardcode_shlibpath_var=unsupported
7724 inherit_rpath=no
7725 link_all_deplibs=unknown
7726 module_cmds=
7727 module_expsym_cmds=
7728 old_archive_from_new_cmds=
7729 old_archive_from_expsyms_cmds=
7730 thread_safe_flag_spec=
7731 whole_archive_flag_spec=
7732 # include_expsyms should be a list of space-separated symbols to be *always*
7733 # included in the symbol list
7734 include_expsyms=
7735 # exclude_expsyms can be an extended regexp of symbols to exclude
7736 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7737 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7738 # as well as any symbol that contains `d'.
7739 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7740 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7741 # platforms (ab)use it in PIC code, but their linkers get confused if
7742 # the symbol is explicitly referenced. Since portable code cannot
7743 # rely on this symbol name, it's probably fine to never include it in
7744 # preloaded symbol tables.
7745 extract_expsyms_cmds=
7747 case $host_os in
7748 cygwin* | mingw* | pw32*)
7749 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7750 # When not using gcc, we currently assume that we are using
7751 # Microsoft Visual C++.
7752 if test "$GCC" != yes; then
7753 with_gnu_ld=no
7756 interix*)
7757 # we just hope/assume this is gcc and not c89 (= MSVC++)
7758 with_gnu_ld=yes
7760 openbsd*)
7761 with_gnu_ld=no
7763 esac
7765 ld_shlibs=yes
7766 if test "$with_gnu_ld" = yes; then
7767 # If archive_cmds runs LD, not CC, wlarc should be empty
7768 wlarc='${wl}'
7770 # Set some defaults for GNU ld with shared library support. These
7771 # are reset later if shared libraries are not supported. Putting them
7772 # here allows them to be overridden if necessary.
7773 runpath_var=LD_RUN_PATH
7774 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7775 export_dynamic_flag_spec='${wl}--export-dynamic'
7776 # ancient GNU ld didn't support --whole-archive et. al.
7777 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7778 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7779 else
7780 whole_archive_flag_spec=
7782 supports_anon_versioning=no
7783 case `$LD -v 2>&1` in
7784 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7785 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7786 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7787 *\ 2.11.*) ;; # other 2.11 versions
7788 *) supports_anon_versioning=yes ;;
7789 esac
7791 # See if GNU ld supports shared libraries.
7792 case $host_os in
7793 aix[3-9]*)
7794 # On AIX/PPC, the GNU linker is very broken
7795 if test "$host_cpu" != ia64; then
7796 ld_shlibs=no
7797 cat <<_LT_EOF 1>&2
7799 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7800 *** to be unable to reliably create shared libraries on AIX.
7801 *** Therefore, libtool is disabling shared libraries support. If you
7802 *** really care for shared libraries, you may want to modify your PATH
7803 *** so that a non-GNU linker is found, and then restart.
7805 _LT_EOF
7809 amigaos*)
7810 if test "$host_cpu" = m68k; then
7811 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)'
7812 hardcode_libdir_flag_spec='-L$libdir'
7813 hardcode_minus_L=yes
7816 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7817 # that the semantics of dynamic libraries on AmigaOS, at least up
7818 # to version 4, is to share data among multiple programs linked
7819 # with the same dynamic library. Since this doesn't match the
7820 # behavior of shared libraries on other platforms, we can't use
7821 # them.
7822 ld_shlibs=no
7825 beos*)
7826 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7827 allow_undefined_flag=unsupported
7828 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7829 # support --undefined. This deserves some investigation. FIXME
7830 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7831 else
7832 ld_shlibs=no
7836 cygwin* | mingw* | pw32*)
7837 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7838 # as there is no search path for DLLs.
7839 hardcode_libdir_flag_spec='-L$libdir'
7840 allow_undefined_flag=unsupported
7841 always_export_symbols=no
7842 enable_shared_with_static_runtimes=yes
7843 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7845 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7846 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7847 # If the export-symbols file already is a .def file (1st line
7848 # is EXPORTS), use it as is; otherwise, prepend...
7849 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7850 cp $export_symbols $output_objdir/$soname.def;
7851 else
7852 echo EXPORTS > $output_objdir/$soname.def;
7853 cat $export_symbols >> $output_objdir/$soname.def;
7855 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7856 else
7857 ld_shlibs=no
7861 interix[3-9]*)
7862 hardcode_direct=no
7863 hardcode_shlibpath_var=no
7864 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7865 export_dynamic_flag_spec='${wl}-E'
7866 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7867 # Instead, shared libraries are loaded at an image base (0x10000000 by
7868 # default) and relocated if they conflict, which is a slow very memory
7869 # consuming and fragmenting process. To avoid this, we pick a random,
7870 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7871 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7872 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7873 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'
7876 gnu* | linux* | tpf* | k*bsd*-gnu)
7877 tmp_diet=no
7878 if test "$host_os" = linux-dietlibc; then
7879 case $cc_basename in
7880 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
7881 esac
7883 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7884 && test "$tmp_diet" = no
7885 then
7886 tmp_addflag=
7887 case $cc_basename,$host_cpu in
7888 pgcc*) # Portland Group C compiler
7889 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'
7890 tmp_addflag=' $pic_flag'
7892 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7893 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'
7894 tmp_addflag=' $pic_flag -Mnomain' ;;
7895 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7896 tmp_addflag=' -i_dynamic' ;;
7897 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7898 tmp_addflag=' -i_dynamic -nofor_main' ;;
7899 ifc* | ifort*) # Intel Fortran compiler
7900 tmp_addflag=' -nofor_main' ;;
7901 esac
7902 case `$CC -V 2>&1 | sed 5q` in
7903 *Sun\ C*) # Sun C 5.9
7904 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'
7905 compiler_needs_object=yes
7906 tmp_sharedflag='-G' ;;
7907 *Sun\ F*) # Sun Fortran 8.3
7908 tmp_sharedflag='-G' ;;
7910 tmp_sharedflag='-shared' ;;
7911 esac
7912 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7914 if test "x$supports_anon_versioning" = xyes; then
7915 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7916 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7917 echo "local: *; };" >> $output_objdir/$libname.ver~
7918 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7920 else
7921 ld_shlibs=no
7925 netbsd*)
7926 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7927 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7928 wlarc=
7929 else
7930 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7931 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7935 solaris*)
7936 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7937 ld_shlibs=no
7938 cat <<_LT_EOF 1>&2
7940 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7941 *** create shared libraries on Solaris systems. Therefore, libtool
7942 *** is disabling shared libraries support. We urge you to upgrade GNU
7943 *** binutils to release 2.9.1 or newer. Another option is to modify
7944 *** your PATH or compiler configuration so that the native linker is
7945 *** used, and then restart.
7947 _LT_EOF
7948 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7949 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7950 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7951 else
7952 ld_shlibs=no
7956 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7957 case `$LD -v 2>&1` in
7958 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7959 ld_shlibs=no
7960 cat <<_LT_EOF 1>&2
7962 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
7963 *** reliably create shared libraries on SCO systems. Therefore, libtool
7964 *** is disabling shared libraries support. We urge you to upgrade GNU
7965 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
7966 *** your PATH or compiler configuration so that the native linker is
7967 *** used, and then restart.
7969 _LT_EOF
7972 # For security reasons, it is highly recommended that you always
7973 # use absolute paths for naming shared libraries, and exclude the
7974 # DT_RUNPATH tag from executables and libraries. But doing so
7975 # requires that you compile everything twice, which is a pain.
7976 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7977 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7978 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7979 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7980 else
7981 ld_shlibs=no
7984 esac
7987 sunos4*)
7988 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7989 wlarc=
7990 hardcode_direct=yes
7991 hardcode_shlibpath_var=no
7995 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7996 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7997 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7998 else
7999 ld_shlibs=no
8002 esac
8004 if test "$ld_shlibs" = no; then
8005 runpath_var=
8006 hardcode_libdir_flag_spec=
8007 export_dynamic_flag_spec=
8008 whole_archive_flag_spec=
8010 else
8011 # PORTME fill in a description of your system's linker (not GNU ld)
8012 case $host_os in
8013 aix3*)
8014 allow_undefined_flag=unsupported
8015 always_export_symbols=yes
8016 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'
8017 # Note: this linker hardcodes the directories in LIBPATH if there
8018 # are no directories specified by -L.
8019 hardcode_minus_L=yes
8020 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8021 # Neither direct hardcoding nor static linking is supported with a
8022 # broken collect2.
8023 hardcode_direct=unsupported
8027 aix[4-9]*)
8028 if test "$host_cpu" = ia64; then
8029 # On IA64, the linker does run time linking by default, so we don't
8030 # have to do anything special.
8031 aix_use_runtimelinking=no
8032 exp_sym_flag='-Bexport'
8033 no_entry_flag=""
8034 else
8035 # If we're using GNU nm, then we don't want the "-C" option.
8036 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8037 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8038 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'
8039 else
8040 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'
8042 aix_use_runtimelinking=no
8044 # Test if we are trying to use run time linking or normal
8045 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8046 # need to do runtime linking.
8047 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8048 for ld_flag in $LDFLAGS; do
8049 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8050 aix_use_runtimelinking=yes
8051 break
8053 done
8055 esac
8057 exp_sym_flag='-bexport'
8058 no_entry_flag='-bnoentry'
8061 # When large executables or shared objects are built, AIX ld can
8062 # have problems creating the table of contents. If linking a library
8063 # or program results in "error TOC overflow" add -mminimal-toc to
8064 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8065 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8067 archive_cmds=''
8068 hardcode_direct=yes
8069 hardcode_direct_absolute=yes
8070 hardcode_libdir_separator=':'
8071 link_all_deplibs=yes
8072 file_list_spec='${wl}-f,'
8074 if test "$GCC" = yes; then
8075 case $host_os in aix4.[012]|aix4.[012].*)
8076 # We only want to do this on AIX 4.2 and lower, the check
8077 # below for broken collect2 doesn't work under 4.3+
8078 collect2name=`${CC} -print-prog-name=collect2`
8079 if test -f "$collect2name" &&
8080 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8081 then
8082 # We have reworked collect2
8084 else
8085 # We have old collect2
8086 hardcode_direct=unsupported
8087 # It fails to find uninstalled libraries when the uninstalled
8088 # path is not listed in the libpath. Setting hardcode_minus_L
8089 # to unsupported forces relinking
8090 hardcode_minus_L=yes
8091 hardcode_libdir_flag_spec='-L$libdir'
8092 hardcode_libdir_separator=
8095 esac
8096 shared_flag='-shared'
8097 if test "$aix_use_runtimelinking" = yes; then
8098 shared_flag="$shared_flag "'${wl}-G'
8100 else
8101 # not using gcc
8102 if test "$host_cpu" = ia64; then
8103 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8104 # chokes on -Wl,-G. The following line is correct:
8105 shared_flag='-G'
8106 else
8107 if test "$aix_use_runtimelinking" = yes; then
8108 shared_flag='${wl}-G'
8109 else
8110 shared_flag='${wl}-bM:SRE'
8115 # It seems that -bexpall does not export symbols beginning with
8116 # underscore (_), so it is better to generate a list of symbols to export.
8117 always_export_symbols=yes
8118 if test "$aix_use_runtimelinking" = yes; then
8119 # Warning - without using the other runtime loading flags (-brtl),
8120 # -berok will link without error, but may produce a broken library.
8121 allow_undefined_flag='-berok'
8122 # Determine the default libpath from the value encoded in an
8123 # empty executable.
8124 if test x$gcc_no_link = xyes; then
8125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8127 { (exit 1); exit 1; }; }
8129 cat >conftest.$ac_ext <<_ACEOF
8130 /* confdefs.h. */
8131 _ACEOF
8132 cat confdefs.h >>conftest.$ac_ext
8133 cat >>conftest.$ac_ext <<_ACEOF
8134 /* end confdefs.h. */
8137 main ()
8141 return 0;
8143 _ACEOF
8144 rm -f conftest.$ac_objext conftest$ac_exeext
8145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8146 (eval $ac_link) 2>conftest.er1
8147 ac_status=$?
8148 grep -v '^ *+' conftest.er1 >conftest.err
8149 rm -f conftest.er1
8150 cat conftest.err >&5
8151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8152 (exit $ac_status); } &&
8153 { ac_try='test -z "$ac_c_werror_flag"
8154 || test ! -s conftest.err'
8155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8156 (eval $ac_try) 2>&5
8157 ac_status=$?
8158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8159 (exit $ac_status); }; } &&
8160 { ac_try='test -s conftest$ac_exeext'
8161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8162 (eval $ac_try) 2>&5
8163 ac_status=$?
8164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8165 (exit $ac_status); }; }; then
8167 lt_aix_libpath_sed='
8168 /Import File Strings/,/^$/ {
8169 /^0/ {
8170 s/^0 *\(.*\)$/\1/
8174 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8175 # Check for a 64-bit object if we didn't find anything.
8176 if test -z "$aix_libpath"; then
8177 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8179 else
8180 echo "$as_me: failed program was:" >&5
8181 sed 's/^/| /' conftest.$ac_ext >&5
8184 rm -f conftest.err conftest.$ac_objext \
8185 conftest$ac_exeext conftest.$ac_ext
8186 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8188 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8189 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"
8190 else
8191 if test "$host_cpu" = ia64; then
8192 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8193 allow_undefined_flag="-z nodefs"
8194 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"
8195 else
8196 # Determine the default libpath from the value encoded in an
8197 # empty executable.
8198 if test x$gcc_no_link = xyes; then
8199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8201 { (exit 1); exit 1; }; }
8203 cat >conftest.$ac_ext <<_ACEOF
8204 /* confdefs.h. */
8205 _ACEOF
8206 cat confdefs.h >>conftest.$ac_ext
8207 cat >>conftest.$ac_ext <<_ACEOF
8208 /* end confdefs.h. */
8211 main ()
8215 return 0;
8217 _ACEOF
8218 rm -f conftest.$ac_objext conftest$ac_exeext
8219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8220 (eval $ac_link) 2>conftest.er1
8221 ac_status=$?
8222 grep -v '^ *+' conftest.er1 >conftest.err
8223 rm -f conftest.er1
8224 cat conftest.err >&5
8225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8226 (exit $ac_status); } &&
8227 { ac_try='test -z "$ac_c_werror_flag"
8228 || test ! -s conftest.err'
8229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8230 (eval $ac_try) 2>&5
8231 ac_status=$?
8232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8233 (exit $ac_status); }; } &&
8234 { ac_try='test -s conftest$ac_exeext'
8235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8236 (eval $ac_try) 2>&5
8237 ac_status=$?
8238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8239 (exit $ac_status); }; }; then
8241 lt_aix_libpath_sed='
8242 /Import File Strings/,/^$/ {
8243 /^0/ {
8244 s/^0 *\(.*\)$/\1/
8248 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8249 # Check for a 64-bit object if we didn't find anything.
8250 if test -z "$aix_libpath"; then
8251 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8253 else
8254 echo "$as_me: failed program was:" >&5
8255 sed 's/^/| /' conftest.$ac_ext >&5
8258 rm -f conftest.err conftest.$ac_objext \
8259 conftest$ac_exeext conftest.$ac_ext
8260 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8262 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8263 # Warning - without using the other run time loading flags,
8264 # -berok will link without error, but may produce a broken library.
8265 no_undefined_flag=' ${wl}-bernotok'
8266 allow_undefined_flag=' ${wl}-berok'
8267 # Exported symbols can be pulled into shared objects from archives
8268 whole_archive_flag_spec='$convenience'
8269 archive_cmds_need_lc=yes
8270 # This is similar to how AIX traditionally builds its shared libraries.
8271 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'
8276 amigaos*)
8277 if test "$host_cpu" = m68k; then
8278 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)'
8279 hardcode_libdir_flag_spec='-L$libdir'
8280 hardcode_minus_L=yes
8282 # see comment about different semantics on the GNU ld section
8283 ld_shlibs=no
8286 bsdi[45]*)
8287 export_dynamic_flag_spec=-rdynamic
8290 cygwin* | mingw* | pw32*)
8291 # When not using gcc, we currently assume that we are using
8292 # Microsoft Visual C++.
8293 # hardcode_libdir_flag_spec is actually meaningless, as there is
8294 # no search path for DLLs.
8295 hardcode_libdir_flag_spec=' '
8296 allow_undefined_flag=unsupported
8297 # Tell ltmain to make .lib files, not .a files.
8298 libext=lib
8299 # Tell ltmain to make .dll files, not .so files.
8300 shrext_cmds=".dll"
8301 # FIXME: Setting linknames here is a bad hack.
8302 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8303 # The linker will automatically build a .lib file if we build a DLL.
8304 old_archive_from_new_cmds='true'
8305 # FIXME: Should let the user specify the lib program.
8306 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8307 fix_srcfile_path='`cygpath -w "$srcfile"`'
8308 enable_shared_with_static_runtimes=yes
8311 darwin* | rhapsody*)
8312 case $host_os in
8313 rhapsody* | darwin1.[012])
8314 allow_undefined_flag='${wl}-undefined ${wl}suppress'
8316 *) # Darwin 1.3 on
8317 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8318 10.[012])
8319 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8321 10.*)
8322 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8324 esac
8326 esac
8327 archive_cmds_need_lc=no
8328 hardcode_direct=no
8329 hardcode_automatic=yes
8330 hardcode_shlibpath_var=unsupported
8331 whole_archive_flag_spec=''
8332 link_all_deplibs=yes
8333 if test "$GCC" = yes ; then
8334 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8335 echo $ECHO_N "(cached) $ECHO_C" >&6
8336 else
8337 lt_cv_apple_cc_single_mod=no
8338 if test -z "${LT_MULTI_MODULE}"; then
8339 # By default we will add the -single_module flag. You can override
8340 # by either setting the environment variable LT_MULTI_MODULE
8341 # non-empty at configure time, or by adding -multi-module to the
8342 # link flags.
8343 echo "int foo(void){return 1;}" > conftest.c
8344 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8345 -dynamiclib ${wl}-single_module conftest.c
8346 if test -f libconftest.dylib; then
8347 lt_cv_apple_cc_single_mod=yes
8348 rm libconftest.dylib
8350 rm conftest.$ac_ext
8354 output_verbose_link_cmd=echo
8355 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
8356 archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8357 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $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}'
8358 else
8359 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8360 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}'
8362 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8363 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}'
8364 else
8365 case $cc_basename in
8366 xlc*)
8367 output_verbose_link_cmd=echo
8368 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8369 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8370 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8371 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}'
8372 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}'
8375 ld_shlibs=no
8377 esac
8381 dgux*)
8382 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8383 hardcode_libdir_flag_spec='-L$libdir'
8384 hardcode_shlibpath_var=no
8387 freebsd1*)
8388 ld_shlibs=no
8391 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8392 # support. Future versions do this automatically, but an explicit c++rt0.o
8393 # does not break anything, and helps significantly (at the cost of a little
8394 # extra space).
8395 freebsd2.2*)
8396 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8397 hardcode_libdir_flag_spec='-R$libdir'
8398 hardcode_direct=yes
8399 hardcode_shlibpath_var=no
8402 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8403 freebsd2*)
8404 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8405 hardcode_direct=yes
8406 hardcode_minus_L=yes
8407 hardcode_shlibpath_var=no
8410 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8411 freebsd* | dragonfly*)
8412 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8413 hardcode_libdir_flag_spec='-R$libdir'
8414 hardcode_direct=yes
8415 hardcode_shlibpath_var=no
8418 hpux9*)
8419 if test "$GCC" = yes; then
8420 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'
8421 else
8422 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'
8424 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8425 hardcode_libdir_separator=:
8426 hardcode_direct=yes
8428 # hardcode_minus_L: Not really in the search PATH,
8429 # but as the default location of the library.
8430 hardcode_minus_L=yes
8431 export_dynamic_flag_spec='${wl}-E'
8434 hpux10*)
8435 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8436 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8437 else
8438 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8440 if test "$with_gnu_ld" = no; then
8441 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8442 hardcode_libdir_flag_spec_ld='+b $libdir'
8443 hardcode_libdir_separator=:
8444 hardcode_direct=yes
8445 hardcode_direct_absolute=yes
8446 export_dynamic_flag_spec='${wl}-E'
8447 # hardcode_minus_L: Not really in the search PATH,
8448 # but as the default location of the library.
8449 hardcode_minus_L=yes
8453 hpux11*)
8454 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8455 case $host_cpu in
8456 hppa*64*)
8457 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8459 ia64*)
8460 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8463 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8465 esac
8466 else
8467 case $host_cpu in
8468 hppa*64*)
8469 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8471 ia64*)
8472 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8475 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8477 esac
8479 if test "$with_gnu_ld" = no; then
8480 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8481 hardcode_libdir_separator=:
8483 case $host_cpu in
8484 hppa*64*|ia64*)
8485 hardcode_direct=no
8486 hardcode_shlibpath_var=no
8489 hardcode_direct=yes
8490 hardcode_direct_absolute=yes
8491 export_dynamic_flag_spec='${wl}-E'
8493 # hardcode_minus_L: Not really in the search PATH,
8494 # but as the default location of the library.
8495 hardcode_minus_L=yes
8497 esac
8501 irix5* | irix6* | nonstopux*)
8502 if test "$GCC" = yes; then
8503 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'
8504 # Try to use the -exported_symbol ld option, if it does not
8505 # work, assume that -exports_file does not work either and
8506 # implicitly export all symbols.
8507 save_LDFLAGS="$LDFLAGS"
8508 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8509 if test x$gcc_no_link = xyes; then
8510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8512 { (exit 1); exit 1; }; }
8514 cat >conftest.$ac_ext <<_ACEOF
8515 int foo(void) {}
8516 _ACEOF
8517 rm -f conftest.$ac_objext conftest$ac_exeext
8518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8519 (eval $ac_link) 2>conftest.er1
8520 ac_status=$?
8521 grep -v '^ *+' conftest.er1 >conftest.err
8522 rm -f conftest.er1
8523 cat conftest.err >&5
8524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8525 (exit $ac_status); } &&
8526 { ac_try='test -z "$ac_c_werror_flag"
8527 || test ! -s conftest.err'
8528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8529 (eval $ac_try) 2>&5
8530 ac_status=$?
8531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8532 (exit $ac_status); }; } &&
8533 { ac_try='test -s conftest$ac_exeext'
8534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8535 (eval $ac_try) 2>&5
8536 ac_status=$?
8537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8538 (exit $ac_status); }; }; then
8539 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'
8541 else
8542 echo "$as_me: failed program was:" >&5
8543 sed 's/^/| /' conftest.$ac_ext >&5
8546 rm -f conftest.err conftest.$ac_objext \
8547 conftest$ac_exeext conftest.$ac_ext
8548 LDFLAGS="$save_LDFLAGS"
8549 else
8550 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'
8551 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'
8553 archive_cmds_need_lc='no'
8554 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8555 hardcode_libdir_separator=:
8556 inherit_rpath=yes
8557 link_all_deplibs=yes
8560 netbsd*)
8561 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8562 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8563 else
8564 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8566 hardcode_libdir_flag_spec='-R$libdir'
8567 hardcode_direct=yes
8568 hardcode_shlibpath_var=no
8571 newsos6)
8572 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8573 hardcode_direct=yes
8574 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8575 hardcode_libdir_separator=:
8576 hardcode_shlibpath_var=no
8579 *nto* | *qnx*)
8582 openbsd*)
8583 hardcode_direct=yes
8584 hardcode_shlibpath_var=no
8585 hardcode_direct_absolute=yes
8586 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8587 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8588 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8589 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8590 export_dynamic_flag_spec='${wl}-E'
8591 else
8592 case $host_os in
8593 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8594 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8595 hardcode_libdir_flag_spec='-R$libdir'
8598 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8599 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8601 esac
8605 os2*)
8606 hardcode_libdir_flag_spec='-L$libdir'
8607 hardcode_minus_L=yes
8608 allow_undefined_flag=unsupported
8609 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'
8610 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8613 osf3*)
8614 if test "$GCC" = yes; then
8615 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8616 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'
8617 else
8618 allow_undefined_flag=' -expect_unresolved \*'
8619 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'
8621 archive_cmds_need_lc='no'
8622 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8623 hardcode_libdir_separator=:
8626 osf4* | osf5*) # as osf3* with the addition of -msym flag
8627 if test "$GCC" = yes; then
8628 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8629 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'
8630 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8631 else
8632 allow_undefined_flag=' -expect_unresolved \*'
8633 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'
8634 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~
8635 $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'
8637 # Both c and cxx compiler support -rpath directly
8638 hardcode_libdir_flag_spec='-rpath $libdir'
8640 archive_cmds_need_lc='no'
8641 hardcode_libdir_separator=:
8644 solaris*)
8645 no_undefined_flag=' -z defs'
8646 if test "$GCC" = yes; then
8647 wlarc='${wl}'
8648 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8649 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8650 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8651 else
8652 case `$CC -V 2>&1` in
8653 *"Compilers 5.0"*)
8654 wlarc=''
8655 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8656 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8657 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8660 wlarc='${wl}'
8661 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8662 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8663 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8665 esac
8667 hardcode_libdir_flag_spec='-R$libdir'
8668 hardcode_shlibpath_var=no
8669 case $host_os in
8670 solaris2.[0-5] | solaris2.[0-5].*) ;;
8672 # The compiler driver will combine and reorder linker options,
8673 # but understands `-z linker_flag'. GCC discards it without `$wl',
8674 # but is careful enough not to reorder.
8675 # Supported since Solaris 2.6 (maybe 2.5.1?)
8676 if test "$GCC" = yes; then
8677 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8678 else
8679 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8682 esac
8683 link_all_deplibs=yes
8686 sunos4*)
8687 if test "x$host_vendor" = xsequent; then
8688 # Use $CC to link under sequent, because it throws in some extra .o
8689 # files that make .init and .fini sections work.
8690 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8691 else
8692 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8694 hardcode_libdir_flag_spec='-L$libdir'
8695 hardcode_direct=yes
8696 hardcode_minus_L=yes
8697 hardcode_shlibpath_var=no
8700 sysv4)
8701 case $host_vendor in
8702 sni)
8703 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8704 hardcode_direct=yes # is this really true???
8706 siemens)
8707 ## LD is ld it makes a PLAMLIB
8708 ## CC just makes a GrossModule.
8709 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8710 reload_cmds='$CC -r -o $output$reload_objs'
8711 hardcode_direct=no
8713 motorola)
8714 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8715 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8717 esac
8718 runpath_var='LD_RUN_PATH'
8719 hardcode_shlibpath_var=no
8722 sysv4.3*)
8723 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8724 hardcode_shlibpath_var=no
8725 export_dynamic_flag_spec='-Bexport'
8728 sysv4*MP*)
8729 if test -d /usr/nec; then
8730 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8731 hardcode_shlibpath_var=no
8732 runpath_var=LD_RUN_PATH
8733 hardcode_runpath_var=yes
8734 ld_shlibs=yes
8738 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8739 no_undefined_flag='${wl}-z,text'
8740 archive_cmds_need_lc=no
8741 hardcode_shlibpath_var=no
8742 runpath_var='LD_RUN_PATH'
8744 if test "$GCC" = yes; then
8745 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8746 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8747 else
8748 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8749 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8753 sysv5* | sco3.2v5* | sco5v6*)
8754 # Note: We can NOT use -z defs as we might desire, because we do not
8755 # link with -lc, and that would cause any symbols used from libc to
8756 # always be unresolved, which means just about no library would
8757 # ever link correctly. If we're not using GNU ld we use -z text
8758 # though, which does catch some bad symbols but isn't as heavy-handed
8759 # as -z defs.
8760 no_undefined_flag='${wl}-z,text'
8761 allow_undefined_flag='${wl}-z,nodefs'
8762 archive_cmds_need_lc=no
8763 hardcode_shlibpath_var=no
8764 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8765 hardcode_libdir_separator=':'
8766 link_all_deplibs=yes
8767 export_dynamic_flag_spec='${wl}-Bexport'
8768 runpath_var='LD_RUN_PATH'
8770 if test "$GCC" = yes; then
8771 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8772 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8773 else
8774 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8775 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8779 uts4*)
8780 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8781 hardcode_libdir_flag_spec='-L$libdir'
8782 hardcode_shlibpath_var=no
8786 ld_shlibs=no
8788 esac
8790 if test x$host_vendor = xsni; then
8791 case $host in
8792 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8793 export_dynamic_flag_spec='${wl}-Blargedynsym'
8795 esac
8799 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8800 echo "${ECHO_T}$ld_shlibs" >&6
8801 test "$ld_shlibs" = no && can_build_shared=no
8803 with_gnu_ld=$with_gnu_ld
8820 # Do we need to explicitly link libc?
8822 case "x$archive_cmds_need_lc" in
8823 x|xyes)
8824 # Assume -lc should be added
8825 archive_cmds_need_lc=yes
8827 if test "$enable_shared" = yes && test "$GCC" = yes; then
8828 case $archive_cmds in
8829 *'~'*)
8830 # FIXME: we may have to deal with multi-command sequences.
8832 '$CC '*)
8833 # Test whether the compiler implicitly links with -lc since on some
8834 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8835 # to ld, don't add -lc before -lgcc.
8836 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8837 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8838 $RM conftest*
8839 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8842 (eval $ac_compile) 2>&5
8843 ac_status=$?
8844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8845 (exit $ac_status); } 2>conftest.err; then
8846 soname=conftest
8847 lib=conftest
8848 libobjs=conftest.$ac_objext
8849 deplibs=
8850 wl=$lt_prog_compiler_wl
8851 pic_flag=$lt_prog_compiler_pic
8852 compiler_flags=-v
8853 linker_flags=-v
8854 verstring=
8855 output_objdir=.
8856 libname=conftest
8857 lt_save_allow_undefined_flag=$allow_undefined_flag
8858 allow_undefined_flag=
8859 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8860 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8861 ac_status=$?
8862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8863 (exit $ac_status); }
8864 then
8865 archive_cmds_need_lc=no
8866 else
8867 archive_cmds_need_lc=yes
8869 allow_undefined_flag=$lt_save_allow_undefined_flag
8870 else
8871 cat conftest.err 1>&5
8873 $RM conftest*
8874 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8875 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8877 esac
8880 esac
9038 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9039 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9040 withGCC=$GCC
9041 if test "$withGCC" = yes; then
9042 case $host_os in
9043 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9044 *) lt_awk_arg="/^libraries:/" ;;
9045 esac
9046 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9047 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9048 # if the path contains ";" then we assume it to be the separator
9049 # otherwise default to the standard path separator (i.e. ":") - it is
9050 # assumed that no part of a normal pathname contains ";" but that should
9051 # okay in the real world where ";" in dirpaths is itself problematic.
9052 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9053 else
9054 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9056 # Ok, now we have the path, separated by spaces, we can step through it
9057 # and add multilib dir if necessary.
9058 lt_tmp_lt_search_path_spec=
9059 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9060 for lt_sys_path in $lt_search_path_spec; do
9061 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9062 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9063 else
9064 test -d "$lt_sys_path" && \
9065 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9067 done
9068 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9069 BEGIN {RS=" "; FS="/|\n";} {
9070 lt_foo="";
9071 lt_count=0;
9072 for (lt_i = NF; lt_i > 0; lt_i--) {
9073 if ($lt_i != "" && $lt_i != ".") {
9074 if ($lt_i == "..") {
9075 lt_count++;
9076 } else {
9077 if (lt_count == 0) {
9078 lt_foo="/" $lt_i lt_foo;
9079 } else {
9080 lt_count--;
9085 if (lt_foo != "") { lt_freq[lt_foo]++; }
9086 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9088 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9089 else
9090 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9092 library_names_spec=
9093 libname_spec='lib$name'
9094 soname_spec=
9095 shrext_cmds=".so"
9096 postinstall_cmds=
9097 postuninstall_cmds=
9098 finish_cmds=
9099 finish_eval=
9100 shlibpath_var=
9101 shlibpath_overrides_runpath=unknown
9102 version_type=none
9103 dynamic_linker="$host_os ld.so"
9104 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9105 need_lib_prefix=unknown
9106 hardcode_into_libs=no
9108 # when you set need_version to no, make sure it does not cause -set_version
9109 # flags to be left without arguments
9110 need_version=unknown
9112 case $host_os in
9113 aix3*)
9114 version_type=linux
9115 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9116 shlibpath_var=LIBPATH
9118 # AIX 3 has no versioning support, so we append a major version to the name.
9119 soname_spec='${libname}${release}${shared_ext}$major'
9122 aix[4-9]*)
9123 version_type=linux
9124 need_lib_prefix=no
9125 need_version=no
9126 hardcode_into_libs=yes
9127 if test "$host_cpu" = ia64; then
9128 # AIX 5 supports IA64
9129 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9130 shlibpath_var=LD_LIBRARY_PATH
9131 else
9132 # With GCC up to 2.95.x, collect2 would create an import file
9133 # for dependence libraries. The import file would start with
9134 # the line `#! .'. This would cause the generated library to
9135 # depend on `.', always an invalid library. This was fixed in
9136 # development snapshots of GCC prior to 3.0.
9137 case $host_os in
9138 aix4 | aix4.[01] | aix4.[01].*)
9139 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9140 echo ' yes '
9141 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9143 else
9144 can_build_shared=no
9147 esac
9148 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9149 # soname into executable. Probably we can add versioning support to
9150 # collect2, so additional links can be useful in future.
9151 if test "$aix_use_runtimelinking" = yes; then
9152 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9153 # instead of lib<name>.a to let people know that these are not
9154 # typical AIX shared libraries.
9155 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9156 else
9157 # We preserve .a as extension for shared libraries through AIX4.2
9158 # and later when we are not doing run time linking.
9159 library_names_spec='${libname}${release}.a $libname.a'
9160 soname_spec='${libname}${release}${shared_ext}$major'
9162 shlibpath_var=LIBPATH
9166 amigaos*)
9167 if test "$host_cpu" = m68k; then
9168 library_names_spec='$libname.ixlibrary $libname.a'
9169 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9170 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'
9171 else
9172 dynamic_linker=no
9176 beos*)
9177 library_names_spec='${libname}${shared_ext}'
9178 dynamic_linker="$host_os ld.so"
9179 shlibpath_var=LIBRARY_PATH
9182 bsdi[45]*)
9183 version_type=linux
9184 need_version=no
9185 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9186 soname_spec='${libname}${release}${shared_ext}$major'
9187 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9188 shlibpath_var=LD_LIBRARY_PATH
9189 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9190 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9191 # the default ld.so.conf also contains /usr/contrib/lib and
9192 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9193 # libtool to hard-code these into programs
9196 cygwin* | mingw* | pw32*)
9197 version_type=windows
9198 shrext_cmds=".dll"
9199 need_version=no
9200 need_lib_prefix=no
9202 case $withGCC,$host_os in
9203 yes,cygwin* | yes,mingw* | yes,pw32*)
9204 library_names_spec='$libname.dll.a'
9205 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9206 postinstall_cmds='base_file=`basename \${file}`~
9207 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9208 dldir=$destdir/`dirname \$dlpath`~
9209 test -d \$dldir || mkdir -p \$dldir~
9210 $install_prog $dir/$dlname \$dldir/$dlname~
9211 chmod a+x \$dldir/$dlname~
9212 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9213 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9215 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9216 dlpath=$dir/\$dldll~
9217 $RM \$dlpath'
9218 shlibpath_overrides_runpath=yes
9220 case $host_os in
9221 cygwin*)
9222 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9223 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9224 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9226 mingw*)
9227 # MinGW DLLs use traditional 'lib' prefix
9228 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9229 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9230 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9231 # It is most probably a Windows format PATH printed by
9232 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9233 # path with ; separators, and with drive letters. We can handle the
9234 # drive letters (cygwin fileutils understands them), so leave them,
9235 # especially as we might pass files found there to a mingw objdump,
9236 # which wouldn't understand a cygwinified path. Ahh.
9237 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9238 else
9239 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9242 pw32*)
9243 # pw32 DLLs use 'pw' prefix rather than 'lib'
9244 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9246 esac
9250 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9252 esac
9253 dynamic_linker='Win32 ld.exe'
9254 # FIXME: first we should search . and the directory the executable is in
9255 shlibpath_var=PATH
9258 darwin* | rhapsody*)
9259 dynamic_linker="$host_os dyld"
9260 version_type=darwin
9261 need_lib_prefix=no
9262 need_version=no
9263 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9264 soname_spec='${libname}${release}${major}$shared_ext'
9265 shlibpath_overrides_runpath=yes
9266 shlibpath_var=DYLD_LIBRARY_PATH
9267 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9269 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9270 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9273 dgux*)
9274 version_type=linux
9275 need_lib_prefix=no
9276 need_version=no
9277 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9278 soname_spec='${libname}${release}${shared_ext}$major'
9279 shlibpath_var=LD_LIBRARY_PATH
9282 freebsd1*)
9283 dynamic_linker=no
9286 freebsd* | dragonfly*)
9287 # DragonFly does not have aout. When/if they implement a new
9288 # versioning mechanism, adjust this.
9289 if test -x /usr/bin/objformat; then
9290 objformat=`/usr/bin/objformat`
9291 else
9292 case $host_os in
9293 freebsd[123]*) objformat=aout ;;
9294 *) objformat=elf ;;
9295 esac
9297 version_type=freebsd-$objformat
9298 case $version_type in
9299 freebsd-elf*)
9300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9301 need_version=no
9302 need_lib_prefix=no
9304 freebsd-*)
9305 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9306 need_version=yes
9308 esac
9309 shlibpath_var=LD_LIBRARY_PATH
9310 case $host_os in
9311 freebsd2*)
9312 shlibpath_overrides_runpath=yes
9314 freebsd3.[01]* | freebsdelf3.[01]*)
9315 shlibpath_overrides_runpath=yes
9316 hardcode_into_libs=yes
9318 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9319 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9320 shlibpath_overrides_runpath=no
9321 hardcode_into_libs=yes
9323 *) # from 4.6 on, and DragonFly
9324 shlibpath_overrides_runpath=yes
9325 hardcode_into_libs=yes
9327 esac
9330 gnu*)
9331 version_type=linux
9332 need_lib_prefix=no
9333 need_version=no
9334 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9335 soname_spec='${libname}${release}${shared_ext}$major'
9336 shlibpath_var=LD_LIBRARY_PATH
9337 hardcode_into_libs=yes
9340 hpux9* | hpux10* | hpux11*)
9341 # Give a soname corresponding to the major version so that dld.sl refuses to
9342 # link against other versions.
9343 version_type=sunos
9344 need_lib_prefix=no
9345 need_version=no
9346 case $host_cpu in
9347 ia64*)
9348 shrext_cmds='.so'
9349 hardcode_into_libs=yes
9350 dynamic_linker="$host_os dld.so"
9351 shlibpath_var=LD_LIBRARY_PATH
9352 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9353 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9354 soname_spec='${libname}${release}${shared_ext}$major'
9355 if test "X$HPUX_IA64_MODE" = X32; then
9356 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9357 else
9358 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9360 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9362 hppa*64*)
9363 shrext_cmds='.sl'
9364 hardcode_into_libs=yes
9365 dynamic_linker="$host_os dld.sl"
9366 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9367 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9368 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9369 soname_spec='${libname}${release}${shared_ext}$major'
9370 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9371 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9374 shrext_cmds='.sl'
9375 dynamic_linker="$host_os dld.sl"
9376 shlibpath_var=SHLIB_PATH
9377 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9379 soname_spec='${libname}${release}${shared_ext}$major'
9381 esac
9382 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9383 postinstall_cmds='chmod 555 $lib'
9386 interix[3-9]*)
9387 version_type=linux
9388 need_lib_prefix=no
9389 need_version=no
9390 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9391 soname_spec='${libname}${release}${shared_ext}$major'
9392 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9393 shlibpath_var=LD_LIBRARY_PATH
9394 shlibpath_overrides_runpath=no
9395 hardcode_into_libs=yes
9398 irix5* | irix6* | nonstopux*)
9399 case $host_os in
9400 nonstopux*) version_type=nonstopux ;;
9402 if test "$lt_cv_prog_gnu_ld" = yes; then
9403 version_type=linux
9404 else
9405 version_type=irix
9406 fi ;;
9407 esac
9408 need_lib_prefix=no
9409 need_version=no
9410 soname_spec='${libname}${release}${shared_ext}$major'
9411 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9412 case $host_os in
9413 irix5* | nonstopux*)
9414 libsuff= shlibsuff=
9417 case $LD in # libtool.m4 will add one of these switches to LD
9418 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9419 libsuff= shlibsuff= libmagic=32-bit;;
9420 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9421 libsuff=32 shlibsuff=N32 libmagic=N32;;
9422 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9423 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9424 *) libsuff= shlibsuff= libmagic=never-match;;
9425 esac
9427 esac
9428 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9429 shlibpath_overrides_runpath=no
9430 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9431 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9432 hardcode_into_libs=yes
9435 # No shared lib support for Linux oldld, aout, or coff.
9436 linux*oldld* | linux*aout* | linux*coff*)
9437 dynamic_linker=no
9440 # This must be Linux ELF.
9441 linux* | k*bsd*-gnu)
9442 version_type=linux
9443 need_lib_prefix=no
9444 need_version=no
9445 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9446 soname_spec='${libname}${release}${shared_ext}$major'
9447 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9448 shlibpath_var=LD_LIBRARY_PATH
9449 shlibpath_overrides_runpath=no
9450 # Some binutils ld are patched to set DT_RUNPATH
9451 save_LDFLAGS=$LDFLAGS
9452 save_libdir=$libdir
9453 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9454 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9455 if test x$gcc_no_link = xyes; then
9456 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9458 { (exit 1); exit 1; }; }
9460 cat >conftest.$ac_ext <<_ACEOF
9461 /* confdefs.h. */
9462 _ACEOF
9463 cat confdefs.h >>conftest.$ac_ext
9464 cat >>conftest.$ac_ext <<_ACEOF
9465 /* end confdefs.h. */
9468 main ()
9472 return 0;
9474 _ACEOF
9475 rm -f conftest.$ac_objext conftest$ac_exeext
9476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9477 (eval $ac_link) 2>conftest.er1
9478 ac_status=$?
9479 grep -v '^ *+' conftest.er1 >conftest.err
9480 rm -f conftest.er1
9481 cat conftest.err >&5
9482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9483 (exit $ac_status); } &&
9484 { ac_try='test -z "$ac_c_werror_flag"
9485 || test ! -s conftest.err'
9486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9487 (eval $ac_try) 2>&5
9488 ac_status=$?
9489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9490 (exit $ac_status); }; } &&
9491 { ac_try='test -s conftest$ac_exeext'
9492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9493 (eval $ac_try) 2>&5
9494 ac_status=$?
9495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9496 (exit $ac_status); }; }; then
9497 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
9498 shlibpath_overrides_runpath=yes
9501 else
9502 echo "$as_me: failed program was:" >&5
9503 sed 's/^/| /' conftest.$ac_ext >&5
9506 rm -f conftest.err conftest.$ac_objext \
9507 conftest$ac_exeext conftest.$ac_ext
9508 LDFLAGS=$save_LDFLAGS
9509 libdir=$save_libdir
9511 # This implies no fast_install, which is unacceptable.
9512 # Some rework will be needed to allow for fast_install
9513 # before this can be enabled.
9514 hardcode_into_libs=yes
9516 # Append ld.so.conf contents to the search path
9517 if test -f /etc/ld.so.conf; then
9518 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' ' '`
9519 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9522 # We used to test for /lib/ld.so.1 and disable shared libraries on
9523 # powerpc, because MkLinux only supported shared libraries with the
9524 # GNU dynamic linker. Since this was broken with cross compilers,
9525 # most powerpc-linux boxes support dynamic linking these days and
9526 # people can always --disable-shared, the test was removed, and we
9527 # assume the GNU/Linux dynamic linker is in use.
9528 dynamic_linker='GNU/Linux ld.so'
9531 netbsd*)
9532 version_type=sunos
9533 need_lib_prefix=no
9534 need_version=no
9535 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9537 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9538 dynamic_linker='NetBSD (a.out) ld.so'
9539 else
9540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9541 soname_spec='${libname}${release}${shared_ext}$major'
9542 dynamic_linker='NetBSD ld.elf_so'
9544 shlibpath_var=LD_LIBRARY_PATH
9545 shlibpath_overrides_runpath=yes
9546 hardcode_into_libs=yes
9549 newsos6)
9550 version_type=linux
9551 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9552 shlibpath_var=LD_LIBRARY_PATH
9553 shlibpath_overrides_runpath=yes
9556 *nto* | *qnx*)
9557 version_type=qnx
9558 need_lib_prefix=no
9559 need_version=no
9560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9561 soname_spec='${libname}${release}${shared_ext}$major'
9562 shlibpath_var=LD_LIBRARY_PATH
9563 shlibpath_overrides_runpath=no
9564 hardcode_into_libs=yes
9565 dynamic_linker='ldqnx.so'
9568 openbsd*)
9569 version_type=sunos
9570 sys_lib_dlsearch_path_spec="/usr/lib"
9571 need_lib_prefix=no
9572 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9573 case $host_os in
9574 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9575 *) need_version=no ;;
9576 esac
9577 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9578 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9579 shlibpath_var=LD_LIBRARY_PATH
9580 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9581 case $host_os in
9582 openbsd2.[89] | openbsd2.[89].*)
9583 shlibpath_overrides_runpath=no
9586 shlibpath_overrides_runpath=yes
9588 esac
9589 else
9590 shlibpath_overrides_runpath=yes
9594 os2*)
9595 libname_spec='$name'
9596 shrext_cmds=".dll"
9597 need_lib_prefix=no
9598 library_names_spec='$libname${shared_ext} $libname.a'
9599 dynamic_linker='OS/2 ld.exe'
9600 shlibpath_var=LIBPATH
9603 osf3* | osf4* | osf5*)
9604 version_type=osf
9605 need_lib_prefix=no
9606 need_version=no
9607 soname_spec='${libname}${release}${shared_ext}$major'
9608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9609 shlibpath_var=LD_LIBRARY_PATH
9610 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9611 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9614 rdos*)
9615 dynamic_linker=no
9618 solaris*)
9619 version_type=linux
9620 need_lib_prefix=no
9621 need_version=no
9622 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9623 soname_spec='${libname}${release}${shared_ext}$major'
9624 shlibpath_var=LD_LIBRARY_PATH
9625 shlibpath_overrides_runpath=yes
9626 hardcode_into_libs=yes
9627 # ldd complains unless libraries are executable
9628 postinstall_cmds='chmod +x $lib'
9631 sunos4*)
9632 version_type=sunos
9633 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9634 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9635 shlibpath_var=LD_LIBRARY_PATH
9636 shlibpath_overrides_runpath=yes
9637 if test "$with_gnu_ld" = yes; then
9638 need_lib_prefix=no
9640 need_version=yes
9643 sysv4 | sysv4.3*)
9644 version_type=linux
9645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9646 soname_spec='${libname}${release}${shared_ext}$major'
9647 shlibpath_var=LD_LIBRARY_PATH
9648 case $host_vendor in
9649 sni)
9650 shlibpath_overrides_runpath=no
9651 need_lib_prefix=no
9652 runpath_var=LD_RUN_PATH
9654 siemens)
9655 need_lib_prefix=no
9657 motorola)
9658 need_lib_prefix=no
9659 need_version=no
9660 shlibpath_overrides_runpath=no
9661 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9663 esac
9666 sysv4*MP*)
9667 if test -d /usr/nec ;then
9668 version_type=linux
9669 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9670 soname_spec='$libname${shared_ext}.$major'
9671 shlibpath_var=LD_LIBRARY_PATH
9675 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9676 version_type=freebsd-elf
9677 need_lib_prefix=no
9678 need_version=no
9679 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9680 soname_spec='${libname}${release}${shared_ext}$major'
9681 shlibpath_var=LD_LIBRARY_PATH
9682 shlibpath_overrides_runpath=yes
9683 hardcode_into_libs=yes
9684 if test "$with_gnu_ld" = yes; then
9685 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9686 else
9687 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9688 case $host_os in
9689 sco3.2v5*)
9690 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9692 esac
9694 sys_lib_dlsearch_path_spec='/usr/lib'
9697 tpf*)
9698 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9699 version_type=linux
9700 need_lib_prefix=no
9701 need_version=no
9702 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9703 shlibpath_var=LD_LIBRARY_PATH
9704 shlibpath_overrides_runpath=no
9705 hardcode_into_libs=yes
9708 uts4*)
9709 version_type=linux
9710 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9711 soname_spec='${libname}${release}${shared_ext}$major'
9712 shlibpath_var=LD_LIBRARY_PATH
9716 dynamic_linker=no
9718 esac
9719 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9720 echo "${ECHO_T}$dynamic_linker" >&6
9721 test "$dynamic_linker" = no && can_build_shared=no
9723 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9724 if test "$GCC" = yes; then
9725 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9814 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9815 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9816 hardcode_action=
9817 if test -n "$hardcode_libdir_flag_spec" ||
9818 test -n "$runpath_var" ||
9819 test "X$hardcode_automatic" = "Xyes" ; then
9821 # We can hardcode non-existent directories.
9822 if test "$hardcode_direct" != no &&
9823 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9824 # have to relink, otherwise we might link with an installed library
9825 # when we should be linking with a yet-to-be-installed one
9826 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9827 test "$hardcode_minus_L" != no; then
9828 # Linking always hardcodes the temporary library directory.
9829 hardcode_action=relink
9830 else
9831 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9832 hardcode_action=immediate
9834 else
9835 # We cannot hardcode anything, or else we can only hardcode existing
9836 # directories.
9837 hardcode_action=unsupported
9839 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9840 echo "${ECHO_T}$hardcode_action" >&6
9842 if test "$hardcode_action" = relink ||
9843 test "$inherit_rpath" = yes; then
9844 # Fast installation is not supported
9845 enable_fast_install=no
9846 elif test "$shlibpath_overrides_runpath" = yes ||
9847 test "$enable_shared" = no; then
9848 # Fast installation is not necessary
9849 enable_fast_install=needless
9857 if test "x$enable_dlopen" != xyes; then
9858 enable_dlopen=unknown
9859 enable_dlopen_self=unknown
9860 enable_dlopen_self_static=unknown
9861 else
9862 lt_cv_dlopen=no
9863 lt_cv_dlopen_libs=
9865 case $host_os in
9866 beos*)
9867 lt_cv_dlopen="load_add_on"
9868 lt_cv_dlopen_libs=
9869 lt_cv_dlopen_self=yes
9872 mingw* | pw32*)
9873 lt_cv_dlopen="LoadLibrary"
9874 lt_cv_dlopen_libs=
9877 cygwin*)
9878 lt_cv_dlopen="dlopen"
9879 lt_cv_dlopen_libs=
9882 darwin*)
9883 # if libdl is installed we need to link against it
9884 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9885 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9886 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9887 echo $ECHO_N "(cached) $ECHO_C" >&6
9888 else
9889 ac_check_lib_save_LIBS=$LIBS
9890 LIBS="-ldl $LIBS"
9891 if test x$gcc_no_link = xyes; then
9892 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9894 { (exit 1); exit 1; }; }
9896 cat >conftest.$ac_ext <<_ACEOF
9897 /* confdefs.h. */
9898 _ACEOF
9899 cat confdefs.h >>conftest.$ac_ext
9900 cat >>conftest.$ac_ext <<_ACEOF
9901 /* end confdefs.h. */
9903 /* Override any gcc2 internal prototype to avoid an error. */
9904 #ifdef __cplusplus
9905 extern "C"
9906 #endif
9907 /* We use char because int might match the return type of a gcc2
9908 builtin and then its argument prototype would still apply. */
9909 char dlopen ();
9911 main ()
9913 dlopen ();
9915 return 0;
9917 _ACEOF
9918 rm -f conftest.$ac_objext conftest$ac_exeext
9919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9920 (eval $ac_link) 2>conftest.er1
9921 ac_status=$?
9922 grep -v '^ *+' conftest.er1 >conftest.err
9923 rm -f conftest.er1
9924 cat conftest.err >&5
9925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9926 (exit $ac_status); } &&
9927 { ac_try='test -z "$ac_c_werror_flag"
9928 || test ! -s conftest.err'
9929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9930 (eval $ac_try) 2>&5
9931 ac_status=$?
9932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9933 (exit $ac_status); }; } &&
9934 { ac_try='test -s conftest$ac_exeext'
9935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9936 (eval $ac_try) 2>&5
9937 ac_status=$?
9938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9939 (exit $ac_status); }; }; then
9940 ac_cv_lib_dl_dlopen=yes
9941 else
9942 echo "$as_me: failed program was:" >&5
9943 sed 's/^/| /' conftest.$ac_ext >&5
9945 ac_cv_lib_dl_dlopen=no
9947 rm -f conftest.err conftest.$ac_objext \
9948 conftest$ac_exeext conftest.$ac_ext
9949 LIBS=$ac_check_lib_save_LIBS
9951 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9952 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9953 if test $ac_cv_lib_dl_dlopen = yes; then
9954 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9955 else
9957 lt_cv_dlopen="dyld"
9958 lt_cv_dlopen_libs=
9959 lt_cv_dlopen_self=yes
9966 echo "$as_me:$LINENO: checking for shl_load" >&5
9967 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
9968 if test "${ac_cv_func_shl_load+set}" = set; then
9969 echo $ECHO_N "(cached) $ECHO_C" >&6
9970 else
9971 if test x$gcc_no_link = xyes; then
9972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9974 { (exit 1); exit 1; }; }
9976 cat >conftest.$ac_ext <<_ACEOF
9977 /* confdefs.h. */
9978 _ACEOF
9979 cat confdefs.h >>conftest.$ac_ext
9980 cat >>conftest.$ac_ext <<_ACEOF
9981 /* end confdefs.h. */
9982 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
9983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9984 #define shl_load innocuous_shl_load
9986 /* System header to define __stub macros and hopefully few prototypes,
9987 which can conflict with char shl_load (); below.
9988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9989 <limits.h> exists even on freestanding compilers. */
9991 #ifdef __STDC__
9992 # include <limits.h>
9993 #else
9994 # include <assert.h>
9995 #endif
9997 #undef shl_load
9999 /* Override any gcc2 internal prototype to avoid an error. */
10000 #ifdef __cplusplus
10001 extern "C"
10003 #endif
10004 /* We use char because int might match the return type of a gcc2
10005 builtin and then its argument prototype would still apply. */
10006 char shl_load ();
10007 /* The GNU C library defines this for functions which it implements
10008 to always fail with ENOSYS. Some functions are actually named
10009 something starting with __ and the normal name is an alias. */
10010 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10011 choke me
10012 #else
10013 char (*f) () = shl_load;
10014 #endif
10015 #ifdef __cplusplus
10017 #endif
10020 main ()
10022 return f != shl_load;
10024 return 0;
10026 _ACEOF
10027 rm -f conftest.$ac_objext conftest$ac_exeext
10028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10029 (eval $ac_link) 2>conftest.er1
10030 ac_status=$?
10031 grep -v '^ *+' conftest.er1 >conftest.err
10032 rm -f conftest.er1
10033 cat conftest.err >&5
10034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10035 (exit $ac_status); } &&
10036 { ac_try='test -z "$ac_c_werror_flag"
10037 || test ! -s conftest.err'
10038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10039 (eval $ac_try) 2>&5
10040 ac_status=$?
10041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10042 (exit $ac_status); }; } &&
10043 { ac_try='test -s conftest$ac_exeext'
10044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10045 (eval $ac_try) 2>&5
10046 ac_status=$?
10047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10048 (exit $ac_status); }; }; then
10049 ac_cv_func_shl_load=yes
10050 else
10051 echo "$as_me: failed program was:" >&5
10052 sed 's/^/| /' conftest.$ac_ext >&5
10054 ac_cv_func_shl_load=no
10056 rm -f conftest.err conftest.$ac_objext \
10057 conftest$ac_exeext conftest.$ac_ext
10059 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10060 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10061 if test $ac_cv_func_shl_load = yes; then
10062 lt_cv_dlopen="shl_load"
10063 else
10064 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10065 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10066 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10067 echo $ECHO_N "(cached) $ECHO_C" >&6
10068 else
10069 ac_check_lib_save_LIBS=$LIBS
10070 LIBS="-ldld $LIBS"
10071 if test x$gcc_no_link = xyes; then
10072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10074 { (exit 1); exit 1; }; }
10076 cat >conftest.$ac_ext <<_ACEOF
10077 /* confdefs.h. */
10078 _ACEOF
10079 cat confdefs.h >>conftest.$ac_ext
10080 cat >>conftest.$ac_ext <<_ACEOF
10081 /* end confdefs.h. */
10083 /* Override any gcc2 internal prototype to avoid an error. */
10084 #ifdef __cplusplus
10085 extern "C"
10086 #endif
10087 /* We use char because int might match the return type of a gcc2
10088 builtin and then its argument prototype would still apply. */
10089 char shl_load ();
10091 main ()
10093 shl_load ();
10095 return 0;
10097 _ACEOF
10098 rm -f conftest.$ac_objext conftest$ac_exeext
10099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10100 (eval $ac_link) 2>conftest.er1
10101 ac_status=$?
10102 grep -v '^ *+' conftest.er1 >conftest.err
10103 rm -f conftest.er1
10104 cat conftest.err >&5
10105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10106 (exit $ac_status); } &&
10107 { ac_try='test -z "$ac_c_werror_flag"
10108 || test ! -s conftest.err'
10109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10110 (eval $ac_try) 2>&5
10111 ac_status=$?
10112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10113 (exit $ac_status); }; } &&
10114 { ac_try='test -s conftest$ac_exeext'
10115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10116 (eval $ac_try) 2>&5
10117 ac_status=$?
10118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10119 (exit $ac_status); }; }; then
10120 ac_cv_lib_dld_shl_load=yes
10121 else
10122 echo "$as_me: failed program was:" >&5
10123 sed 's/^/| /' conftest.$ac_ext >&5
10125 ac_cv_lib_dld_shl_load=no
10127 rm -f conftest.err conftest.$ac_objext \
10128 conftest$ac_exeext conftest.$ac_ext
10129 LIBS=$ac_check_lib_save_LIBS
10131 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10132 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10133 if test $ac_cv_lib_dld_shl_load = yes; then
10134 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10135 else
10136 echo "$as_me:$LINENO: checking for dlopen" >&5
10137 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10138 if test "${ac_cv_func_dlopen+set}" = set; then
10139 echo $ECHO_N "(cached) $ECHO_C" >&6
10140 else
10141 if test x$gcc_no_link = xyes; then
10142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10144 { (exit 1); exit 1; }; }
10146 cat >conftest.$ac_ext <<_ACEOF
10147 /* confdefs.h. */
10148 _ACEOF
10149 cat confdefs.h >>conftest.$ac_ext
10150 cat >>conftest.$ac_ext <<_ACEOF
10151 /* end confdefs.h. */
10152 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10154 #define dlopen innocuous_dlopen
10156 /* System header to define __stub macros and hopefully few prototypes,
10157 which can conflict with char dlopen (); below.
10158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10159 <limits.h> exists even on freestanding compilers. */
10161 #ifdef __STDC__
10162 # include <limits.h>
10163 #else
10164 # include <assert.h>
10165 #endif
10167 #undef dlopen
10169 /* Override any gcc2 internal prototype to avoid an error. */
10170 #ifdef __cplusplus
10171 extern "C"
10173 #endif
10174 /* We use char because int might match the return type of a gcc2
10175 builtin and then its argument prototype would still apply. */
10176 char dlopen ();
10177 /* The GNU C library defines this for functions which it implements
10178 to always fail with ENOSYS. Some functions are actually named
10179 something starting with __ and the normal name is an alias. */
10180 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10181 choke me
10182 #else
10183 char (*f) () = dlopen;
10184 #endif
10185 #ifdef __cplusplus
10187 #endif
10190 main ()
10192 return f != dlopen;
10194 return 0;
10196 _ACEOF
10197 rm -f conftest.$ac_objext conftest$ac_exeext
10198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10199 (eval $ac_link) 2>conftest.er1
10200 ac_status=$?
10201 grep -v '^ *+' conftest.er1 >conftest.err
10202 rm -f conftest.er1
10203 cat conftest.err >&5
10204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10205 (exit $ac_status); } &&
10206 { ac_try='test -z "$ac_c_werror_flag"
10207 || test ! -s conftest.err'
10208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10209 (eval $ac_try) 2>&5
10210 ac_status=$?
10211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10212 (exit $ac_status); }; } &&
10213 { ac_try='test -s conftest$ac_exeext'
10214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10215 (eval $ac_try) 2>&5
10216 ac_status=$?
10217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10218 (exit $ac_status); }; }; then
10219 ac_cv_func_dlopen=yes
10220 else
10221 echo "$as_me: failed program was:" >&5
10222 sed 's/^/| /' conftest.$ac_ext >&5
10224 ac_cv_func_dlopen=no
10226 rm -f conftest.err conftest.$ac_objext \
10227 conftest$ac_exeext conftest.$ac_ext
10229 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10230 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10231 if test $ac_cv_func_dlopen = yes; then
10232 lt_cv_dlopen="dlopen"
10233 else
10234 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10235 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10236 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10237 echo $ECHO_N "(cached) $ECHO_C" >&6
10238 else
10239 ac_check_lib_save_LIBS=$LIBS
10240 LIBS="-ldl $LIBS"
10241 if test x$gcc_no_link = xyes; then
10242 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10244 { (exit 1); exit 1; }; }
10246 cat >conftest.$ac_ext <<_ACEOF
10247 /* confdefs.h. */
10248 _ACEOF
10249 cat confdefs.h >>conftest.$ac_ext
10250 cat >>conftest.$ac_ext <<_ACEOF
10251 /* end confdefs.h. */
10253 /* Override any gcc2 internal prototype to avoid an error. */
10254 #ifdef __cplusplus
10255 extern "C"
10256 #endif
10257 /* We use char because int might match the return type of a gcc2
10258 builtin and then its argument prototype would still apply. */
10259 char dlopen ();
10261 main ()
10263 dlopen ();
10265 return 0;
10267 _ACEOF
10268 rm -f conftest.$ac_objext conftest$ac_exeext
10269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10270 (eval $ac_link) 2>conftest.er1
10271 ac_status=$?
10272 grep -v '^ *+' conftest.er1 >conftest.err
10273 rm -f conftest.er1
10274 cat conftest.err >&5
10275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10276 (exit $ac_status); } &&
10277 { ac_try='test -z "$ac_c_werror_flag"
10278 || test ! -s conftest.err'
10279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10280 (eval $ac_try) 2>&5
10281 ac_status=$?
10282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10283 (exit $ac_status); }; } &&
10284 { ac_try='test -s conftest$ac_exeext'
10285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10286 (eval $ac_try) 2>&5
10287 ac_status=$?
10288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10289 (exit $ac_status); }; }; then
10290 ac_cv_lib_dl_dlopen=yes
10291 else
10292 echo "$as_me: failed program was:" >&5
10293 sed 's/^/| /' conftest.$ac_ext >&5
10295 ac_cv_lib_dl_dlopen=no
10297 rm -f conftest.err conftest.$ac_objext \
10298 conftest$ac_exeext conftest.$ac_ext
10299 LIBS=$ac_check_lib_save_LIBS
10301 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10302 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10303 if test $ac_cv_lib_dl_dlopen = yes; then
10304 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10305 else
10306 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10307 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10308 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10309 echo $ECHO_N "(cached) $ECHO_C" >&6
10310 else
10311 ac_check_lib_save_LIBS=$LIBS
10312 LIBS="-lsvld $LIBS"
10313 if test x$gcc_no_link = xyes; then
10314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10316 { (exit 1); exit 1; }; }
10318 cat >conftest.$ac_ext <<_ACEOF
10319 /* confdefs.h. */
10320 _ACEOF
10321 cat confdefs.h >>conftest.$ac_ext
10322 cat >>conftest.$ac_ext <<_ACEOF
10323 /* end confdefs.h. */
10325 /* Override any gcc2 internal prototype to avoid an error. */
10326 #ifdef __cplusplus
10327 extern "C"
10328 #endif
10329 /* We use char because int might match the return type of a gcc2
10330 builtin and then its argument prototype would still apply. */
10331 char dlopen ();
10333 main ()
10335 dlopen ();
10337 return 0;
10339 _ACEOF
10340 rm -f conftest.$ac_objext conftest$ac_exeext
10341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10342 (eval $ac_link) 2>conftest.er1
10343 ac_status=$?
10344 grep -v '^ *+' conftest.er1 >conftest.err
10345 rm -f conftest.er1
10346 cat conftest.err >&5
10347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10348 (exit $ac_status); } &&
10349 { ac_try='test -z "$ac_c_werror_flag"
10350 || test ! -s conftest.err'
10351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10352 (eval $ac_try) 2>&5
10353 ac_status=$?
10354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10355 (exit $ac_status); }; } &&
10356 { ac_try='test -s conftest$ac_exeext'
10357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10358 (eval $ac_try) 2>&5
10359 ac_status=$?
10360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10361 (exit $ac_status); }; }; then
10362 ac_cv_lib_svld_dlopen=yes
10363 else
10364 echo "$as_me: failed program was:" >&5
10365 sed 's/^/| /' conftest.$ac_ext >&5
10367 ac_cv_lib_svld_dlopen=no
10369 rm -f conftest.err conftest.$ac_objext \
10370 conftest$ac_exeext conftest.$ac_ext
10371 LIBS=$ac_check_lib_save_LIBS
10373 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10374 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10375 if test $ac_cv_lib_svld_dlopen = yes; then
10376 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10377 else
10378 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10379 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10380 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10381 echo $ECHO_N "(cached) $ECHO_C" >&6
10382 else
10383 ac_check_lib_save_LIBS=$LIBS
10384 LIBS="-ldld $LIBS"
10385 if test x$gcc_no_link = xyes; then
10386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10388 { (exit 1); exit 1; }; }
10390 cat >conftest.$ac_ext <<_ACEOF
10391 /* confdefs.h. */
10392 _ACEOF
10393 cat confdefs.h >>conftest.$ac_ext
10394 cat >>conftest.$ac_ext <<_ACEOF
10395 /* end confdefs.h. */
10397 /* Override any gcc2 internal prototype to avoid an error. */
10398 #ifdef __cplusplus
10399 extern "C"
10400 #endif
10401 /* We use char because int might match the return type of a gcc2
10402 builtin and then its argument prototype would still apply. */
10403 char dld_link ();
10405 main ()
10407 dld_link ();
10409 return 0;
10411 _ACEOF
10412 rm -f conftest.$ac_objext conftest$ac_exeext
10413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10414 (eval $ac_link) 2>conftest.er1
10415 ac_status=$?
10416 grep -v '^ *+' conftest.er1 >conftest.err
10417 rm -f conftest.er1
10418 cat conftest.err >&5
10419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10420 (exit $ac_status); } &&
10421 { ac_try='test -z "$ac_c_werror_flag"
10422 || test ! -s conftest.err'
10423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10424 (eval $ac_try) 2>&5
10425 ac_status=$?
10426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10427 (exit $ac_status); }; } &&
10428 { ac_try='test -s conftest$ac_exeext'
10429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10430 (eval $ac_try) 2>&5
10431 ac_status=$?
10432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10433 (exit $ac_status); }; }; then
10434 ac_cv_lib_dld_dld_link=yes
10435 else
10436 echo "$as_me: failed program was:" >&5
10437 sed 's/^/| /' conftest.$ac_ext >&5
10439 ac_cv_lib_dld_dld_link=no
10441 rm -f conftest.err conftest.$ac_objext \
10442 conftest$ac_exeext conftest.$ac_ext
10443 LIBS=$ac_check_lib_save_LIBS
10445 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10446 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10447 if test $ac_cv_lib_dld_dld_link = yes; then
10448 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10467 esac
10469 if test "x$lt_cv_dlopen" != xno; then
10470 enable_dlopen=yes
10471 else
10472 enable_dlopen=no
10475 case $lt_cv_dlopen in
10476 dlopen)
10477 save_CPPFLAGS="$CPPFLAGS"
10478 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10480 save_LDFLAGS="$LDFLAGS"
10481 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10483 save_LIBS="$LIBS"
10484 LIBS="$lt_cv_dlopen_libs $LIBS"
10486 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10487 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10488 if test "${lt_cv_dlopen_self+set}" = set; then
10489 echo $ECHO_N "(cached) $ECHO_C" >&6
10490 else
10491 if test "$cross_compiling" = yes; then :
10492 lt_cv_dlopen_self=cross
10493 else
10494 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10495 lt_status=$lt_dlunknown
10496 cat > conftest.$ac_ext <<_LT_EOF
10497 #line 10497 "configure"
10498 #include "confdefs.h"
10500 #if HAVE_DLFCN_H
10501 #include <dlfcn.h>
10502 #endif
10504 #include <stdio.h>
10506 #ifdef RTLD_GLOBAL
10507 # define LT_DLGLOBAL RTLD_GLOBAL
10508 #else
10509 # ifdef DL_GLOBAL
10510 # define LT_DLGLOBAL DL_GLOBAL
10511 # else
10512 # define LT_DLGLOBAL 0
10513 # endif
10514 #endif
10516 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10517 find out it does not work in some platform. */
10518 #ifndef LT_DLLAZY_OR_NOW
10519 # ifdef RTLD_LAZY
10520 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10521 # else
10522 # ifdef DL_LAZY
10523 # define LT_DLLAZY_OR_NOW DL_LAZY
10524 # else
10525 # ifdef RTLD_NOW
10526 # define LT_DLLAZY_OR_NOW RTLD_NOW
10527 # else
10528 # ifdef DL_NOW
10529 # define LT_DLLAZY_OR_NOW DL_NOW
10530 # else
10531 # define LT_DLLAZY_OR_NOW 0
10532 # endif
10533 # endif
10534 # endif
10535 # endif
10536 #endif
10538 #ifdef __cplusplus
10539 extern "C" void exit (int);
10540 #endif
10542 void fnord() { int i=42;}
10543 int main ()
10545 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10546 int status = $lt_dlunknown;
10548 if (self)
10550 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10551 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10552 /* dlclose (self); */
10554 else
10555 puts (dlerror ());
10557 exit (status);
10559 _LT_EOF
10560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10561 (eval $ac_link) 2>&5
10562 ac_status=$?
10563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10564 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10565 (./conftest; exit; ) >&5 2>/dev/null
10566 lt_status=$?
10567 case x$lt_status in
10568 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10569 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10570 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10571 esac
10572 else :
10573 # compilation failed
10574 lt_cv_dlopen_self=no
10577 rm -fr conftest*
10581 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10582 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10584 if test "x$lt_cv_dlopen_self" = xyes; then
10585 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10586 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10587 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10588 if test "${lt_cv_dlopen_self_static+set}" = set; then
10589 echo $ECHO_N "(cached) $ECHO_C" >&6
10590 else
10591 if test "$cross_compiling" = yes; then :
10592 lt_cv_dlopen_self_static=cross
10593 else
10594 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10595 lt_status=$lt_dlunknown
10596 cat > conftest.$ac_ext <<_LT_EOF
10597 #line 10597 "configure"
10598 #include "confdefs.h"
10600 #if HAVE_DLFCN_H
10601 #include <dlfcn.h>
10602 #endif
10604 #include <stdio.h>
10606 #ifdef RTLD_GLOBAL
10607 # define LT_DLGLOBAL RTLD_GLOBAL
10608 #else
10609 # ifdef DL_GLOBAL
10610 # define LT_DLGLOBAL DL_GLOBAL
10611 # else
10612 # define LT_DLGLOBAL 0
10613 # endif
10614 #endif
10616 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10617 find out it does not work in some platform. */
10618 #ifndef LT_DLLAZY_OR_NOW
10619 # ifdef RTLD_LAZY
10620 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10621 # else
10622 # ifdef DL_LAZY
10623 # define LT_DLLAZY_OR_NOW DL_LAZY
10624 # else
10625 # ifdef RTLD_NOW
10626 # define LT_DLLAZY_OR_NOW RTLD_NOW
10627 # else
10628 # ifdef DL_NOW
10629 # define LT_DLLAZY_OR_NOW DL_NOW
10630 # else
10631 # define LT_DLLAZY_OR_NOW 0
10632 # endif
10633 # endif
10634 # endif
10635 # endif
10636 #endif
10638 #ifdef __cplusplus
10639 extern "C" void exit (int);
10640 #endif
10642 void fnord() { int i=42;}
10643 int main ()
10645 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10646 int status = $lt_dlunknown;
10648 if (self)
10650 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10651 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10652 /* dlclose (self); */
10654 else
10655 puts (dlerror ());
10657 exit (status);
10659 _LT_EOF
10660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10661 (eval $ac_link) 2>&5
10662 ac_status=$?
10663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10664 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10665 (./conftest; exit; ) >&5 2>/dev/null
10666 lt_status=$?
10667 case x$lt_status in
10668 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10669 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10670 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10671 esac
10672 else :
10673 # compilation failed
10674 lt_cv_dlopen_self_static=no
10677 rm -fr conftest*
10681 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10682 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10685 CPPFLAGS="$save_CPPFLAGS"
10686 LDFLAGS="$save_LDFLAGS"
10687 LIBS="$save_LIBS"
10689 esac
10691 case $lt_cv_dlopen_self in
10692 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10693 *) enable_dlopen_self=unknown ;;
10694 esac
10696 case $lt_cv_dlopen_self_static in
10697 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10698 *) enable_dlopen_self_static=unknown ;;
10699 esac
10718 striplib=
10719 old_striplib=
10720 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10721 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10722 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10723 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10724 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10725 echo "$as_me:$LINENO: result: yes" >&5
10726 echo "${ECHO_T}yes" >&6
10727 else
10728 # FIXME - insert some real tests, host_os isn't really good enough
10729 case $host_os in
10730 darwin*)
10731 if test -n "$STRIP" ; then
10732 striplib="$STRIP -x"
10733 old_striplib="$STRIP -S"
10734 echo "$as_me:$LINENO: result: yes" >&5
10735 echo "${ECHO_T}yes" >&6
10736 else
10737 echo "$as_me:$LINENO: result: no" >&5
10738 echo "${ECHO_T}no" >&6
10742 echo "$as_me:$LINENO: result: no" >&5
10743 echo "${ECHO_T}no" >&6
10745 esac
10759 # Report which library types will actually be built
10760 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10761 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10762 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10763 echo "${ECHO_T}$can_build_shared" >&6
10765 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10766 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10767 test "$can_build_shared" = "no" && enable_shared=no
10769 # On AIX, shared libraries and static libraries use the same namespace, and
10770 # are all built from PIC.
10771 case $host_os in
10772 aix3*)
10773 test "$enable_shared" = yes && enable_static=no
10774 if test -n "$RANLIB"; then
10775 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10776 postinstall_cmds='$RANLIB $lib'
10780 aix[4-9]*)
10781 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10782 test "$enable_shared" = yes && enable_static=no
10785 esac
10786 echo "$as_me:$LINENO: result: $enable_shared" >&5
10787 echo "${ECHO_T}$enable_shared" >&6
10789 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10790 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10791 # Make sure either enable_shared or enable_static is yes.
10792 test "$enable_shared" = yes || enable_static=yes
10793 echo "$as_me:$LINENO: result: $enable_static" >&5
10794 echo "${ECHO_T}$enable_static" >&6
10800 ac_ext=c
10801 ac_cpp='$CPP $CPPFLAGS'
10802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10806 CC="$lt_save_CC"
10809 ac_ext=cc
10810 ac_cpp='$CXXCPP $CPPFLAGS'
10811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10815 archive_cmds_need_lc_CXX=no
10816 allow_undefined_flag_CXX=
10817 always_export_symbols_CXX=no
10818 archive_expsym_cmds_CXX=
10819 compiler_needs_object_CXX=no
10820 export_dynamic_flag_spec_CXX=
10821 hardcode_direct_CXX=no
10822 hardcode_direct_absolute_CXX=no
10823 hardcode_libdir_flag_spec_CXX=
10824 hardcode_libdir_flag_spec_ld_CXX=
10825 hardcode_libdir_separator_CXX=
10826 hardcode_minus_L_CXX=no
10827 hardcode_shlibpath_var_CXX=unsupported
10828 hardcode_automatic_CXX=no
10829 inherit_rpath_CXX=no
10830 module_cmds_CXX=
10831 module_expsym_cmds_CXX=
10832 link_all_deplibs_CXX=unknown
10833 old_archive_cmds_CXX=$old_archive_cmds
10834 no_undefined_flag_CXX=
10835 whole_archive_flag_spec_CXX=
10836 enable_shared_with_static_runtimes_CXX=no
10838 # Source file extension for C++ test sources.
10839 ac_ext=cpp
10841 # Object file extension for compiled C++ test sources.
10842 objext=o
10843 objext_CXX=$objext
10845 # No sense in running all these tests if we already determined that
10846 # the CXX compiler isn't working. Some variables (like enable_shared)
10847 # are currently assumed to apply to all compilers on this platform,
10848 # and will be corrupted by setting them based on a non-working compiler.
10849 if test "$_lt_caught_CXX_error" != yes; then
10850 # Code to be used in simple compile tests
10851 lt_simple_compile_test_code="int some_variable = 0;"
10853 # Code to be used in simple link tests
10854 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10856 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10863 # If no C compiler was specified, use CC.
10864 LTCC=${LTCC-"$CC"}
10866 # If no C compiler flags were specified, use CFLAGS.
10867 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10869 # Allow CC to be a program name with arguments.
10870 compiler=$CC
10873 # save warnings/boilerplate of simple test code
10874 ac_outfile=conftest.$ac_objext
10875 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10876 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10877 _lt_compiler_boilerplate=`cat conftest.err`
10878 $RM conftest*
10880 ac_outfile=conftest.$ac_objext
10881 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10882 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10883 _lt_linker_boilerplate=`cat conftest.err`
10884 $RM conftest*
10887 # Allow CC to be a program name with arguments.
10888 lt_save_CC=$CC
10889 lt_save_LD=$LD
10890 lt_save_GCC=$GCC
10891 GCC=$GXX
10892 lt_save_with_gnu_ld=$with_gnu_ld
10893 lt_save_path_LD=$lt_cv_path_LD
10894 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10895 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10896 else
10897 $as_unset lt_cv_prog_gnu_ld
10899 if test -n "${lt_cv_path_LDCXX+set}"; then
10900 lt_cv_path_LD=$lt_cv_path_LDCXX
10901 else
10902 $as_unset lt_cv_path_LD
10904 test -z "${LDCXX+set}" || LD=$LDCXX
10905 CC=${CXX-"c++"}
10906 compiler=$CC
10907 compiler_CXX=$CC
10908 for cc_temp in $compiler""; do
10909 case $cc_temp in
10910 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10911 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10912 \-*) ;;
10913 *) break;;
10914 esac
10915 done
10916 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10919 if test -n "$compiler"; then
10920 # We don't want -fno-exception when compiling C++ code, so set the
10921 # no_builtin_flag separately
10922 if test "$GXX" = yes; then
10923 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10924 else
10925 lt_prog_compiler_no_builtin_flag_CXX=
10928 if test "$GXX" = yes; then
10929 # Set up default GNU C++ configuration
10933 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10934 if test "${with_gnu_ld+set}" = set; then
10935 withval="$with_gnu_ld"
10936 test "$withval" = no || with_gnu_ld=yes
10937 else
10938 with_gnu_ld=no
10940 ac_prog=ld
10941 if test "$GCC" = yes; then
10942 # Check if gcc -print-prog-name=ld gives a path.
10943 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10944 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10945 case $host in
10946 *-*-mingw*)
10947 # gcc leaves a trailing carriage return which upsets mingw
10948 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10950 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10951 esac
10952 case $ac_prog in
10953 # Accept absolute paths.
10954 [\\/]* | ?:[\\/]*)
10955 re_direlt='/[^/][^/]*/\.\./'
10956 # Canonicalize the pathname of ld
10957 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
10958 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
10959 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
10960 done
10961 test -z "$LD" && LD="$ac_prog"
10964 # If it fails, then pretend we aren't using GCC.
10965 ac_prog=ld
10968 # If it is relative, then search for the first ld in PATH.
10969 with_gnu_ld=unknown
10971 esac
10972 elif test "$with_gnu_ld" = yes; then
10973 echo "$as_me:$LINENO: checking for GNU ld" >&5
10974 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10975 else
10976 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10977 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10979 if test "${lt_cv_path_LD+set}" = set; then
10980 echo $ECHO_N "(cached) $ECHO_C" >&6
10981 else
10982 if test -z "$LD"; then
10983 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10984 for ac_dir in $PATH; do
10985 IFS="$lt_save_ifs"
10986 test -z "$ac_dir" && ac_dir=.
10987 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10988 lt_cv_path_LD="$ac_dir/$ac_prog"
10989 # Check to see if the program is GNU ld. I'd rather use --version,
10990 # but apparently some variants of GNU ld only accept -v.
10991 # Break only if it was the GNU/non-GNU ld that we prefer.
10992 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
10993 *GNU* | *'with BFD'*)
10994 test "$with_gnu_ld" != no && break
10997 test "$with_gnu_ld" != yes && break
10999 esac
11001 done
11002 IFS="$lt_save_ifs"
11003 else
11004 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11008 LD="$lt_cv_path_LD"
11009 if test -n "$LD"; then
11010 echo "$as_me:$LINENO: result: $LD" >&5
11011 echo "${ECHO_T}$LD" >&6
11012 else
11013 echo "$as_me:$LINENO: result: no" >&5
11014 echo "${ECHO_T}no" >&6
11016 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11017 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11018 { (exit 1); exit 1; }; }
11019 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11020 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11021 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11022 echo $ECHO_N "(cached) $ECHO_C" >&6
11023 else
11024 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11025 case `$LD -v 2>&1 </dev/null` in
11026 *GNU* | *'with BFD'*)
11027 lt_cv_prog_gnu_ld=yes
11030 lt_cv_prog_gnu_ld=no
11032 esac
11034 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11035 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11036 with_gnu_ld=$lt_cv_prog_gnu_ld
11044 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11045 # archiving commands below assume that GNU ld is being used.
11046 if test "$with_gnu_ld" = yes; then
11047 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11048 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'
11050 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11051 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11053 # If archive_cmds runs LD, not CC, wlarc should be empty
11054 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11055 # investigate it a little bit more. (MM)
11056 wlarc='${wl}'
11058 # ancient GNU ld didn't support --whole-archive et. al.
11059 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11060 $GREP 'no-whole-archive' > /dev/null; then
11061 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11062 else
11063 whole_archive_flag_spec_CXX=
11065 else
11066 with_gnu_ld=no
11067 wlarc=
11069 # A generic and very simple default shared library creation
11070 # command for GNU C++ for the case where it uses the native
11071 # linker, instead of GNU ld. If possible, this setting should
11072 # overridden to take advantage of the native linker features on
11073 # the platform it is being used on.
11074 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11077 # Commands to make compiler produce verbose output that lists
11078 # what "hidden" libraries, object files and flags are used when
11079 # linking a shared library.
11080 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11082 else
11083 GXX=no
11084 with_gnu_ld=no
11085 wlarc=
11088 # PORTME: fill in a description of your system's C++ link characteristics
11089 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11090 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11091 ld_shlibs_CXX=yes
11092 case $host_os in
11093 aix3*)
11094 # FIXME: insert proper C++ library support
11095 ld_shlibs_CXX=no
11097 aix[4-9]*)
11098 if test "$host_cpu" = ia64; then
11099 # On IA64, the linker does run time linking by default, so we don't
11100 # have to do anything special.
11101 aix_use_runtimelinking=no
11102 exp_sym_flag='-Bexport'
11103 no_entry_flag=""
11104 else
11105 aix_use_runtimelinking=no
11107 # Test if we are trying to use run time linking or normal
11108 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11109 # need to do runtime linking.
11110 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11111 for ld_flag in $LDFLAGS; do
11112 case $ld_flag in
11113 *-brtl*)
11114 aix_use_runtimelinking=yes
11115 break
11117 esac
11118 done
11120 esac
11122 exp_sym_flag='-bexport'
11123 no_entry_flag='-bnoentry'
11126 # When large executables or shared objects are built, AIX ld can
11127 # have problems creating the table of contents. If linking a library
11128 # or program results in "error TOC overflow" add -mminimal-toc to
11129 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11130 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11132 archive_cmds_CXX=''
11133 hardcode_direct_CXX=yes
11134 hardcode_direct_absolute_CXX=yes
11135 hardcode_libdir_separator_CXX=':'
11136 link_all_deplibs_CXX=yes
11137 file_list_spec_CXX='${wl}-f,'
11139 if test "$GXX" = yes; then
11140 case $host_os in aix4.[012]|aix4.[012].*)
11141 # We only want to do this on AIX 4.2 and lower, the check
11142 # below for broken collect2 doesn't work under 4.3+
11143 collect2name=`${CC} -print-prog-name=collect2`
11144 if test -f "$collect2name" &&
11145 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11146 then
11147 # We have reworked collect2
11149 else
11150 # We have old collect2
11151 hardcode_direct_CXX=unsupported
11152 # It fails to find uninstalled libraries when the uninstalled
11153 # path is not listed in the libpath. Setting hardcode_minus_L
11154 # to unsupported forces relinking
11155 hardcode_minus_L_CXX=yes
11156 hardcode_libdir_flag_spec_CXX='-L$libdir'
11157 hardcode_libdir_separator_CXX=
11159 esac
11160 shared_flag='-shared'
11161 if test "$aix_use_runtimelinking" = yes; then
11162 shared_flag="$shared_flag "'${wl}-G'
11164 else
11165 # not using gcc
11166 if test "$host_cpu" = ia64; then
11167 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11168 # chokes on -Wl,-G. The following line is correct:
11169 shared_flag='-G'
11170 else
11171 if test "$aix_use_runtimelinking" = yes; then
11172 shared_flag='${wl}-G'
11173 else
11174 shared_flag='${wl}-bM:SRE'
11179 # It seems that -bexpall does not export symbols beginning with
11180 # underscore (_), so it is better to generate a list of symbols to
11181 # export.
11182 always_export_symbols_CXX=yes
11183 if test "$aix_use_runtimelinking" = yes; then
11184 # Warning - without using the other runtime loading flags (-brtl),
11185 # -berok will link without error, but may produce a broken library.
11186 allow_undefined_flag_CXX='-berok'
11187 # Determine the default libpath from the value encoded in an empty
11188 # executable.
11189 if test x$gcc_no_link = xyes; then
11190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11192 { (exit 1); exit 1; }; }
11194 cat >conftest.$ac_ext <<_ACEOF
11195 /* confdefs.h. */
11196 _ACEOF
11197 cat confdefs.h >>conftest.$ac_ext
11198 cat >>conftest.$ac_ext <<_ACEOF
11199 /* end confdefs.h. */
11202 main ()
11206 return 0;
11208 _ACEOF
11209 rm -f conftest.$ac_objext conftest$ac_exeext
11210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11211 (eval $ac_link) 2>conftest.er1
11212 ac_status=$?
11213 grep -v '^ *+' conftest.er1 >conftest.err
11214 rm -f conftest.er1
11215 cat conftest.err >&5
11216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11217 (exit $ac_status); } &&
11218 { ac_try='test -z "$ac_cxx_werror_flag"
11219 || test ! -s conftest.err'
11220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11221 (eval $ac_try) 2>&5
11222 ac_status=$?
11223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11224 (exit $ac_status); }; } &&
11225 { ac_try='test -s conftest$ac_exeext'
11226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11227 (eval $ac_try) 2>&5
11228 ac_status=$?
11229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11230 (exit $ac_status); }; }; then
11232 lt_aix_libpath_sed='
11233 /Import File Strings/,/^$/ {
11234 /^0/ {
11235 s/^0 *\(.*\)$/\1/
11239 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11240 # Check for a 64-bit object if we didn't find anything.
11241 if test -z "$aix_libpath"; then
11242 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11244 else
11245 echo "$as_me: failed program was:" >&5
11246 sed 's/^/| /' conftest.$ac_ext >&5
11249 rm -f conftest.err conftest.$ac_objext \
11250 conftest$ac_exeext conftest.$ac_ext
11251 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11253 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11255 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"
11256 else
11257 if test "$host_cpu" = ia64; then
11258 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11259 allow_undefined_flag_CXX="-z nodefs"
11260 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"
11261 else
11262 # Determine the default libpath from the value encoded in an
11263 # empty executable.
11264 if test x$gcc_no_link = xyes; then
11265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11267 { (exit 1); exit 1; }; }
11269 cat >conftest.$ac_ext <<_ACEOF
11270 /* confdefs.h. */
11271 _ACEOF
11272 cat confdefs.h >>conftest.$ac_ext
11273 cat >>conftest.$ac_ext <<_ACEOF
11274 /* end confdefs.h. */
11277 main ()
11281 return 0;
11283 _ACEOF
11284 rm -f conftest.$ac_objext conftest$ac_exeext
11285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11286 (eval $ac_link) 2>conftest.er1
11287 ac_status=$?
11288 grep -v '^ *+' conftest.er1 >conftest.err
11289 rm -f conftest.er1
11290 cat conftest.err >&5
11291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11292 (exit $ac_status); } &&
11293 { ac_try='test -z "$ac_cxx_werror_flag"
11294 || test ! -s conftest.err'
11295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11296 (eval $ac_try) 2>&5
11297 ac_status=$?
11298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11299 (exit $ac_status); }; } &&
11300 { ac_try='test -s conftest$ac_exeext'
11301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11302 (eval $ac_try) 2>&5
11303 ac_status=$?
11304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11305 (exit $ac_status); }; }; then
11307 lt_aix_libpath_sed='
11308 /Import File Strings/,/^$/ {
11309 /^0/ {
11310 s/^0 *\(.*\)$/\1/
11314 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11315 # Check for a 64-bit object if we didn't find anything.
11316 if test -z "$aix_libpath"; then
11317 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11319 else
11320 echo "$as_me: failed program was:" >&5
11321 sed 's/^/| /' conftest.$ac_ext >&5
11324 rm -f conftest.err conftest.$ac_objext \
11325 conftest$ac_exeext conftest.$ac_ext
11326 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11328 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11329 # Warning - without using the other run time loading flags,
11330 # -berok will link without error, but may produce a broken library.
11331 no_undefined_flag_CXX=' ${wl}-bernotok'
11332 allow_undefined_flag_CXX=' ${wl}-berok'
11333 # Exported symbols can be pulled into shared objects from archives
11334 whole_archive_flag_spec_CXX='$convenience'
11335 archive_cmds_need_lc_CXX=yes
11336 # This is similar to how AIX traditionally builds its shared
11337 # libraries.
11338 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'
11343 beos*)
11344 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11345 allow_undefined_flag_CXX=unsupported
11346 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11347 # support --undefined. This deserves some investigation. FIXME
11348 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11349 else
11350 ld_shlibs_CXX=no
11354 chorus*)
11355 case $cc_basename in
11357 # FIXME: insert proper C++ library support
11358 ld_shlibs_CXX=no
11360 esac
11363 cygwin* | mingw* | pw32*)
11364 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11365 # as there is no search path for DLLs.
11366 hardcode_libdir_flag_spec_CXX='-L$libdir'
11367 allow_undefined_flag_CXX=unsupported
11368 always_export_symbols_CXX=no
11369 enable_shared_with_static_runtimes_CXX=yes
11371 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11372 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'
11373 # If the export-symbols file already is a .def file (1st line
11374 # is EXPORTS), use it as is; otherwise, prepend...
11375 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11376 cp $export_symbols $output_objdir/$soname.def;
11377 else
11378 echo EXPORTS > $output_objdir/$soname.def;
11379 cat $export_symbols >> $output_objdir/$soname.def;
11381 $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'
11382 else
11383 ld_shlibs_CXX=no
11386 darwin* | rhapsody*)
11387 case $host_os in
11388 rhapsody* | darwin1.[012])
11389 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11391 *) # Darwin 1.3 on
11392 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
11393 10.[012])
11394 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11396 10.*)
11397 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11399 esac
11401 esac
11402 archive_cmds_need_lc_CXX=no
11403 hardcode_direct_CXX=no
11404 hardcode_automatic_CXX=yes
11405 hardcode_shlibpath_var_CXX=unsupported
11406 whole_archive_flag_spec_CXX=''
11407 link_all_deplibs_CXX=yes
11409 if test "$GXX" = yes ; then
11410 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
11411 echo $ECHO_N "(cached) $ECHO_C" >&6
11412 else
11413 lt_cv_apple_cc_single_mod=no
11414 if test -z "${LT_MULTI_MODULE}"; then
11415 # By default we will add the -single_module flag. You can override
11416 # by either setting the environment variable LT_MULTI_MODULE
11417 # non-empty at configure time, or by adding -multi-module to the
11418 # link flags.
11419 echo "int foo(void){return 1;}" > conftest.c
11420 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11421 -dynamiclib ${wl}-single_module conftest.c
11422 if test -f libconftest.dylib; then
11423 lt_cv_apple_cc_single_mod=yes
11424 rm libconftest.dylib
11426 rm conftest.$ac_ext
11430 output_verbose_link_cmd=echo
11431 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
11432 archive_cmds_CXX='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11433 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}'
11434 else
11435 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'
11436 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}'
11438 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11439 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}'
11440 else
11441 case $cc_basename in
11442 xlc*)
11443 output_verbose_link_cmd=echo
11444 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'
11445 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11446 # Don't fix this by using the ld -exported_symbols_list flag,
11447 # it doesn't exist in older darwin lds
11448 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}'
11449 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}'
11452 ld_shlibs_CXX=no
11454 esac
11458 dgux*)
11459 case $cc_basename in
11460 ec++*)
11461 # FIXME: insert proper C++ library support
11462 ld_shlibs_CXX=no
11464 ghcx*)
11465 # Green Hills C++ Compiler
11466 # FIXME: insert proper C++ library support
11467 ld_shlibs_CXX=no
11470 # FIXME: insert proper C++ library support
11471 ld_shlibs_CXX=no
11473 esac
11476 freebsd[12]*)
11477 # C++ shared libraries reported to be fairly broken before
11478 # switch to ELF
11479 ld_shlibs_CXX=no
11482 freebsd-elf*)
11483 archive_cmds_need_lc_CXX=no
11486 freebsd* | dragonfly*)
11487 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11488 # conventions
11489 ld_shlibs_CXX=yes
11492 gnu*)
11495 hpux9*)
11496 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11497 hardcode_libdir_separator_CXX=:
11498 export_dynamic_flag_spec_CXX='${wl}-E'
11499 hardcode_direct_CXX=yes
11500 hardcode_minus_L_CXX=yes # Not in the search PATH,
11501 # but as the default
11502 # location of the library.
11504 case $cc_basename in
11505 CC*)
11506 # FIXME: insert proper C++ library support
11507 ld_shlibs_CXX=no
11509 aCC*)
11510 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'
11511 # Commands to make compiler produce verbose output that lists
11512 # what "hidden" libraries, object files and flags are used when
11513 # linking a shared library.
11515 # There doesn't appear to be a way to prevent this compiler from
11516 # explicitly linking system object files so we need to strip them
11517 # from the output so that they don't get included in the library
11518 # dependencies.
11519 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'
11522 if test "$GXX" = yes; then
11523 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'
11524 else
11525 # FIXME: insert proper C++ library support
11526 ld_shlibs_CXX=no
11529 esac
11532 hpux10*|hpux11*)
11533 if test $with_gnu_ld = no; then
11534 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11535 hardcode_libdir_separator_CXX=:
11537 case $host_cpu in
11538 hppa*64*|ia64*)
11541 export_dynamic_flag_spec_CXX='${wl}-E'
11543 esac
11545 case $host_cpu in
11546 hppa*64*|ia64*)
11547 hardcode_direct_CXX=no
11548 hardcode_shlibpath_var_CXX=no
11551 hardcode_direct_CXX=yes
11552 hardcode_direct_absolute_CXX=yes
11553 hardcode_minus_L_CXX=yes # Not in the search PATH,
11554 # but as the default
11555 # location of the library.
11557 esac
11559 case $cc_basename in
11560 CC*)
11561 # FIXME: insert proper C++ library support
11562 ld_shlibs_CXX=no
11564 aCC*)
11565 case $host_cpu in
11566 hppa*64*)
11567 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11569 ia64*)
11570 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11573 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11575 esac
11576 # Commands to make compiler produce verbose output that lists
11577 # what "hidden" libraries, object files and flags are used when
11578 # linking a shared library.
11580 # There doesn't appear to be a way to prevent this compiler from
11581 # explicitly linking system object files so we need to strip them
11582 # from the output so that they don't get included in the library
11583 # dependencies.
11584 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'
11587 if test "$GXX" = yes; then
11588 if test $with_gnu_ld = no; then
11589 case $host_cpu in
11590 hppa*64*)
11591 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11593 ia64*)
11594 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11597 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'
11599 esac
11601 else
11602 # FIXME: insert proper C++ library support
11603 ld_shlibs_CXX=no
11606 esac
11609 interix[3-9]*)
11610 hardcode_direct_CXX=no
11611 hardcode_shlibpath_var_CXX=no
11612 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11613 export_dynamic_flag_spec_CXX='${wl}-E'
11614 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11615 # Instead, shared libraries are loaded at an image base (0x10000000 by
11616 # default) and relocated if they conflict, which is a slow very memory
11617 # consuming and fragmenting process. To avoid this, we pick a random,
11618 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11619 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11620 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'
11621 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'
11623 irix5* | irix6*)
11624 case $cc_basename in
11625 CC*)
11626 # SGI C++
11627 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'
11629 # Archives containing C++ object files must be created using
11630 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11631 # necessary to make sure instantiated templates are included
11632 # in the archive.
11633 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11636 if test "$GXX" = yes; then
11637 if test "$with_gnu_ld" = no; then
11638 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'
11639 else
11640 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'
11643 link_all_deplibs_CXX=yes
11645 esac
11646 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11647 hardcode_libdir_separator_CXX=:
11648 inherit_rpath_CXX=yes
11651 linux* | k*bsd*-gnu)
11652 case $cc_basename in
11653 KCC*)
11654 # Kuck and Associates, Inc. (KAI) C++ Compiler
11656 # KCC will only create a shared library if the output file
11657 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11658 # to its proper name (with version) after linking.
11659 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'
11660 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'
11661 # Commands to make compiler produce verbose output that lists
11662 # what "hidden" libraries, object files and flags are used when
11663 # linking a shared library.
11665 # There doesn't appear to be a way to prevent this compiler from
11666 # explicitly linking system object files so we need to strip them
11667 # from the output so that they don't get included in the library
11668 # dependencies.
11669 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'
11671 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11672 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11674 # Archives containing C++ object files must be created using
11675 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11676 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11678 icpc* | ecpc* )
11679 # Intel C++
11680 with_gnu_ld=yes
11681 # version 8.0 and above of icpc choke on multiply defined symbols
11682 # if we add $predep_objects and $postdep_objects, however 7.1 and
11683 # earlier do not add the objects themselves.
11684 case `$CC -V 2>&1` in
11685 *"Version 7."*)
11686 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11687 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'
11689 *) # Version 8.0 or newer
11690 tmp_idyn=
11691 case $host_cpu in
11692 ia64*) tmp_idyn=' -i_dynamic';;
11693 esac
11694 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11695 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'
11697 esac
11698 archive_cmds_need_lc_CXX=no
11699 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11700 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11701 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11703 pgCC*)
11704 # Portland Group C++ compiler
11705 case `$CC -V` in
11706 *pgCC\ [1-5]*)
11707 prelink_cmds_CXX='tpldir=Template.dir~
11708 rm -rf $tpldir~
11709 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
11710 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
11711 old_archive_cmds_CXX='tpldir=Template.dir~
11712 rm -rf $tpldir~
11713 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
11714 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
11715 $RANLIB $oldlib'
11716 archive_cmds_CXX='tpldir=Template.dir~
11717 rm -rf $tpldir~
11718 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11719 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11720 archive_expsym_cmds_CXX='tpldir=Template.dir~
11721 rm -rf $tpldir~
11722 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11723 $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'
11725 *) # Version 6 will use weak symbols
11726 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11727 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'
11729 esac
11731 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11732 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11733 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'
11735 cxx*)
11736 # Compaq C++
11737 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11738 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'
11740 runpath_var=LD_RUN_PATH
11741 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11742 hardcode_libdir_separator_CXX=:
11744 # Commands to make compiler produce verbose output that lists
11745 # what "hidden" libraries, object files and flags are used when
11746 # linking a shared library.
11748 # There doesn't appear to be a way to prevent this compiler from
11749 # explicitly linking system object files so we need to strip them
11750 # from the output so that they don't get included in the library
11751 # dependencies.
11752 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'
11755 case `$CC -V 2>&1 | sed 5q` in
11756 *Sun\ C*)
11757 # Sun C++ 5.9
11758 no_undefined_flag_CXX=' -zdefs'
11759 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11760 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'
11761 hardcode_libdir_flag_spec_CXX='-R$libdir'
11762 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'
11763 compiler_needs_object_CXX=yes
11765 # Not sure whether something based on
11766 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11767 # would be better.
11768 output_verbose_link_cmd='echo'
11770 # Archives containing C++ object files must be created using
11771 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11772 # necessary to make sure instantiated templates are included
11773 # in the archive.
11774 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11776 esac
11778 esac
11781 lynxos*)
11782 # FIXME: insert proper C++ library support
11783 ld_shlibs_CXX=no
11786 m88k*)
11787 # FIXME: insert proper C++ library support
11788 ld_shlibs_CXX=no
11791 mvs*)
11792 case $cc_basename in
11793 cxx*)
11794 # FIXME: insert proper C++ library support
11795 ld_shlibs_CXX=no
11798 # FIXME: insert proper C++ library support
11799 ld_shlibs_CXX=no
11801 esac
11804 netbsd*)
11805 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11806 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11807 wlarc=
11808 hardcode_libdir_flag_spec_CXX='-R$libdir'
11809 hardcode_direct_CXX=yes
11810 hardcode_shlibpath_var_CXX=no
11812 # Workaround some broken pre-1.5 toolchains
11813 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11816 *nto* | *qnx*)
11817 ld_shlibs_CXX=yes
11820 openbsd2*)
11821 # C++ shared libraries are fairly broken
11822 ld_shlibs_CXX=no
11825 openbsd*)
11826 hardcode_direct_CXX=yes
11827 hardcode_shlibpath_var_CXX=no
11828 hardcode_direct_absolute_CXX=yes
11829 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11830 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11831 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11832 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11833 export_dynamic_flag_spec_CXX='${wl}-E'
11834 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11836 output_verbose_link_cmd=echo
11839 osf3* | osf4* | osf5*)
11840 case $cc_basename in
11841 KCC*)
11842 # Kuck and Associates, Inc. (KAI) C++ Compiler
11844 # KCC will only create a shared library if the output file
11845 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11846 # to its proper name (with version) after linking.
11847 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'
11849 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11850 hardcode_libdir_separator_CXX=:
11852 # Archives containing C++ object files must be created using
11853 # the KAI C++ compiler.
11854 case $host in
11855 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
11856 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
11857 esac
11859 RCC*)
11860 # Rational C++ 2.4.1
11861 # FIXME: insert proper C++ library support
11862 ld_shlibs_CXX=no
11864 cxx*)
11865 case $host in
11866 osf3*)
11867 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11868 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'
11869 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11872 allow_undefined_flag_CXX=' -expect_unresolved \*'
11873 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'
11874 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11875 echo "-hidden">> $lib.exp~
11876 $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~
11877 $RM $lib.exp'
11878 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11880 esac
11882 hardcode_libdir_separator_CXX=:
11884 # Commands to make compiler produce verbose output that lists
11885 # what "hidden" libraries, object files and flags are used when
11886 # linking a shared library.
11888 # There doesn't appear to be a way to prevent this compiler from
11889 # explicitly linking system object files so we need to strip them
11890 # from the output so that they don't get included in the library
11891 # dependencies.
11892 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'
11895 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11896 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11897 case $host in
11898 osf3*)
11899 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'
11902 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'
11904 esac
11906 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11907 hardcode_libdir_separator_CXX=:
11909 # Commands to make compiler produce verbose output that lists
11910 # what "hidden" libraries, object files and flags are used when
11911 # linking a shared library.
11912 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11914 else
11915 # FIXME: insert proper C++ library support
11916 ld_shlibs_CXX=no
11919 esac
11922 psos*)
11923 # FIXME: insert proper C++ library support
11924 ld_shlibs_CXX=no
11927 sunos4*)
11928 case $cc_basename in
11929 CC*)
11930 # Sun C++ 4.x
11931 # FIXME: insert proper C++ library support
11932 ld_shlibs_CXX=no
11934 lcc*)
11935 # Lucid
11936 # FIXME: insert proper C++ library support
11937 ld_shlibs_CXX=no
11940 # FIXME: insert proper C++ library support
11941 ld_shlibs_CXX=no
11943 esac
11946 solaris*)
11947 case $cc_basename in
11948 CC*)
11949 # Sun C++ 4.2, 5.x and Centerline C++
11950 archive_cmds_need_lc_CXX=yes
11951 no_undefined_flag_CXX=' -zdefs'
11952 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11953 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11954 $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'
11956 hardcode_libdir_flag_spec_CXX='-R$libdir'
11957 hardcode_shlibpath_var_CXX=no
11958 case $host_os in
11959 solaris2.[0-5] | solaris2.[0-5].*) ;;
11961 # The compiler driver will combine and reorder linker options,
11962 # but understands `-z linker_flag'.
11963 # Supported since Solaris 2.6 (maybe 2.5.1?)
11964 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
11966 esac
11967 link_all_deplibs_CXX=yes
11969 output_verbose_link_cmd='echo'
11971 # Archives containing C++ object files must be created using
11972 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11973 # necessary to make sure instantiated templates are included
11974 # in the archive.
11975 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11977 gcx*)
11978 # Green Hills C++ Compiler
11979 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11981 # The C++ compiler must be used to create the archive.
11982 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
11985 # GNU C++ compiler with Solaris linker
11986 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11987 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
11988 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
11989 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
11990 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11991 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11993 # Commands to make compiler produce verbose output that lists
11994 # what "hidden" libraries, object files and flags are used when
11995 # linking a shared library.
11996 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11997 else
11998 # g++ 2.7 appears to require `-G' NOT `-shared' on this
11999 # platform.
12000 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12001 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12002 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12004 # Commands to make compiler produce verbose output that lists
12005 # what "hidden" libraries, object files and flags are used when
12006 # linking a shared library.
12007 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12010 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12011 case $host_os in
12012 solaris2.[0-5] | solaris2.[0-5].*) ;;
12014 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12016 esac
12019 esac
12022 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12023 no_undefined_flag_CXX='${wl}-z,text'
12024 archive_cmds_need_lc_CXX=no
12025 hardcode_shlibpath_var_CXX=no
12026 runpath_var='LD_RUN_PATH'
12028 case $cc_basename in
12029 CC*)
12030 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12031 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12034 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12035 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12037 esac
12040 sysv5* | sco3.2v5* | sco5v6*)
12041 # Note: We can NOT use -z defs as we might desire, because we do not
12042 # link with -lc, and that would cause any symbols used from libc to
12043 # always be unresolved, which means just about no library would
12044 # ever link correctly. If we're not using GNU ld we use -z text
12045 # though, which does catch some bad symbols but isn't as heavy-handed
12046 # as -z defs.
12047 no_undefined_flag_CXX='${wl}-z,text'
12048 allow_undefined_flag_CXX='${wl}-z,nodefs'
12049 archive_cmds_need_lc_CXX=no
12050 hardcode_shlibpath_var_CXX=no
12051 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12052 hardcode_libdir_separator_CXX=':'
12053 link_all_deplibs_CXX=yes
12054 export_dynamic_flag_spec_CXX='${wl}-Bexport'
12055 runpath_var='LD_RUN_PATH'
12057 case $cc_basename in
12058 CC*)
12059 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12060 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12063 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12064 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12066 esac
12069 tandem*)
12070 case $cc_basename in
12071 NCC*)
12072 # NonStop-UX NCC 3.20
12073 # FIXME: insert proper C++ library support
12074 ld_shlibs_CXX=no
12077 # FIXME: insert proper C++ library support
12078 ld_shlibs_CXX=no
12080 esac
12083 vxworks*)
12084 # FIXME: insert proper C++ library support
12085 ld_shlibs_CXX=no
12089 # FIXME: insert proper C++ library support
12090 ld_shlibs_CXX=no
12092 esac
12094 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12095 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12096 test "$ld_shlibs_CXX" = no && can_build_shared=no
12098 GCC_CXX="$GXX"
12099 LD_CXX="$LD"
12101 ## CAVEAT EMPTOR:
12102 ## There is no encapsulation within the following macros, do not change
12103 ## the running order or otherwise move them around unless you know exactly
12104 ## what you are doing...
12105 # Dependencies to place before and after the object being linked:
12106 predep_objects_CXX=
12107 postdep_objects_CXX=
12108 predeps_CXX=
12109 postdeps_CXX=
12110 compiler_lib_search_path_CXX=
12112 cat > conftest.$ac_ext <<_LT_EOF
12113 class Foo
12115 public:
12116 Foo (void) { a = 0; }
12117 private:
12118 int a;
12120 _LT_EOF
12122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12123 (eval $ac_compile) 2>&5
12124 ac_status=$?
12125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12126 (exit $ac_status); }; then
12127 # Parse the compiler output and extract the necessary
12128 # objects, libraries and library flags.
12130 # Sentinel used to keep track of whether or not we are before
12131 # the conftest object file.
12132 pre_test_object_deps_done=no
12134 # The `*' in the case matches for architectures that use `case' in
12135 # $output_verbose_cmd can trigger glob expansion during the loop
12136 # eval without this substitution.
12137 output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12139 for p in `eval $output_verbose_link_cmd`; do
12140 case $p in
12142 -L* | -R* | -l*)
12143 # Some compilers place space between "-{L,R}" and the path.
12144 # Remove the space.
12145 if test $p = "-L" ||
12146 test $p = "-R"; then
12147 prev=$p
12148 continue
12149 else
12150 prev=
12153 if test "$pre_test_object_deps_done" = no; then
12154 case $p in
12155 -L* | -R*)
12156 # Internal compiler library paths should come after those
12157 # provided the user. The postdeps already come after the
12158 # user supplied libs so there is no need to process them.
12159 if test -z "$compiler_lib_search_path_CXX"; then
12160 compiler_lib_search_path_CXX="${prev}${p}"
12161 else
12162 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12165 # The "-l" case would never come before the object being
12166 # linked, so don't bother handling this case.
12167 esac
12168 else
12169 if test -z "$postdeps_CXX"; then
12170 postdeps_CXX="${prev}${p}"
12171 else
12172 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12177 *.$objext)
12178 # This assumes that the test object file only shows up
12179 # once in the compiler output.
12180 if test "$p" = "conftest.$objext"; then
12181 pre_test_object_deps_done=yes
12182 continue
12185 if test "$pre_test_object_deps_done" = no; then
12186 if test -z "$predep_objects_CXX"; then
12187 predep_objects_CXX="$p"
12188 else
12189 predep_objects_CXX="$predep_objects_CXX $p"
12191 else
12192 if test -z "$postdep_objects_CXX"; then
12193 postdep_objects_CXX="$p"
12194 else
12195 postdep_objects_CXX="$postdep_objects_CXX $p"
12200 *) ;; # Ignore the rest.
12202 esac
12203 done
12205 # Clean up.
12206 rm -f a.out a.exe
12207 else
12208 echo "libtool.m4: error: problem compiling CXX test program"
12211 $RM -f confest.$objext
12213 # PORTME: override above test on systems where it is broken
12214 case $host_os in
12215 interix[3-9]*)
12216 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12217 # hack all around it, let's just trust "g++" to DTRT.
12218 predep_objects_CXX=
12219 postdep_objects_CXX=
12220 postdeps_CXX=
12223 linux*)
12224 case `$CC -V 2>&1 | sed 5q` in
12225 *Sun\ C*)
12226 # Sun C++ 5.9
12228 # The more standards-conforming stlport4 library is
12229 # incompatible with the Cstd library. Avoid specifying
12230 # it if it's in CXXFLAGS. Ignore libCrun as
12231 # -library=stlport4 depends on it.
12232 case " $CXX $CXXFLAGS " in
12233 *" -library=stlport4 "*)
12234 solaris_use_stlport4=yes
12236 esac
12238 if test "$solaris_use_stlport4" != yes; then
12239 postdeps_CXX='-library=Cstd -library=Crun'
12242 esac
12245 solaris*)
12246 case $cc_basename in
12247 CC*)
12248 # The more standards-conforming stlport4 library is
12249 # incompatible with the Cstd library. Avoid specifying
12250 # it if it's in CXXFLAGS. Ignore libCrun as
12251 # -library=stlport4 depends on it.
12252 case " $CXX $CXXFLAGS " in
12253 *" -library=stlport4 "*)
12254 solaris_use_stlport4=yes
12256 esac
12258 # Adding this requires a known-good setup of shared libraries for
12259 # Sun compiler versions before 5.6, else PIC objects from an old
12260 # archive will be linked into the output, leading to subtle bugs.
12261 if test "$solaris_use_stlport4" != yes; then
12262 postdeps_CXX='-library=Cstd -library=Crun'
12265 esac
12267 esac
12270 case " $postdeps_CXX " in
12271 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12272 esac
12299 lt_prog_compiler_wl_CXX=
12300 lt_prog_compiler_pic_CXX=
12301 lt_prog_compiler_static_CXX=
12303 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12304 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12306 # C++ specific cases for pic, static, wl, etc.
12307 if test "$GXX" = yes; then
12308 lt_prog_compiler_wl_CXX='-Wl,'
12309 lt_prog_compiler_static_CXX='-static'
12311 case $host_os in
12312 aix*)
12313 # All AIX code is PIC.
12314 if test "$host_cpu" = ia64; then
12315 # AIX 5 now supports IA64 processor
12316 lt_prog_compiler_static_CXX='-Bstatic'
12319 amigaos*)
12320 if test "$host_cpu" = m68k; then
12321 # FIXME: we need at least 68020 code to build shared libraries, but
12322 # adding the `-m68020' flag to GCC prevents building anything better,
12323 # like `-m68040'.
12324 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12327 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12328 # PIC is the default for these OSes.
12330 mingw* | cygwin* | os2* | pw32*)
12331 # This hack is so that the source file can tell whether it is being
12332 # built for inclusion in a dll (and should export symbols for example).
12333 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12334 # (--disable-auto-import) libraries
12335 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12337 darwin* | rhapsody*)
12338 # PIC is the default on this platform
12339 # Common symbols not allowed in MH_DYLIB files
12340 lt_prog_compiler_pic_CXX='-fno-common'
12342 *djgpp*)
12343 # DJGPP does not support shared libraries at all
12344 lt_prog_compiler_pic_CXX=
12346 interix[3-9]*)
12347 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12348 # Instead, we relocate shared libraries at runtime.
12350 sysv4*MP*)
12351 if test -d /usr/nec; then
12352 lt_prog_compiler_pic_CXX=-Kconform_pic
12355 hpux*)
12356 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12357 # not for PA HP-UX.
12358 case $host_cpu in
12359 hppa*64*|ia64*)
12362 lt_prog_compiler_pic_CXX='-fPIC'
12364 esac
12366 *qnx* | *nto*)
12367 # QNX uses GNU C++, but need to define -shared option too, otherwise
12368 # it will coredump.
12369 lt_prog_compiler_pic_CXX='-fPIC -shared'
12372 lt_prog_compiler_pic_CXX='-fPIC'
12374 esac
12375 else
12376 case $host_os in
12377 aix[4-9]*)
12378 # All AIX code is PIC.
12379 if test "$host_cpu" = ia64; then
12380 # AIX 5 now supports IA64 processor
12381 lt_prog_compiler_static_CXX='-Bstatic'
12382 else
12383 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12386 chorus*)
12387 case $cc_basename in
12388 cxch68*)
12389 # Green Hills C++ Compiler
12390 # _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"
12392 esac
12394 darwin*)
12395 # PIC is the default on this platform
12396 # Common symbols not allowed in MH_DYLIB files
12397 case $cc_basename in
12398 xlc*)
12399 lt_prog_compiler_pic_CXX='-qnocommon'
12400 lt_prog_compiler_wl_CXX='-Wl,'
12402 esac
12404 dgux*)
12405 case $cc_basename in
12406 ec++*)
12407 lt_prog_compiler_pic_CXX='-KPIC'
12409 ghcx*)
12410 # Green Hills C++ Compiler
12411 lt_prog_compiler_pic_CXX='-pic'
12415 esac
12417 freebsd* | dragonfly*)
12418 # FreeBSD uses GNU C++
12420 hpux9* | hpux10* | hpux11*)
12421 case $cc_basename in
12422 CC*)
12423 lt_prog_compiler_wl_CXX='-Wl,'
12424 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12425 if test "$host_cpu" != ia64; then
12426 lt_prog_compiler_pic_CXX='+Z'
12429 aCC*)
12430 lt_prog_compiler_wl_CXX='-Wl,'
12431 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12432 case $host_cpu in
12433 hppa*64*|ia64*)
12434 # +Z the default
12437 lt_prog_compiler_pic_CXX='+Z'
12439 esac
12443 esac
12445 interix*)
12446 # This is c89, which is MS Visual C++ (no shared libs)
12447 # Anyone wants to do a port?
12449 irix5* | irix6* | nonstopux*)
12450 case $cc_basename in
12451 CC*)
12452 lt_prog_compiler_wl_CXX='-Wl,'
12453 lt_prog_compiler_static_CXX='-non_shared'
12454 # CC pic flag -KPIC is the default.
12458 esac
12460 linux* | k*bsd*-gnu)
12461 case $cc_basename in
12462 KCC*)
12463 # KAI C++ Compiler
12464 lt_prog_compiler_wl_CXX='--backend -Wl,'
12465 lt_prog_compiler_pic_CXX='-fPIC'
12467 icpc* | ecpc* )
12468 # Intel C++
12469 lt_prog_compiler_wl_CXX='-Wl,'
12470 lt_prog_compiler_pic_CXX='-KPIC'
12471 lt_prog_compiler_static_CXX='-static'
12473 pgCC*)
12474 # Portland Group C++ compiler
12475 lt_prog_compiler_wl_CXX='-Wl,'
12476 lt_prog_compiler_pic_CXX='-fpic'
12477 lt_prog_compiler_static_CXX='-Bstatic'
12479 cxx*)
12480 # Compaq C++
12481 # Make sure the PIC flag is empty. It appears that all Alpha
12482 # Linux and Compaq Tru64 Unix objects are PIC.
12483 lt_prog_compiler_pic_CXX=
12484 lt_prog_compiler_static_CXX='-non_shared'
12487 case `$CC -V 2>&1 | sed 5q` in
12488 *Sun\ C*)
12489 # Sun C++ 5.9
12490 lt_prog_compiler_pic_CXX='-KPIC'
12491 lt_prog_compiler_static_CXX='-Bstatic'
12492 lt_prog_compiler_wl_CXX='-Qoption ld '
12494 esac
12496 esac
12498 lynxos*)
12500 m88k*)
12502 mvs*)
12503 case $cc_basename in
12504 cxx*)
12505 lt_prog_compiler_pic_CXX='-W c,exportall'
12509 esac
12511 netbsd*)
12513 *qnx* | *nto*)
12514 # QNX uses GNU C++, but need to define -shared option too, otherwise
12515 # it will coredump.
12516 lt_prog_compiler_pic_CXX='-fPIC -shared'
12518 osf3* | osf4* | osf5*)
12519 case $cc_basename in
12520 KCC*)
12521 lt_prog_compiler_wl_CXX='--backend -Wl,'
12523 RCC*)
12524 # Rational C++ 2.4.1
12525 lt_prog_compiler_pic_CXX='-pic'
12527 cxx*)
12528 # Digital/Compaq C++
12529 lt_prog_compiler_wl_CXX='-Wl,'
12530 # Make sure the PIC flag is empty. It appears that all Alpha
12531 # Linux and Compaq Tru64 Unix objects are PIC.
12532 lt_prog_compiler_pic_CXX=
12533 lt_prog_compiler_static_CXX='-non_shared'
12537 esac
12539 psos*)
12541 solaris*)
12542 case $cc_basename in
12543 CC*)
12544 # Sun C++ 4.2, 5.x and Centerline C++
12545 lt_prog_compiler_pic_CXX='-KPIC'
12546 lt_prog_compiler_static_CXX='-Bstatic'
12547 lt_prog_compiler_wl_CXX='-Qoption ld '
12549 gcx*)
12550 # Green Hills C++ Compiler
12551 lt_prog_compiler_pic_CXX='-PIC'
12555 esac
12557 sunos4*)
12558 case $cc_basename in
12559 CC*)
12560 # Sun C++ 4.x
12561 lt_prog_compiler_pic_CXX='-pic'
12562 lt_prog_compiler_static_CXX='-Bstatic'
12564 lcc*)
12565 # Lucid
12566 lt_prog_compiler_pic_CXX='-pic'
12570 esac
12572 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12573 case $cc_basename in
12574 CC*)
12575 lt_prog_compiler_wl_CXX='-Wl,'
12576 lt_prog_compiler_pic_CXX='-KPIC'
12577 lt_prog_compiler_static_CXX='-Bstatic'
12579 esac
12581 tandem*)
12582 case $cc_basename in
12583 NCC*)
12584 # NonStop-UX NCC 3.20
12585 lt_prog_compiler_pic_CXX='-KPIC'
12589 esac
12591 vxworks*)
12594 lt_prog_compiler_can_build_shared_CXX=no
12596 esac
12599 case $host_os in
12600 # For platforms which do not support PIC, -DPIC is meaningless:
12601 *djgpp*)
12602 lt_prog_compiler_pic_CXX=
12605 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12607 esac
12608 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12609 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
12614 # Check to make sure the PIC flag actually works.
12616 if test -n "$lt_prog_compiler_pic_CXX"; then
12617 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12618 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
12619 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12620 echo $ECHO_N "(cached) $ECHO_C" >&6
12621 else
12622 lt_prog_compiler_pic_works_CXX=no
12623 ac_outfile=conftest.$ac_objext
12624 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12625 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12626 # Insert the option either (1) after the last *FLAGS variable, or
12627 # (2) before a word containing "conftest.", or (3) at the end.
12628 # Note that $ac_compile itself does not contain backslashes and begins
12629 # with a dollar sign (not a hyphen), so the echo should work correctly.
12630 # The option is referenced via a variable to avoid confusing sed.
12631 lt_compile=`echo "$ac_compile" | $SED \
12632 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12633 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12634 -e 's:$: $lt_compiler_flag:'`
12635 (eval echo "\"\$as_me:12635: $lt_compile\"" >&5)
12636 (eval "$lt_compile" 2>conftest.err)
12637 ac_status=$?
12638 cat conftest.err >&5
12639 echo "$as_me:12639: \$? = $ac_status" >&5
12640 if (exit $ac_status) && test -s "$ac_outfile"; then
12641 # The compiler can only warn and ignore the option if not recognized
12642 # So say no if there are warnings other than the usual output.
12643 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12644 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12645 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12646 lt_prog_compiler_pic_works_CXX=yes
12649 $RM conftest*
12652 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12653 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
12655 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12656 case $lt_prog_compiler_pic_CXX in
12657 "" | " "*) ;;
12658 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12659 esac
12660 else
12661 lt_prog_compiler_pic_CXX=
12662 lt_prog_compiler_can_build_shared_CXX=no
12670 # Check to make sure the static flag actually works.
12672 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12673 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12674 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12675 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12676 echo $ECHO_N "(cached) $ECHO_C" >&6
12677 else
12678 lt_prog_compiler_static_works_CXX=no
12679 save_LDFLAGS="$LDFLAGS"
12680 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12681 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12682 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12683 # The linker can only warn and ignore the option if not recognized
12684 # So say no if there are warnings
12685 if test -s conftest.err; then
12686 # Append any errors to the config.log.
12687 cat conftest.err 1>&5
12688 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12689 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12690 if diff conftest.exp conftest.er2 >/dev/null; then
12691 lt_prog_compiler_static_works_CXX=yes
12693 else
12694 lt_prog_compiler_static_works_CXX=yes
12697 $RM conftest*
12698 LDFLAGS="$save_LDFLAGS"
12701 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12702 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
12704 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12706 else
12707 lt_prog_compiler_static_CXX=
12713 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12714 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12715 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12716 echo $ECHO_N "(cached) $ECHO_C" >&6
12717 else
12718 lt_cv_prog_compiler_c_o_CXX=no
12719 $RM -r conftest 2>/dev/null
12720 mkdir conftest
12721 cd conftest
12722 mkdir out
12723 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12725 lt_compiler_flag="-o out/conftest2.$ac_objext"
12726 # Insert the option either (1) after the last *FLAGS variable, or
12727 # (2) before a word containing "conftest.", or (3) at the end.
12728 # Note that $ac_compile itself does not contain backslashes and begins
12729 # with a dollar sign (not a hyphen), so the echo should work correctly.
12730 lt_compile=`echo "$ac_compile" | $SED \
12731 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12732 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12733 -e 's:$: $lt_compiler_flag:'`
12734 (eval echo "\"\$as_me:12734: $lt_compile\"" >&5)
12735 (eval "$lt_compile" 2>out/conftest.err)
12736 ac_status=$?
12737 cat out/conftest.err >&5
12738 echo "$as_me:12738: \$? = $ac_status" >&5
12739 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12740 then
12741 # The compiler can only warn and ignore the option if not recognized
12742 # So say no if there are warnings
12743 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12744 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12745 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12746 lt_cv_prog_compiler_c_o_CXX=yes
12749 chmod u+w . 2>&5
12750 $RM conftest*
12751 # SGI C++ compiler will create directory out/ii_files/ for
12752 # template instantiation
12753 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12754 $RM out/* && rmdir out
12755 cd ..
12756 $RM -r conftest
12757 $RM conftest*
12760 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12761 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12765 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12766 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12767 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12768 echo $ECHO_N "(cached) $ECHO_C" >&6
12769 else
12770 lt_cv_prog_compiler_c_o_CXX=no
12771 $RM -r conftest 2>/dev/null
12772 mkdir conftest
12773 cd conftest
12774 mkdir out
12775 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12777 lt_compiler_flag="-o out/conftest2.$ac_objext"
12778 # Insert the option either (1) after the last *FLAGS variable, or
12779 # (2) before a word containing "conftest.", or (3) at the end.
12780 # Note that $ac_compile itself does not contain backslashes and begins
12781 # with a dollar sign (not a hyphen), so the echo should work correctly.
12782 lt_compile=`echo "$ac_compile" | $SED \
12783 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12784 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12785 -e 's:$: $lt_compiler_flag:'`
12786 (eval echo "\"\$as_me:12786: $lt_compile\"" >&5)
12787 (eval "$lt_compile" 2>out/conftest.err)
12788 ac_status=$?
12789 cat out/conftest.err >&5
12790 echo "$as_me:12790: \$? = $ac_status" >&5
12791 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12792 then
12793 # The compiler can only warn and ignore the option if not recognized
12794 # So say no if there are warnings
12795 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12796 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12797 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12798 lt_cv_prog_compiler_c_o_CXX=yes
12801 chmod u+w . 2>&5
12802 $RM conftest*
12803 # SGI C++ compiler will create directory out/ii_files/ for
12804 # template instantiation
12805 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12806 $RM out/* && rmdir out
12807 cd ..
12808 $RM -r conftest
12809 $RM conftest*
12812 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12813 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12818 hard_links="nottested"
12819 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12820 # do not overwrite the value of need_locks provided by the user
12821 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12822 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12823 hard_links=yes
12824 $RM conftest*
12825 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12826 touch conftest.a
12827 ln conftest.a conftest.b 2>&5 || hard_links=no
12828 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12829 echo "$as_me:$LINENO: result: $hard_links" >&5
12830 echo "${ECHO_T}$hard_links" >&6
12831 if test "$hard_links" = no; then
12832 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12833 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12834 need_locks=warn
12836 else
12837 need_locks=no
12842 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12843 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12845 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12846 case $host_os in
12847 aix[4-9]*)
12848 # If we're using GNU nm, then we don't want the "-C" option.
12849 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12850 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12851 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'
12852 else
12853 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'
12856 pw32*)
12857 export_symbols_cmds_CXX="$ltdll_cmds"
12859 cygwin* | mingw*)
12860 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'
12863 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12865 esac
12867 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12868 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12869 test "$ld_shlibs_CXX" = no && can_build_shared=no
12871 with_gnu_ld_CXX=$with_gnu_ld
12879 # Do we need to explicitly link libc?
12881 case "x$archive_cmds_need_lc_CXX" in
12882 x|xyes)
12883 # Assume -lc should be added
12884 archive_cmds_need_lc_CXX=yes
12886 if test "$enable_shared" = yes && test "$GCC" = yes; then
12887 case $archive_cmds_CXX in
12888 *'~'*)
12889 # FIXME: we may have to deal with multi-command sequences.
12891 '$CC '*)
12892 # Test whether the compiler implicitly links with -lc since on some
12893 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12894 # to ld, don't add -lc before -lgcc.
12895 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12896 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12897 $RM conftest*
12898 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12901 (eval $ac_compile) 2>&5
12902 ac_status=$?
12903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12904 (exit $ac_status); } 2>conftest.err; then
12905 soname=conftest
12906 lib=conftest
12907 libobjs=conftest.$ac_objext
12908 deplibs=
12909 wl=$lt_prog_compiler_wl_CXX
12910 pic_flag=$lt_prog_compiler_pic_CXX
12911 compiler_flags=-v
12912 linker_flags=-v
12913 verstring=
12914 output_objdir=.
12915 libname=conftest
12916 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12917 allow_undefined_flag_CXX=
12918 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12919 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12920 ac_status=$?
12921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12922 (exit $ac_status); }
12923 then
12924 archive_cmds_need_lc_CXX=no
12925 else
12926 archive_cmds_need_lc_CXX=yes
12928 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12929 else
12930 cat conftest.err 1>&5
12932 $RM conftest*
12933 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12934 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
12936 esac
12939 esac
13004 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13005 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13006 withGCC=$GXX
13007 library_names_spec=
13008 libname_spec='lib$name'
13009 soname_spec=
13010 shrext_cmds=".so"
13011 postinstall_cmds=
13012 postuninstall_cmds=
13013 finish_cmds=
13014 finish_eval=
13015 shlibpath_var=
13016 shlibpath_overrides_runpath=unknown
13017 version_type=none
13018 dynamic_linker="$host_os ld.so"
13019 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13020 need_lib_prefix=unknown
13021 hardcode_into_libs=no
13023 # when you set need_version to no, make sure it does not cause -set_version
13024 # flags to be left without arguments
13025 need_version=unknown
13027 case $host_os in
13028 aix3*)
13029 version_type=linux
13030 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13031 shlibpath_var=LIBPATH
13033 # AIX 3 has no versioning support, so we append a major version to the name.
13034 soname_spec='${libname}${release}${shared_ext}$major'
13037 aix[4-9]*)
13038 version_type=linux
13039 need_lib_prefix=no
13040 need_version=no
13041 hardcode_into_libs=yes
13042 if test "$host_cpu" = ia64; then
13043 # AIX 5 supports IA64
13044 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13045 shlibpath_var=LD_LIBRARY_PATH
13046 else
13047 # With GCC up to 2.95.x, collect2 would create an import file
13048 # for dependence libraries. The import file would start with
13049 # the line `#! .'. This would cause the generated library to
13050 # depend on `.', always an invalid library. This was fixed in
13051 # development snapshots of GCC prior to 3.0.
13052 case $host_os in
13053 aix4 | aix4.[01] | aix4.[01].*)
13054 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13055 echo ' yes '
13056 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13058 else
13059 can_build_shared=no
13062 esac
13063 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13064 # soname into executable. Probably we can add versioning support to
13065 # collect2, so additional links can be useful in future.
13066 if test "$aix_use_runtimelinking" = yes; then
13067 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13068 # instead of lib<name>.a to let people know that these are not
13069 # typical AIX shared libraries.
13070 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13071 else
13072 # We preserve .a as extension for shared libraries through AIX4.2
13073 # and later when we are not doing run time linking.
13074 library_names_spec='${libname}${release}.a $libname.a'
13075 soname_spec='${libname}${release}${shared_ext}$major'
13077 shlibpath_var=LIBPATH
13081 amigaos*)
13082 if test "$host_cpu" = m68k; then
13083 library_names_spec='$libname.ixlibrary $libname.a'
13084 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13085 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'
13086 else
13087 dynamic_linker=no
13091 beos*)
13092 library_names_spec='${libname}${shared_ext}'
13093 dynamic_linker="$host_os ld.so"
13094 shlibpath_var=LIBRARY_PATH
13097 bsdi[45]*)
13098 version_type=linux
13099 need_version=no
13100 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13101 soname_spec='${libname}${release}${shared_ext}$major'
13102 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13103 shlibpath_var=LD_LIBRARY_PATH
13104 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13105 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13106 # the default ld.so.conf also contains /usr/contrib/lib and
13107 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13108 # libtool to hard-code these into programs
13111 cygwin* | mingw* | pw32*)
13112 version_type=windows
13113 shrext_cmds=".dll"
13114 need_version=no
13115 need_lib_prefix=no
13117 case $withGCC,$host_os in
13118 yes,cygwin* | yes,mingw* | yes,pw32*)
13119 library_names_spec='$libname.dll.a'
13120 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13121 postinstall_cmds='base_file=`basename \${file}`~
13122 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13123 dldir=$destdir/`dirname \$dlpath`~
13124 test -d \$dldir || mkdir -p \$dldir~
13125 $install_prog $dir/$dlname \$dldir/$dlname~
13126 chmod a+x \$dldir/$dlname~
13127 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13128 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13130 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13131 dlpath=$dir/\$dldll~
13132 $RM \$dlpath'
13133 shlibpath_overrides_runpath=yes
13135 case $host_os in
13136 cygwin*)
13137 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13138 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13139 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13141 mingw*)
13142 # MinGW DLLs use traditional 'lib' prefix
13143 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13144 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13145 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13146 # It is most probably a Windows format PATH printed by
13147 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13148 # path with ; separators, and with drive letters. We can handle the
13149 # drive letters (cygwin fileutils understands them), so leave them,
13150 # especially as we might pass files found there to a mingw objdump,
13151 # which wouldn't understand a cygwinified path. Ahh.
13152 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13153 else
13154 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13157 pw32*)
13158 # pw32 DLLs use 'pw' prefix rather than 'lib'
13159 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13161 esac
13165 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13167 esac
13168 dynamic_linker='Win32 ld.exe'
13169 # FIXME: first we should search . and the directory the executable is in
13170 shlibpath_var=PATH
13173 darwin* | rhapsody*)
13174 dynamic_linker="$host_os dyld"
13175 version_type=darwin
13176 need_lib_prefix=no
13177 need_version=no
13178 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13179 soname_spec='${libname}${release}${major}$shared_ext'
13180 shlibpath_overrides_runpath=yes
13181 shlibpath_var=DYLD_LIBRARY_PATH
13182 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13184 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13187 dgux*)
13188 version_type=linux
13189 need_lib_prefix=no
13190 need_version=no
13191 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13192 soname_spec='${libname}${release}${shared_ext}$major'
13193 shlibpath_var=LD_LIBRARY_PATH
13196 freebsd1*)
13197 dynamic_linker=no
13200 freebsd* | dragonfly*)
13201 # DragonFly does not have aout. When/if they implement a new
13202 # versioning mechanism, adjust this.
13203 if test -x /usr/bin/objformat; then
13204 objformat=`/usr/bin/objformat`
13205 else
13206 case $host_os in
13207 freebsd[123]*) objformat=aout ;;
13208 *) objformat=elf ;;
13209 esac
13211 version_type=freebsd-$objformat
13212 case $version_type in
13213 freebsd-elf*)
13214 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13215 need_version=no
13216 need_lib_prefix=no
13218 freebsd-*)
13219 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13220 need_version=yes
13222 esac
13223 shlibpath_var=LD_LIBRARY_PATH
13224 case $host_os in
13225 freebsd2*)
13226 shlibpath_overrides_runpath=yes
13228 freebsd3.[01]* | freebsdelf3.[01]*)
13229 shlibpath_overrides_runpath=yes
13230 hardcode_into_libs=yes
13232 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13233 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13234 shlibpath_overrides_runpath=no
13235 hardcode_into_libs=yes
13237 *) # from 4.6 on, and DragonFly
13238 shlibpath_overrides_runpath=yes
13239 hardcode_into_libs=yes
13241 esac
13244 gnu*)
13245 version_type=linux
13246 need_lib_prefix=no
13247 need_version=no
13248 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13249 soname_spec='${libname}${release}${shared_ext}$major'
13250 shlibpath_var=LD_LIBRARY_PATH
13251 hardcode_into_libs=yes
13254 hpux9* | hpux10* | hpux11*)
13255 # Give a soname corresponding to the major version so that dld.sl refuses to
13256 # link against other versions.
13257 version_type=sunos
13258 need_lib_prefix=no
13259 need_version=no
13260 case $host_cpu in
13261 ia64*)
13262 shrext_cmds='.so'
13263 hardcode_into_libs=yes
13264 dynamic_linker="$host_os dld.so"
13265 shlibpath_var=LD_LIBRARY_PATH
13266 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13267 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13268 soname_spec='${libname}${release}${shared_ext}$major'
13269 if test "X$HPUX_IA64_MODE" = X32; then
13270 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13271 else
13272 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13274 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13276 hppa*64*)
13277 shrext_cmds='.sl'
13278 hardcode_into_libs=yes
13279 dynamic_linker="$host_os dld.sl"
13280 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13281 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13282 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13283 soname_spec='${libname}${release}${shared_ext}$major'
13284 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13285 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13288 shrext_cmds='.sl'
13289 dynamic_linker="$host_os dld.sl"
13290 shlibpath_var=SHLIB_PATH
13291 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13293 soname_spec='${libname}${release}${shared_ext}$major'
13295 esac
13296 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13297 postinstall_cmds='chmod 555 $lib'
13300 interix[3-9]*)
13301 version_type=linux
13302 need_lib_prefix=no
13303 need_version=no
13304 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13305 soname_spec='${libname}${release}${shared_ext}$major'
13306 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13307 shlibpath_var=LD_LIBRARY_PATH
13308 shlibpath_overrides_runpath=no
13309 hardcode_into_libs=yes
13312 irix5* | irix6* | nonstopux*)
13313 case $host_os in
13314 nonstopux*) version_type=nonstopux ;;
13316 if test "$lt_cv_prog_gnu_ld" = yes; then
13317 version_type=linux
13318 else
13319 version_type=irix
13320 fi ;;
13321 esac
13322 need_lib_prefix=no
13323 need_version=no
13324 soname_spec='${libname}${release}${shared_ext}$major'
13325 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13326 case $host_os in
13327 irix5* | nonstopux*)
13328 libsuff= shlibsuff=
13331 case $LD in # libtool.m4 will add one of these switches to LD
13332 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13333 libsuff= shlibsuff= libmagic=32-bit;;
13334 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13335 libsuff=32 shlibsuff=N32 libmagic=N32;;
13336 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13337 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13338 *) libsuff= shlibsuff= libmagic=never-match;;
13339 esac
13341 esac
13342 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13343 shlibpath_overrides_runpath=no
13344 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13345 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13346 hardcode_into_libs=yes
13349 # No shared lib support for Linux oldld, aout, or coff.
13350 linux*oldld* | linux*aout* | linux*coff*)
13351 dynamic_linker=no
13354 # This must be Linux ELF.
13355 linux* | k*bsd*-gnu)
13356 version_type=linux
13357 need_lib_prefix=no
13358 need_version=no
13359 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13360 soname_spec='${libname}${release}${shared_ext}$major'
13361 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13362 shlibpath_var=LD_LIBRARY_PATH
13363 shlibpath_overrides_runpath=no
13364 # Some binutils ld are patched to set DT_RUNPATH
13365 save_LDFLAGS=$LDFLAGS
13366 save_libdir=$libdir
13367 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13368 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13369 if test x$gcc_no_link = xyes; then
13370 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13372 { (exit 1); exit 1; }; }
13374 cat >conftest.$ac_ext <<_ACEOF
13375 /* confdefs.h. */
13376 _ACEOF
13377 cat confdefs.h >>conftest.$ac_ext
13378 cat >>conftest.$ac_ext <<_ACEOF
13379 /* end confdefs.h. */
13382 main ()
13386 return 0;
13388 _ACEOF
13389 rm -f conftest.$ac_objext conftest$ac_exeext
13390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13391 (eval $ac_link) 2>conftest.er1
13392 ac_status=$?
13393 grep -v '^ *+' conftest.er1 >conftest.err
13394 rm -f conftest.er1
13395 cat conftest.err >&5
13396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13397 (exit $ac_status); } &&
13398 { ac_try='test -z "$ac_cxx_werror_flag"
13399 || test ! -s conftest.err'
13400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13401 (eval $ac_try) 2>&5
13402 ac_status=$?
13403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 (exit $ac_status); }; } &&
13405 { ac_try='test -s conftest$ac_exeext'
13406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13407 (eval $ac_try) 2>&5
13408 ac_status=$?
13409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13410 (exit $ac_status); }; }; then
13411 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
13412 shlibpath_overrides_runpath=yes
13415 else
13416 echo "$as_me: failed program was:" >&5
13417 sed 's/^/| /' conftest.$ac_ext >&5
13420 rm -f conftest.err conftest.$ac_objext \
13421 conftest$ac_exeext conftest.$ac_ext
13422 LDFLAGS=$save_LDFLAGS
13423 libdir=$save_libdir
13425 # This implies no fast_install, which is unacceptable.
13426 # Some rework will be needed to allow for fast_install
13427 # before this can be enabled.
13428 hardcode_into_libs=yes
13430 # Append ld.so.conf contents to the search path
13431 if test -f /etc/ld.so.conf; then
13432 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' ' '`
13433 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13436 # We used to test for /lib/ld.so.1 and disable shared libraries on
13437 # powerpc, because MkLinux only supported shared libraries with the
13438 # GNU dynamic linker. Since this was broken with cross compilers,
13439 # most powerpc-linux boxes support dynamic linking these days and
13440 # people can always --disable-shared, the test was removed, and we
13441 # assume the GNU/Linux dynamic linker is in use.
13442 dynamic_linker='GNU/Linux ld.so'
13445 netbsd*)
13446 version_type=sunos
13447 need_lib_prefix=no
13448 need_version=no
13449 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13450 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13451 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13452 dynamic_linker='NetBSD (a.out) ld.so'
13453 else
13454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13455 soname_spec='${libname}${release}${shared_ext}$major'
13456 dynamic_linker='NetBSD ld.elf_so'
13458 shlibpath_var=LD_LIBRARY_PATH
13459 shlibpath_overrides_runpath=yes
13460 hardcode_into_libs=yes
13463 newsos6)
13464 version_type=linux
13465 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13466 shlibpath_var=LD_LIBRARY_PATH
13467 shlibpath_overrides_runpath=yes
13470 *nto* | *qnx*)
13471 version_type=qnx
13472 need_lib_prefix=no
13473 need_version=no
13474 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13475 soname_spec='${libname}${release}${shared_ext}$major'
13476 shlibpath_var=LD_LIBRARY_PATH
13477 shlibpath_overrides_runpath=no
13478 hardcode_into_libs=yes
13479 dynamic_linker='ldqnx.so'
13482 openbsd*)
13483 version_type=sunos
13484 sys_lib_dlsearch_path_spec="/usr/lib"
13485 need_lib_prefix=no
13486 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13487 case $host_os in
13488 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13489 *) need_version=no ;;
13490 esac
13491 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13492 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13493 shlibpath_var=LD_LIBRARY_PATH
13494 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13495 case $host_os in
13496 openbsd2.[89] | openbsd2.[89].*)
13497 shlibpath_overrides_runpath=no
13500 shlibpath_overrides_runpath=yes
13502 esac
13503 else
13504 shlibpath_overrides_runpath=yes
13508 os2*)
13509 libname_spec='$name'
13510 shrext_cmds=".dll"
13511 need_lib_prefix=no
13512 library_names_spec='$libname${shared_ext} $libname.a'
13513 dynamic_linker='OS/2 ld.exe'
13514 shlibpath_var=LIBPATH
13517 osf3* | osf4* | osf5*)
13518 version_type=osf
13519 need_lib_prefix=no
13520 need_version=no
13521 soname_spec='${libname}${release}${shared_ext}$major'
13522 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13523 shlibpath_var=LD_LIBRARY_PATH
13524 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13525 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13528 rdos*)
13529 dynamic_linker=no
13532 solaris*)
13533 version_type=linux
13534 need_lib_prefix=no
13535 need_version=no
13536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13537 soname_spec='${libname}${release}${shared_ext}$major'
13538 shlibpath_var=LD_LIBRARY_PATH
13539 shlibpath_overrides_runpath=yes
13540 hardcode_into_libs=yes
13541 # ldd complains unless libraries are executable
13542 postinstall_cmds='chmod +x $lib'
13545 sunos4*)
13546 version_type=sunos
13547 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13548 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13549 shlibpath_var=LD_LIBRARY_PATH
13550 shlibpath_overrides_runpath=yes
13551 if test "$with_gnu_ld" = yes; then
13552 need_lib_prefix=no
13554 need_version=yes
13557 sysv4 | sysv4.3*)
13558 version_type=linux
13559 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13560 soname_spec='${libname}${release}${shared_ext}$major'
13561 shlibpath_var=LD_LIBRARY_PATH
13562 case $host_vendor in
13563 sni)
13564 shlibpath_overrides_runpath=no
13565 need_lib_prefix=no
13566 runpath_var=LD_RUN_PATH
13568 siemens)
13569 need_lib_prefix=no
13571 motorola)
13572 need_lib_prefix=no
13573 need_version=no
13574 shlibpath_overrides_runpath=no
13575 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13577 esac
13580 sysv4*MP*)
13581 if test -d /usr/nec ;then
13582 version_type=linux
13583 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13584 soname_spec='$libname${shared_ext}.$major'
13585 shlibpath_var=LD_LIBRARY_PATH
13589 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13590 version_type=freebsd-elf
13591 need_lib_prefix=no
13592 need_version=no
13593 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13594 soname_spec='${libname}${release}${shared_ext}$major'
13595 shlibpath_var=LD_LIBRARY_PATH
13596 shlibpath_overrides_runpath=yes
13597 hardcode_into_libs=yes
13598 if test "$with_gnu_ld" = yes; then
13599 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13600 else
13601 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13602 case $host_os in
13603 sco3.2v5*)
13604 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13606 esac
13608 sys_lib_dlsearch_path_spec='/usr/lib'
13611 tpf*)
13612 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13613 version_type=linux
13614 need_lib_prefix=no
13615 need_version=no
13616 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13617 shlibpath_var=LD_LIBRARY_PATH
13618 shlibpath_overrides_runpath=no
13619 hardcode_into_libs=yes
13622 uts4*)
13623 version_type=linux
13624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13625 soname_spec='${libname}${release}${shared_ext}$major'
13626 shlibpath_var=LD_LIBRARY_PATH
13630 dynamic_linker=no
13632 esac
13633 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13634 echo "${ECHO_T}$dynamic_linker" >&6
13635 test "$dynamic_linker" = no && can_build_shared=no
13637 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13638 if test "$GCC" = yes; then
13639 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13677 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13678 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13679 hardcode_action_CXX=
13680 if test -n "$hardcode_libdir_flag_spec_CXX" ||
13681 test -n "$runpath_var_CXX" ||
13682 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13684 # We can hardcode non-existent directories.
13685 if test "$hardcode_direct_CXX" != no &&
13686 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13687 # have to relink, otherwise we might link with an installed library
13688 # when we should be linking with a yet-to-be-installed one
13689 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13690 test "$hardcode_minus_L_CXX" != no; then
13691 # Linking always hardcodes the temporary library directory.
13692 hardcode_action_CXX=relink
13693 else
13694 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13695 hardcode_action_CXX=immediate
13697 else
13698 # We cannot hardcode anything, or else we can only hardcode existing
13699 # directories.
13700 hardcode_action_CXX=unsupported
13702 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13703 echo "${ECHO_T}$hardcode_action_CXX" >&6
13705 if test "$hardcode_action_CXX" = relink ||
13706 test "$inherit_rpath_CXX" = yes; then
13707 # Fast installation is not supported
13708 enable_fast_install=no
13709 elif test "$shlibpath_overrides_runpath" = yes ||
13710 test "$enable_shared" = no; then
13711 # Fast installation is not necessary
13712 enable_fast_install=needless
13721 fi # test -n "$compiler"
13723 CC=$lt_save_CC
13724 LDCXX=$LD
13725 LD=$lt_save_LD
13726 GCC=$lt_save_GCC
13727 with_gnu_ld=$lt_save_with_gnu_ld
13728 lt_cv_path_LDCXX=$lt_cv_path_LD
13729 lt_cv_path_LD=$lt_save_path_LD
13730 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13731 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13732 fi # test "$_lt_caught_CXX_error" != yes
13734 ac_ext=c
13735 ac_cpp='$CPP $CPPFLAGS'
13736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13752 ac_config_commands="$ac_config_commands libtool"
13757 # Only expand once:
13763 # Possibly disable most of the library.
13764 ## TODO: Consider skipping unncessary tests altogether in this case, rather
13765 ## than just ignoring the results. Faster /and/ more correct, win win.
13767 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
13768 if test "${enable_hosted_libstdcxx+set}" = set; then
13769 enableval="$enable_hosted_libstdcxx"
13771 else
13772 case "$host" in
13773 arm*-*-symbianelf*)
13774 enable_hosted_libstdcxx=no
13777 enable_hosted_libstdcxx=yes
13779 esac
13781 if test "$enable_hosted_libstdcxx" = no; then
13782 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
13783 echo "$as_me: Only freestanding libraries will be built" >&6;}
13784 is_hosted=no
13785 hosted_define=0
13786 enable_abi_check=no
13787 enable_libstdcxx_pch=no
13788 else
13789 is_hosted=yes
13790 hosted_define=1
13794 cat >>confdefs.h <<_ACEOF
13795 #define _GLIBCXX_HOSTED $hosted_define
13796 _ACEOF
13800 # Enable compiler support that doesn't require linking.
13802 echo "$as_me:$LINENO: checking for exception model to use" >&5
13803 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
13806 ac_ext=cc
13807 ac_cpp='$CXXCPP $CPPFLAGS'
13808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13812 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
13813 if test "${enable_sjlj_exceptions+set}" = set; then
13814 enableval="$enable_sjlj_exceptions"
13816 case "$enableval" in
13817 yes|no|auto) ;;
13818 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
13819 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
13820 { (exit 1); exit 1; }; } ;;
13821 esac
13823 else
13824 enable_sjlj_exceptions=auto
13828 if test $enable_sjlj_exceptions = auto; then
13829 # Botheration. Now we've got to detect the exception model. Link tests
13830 # against libgcc.a are problematic since we've not been given proper -L
13831 # bits for single-tree newlib and libgloss.
13833 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
13834 cat > conftest.$ac_ext << EOF
13835 #line 13835 "configure"
13836 struct S { ~S(); };
13837 void bar();
13838 void foo()
13840 S s;
13841 bar();
13844 old_CXXFLAGS="$CXXFLAGS"
13845 CXXFLAGS=-S
13846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13847 (eval $ac_compile) 2>&5
13848 ac_status=$?
13849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13850 (exit $ac_status); }; then
13851 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
13852 enable_sjlj_exceptions=yes
13853 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
13854 enable_sjlj_exceptions=no
13855 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
13856 enable_sjlj_exceptions=no
13859 CXXFLAGS="$old_CXXFLAGS"
13860 rm -f conftest*
13863 # This is a tad weird, for hysterical raisins. We have to map
13864 # enable/disable to two different models.
13865 case $enable_sjlj_exceptions in
13866 yes)
13868 cat >>confdefs.h <<\_ACEOF
13869 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
13870 _ACEOF
13872 ac_exception_model_name=sjlj
13875 ac_exception_model_name="call frame"
13878 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
13879 echo "$as_me: error: unable to detect exception model" >&2;}
13880 { (exit 1); exit 1; }; }
13882 esac
13883 ac_ext=c
13884 ac_cpp='$CPP $CPPFLAGS'
13885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13889 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
13890 echo "${ECHO_T}$ac_exception_model_name" >&6
13893 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
13894 if test "${enable_libstdcxx_pch+set}" = set; then
13895 enableval="$enable_libstdcxx_pch"
13897 case "$enableval" in
13898 yes|no) ;;
13899 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
13900 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
13901 { (exit 1); exit 1; }; } ;;
13902 esac
13904 else
13905 enable_libstdcxx_pch=$is_hosted
13908 if test $enable_libstdcxx_pch = yes; then
13909 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
13910 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
13911 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
13912 echo $ECHO_N "(cached) $ECHO_C" >&6
13913 else
13914 ac_save_CXXFLAGS="$CXXFLAGS"
13915 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
13918 ac_ext=cc
13919 ac_cpp='$CXXCPP $CPPFLAGS'
13920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13924 echo '#include <math.h>' > conftest.h
13925 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
13926 -o conftest.h.gch 1>&5 2>&1 &&
13927 echo '#error "pch failed"' > conftest.h &&
13928 echo '#include "conftest.h"' > conftest.cc &&
13929 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
13930 then
13931 glibcxx_cv_prog_CXX_pch=yes
13932 else
13933 glibcxx_cv_prog_CXX_pch=no
13935 rm -f conftest*
13936 CXXFLAGS=$ac_save_CXXFLAGS
13937 ac_ext=c
13938 ac_cpp='$CPP $CPPFLAGS'
13939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13945 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
13946 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
13947 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
13950 echo "$as_me:$LINENO: checking for enabled PCH" >&5
13951 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
13952 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
13953 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
13956 if test $enable_libstdcxx_pch = yes; then
13957 glibcxx_PCHFLAGS="-include bits/stdc++.h"
13958 else
13959 glibcxx_PCHFLAGS=""
13964 # Enable all the variable C++ runtime options that doesn't require linking.
13966 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
13967 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
13968 # Check whether --enable-cstdio or --disable-cstdio was given.
13969 if test "${enable_cstdio+set}" = set; then
13970 enableval="$enable_cstdio"
13972 case "$enableval" in
13973 stdio) ;;
13974 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
13975 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
13976 { (exit 1); exit 1; }; } ;;
13977 esac
13979 else
13980 enable_cstdio=stdio
13984 # Now that libio has been removed, you can have any color you want as long
13985 # as it's black. This is one big no-op until other packages are added, but
13986 # showing the framework never hurts.
13987 case ${enable_cstdio} in
13988 stdio)
13989 CSTDIO_H=config/io/c_io_stdio.h
13990 BASIC_FILE_H=config/io/basic_file_stdio.h
13991 BASIC_FILE_CC=config/io/basic_file_stdio.cc
13992 echo "$as_me:$LINENO: result: stdio" >&5
13993 echo "${ECHO_T}stdio" >&6
13995 esac
14002 # Check whether --enable-clocale or --disable-clocale was given.
14003 if test "${enable_clocale+set}" = set; then
14004 enableval="$enable_clocale"
14006 case "$enableval" in
14007 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
14008 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
14009 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
14010 { (exit 1); exit 1; }; } ;;
14011 esac
14013 else
14014 enable_clocale=auto
14018 # Deal with gettext issues. Default to not using it (=no) until we detect
14019 # support for it later. Let the user turn it off via --e/d, but let that
14020 # default to on for easier handling.
14021 USE_NLS=no
14022 # Check whether --enable-nls or --disable-nls was given.
14023 if test "${enable_nls+set}" = set; then
14024 enableval="$enable_nls"
14026 else
14027 enable_nls=yes
14030 # Either a known packaage, or "auto"
14031 if test $enable_clocale = no || test $enable_clocale = yes; then
14032 enable_clocale=auto
14034 enable_clocale_flag=$enable_clocale
14036 # Probe for locale model to use if none specified.
14037 # Default to "generic".
14038 if test $enable_clocale_flag = auto; then
14039 case ${target_os} in
14040 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14041 enable_clocale_flag=gnu
14043 darwin* | freebsd*)
14044 enable_clocale_flag=darwin
14047 enable_clocale_flag=generic
14049 esac
14052 # Sanity check model, and test for special functionality.
14053 if test $enable_clocale_flag = gnu; then
14054 cat >conftest.$ac_ext <<_ACEOF
14055 /* confdefs.h. */
14056 _ACEOF
14057 cat confdefs.h >>conftest.$ac_ext
14058 cat >>conftest.$ac_ext <<_ACEOF
14059 /* end confdefs.h. */
14061 #include <features.h>
14062 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
14063 _GLIBCXX_ok
14064 #endif
14066 _ACEOF
14067 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14068 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
14069 enable_clocale_flag=gnu
14070 else
14071 enable_clocale_flag=generic
14073 rm -f conftest*
14076 if test $enable_clocale = auto; then
14077 # Test for bugs early in glibc-2.2.x series
14078 if test "$cross_compiling" = yes; then
14079 enable_clocale_flag=generic
14080 else
14081 cat >conftest.$ac_ext <<_ACEOF
14082 /* confdefs.h. */
14083 _ACEOF
14084 cat confdefs.h >>conftest.$ac_ext
14085 cat >>conftest.$ac_ext <<_ACEOF
14086 /* end confdefs.h. */
14088 #define _GNU_SOURCE 1
14089 #include <locale.h>
14090 #include <string.h>
14091 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
14092 extern __typeof(newlocale) __newlocale;
14093 extern __typeof(duplocale) __duplocale;
14094 extern __typeof(strcoll_l) __strcoll_l;
14095 #endif
14096 int main()
14098 const char __one[] = "Äuglein Augmen";
14099 const char __two[] = "Äuglein";
14100 int i;
14101 int j;
14102 __locale_t loc;
14103 __locale_t loc_dup;
14104 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
14105 loc_dup = __duplocale(loc);
14106 i = __strcoll_l(__one, __two, loc);
14107 j = __strcoll_l(__one, __two, loc_dup);
14108 return 0;
14111 _ACEOF
14112 rm -f conftest$ac_exeext
14113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14114 (eval $ac_link) 2>&5
14115 ac_status=$?
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14119 (eval $ac_try) 2>&5
14120 ac_status=$?
14121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14122 (exit $ac_status); }; }; then
14123 enable_clocale_flag=gnu
14124 else
14125 echo "$as_me: program exited with status $ac_status" >&5
14126 echo "$as_me: failed program was:" >&5
14127 sed 's/^/| /' conftest.$ac_ext >&5
14129 ( exit $ac_status )
14130 enable_clocale_flag=generic
14132 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14136 # Set it to scream when it hurts.
14137 ac_save_CFLAGS="$CFLAGS"
14138 CFLAGS="-Wimplicit-function-declaration -Werror"
14140 # Use strxfrm_l if available.
14141 cat >conftest.$ac_ext <<_ACEOF
14142 /* confdefs.h. */
14143 _ACEOF
14144 cat confdefs.h >>conftest.$ac_ext
14145 cat >>conftest.$ac_ext <<_ACEOF
14146 /* end confdefs.h. */
14147 #define _GNU_SOURCE 1
14148 #include <string.h>
14149 #include <locale.h>
14151 main ()
14153 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
14155 return 0;
14157 _ACEOF
14158 rm -f conftest.$ac_objext
14159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14160 (eval $ac_compile) 2>conftest.er1
14161 ac_status=$?
14162 grep -v '^ *+' conftest.er1 >conftest.err
14163 rm -f conftest.er1
14164 cat conftest.err >&5
14165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14166 (exit $ac_status); } &&
14167 { ac_try='test -z "$ac_c_werror_flag"
14168 || test ! -s conftest.err'
14169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14170 (eval $ac_try) 2>&5
14171 ac_status=$?
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); }; } &&
14174 { ac_try='test -s conftest.$ac_objext'
14175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14176 (eval $ac_try) 2>&5
14177 ac_status=$?
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); }; }; then
14181 cat >>confdefs.h <<\_ACEOF
14182 #define HAVE_STRXFRM_L 1
14183 _ACEOF
14185 else
14186 echo "$as_me: failed program was:" >&5
14187 sed 's/^/| /' conftest.$ac_ext >&5
14190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14192 # Use strerror_l if available.
14193 cat >conftest.$ac_ext <<_ACEOF
14194 /* confdefs.h. */
14195 _ACEOF
14196 cat confdefs.h >>conftest.$ac_ext
14197 cat >>conftest.$ac_ext <<_ACEOF
14198 /* end confdefs.h. */
14199 #define _GNU_SOURCE 1
14200 #include <string.h>
14201 #include <locale.h>
14203 main ()
14205 __locale_t loc; strerror_l(5, loc);
14207 return 0;
14209 _ACEOF
14210 rm -f conftest.$ac_objext
14211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14212 (eval $ac_compile) 2>conftest.er1
14213 ac_status=$?
14214 grep -v '^ *+' conftest.er1 >conftest.err
14215 rm -f conftest.er1
14216 cat conftest.err >&5
14217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14218 (exit $ac_status); } &&
14219 { ac_try='test -z "$ac_c_werror_flag"
14220 || test ! -s conftest.err'
14221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14222 (eval $ac_try) 2>&5
14223 ac_status=$?
14224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14225 (exit $ac_status); }; } &&
14226 { ac_try='test -s conftest.$ac_objext'
14227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14228 (eval $ac_try) 2>&5
14229 ac_status=$?
14230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14231 (exit $ac_status); }; }; then
14233 cat >>confdefs.h <<\_ACEOF
14234 #define HAVE_STRERROR_L 1
14235 _ACEOF
14237 else
14238 echo "$as_me: failed program was:" >&5
14239 sed 's/^/| /' conftest.$ac_ext >&5
14242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14244 CFLAGS="$ac_save_CFLAGS"
14247 # Perhaps use strerror_r if available, and strerror_l isn't.
14248 ac_save_CFLAGS="$CFLAGS"
14249 CFLAGS="-Wimplicit-function-declaration -Werror"
14250 cat >conftest.$ac_ext <<_ACEOF
14251 /* confdefs.h. */
14252 _ACEOF
14253 cat confdefs.h >>conftest.$ac_ext
14254 cat >>conftest.$ac_ext <<_ACEOF
14255 /* end confdefs.h. */
14256 #define _GNU_SOURCE 1
14257 #include <string.h>
14258 #include <locale.h>
14260 main ()
14262 char s[128]; strerror_r(5, s, 128);
14264 return 0;
14266 _ACEOF
14267 rm -f conftest.$ac_objext
14268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14269 (eval $ac_compile) 2>conftest.er1
14270 ac_status=$?
14271 grep -v '^ *+' conftest.er1 >conftest.err
14272 rm -f conftest.er1
14273 cat conftest.err >&5
14274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14275 (exit $ac_status); } &&
14276 { ac_try='test -z "$ac_c_werror_flag"
14277 || test ! -s conftest.err'
14278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14279 (eval $ac_try) 2>&5
14280 ac_status=$?
14281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14282 (exit $ac_status); }; } &&
14283 { ac_try='test -s conftest.$ac_objext'
14284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14285 (eval $ac_try) 2>&5
14286 ac_status=$?
14287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14288 (exit $ac_status); }; }; then
14290 cat >>confdefs.h <<\_ACEOF
14291 #define HAVE_STRERROR_R 1
14292 _ACEOF
14294 else
14295 echo "$as_me: failed program was:" >&5
14296 sed 's/^/| /' conftest.$ac_ext >&5
14299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14300 CFLAGS="$ac_save_CFLAGS"
14302 # Set configure bits for specified locale package
14303 echo "$as_me:$LINENO: checking for C locale to use" >&5
14304 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
14305 case ${enable_clocale_flag} in
14306 generic)
14307 echo "$as_me:$LINENO: result: generic" >&5
14308 echo "${ECHO_T}generic" >&6
14310 CLOCALE_H=config/locale/generic/c_locale.h
14311 CLOCALE_CC=config/locale/generic/c_locale.cc
14312 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14313 CCOLLATE_CC=config/locale/generic/collate_members.cc
14314 CCTYPE_CC=config/locale/generic/ctype_members.cc
14315 CMESSAGES_H=config/locale/generic/messages_members.h
14316 CMESSAGES_CC=config/locale/generic/messages_members.cc
14317 CMONEY_CC=config/locale/generic/monetary_members.cc
14318 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14319 CTIME_H=config/locale/generic/time_members.h
14320 CTIME_CC=config/locale/generic/time_members.cc
14321 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14323 darwin)
14324 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
14325 echo "${ECHO_T}darwin or freebsd" >&6
14327 CLOCALE_H=config/locale/generic/c_locale.h
14328 CLOCALE_CC=config/locale/generic/c_locale.cc
14329 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14330 CCOLLATE_CC=config/locale/generic/collate_members.cc
14331 CCTYPE_CC=config/locale/darwin/ctype_members.cc
14332 CMESSAGES_H=config/locale/generic/messages_members.h
14333 CMESSAGES_CC=config/locale/generic/messages_members.cc
14334 CMONEY_CC=config/locale/generic/monetary_members.cc
14335 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14336 CTIME_H=config/locale/generic/time_members.h
14337 CTIME_CC=config/locale/generic/time_members.cc
14338 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14341 gnu)
14342 echo "$as_me:$LINENO: result: gnu" >&5
14343 echo "${ECHO_T}gnu" >&6
14345 # Declare intention to use gettext, and add support for specific
14346 # languages.
14347 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
14348 ALL_LINGUAS="de fr"
14350 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
14351 # Extract the first word of "msgfmt", so it can be a program name with args.
14352 set dummy msgfmt; ac_word=$2
14353 echo "$as_me:$LINENO: checking for $ac_word" >&5
14354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14355 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
14356 echo $ECHO_N "(cached) $ECHO_C" >&6
14357 else
14358 if test -n "$check_msgfmt"; then
14359 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
14360 else
14361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14362 for as_dir in $PATH
14364 IFS=$as_save_IFS
14365 test -z "$as_dir" && as_dir=.
14366 for ac_exec_ext in '' $ac_executable_extensions; do
14367 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14368 ac_cv_prog_check_msgfmt="yes"
14369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14370 break 2
14372 done
14373 done
14375 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
14378 check_msgfmt=$ac_cv_prog_check_msgfmt
14379 if test -n "$check_msgfmt"; then
14380 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
14381 echo "${ECHO_T}$check_msgfmt" >&6
14382 else
14383 echo "$as_me:$LINENO: result: no" >&5
14384 echo "${ECHO_T}no" >&6
14387 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
14388 USE_NLS=yes
14390 # Export the build objects.
14391 for ling in $ALL_LINGUAS; do \
14392 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
14393 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
14394 done
14398 CLOCALE_H=config/locale/gnu/c_locale.h
14399 CLOCALE_CC=config/locale/gnu/c_locale.cc
14400 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
14401 CCOLLATE_CC=config/locale/gnu/collate_members.cc
14402 CCTYPE_CC=config/locale/gnu/ctype_members.cc
14403 CMESSAGES_H=config/locale/gnu/messages_members.h
14404 CMESSAGES_CC=config/locale/gnu/messages_members.cc
14405 CMONEY_CC=config/locale/gnu/monetary_members.cc
14406 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
14407 CTIME_H=config/locale/gnu/time_members.h
14408 CTIME_CC=config/locale/gnu/time_members.cc
14409 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
14411 ieee_1003.1-2001)
14412 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
14413 echo "${ECHO_T}IEEE 1003.1" >&6
14415 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
14416 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
14417 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14418 CCOLLATE_CC=config/locale/generic/collate_members.cc
14419 CCTYPE_CC=config/locale/generic/ctype_members.cc
14420 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
14421 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
14422 CMONEY_CC=config/locale/generic/monetary_members.cc
14423 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14424 CTIME_H=config/locale/generic/time_members.h
14425 CTIME_CC=config/locale/generic/time_members.cc
14426 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14428 esac
14430 # This is where the testsuite looks for locale catalogs, using the
14431 # -DLOCALEDIR define during testsuite compilation.
14432 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
14435 # A standalone libintl (e.g., GNU libintl) may be in use.
14436 if test $USE_NLS = yes; then
14438 for ac_header in libintl.h
14440 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14441 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14442 echo "$as_me:$LINENO: checking for $ac_header" >&5
14443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14445 echo $ECHO_N "(cached) $ECHO_C" >&6
14447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14448 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14449 else
14450 # Is the header compilable?
14451 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14452 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14453 cat >conftest.$ac_ext <<_ACEOF
14454 /* confdefs.h. */
14455 _ACEOF
14456 cat confdefs.h >>conftest.$ac_ext
14457 cat >>conftest.$ac_ext <<_ACEOF
14458 /* end confdefs.h. */
14459 $ac_includes_default
14460 #include <$ac_header>
14461 _ACEOF
14462 rm -f conftest.$ac_objext
14463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14464 (eval $ac_compile) 2>conftest.er1
14465 ac_status=$?
14466 grep -v '^ *+' conftest.er1 >conftest.err
14467 rm -f conftest.er1
14468 cat conftest.err >&5
14469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14470 (exit $ac_status); } &&
14471 { ac_try='test -z "$ac_c_werror_flag"
14472 || test ! -s conftest.err'
14473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14474 (eval $ac_try) 2>&5
14475 ac_status=$?
14476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14477 (exit $ac_status); }; } &&
14478 { ac_try='test -s conftest.$ac_objext'
14479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14480 (eval $ac_try) 2>&5
14481 ac_status=$?
14482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14483 (exit $ac_status); }; }; then
14484 ac_header_compiler=yes
14485 else
14486 echo "$as_me: failed program was:" >&5
14487 sed 's/^/| /' conftest.$ac_ext >&5
14489 ac_header_compiler=no
14491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14492 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14493 echo "${ECHO_T}$ac_header_compiler" >&6
14495 # Is the header present?
14496 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14497 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14498 cat >conftest.$ac_ext <<_ACEOF
14499 /* confdefs.h. */
14500 _ACEOF
14501 cat confdefs.h >>conftest.$ac_ext
14502 cat >>conftest.$ac_ext <<_ACEOF
14503 /* end confdefs.h. */
14504 #include <$ac_header>
14505 _ACEOF
14506 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14507 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14508 ac_status=$?
14509 grep -v '^ *+' conftest.er1 >conftest.err
14510 rm -f conftest.er1
14511 cat conftest.err >&5
14512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14513 (exit $ac_status); } >/dev/null; then
14514 if test -s conftest.err; then
14515 ac_cpp_err=$ac_c_preproc_warn_flag
14516 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14517 else
14518 ac_cpp_err=
14520 else
14521 ac_cpp_err=yes
14523 if test -z "$ac_cpp_err"; then
14524 ac_header_preproc=yes
14525 else
14526 echo "$as_me: failed program was:" >&5
14527 sed 's/^/| /' conftest.$ac_ext >&5
14529 ac_header_preproc=no
14531 rm -f conftest.err conftest.$ac_ext
14532 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14533 echo "${ECHO_T}$ac_header_preproc" >&6
14535 # So? What about this header?
14536 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14537 yes:no: )
14538 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14539 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14540 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14541 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14542 ac_header_preproc=yes
14544 no:yes:* )
14545 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14546 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14547 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14548 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14549 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14550 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14551 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14552 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14553 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14554 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14555 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14556 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14558 cat <<\_ASBOX
14559 ## ----------------------------------------- ##
14560 ## Report this to the package-unused lists. ##
14561 ## ----------------------------------------- ##
14562 _ASBOX
14564 sed "s/^/$as_me: WARNING: /" >&2
14566 esac
14567 echo "$as_me:$LINENO: checking for $ac_header" >&5
14568 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14569 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14570 echo $ECHO_N "(cached) $ECHO_C" >&6
14571 else
14572 eval "$as_ac_Header=\$ac_header_preproc"
14574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14575 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14578 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14579 cat >>confdefs.h <<_ACEOF
14580 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14581 _ACEOF
14583 else
14584 USE_NLS=no
14587 done
14589 echo "$as_me:$LINENO: checking for library containing gettext" >&5
14590 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
14591 if test "${ac_cv_search_gettext+set}" = set; then
14592 echo $ECHO_N "(cached) $ECHO_C" >&6
14593 else
14594 ac_func_search_save_LIBS=$LIBS
14595 ac_cv_search_gettext=no
14596 if test x$gcc_no_link = xyes; then
14597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14599 { (exit 1); exit 1; }; }
14601 cat >conftest.$ac_ext <<_ACEOF
14602 /* confdefs.h. */
14603 _ACEOF
14604 cat confdefs.h >>conftest.$ac_ext
14605 cat >>conftest.$ac_ext <<_ACEOF
14606 /* end confdefs.h. */
14608 /* Override any gcc2 internal prototype to avoid an error. */
14609 #ifdef __cplusplus
14610 extern "C"
14611 #endif
14612 /* We use char because int might match the return type of a gcc2
14613 builtin and then its argument prototype would still apply. */
14614 char gettext ();
14616 main ()
14618 gettext ();
14620 return 0;
14622 _ACEOF
14623 rm -f conftest.$ac_objext conftest$ac_exeext
14624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14625 (eval $ac_link) 2>conftest.er1
14626 ac_status=$?
14627 grep -v '^ *+' conftest.er1 >conftest.err
14628 rm -f conftest.er1
14629 cat conftest.err >&5
14630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14631 (exit $ac_status); } &&
14632 { ac_try='test -z "$ac_c_werror_flag"
14633 || test ! -s conftest.err'
14634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14635 (eval $ac_try) 2>&5
14636 ac_status=$?
14637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14638 (exit $ac_status); }; } &&
14639 { ac_try='test -s conftest$ac_exeext'
14640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14641 (eval $ac_try) 2>&5
14642 ac_status=$?
14643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14644 (exit $ac_status); }; }; then
14645 ac_cv_search_gettext="none required"
14646 else
14647 echo "$as_me: failed program was:" >&5
14648 sed 's/^/| /' conftest.$ac_ext >&5
14651 rm -f conftest.err conftest.$ac_objext \
14652 conftest$ac_exeext conftest.$ac_ext
14653 if test "$ac_cv_search_gettext" = no; then
14654 for ac_lib in intl; do
14655 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14656 if test x$gcc_no_link = xyes; then
14657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14659 { (exit 1); exit 1; }; }
14661 cat >conftest.$ac_ext <<_ACEOF
14662 /* confdefs.h. */
14663 _ACEOF
14664 cat confdefs.h >>conftest.$ac_ext
14665 cat >>conftest.$ac_ext <<_ACEOF
14666 /* end confdefs.h. */
14668 /* Override any gcc2 internal prototype to avoid an error. */
14669 #ifdef __cplusplus
14670 extern "C"
14671 #endif
14672 /* We use char because int might match the return type of a gcc2
14673 builtin and then its argument prototype would still apply. */
14674 char gettext ();
14676 main ()
14678 gettext ();
14680 return 0;
14682 _ACEOF
14683 rm -f conftest.$ac_objext conftest$ac_exeext
14684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14685 (eval $ac_link) 2>conftest.er1
14686 ac_status=$?
14687 grep -v '^ *+' conftest.er1 >conftest.err
14688 rm -f conftest.er1
14689 cat conftest.err >&5
14690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14691 (exit $ac_status); } &&
14692 { ac_try='test -z "$ac_c_werror_flag"
14693 || test ! -s conftest.err'
14694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14695 (eval $ac_try) 2>&5
14696 ac_status=$?
14697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14698 (exit $ac_status); }; } &&
14699 { ac_try='test -s conftest$ac_exeext'
14700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14701 (eval $ac_try) 2>&5
14702 ac_status=$?
14703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14704 (exit $ac_status); }; }; then
14705 ac_cv_search_gettext="-l$ac_lib"
14706 break
14707 else
14708 echo "$as_me: failed program was:" >&5
14709 sed 's/^/| /' conftest.$ac_ext >&5
14712 rm -f conftest.err conftest.$ac_objext \
14713 conftest$ac_exeext conftest.$ac_ext
14714 done
14716 LIBS=$ac_func_search_save_LIBS
14718 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
14719 echo "${ECHO_T}$ac_cv_search_gettext" >&6
14720 if test "$ac_cv_search_gettext" != no; then
14721 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
14723 else
14724 USE_NLS=no
14728 if test $USE_NLS = yes; then
14730 cat >>confdefs.h <<\_ACEOF
14731 #define _GLIBCXX_USE_NLS 1
14732 _ACEOF
14751 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
14752 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
14753 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
14754 if test "${enable_libstdcxx_allocator+set}" = set; then
14755 enableval="$enable_libstdcxx_allocator"
14757 case "$enableval" in
14758 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
14759 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
14760 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
14761 { (exit 1); exit 1; }; } ;;
14762 esac
14764 else
14765 enable_libstdcxx_allocator=auto
14769 # If they didn't use this option switch, or if they specified --enable
14770 # with no specific model, we'll have to look for one. If they
14771 # specified --disable (???), do likewise.
14772 if test $enable_libstdcxx_allocator = no ||
14773 test $enable_libstdcxx_allocator = yes;
14774 then
14775 enable_libstdcxx_allocator=auto
14778 # Either a known package, or "auto". Auto implies the default choice
14779 # for a particular platform.
14780 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
14782 # Probe for host-specific support if no specific model is specified.
14783 # Default to "new".
14784 if test $enable_libstdcxx_allocator_flag = auto; then
14785 case ${target_os} in
14786 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14787 enable_libstdcxx_allocator_flag=new
14790 enable_libstdcxx_allocator_flag=new
14792 esac
14794 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
14795 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
14798 # Set configure bits for specified locale package
14799 case ${enable_libstdcxx_allocator_flag} in
14800 bitmap)
14801 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
14802 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
14804 malloc)
14805 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
14806 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
14809 ALLOCATOR_H=config/allocator/mt_allocator_base.h
14810 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
14812 new)
14813 ALLOCATOR_H=config/allocator/new_allocator_base.h
14814 ALLOCATOR_NAME=__gnu_cxx::new_allocator
14816 pool)
14817 ALLOCATOR_H=config/allocator/pool_allocator_base.h
14818 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
14820 esac
14826 # Check whether --enable-cheaders or --disable-cheaders was given.
14827 if test "${enable_cheaders+set}" = set; then
14828 enableval="$enable_cheaders"
14830 case "$enableval" in
14831 c|c_std|c_global) ;;
14832 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
14833 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
14834 { (exit 1); exit 1; }; } ;;
14835 esac
14837 else
14838 enable_cheaders=$c_model
14841 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
14842 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
14844 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
14846 # Allow overrides to configure.host here.
14847 if test $enable_cheaders = c_global; then
14848 c_compatibility=yes
14851 if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
14852 c_extra=yes
14862 # Check whether --enable-long-long or --disable-long-long was given.
14863 if test "${enable_long_long+set}" = set; then
14864 enableval="$enable_long_long"
14866 case "$enableval" in
14867 yes|no) ;;
14868 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
14869 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
14870 { (exit 1); exit 1; }; } ;;
14871 esac
14873 else
14874 enable_long_long=yes
14877 if test $enable_long_long = yes; then
14879 cat >>confdefs.h <<\_ACEOF
14880 #define _GLIBCXX_USE_LONG_LONG 1
14881 _ACEOF
14884 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
14885 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
14886 echo "$as_me:$LINENO: result: $enable_long_long" >&5
14887 echo "${ECHO_T}$enable_long_long" >&6
14890 # Check whether --enable-wchar_t or --disable-wchar_t was given.
14891 if test "${enable_wchar_t+set}" = set; then
14892 enableval="$enable_wchar_t"
14894 case "$enableval" in
14895 yes|no) ;;
14896 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
14897 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
14898 { (exit 1); exit 1; }; } ;;
14899 esac
14901 else
14902 enable_wchar_t=yes
14906 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
14908 for ac_header in wchar.h
14910 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14912 echo "$as_me:$LINENO: checking for $ac_header" >&5
14913 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14914 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14915 echo $ECHO_N "(cached) $ECHO_C" >&6
14917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14918 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14919 else
14920 # Is the header compilable?
14921 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14922 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14923 cat >conftest.$ac_ext <<_ACEOF
14924 /* confdefs.h. */
14925 _ACEOF
14926 cat confdefs.h >>conftest.$ac_ext
14927 cat >>conftest.$ac_ext <<_ACEOF
14928 /* end confdefs.h. */
14929 $ac_includes_default
14930 #include <$ac_header>
14931 _ACEOF
14932 rm -f conftest.$ac_objext
14933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14934 (eval $ac_compile) 2>conftest.er1
14935 ac_status=$?
14936 grep -v '^ *+' conftest.er1 >conftest.err
14937 rm -f conftest.er1
14938 cat conftest.err >&5
14939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14940 (exit $ac_status); } &&
14941 { ac_try='test -z "$ac_c_werror_flag"
14942 || test ! -s conftest.err'
14943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14944 (eval $ac_try) 2>&5
14945 ac_status=$?
14946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14947 (exit $ac_status); }; } &&
14948 { ac_try='test -s conftest.$ac_objext'
14949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14950 (eval $ac_try) 2>&5
14951 ac_status=$?
14952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14953 (exit $ac_status); }; }; then
14954 ac_header_compiler=yes
14955 else
14956 echo "$as_me: failed program was:" >&5
14957 sed 's/^/| /' conftest.$ac_ext >&5
14959 ac_header_compiler=no
14961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14962 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14963 echo "${ECHO_T}$ac_header_compiler" >&6
14965 # Is the header present?
14966 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14967 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14968 cat >conftest.$ac_ext <<_ACEOF
14969 /* confdefs.h. */
14970 _ACEOF
14971 cat confdefs.h >>conftest.$ac_ext
14972 cat >>conftest.$ac_ext <<_ACEOF
14973 /* end confdefs.h. */
14974 #include <$ac_header>
14975 _ACEOF
14976 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14977 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14978 ac_status=$?
14979 grep -v '^ *+' conftest.er1 >conftest.err
14980 rm -f conftest.er1
14981 cat conftest.err >&5
14982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14983 (exit $ac_status); } >/dev/null; then
14984 if test -s conftest.err; then
14985 ac_cpp_err=$ac_c_preproc_warn_flag
14986 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14987 else
14988 ac_cpp_err=
14990 else
14991 ac_cpp_err=yes
14993 if test -z "$ac_cpp_err"; then
14994 ac_header_preproc=yes
14995 else
14996 echo "$as_me: failed program was:" >&5
14997 sed 's/^/| /' conftest.$ac_ext >&5
14999 ac_header_preproc=no
15001 rm -f conftest.err conftest.$ac_ext
15002 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15003 echo "${ECHO_T}$ac_header_preproc" >&6
15005 # So? What about this header?
15006 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15007 yes:no: )
15008 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15009 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15010 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15011 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15012 ac_header_preproc=yes
15014 no:yes:* )
15015 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15016 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15017 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15018 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15019 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15020 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15021 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15022 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15023 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15024 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15025 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15026 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15028 cat <<\_ASBOX
15029 ## ----------------------------------------- ##
15030 ## Report this to the package-unused lists. ##
15031 ## ----------------------------------------- ##
15032 _ASBOX
15034 sed "s/^/$as_me: WARNING: /" >&2
15036 esac
15037 echo "$as_me:$LINENO: checking for $ac_header" >&5
15038 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15040 echo $ECHO_N "(cached) $ECHO_C" >&6
15041 else
15042 eval "$as_ac_Header=\$ac_header_preproc"
15044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15045 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15048 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15049 cat >>confdefs.h <<_ACEOF
15050 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15051 _ACEOF
15052 ac_has_wchar_h=yes
15053 else
15054 ac_has_wchar_h=no
15057 done
15059 echo "$as_me:$LINENO: checking for mbstate_t" >&5
15060 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
15061 cat >conftest.$ac_ext <<_ACEOF
15062 /* confdefs.h. */
15063 _ACEOF
15064 cat confdefs.h >>conftest.$ac_ext
15065 cat >>conftest.$ac_ext <<_ACEOF
15066 /* end confdefs.h. */
15067 #include <wchar.h>
15069 main ()
15071 mbstate_t teststate;
15073 return 0;
15075 _ACEOF
15076 rm -f conftest.$ac_objext
15077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15078 (eval $ac_compile) 2>conftest.er1
15079 ac_status=$?
15080 grep -v '^ *+' conftest.er1 >conftest.err
15081 rm -f conftest.er1
15082 cat conftest.err >&5
15083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15084 (exit $ac_status); } &&
15085 { ac_try='test -z "$ac_c_werror_flag"
15086 || test ! -s conftest.err'
15087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15088 (eval $ac_try) 2>&5
15089 ac_status=$?
15090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15091 (exit $ac_status); }; } &&
15092 { ac_try='test -s conftest.$ac_objext'
15093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15094 (eval $ac_try) 2>&5
15095 ac_status=$?
15096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15097 (exit $ac_status); }; }; then
15098 have_mbstate_t=yes
15099 else
15100 echo "$as_me: failed program was:" >&5
15101 sed 's/^/| /' conftest.$ac_ext >&5
15103 have_mbstate_t=no
15105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15106 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
15107 echo "${ECHO_T}$have_mbstate_t" >&6
15108 if test x"$have_mbstate_t" = xyes; then
15110 cat >>confdefs.h <<\_ACEOF
15111 #define HAVE_MBSTATE_T 1
15112 _ACEOF
15116 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
15117 # ac_has_wchar_h.
15119 for ac_header in wctype.h
15121 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15123 echo "$as_me:$LINENO: checking for $ac_header" >&5
15124 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15125 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15126 echo $ECHO_N "(cached) $ECHO_C" >&6
15128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15129 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15130 else
15131 # Is the header compilable?
15132 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15133 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15134 cat >conftest.$ac_ext <<_ACEOF
15135 /* confdefs.h. */
15136 _ACEOF
15137 cat confdefs.h >>conftest.$ac_ext
15138 cat >>conftest.$ac_ext <<_ACEOF
15139 /* end confdefs.h. */
15140 $ac_includes_default
15141 #include <$ac_header>
15142 _ACEOF
15143 rm -f conftest.$ac_objext
15144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15145 (eval $ac_compile) 2>conftest.er1
15146 ac_status=$?
15147 grep -v '^ *+' conftest.er1 >conftest.err
15148 rm -f conftest.er1
15149 cat conftest.err >&5
15150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15151 (exit $ac_status); } &&
15152 { ac_try='test -z "$ac_c_werror_flag"
15153 || test ! -s conftest.err'
15154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15155 (eval $ac_try) 2>&5
15156 ac_status=$?
15157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15158 (exit $ac_status); }; } &&
15159 { ac_try='test -s conftest.$ac_objext'
15160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15161 (eval $ac_try) 2>&5
15162 ac_status=$?
15163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15164 (exit $ac_status); }; }; then
15165 ac_header_compiler=yes
15166 else
15167 echo "$as_me: failed program was:" >&5
15168 sed 's/^/| /' conftest.$ac_ext >&5
15170 ac_header_compiler=no
15172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15173 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15174 echo "${ECHO_T}$ac_header_compiler" >&6
15176 # Is the header present?
15177 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15178 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15179 cat >conftest.$ac_ext <<_ACEOF
15180 /* confdefs.h. */
15181 _ACEOF
15182 cat confdefs.h >>conftest.$ac_ext
15183 cat >>conftest.$ac_ext <<_ACEOF
15184 /* end confdefs.h. */
15185 #include <$ac_header>
15186 _ACEOF
15187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15188 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15189 ac_status=$?
15190 grep -v '^ *+' conftest.er1 >conftest.err
15191 rm -f conftest.er1
15192 cat conftest.err >&5
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); } >/dev/null; then
15195 if test -s conftest.err; then
15196 ac_cpp_err=$ac_c_preproc_warn_flag
15197 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15198 else
15199 ac_cpp_err=
15201 else
15202 ac_cpp_err=yes
15204 if test -z "$ac_cpp_err"; then
15205 ac_header_preproc=yes
15206 else
15207 echo "$as_me: failed program was:" >&5
15208 sed 's/^/| /' conftest.$ac_ext >&5
15210 ac_header_preproc=no
15212 rm -f conftest.err conftest.$ac_ext
15213 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15214 echo "${ECHO_T}$ac_header_preproc" >&6
15216 # So? What about this header?
15217 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15218 yes:no: )
15219 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15220 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15221 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15222 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15223 ac_header_preproc=yes
15225 no:yes:* )
15226 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15227 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15228 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15229 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15230 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15231 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15232 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15233 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15234 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15235 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15236 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15237 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15239 cat <<\_ASBOX
15240 ## ----------------------------------------- ##
15241 ## Report this to the package-unused lists. ##
15242 ## ----------------------------------------- ##
15243 _ASBOX
15245 sed "s/^/$as_me: WARNING: /" >&2
15247 esac
15248 echo "$as_me:$LINENO: checking for $ac_header" >&5
15249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15251 echo $ECHO_N "(cached) $ECHO_C" >&6
15252 else
15253 eval "$as_ac_Header=\$ac_header_preproc"
15255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15256 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15259 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15260 cat >>confdefs.h <<_ACEOF
15261 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15262 _ACEOF
15263 ac_has_wctype_h=yes
15264 else
15265 ac_has_wctype_h=no
15268 done
15271 if test x"$enable_wchar_t" = x"yes"; then
15275 ac_ext=cc
15276 ac_cpp='$CXXCPP $CPPFLAGS'
15277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15282 if test x"$ac_has_wchar_h" = xyes &&
15283 test x"$ac_has_wctype_h" = xyes; then
15284 cat >conftest.$ac_ext <<_ACEOF
15285 /* confdefs.h. */
15286 _ACEOF
15287 cat confdefs.h >>conftest.$ac_ext
15288 cat >>conftest.$ac_ext <<_ACEOF
15289 /* end confdefs.h. */
15290 #include <wchar.h>
15291 #include <stddef.h>
15292 wint_t i;
15293 long l = WEOF;
15294 long j = WCHAR_MIN;
15295 long k = WCHAR_MAX;
15296 namespace test
15298 using ::btowc;
15299 using ::fgetwc;
15300 using ::fgetws;
15301 using ::fputwc;
15302 using ::fputws;
15303 using ::fwide;
15304 using ::fwprintf;
15305 using ::fwscanf;
15306 using ::getwc;
15307 using ::getwchar;
15308 using ::mbrlen;
15309 using ::mbrtowc;
15310 using ::mbsinit;
15311 using ::mbsrtowcs;
15312 using ::putwc;
15313 using ::putwchar;
15314 using ::swprintf;
15315 using ::swscanf;
15316 using ::ungetwc;
15317 using ::vfwprintf;
15318 using ::vswprintf;
15319 using ::vwprintf;
15320 using ::wcrtomb;
15321 using ::wcscat;
15322 using ::wcschr;
15323 using ::wcscmp;
15324 using ::wcscoll;
15325 using ::wcscpy;
15326 using ::wcscspn;
15327 using ::wcsftime;
15328 using ::wcslen;
15329 using ::wcsncat;
15330 using ::wcsncmp;
15331 using ::wcsncpy;
15332 using ::wcspbrk;
15333 using ::wcsrchr;
15334 using ::wcsrtombs;
15335 using ::wcsspn;
15336 using ::wcsstr;
15337 using ::wcstod;
15338 using ::wcstok;
15339 using ::wcstol;
15340 using ::wcstoul;
15341 using ::wcsxfrm;
15342 using ::wctob;
15343 using ::wmemchr;
15344 using ::wmemcmp;
15345 using ::wmemcpy;
15346 using ::wmemmove;
15347 using ::wmemset;
15348 using ::wprintf;
15349 using ::wscanf;
15353 main ()
15357 return 0;
15359 _ACEOF
15360 rm -f conftest.$ac_objext
15361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15362 (eval $ac_compile) 2>conftest.er1
15363 ac_status=$?
15364 grep -v '^ *+' conftest.er1 >conftest.err
15365 rm -f conftest.er1
15366 cat conftest.err >&5
15367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15368 (exit $ac_status); } &&
15369 { ac_try='test -z "$ac_cxx_werror_flag"
15370 || test ! -s conftest.err'
15371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15372 (eval $ac_try) 2>&5
15373 ac_status=$?
15374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15375 (exit $ac_status); }; } &&
15376 { ac_try='test -s conftest.$ac_objext'
15377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15378 (eval $ac_try) 2>&5
15379 ac_status=$?
15380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15381 (exit $ac_status); }; }; then
15383 else
15384 echo "$as_me: failed program was:" >&5
15385 sed 's/^/| /' conftest.$ac_ext >&5
15387 enable_wchar_t=no
15389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15390 else
15391 enable_wchar_t=no
15394 ac_ext=c
15395 ac_cpp='$CPP $CPPFLAGS'
15396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15402 if test x"$enable_wchar_t" = x"yes"; then
15404 cat >>confdefs.h <<\_ACEOF
15405 #define _GLIBCXX_USE_WCHAR_T 1
15406 _ACEOF
15410 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
15411 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
15412 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
15413 echo "${ECHO_T}$enable_wchar_t" >&6
15417 # Check whether --enable-c99 or --disable-c99 was given.
15418 if test "${enable_c99+set}" = set; then
15419 enableval="$enable_c99"
15421 case "$enableval" in
15422 yes|no) ;;
15423 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
15424 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
15425 { (exit 1); exit 1; }; } ;;
15426 esac
15428 else
15429 enable_c99=yes
15433 if test x"$enable_c99" = x"yes"; then
15437 ac_ext=cc
15438 ac_cpp='$CXXCPP $CPPFLAGS'
15439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15444 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
15445 # undefined and fake C99 facilities - like pre-standard snprintf - may be
15446 # spuriously enabled.
15447 # Long term, -std=c++0x could be even better, could manage to explicitely
15448 # request C99 facilities to the underlying C headers.
15449 ac_save_CXXFLAGS="$CXXFLAGS"
15450 CXXFLAGS="$CXXFLAGS -std=c++98"
15451 ac_save_LIBS="$LIBS"
15452 ac_save_gcc_no_link="$gcc_no_link"
15454 if test x$gcc_no_link != xyes; then
15455 # Use -fno-exceptions to that the C driver can link these tests without
15456 # hitting undefined references to personality routines.
15457 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15458 echo "$as_me:$LINENO: checking for sin in -lm" >&5
15459 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
15460 if test "${ac_cv_lib_m_sin+set}" = set; then
15461 echo $ECHO_N "(cached) $ECHO_C" >&6
15462 else
15463 ac_check_lib_save_LIBS=$LIBS
15464 LIBS="-lm $LIBS"
15465 if test x$gcc_no_link = xyes; then
15466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15468 { (exit 1); exit 1; }; }
15470 cat >conftest.$ac_ext <<_ACEOF
15471 /* confdefs.h. */
15472 _ACEOF
15473 cat confdefs.h >>conftest.$ac_ext
15474 cat >>conftest.$ac_ext <<_ACEOF
15475 /* end confdefs.h. */
15477 /* Override any gcc2 internal prototype to avoid an error. */
15478 #ifdef __cplusplus
15479 extern "C"
15480 #endif
15481 /* We use char because int might match the return type of a gcc2
15482 builtin and then its argument prototype would still apply. */
15483 char sin ();
15485 main ()
15487 sin ();
15489 return 0;
15491 _ACEOF
15492 rm -f conftest.$ac_objext conftest$ac_exeext
15493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15494 (eval $ac_link) 2>conftest.er1
15495 ac_status=$?
15496 grep -v '^ *+' conftest.er1 >conftest.err
15497 rm -f conftest.er1
15498 cat conftest.err >&5
15499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15500 (exit $ac_status); } &&
15501 { ac_try='test -z "$ac_cxx_werror_flag"
15502 || test ! -s conftest.err'
15503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15504 (eval $ac_try) 2>&5
15505 ac_status=$?
15506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15507 (exit $ac_status); }; } &&
15508 { ac_try='test -s conftest$ac_exeext'
15509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15510 (eval $ac_try) 2>&5
15511 ac_status=$?
15512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15513 (exit $ac_status); }; }; then
15514 ac_cv_lib_m_sin=yes
15515 else
15516 echo "$as_me: failed program was:" >&5
15517 sed 's/^/| /' conftest.$ac_ext >&5
15519 ac_cv_lib_m_sin=no
15521 rm -f conftest.err conftest.$ac_objext \
15522 conftest$ac_exeext conftest.$ac_ext
15523 LIBS=$ac_check_lib_save_LIBS
15525 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
15526 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
15527 if test $ac_cv_lib_m_sin = yes; then
15529 LIBS="$LIBS -lm"
15531 else
15533 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
15534 gcc_no_link=yes
15540 # Check for the existence of <math.h> functions used if C99 is enabled.
15541 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
15542 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
15543 if test "${ac_c99_math+set}" = set; then
15544 echo $ECHO_N "(cached) $ECHO_C" >&6
15545 else
15547 if test x$gcc_no_link = xyes; then
15548 cat >conftest.$ac_ext <<_ACEOF
15549 /* confdefs.h. */
15550 _ACEOF
15551 cat confdefs.h >>conftest.$ac_ext
15552 cat >>conftest.$ac_ext <<_ACEOF
15553 /* end confdefs.h. */
15554 #include <math.h>
15555 volatile double d1, d2;
15556 volatile int i;
15558 main ()
15560 i = fpclassify(d1);
15561 i = isfinite(d1);
15562 i = isinf(d1);
15563 i = isnan(d1);
15564 i = isnormal(d1);
15565 i = signbit(d1);
15566 i = isgreater(d1, d2);
15567 i = isgreaterequal(d1, d2);
15568 i = isless(d1, d2);
15569 i = islessequal(d1, d2);
15570 i = islessgreater(d1, d2);
15571 i = islessgreater(d1, d2);
15572 i = isunordered(d1, d2);
15575 return 0;
15577 _ACEOF
15578 rm -f conftest.$ac_objext
15579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15580 (eval $ac_compile) 2>conftest.er1
15581 ac_status=$?
15582 grep -v '^ *+' conftest.er1 >conftest.err
15583 rm -f conftest.er1
15584 cat conftest.err >&5
15585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15586 (exit $ac_status); } &&
15587 { ac_try='test -z "$ac_cxx_werror_flag"
15588 || test ! -s conftest.err'
15589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15590 (eval $ac_try) 2>&5
15591 ac_status=$?
15592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15593 (exit $ac_status); }; } &&
15594 { ac_try='test -s conftest.$ac_objext'
15595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15596 (eval $ac_try) 2>&5
15597 ac_status=$?
15598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15599 (exit $ac_status); }; }; then
15600 ac_c99_math=yes
15601 else
15602 echo "$as_me: failed program was:" >&5
15603 sed 's/^/| /' conftest.$ac_ext >&5
15605 ac_c99_math=no
15607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15608 else
15609 if test x$gcc_no_link = xyes; then
15610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15612 { (exit 1); exit 1; }; }
15614 cat >conftest.$ac_ext <<_ACEOF
15615 /* confdefs.h. */
15616 _ACEOF
15617 cat confdefs.h >>conftest.$ac_ext
15618 cat >>conftest.$ac_ext <<_ACEOF
15619 /* end confdefs.h. */
15620 #include <math.h>
15621 volatile double d1, d2;
15622 volatile int i;
15624 main ()
15626 i = fpclassify(d1);
15627 i = isfinite(d1);
15628 i = isinf(d1);
15629 i = isnan(d1);
15630 i = isnormal(d1);
15631 i = signbit(d1);
15632 i = isgreater(d1, d2);
15633 i = isgreaterequal(d1, d2);
15634 i = isless(d1, d2);
15635 i = islessequal(d1, d2);
15636 i = islessgreater(d1, d2);
15637 i = islessgreater(d1, d2);
15638 i = isunordered(d1, d2);
15641 return 0;
15643 _ACEOF
15644 rm -f conftest.$ac_objext conftest$ac_exeext
15645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15646 (eval $ac_link) 2>conftest.er1
15647 ac_status=$?
15648 grep -v '^ *+' conftest.er1 >conftest.err
15649 rm -f conftest.er1
15650 cat conftest.err >&5
15651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15652 (exit $ac_status); } &&
15653 { ac_try='test -z "$ac_cxx_werror_flag"
15654 || test ! -s conftest.err'
15655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15656 (eval $ac_try) 2>&5
15657 ac_status=$?
15658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15659 (exit $ac_status); }; } &&
15660 { ac_try='test -s conftest$ac_exeext'
15661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15662 (eval $ac_try) 2>&5
15663 ac_status=$?
15664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15665 (exit $ac_status); }; }; then
15666 ac_c99_math=yes
15667 else
15668 echo "$as_me: failed program was:" >&5
15669 sed 's/^/| /' conftest.$ac_ext >&5
15671 ac_c99_math=no
15673 rm -f conftest.err conftest.$ac_objext \
15674 conftest$ac_exeext conftest.$ac_ext
15679 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
15680 echo "${ECHO_T}$ac_c99_math" >&6
15681 if test x"$ac_c99_math" = x"yes"; then
15683 cat >>confdefs.h <<\_ACEOF
15684 #define _GLIBCXX_USE_C99_MATH 1
15685 _ACEOF
15689 # Check for the existence of <complex.h> complex math functions.
15690 # This is necessary even though libstdc++ uses the builtin versions
15691 # of these functions, because if the builtin cannot be used, a reference
15692 # to the library function is emitted.
15694 for ac_header in tgmath.h
15696 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15697 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15698 echo "$as_me:$LINENO: checking for $ac_header" >&5
15699 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15700 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15701 echo $ECHO_N "(cached) $ECHO_C" >&6
15703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15704 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15705 else
15706 # Is the header compilable?
15707 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15708 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15709 cat >conftest.$ac_ext <<_ACEOF
15710 /* confdefs.h. */
15711 _ACEOF
15712 cat confdefs.h >>conftest.$ac_ext
15713 cat >>conftest.$ac_ext <<_ACEOF
15714 /* end confdefs.h. */
15715 $ac_includes_default
15716 #include <$ac_header>
15717 _ACEOF
15718 rm -f conftest.$ac_objext
15719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15720 (eval $ac_compile) 2>conftest.er1
15721 ac_status=$?
15722 grep -v '^ *+' conftest.er1 >conftest.err
15723 rm -f conftest.er1
15724 cat conftest.err >&5
15725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15726 (exit $ac_status); } &&
15727 { ac_try='test -z "$ac_cxx_werror_flag"
15728 || test ! -s conftest.err'
15729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15730 (eval $ac_try) 2>&5
15731 ac_status=$?
15732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15733 (exit $ac_status); }; } &&
15734 { ac_try='test -s conftest.$ac_objext'
15735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15736 (eval $ac_try) 2>&5
15737 ac_status=$?
15738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15739 (exit $ac_status); }; }; then
15740 ac_header_compiler=yes
15741 else
15742 echo "$as_me: failed program was:" >&5
15743 sed 's/^/| /' conftest.$ac_ext >&5
15745 ac_header_compiler=no
15747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15748 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15749 echo "${ECHO_T}$ac_header_compiler" >&6
15751 # Is the header present?
15752 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15753 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15754 cat >conftest.$ac_ext <<_ACEOF
15755 /* confdefs.h. */
15756 _ACEOF
15757 cat confdefs.h >>conftest.$ac_ext
15758 cat >>conftest.$ac_ext <<_ACEOF
15759 /* end confdefs.h. */
15760 #include <$ac_header>
15761 _ACEOF
15762 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15763 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15764 ac_status=$?
15765 grep -v '^ *+' conftest.er1 >conftest.err
15766 rm -f conftest.er1
15767 cat conftest.err >&5
15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769 (exit $ac_status); } >/dev/null; then
15770 if test -s conftest.err; then
15771 ac_cpp_err=$ac_cxx_preproc_warn_flag
15772 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15773 else
15774 ac_cpp_err=
15776 else
15777 ac_cpp_err=yes
15779 if test -z "$ac_cpp_err"; then
15780 ac_header_preproc=yes
15781 else
15782 echo "$as_me: failed program was:" >&5
15783 sed 's/^/| /' conftest.$ac_ext >&5
15785 ac_header_preproc=no
15787 rm -f conftest.err conftest.$ac_ext
15788 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15789 echo "${ECHO_T}$ac_header_preproc" >&6
15791 # So? What about this header?
15792 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15793 yes:no: )
15794 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15795 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15796 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15797 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15798 ac_header_preproc=yes
15800 no:yes:* )
15801 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15802 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15803 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15804 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15805 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15806 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15807 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15808 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15809 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15810 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15811 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15812 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15814 cat <<\_ASBOX
15815 ## ----------------------------------------- ##
15816 ## Report this to the package-unused lists. ##
15817 ## ----------------------------------------- ##
15818 _ASBOX
15820 sed "s/^/$as_me: WARNING: /" >&2
15822 esac
15823 echo "$as_me:$LINENO: checking for $ac_header" >&5
15824 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15825 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15826 echo $ECHO_N "(cached) $ECHO_C" >&6
15827 else
15828 eval "$as_ac_Header=\$ac_header_preproc"
15830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15831 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15834 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15835 cat >>confdefs.h <<_ACEOF
15836 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15837 _ACEOF
15838 ac_has_tgmath_h=yes
15839 else
15840 ac_has_tgmath_h=no
15843 done
15846 for ac_header in complex.h
15848 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15849 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15850 echo "$as_me:$LINENO: checking for $ac_header" >&5
15851 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15852 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15853 echo $ECHO_N "(cached) $ECHO_C" >&6
15855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15856 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15857 else
15858 # Is the header compilable?
15859 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15860 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15861 cat >conftest.$ac_ext <<_ACEOF
15862 /* confdefs.h. */
15863 _ACEOF
15864 cat confdefs.h >>conftest.$ac_ext
15865 cat >>conftest.$ac_ext <<_ACEOF
15866 /* end confdefs.h. */
15867 $ac_includes_default
15868 #include <$ac_header>
15869 _ACEOF
15870 rm -f conftest.$ac_objext
15871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15872 (eval $ac_compile) 2>conftest.er1
15873 ac_status=$?
15874 grep -v '^ *+' conftest.er1 >conftest.err
15875 rm -f conftest.er1
15876 cat conftest.err >&5
15877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15878 (exit $ac_status); } &&
15879 { ac_try='test -z "$ac_cxx_werror_flag"
15880 || test ! -s conftest.err'
15881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15882 (eval $ac_try) 2>&5
15883 ac_status=$?
15884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15885 (exit $ac_status); }; } &&
15886 { ac_try='test -s conftest.$ac_objext'
15887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15888 (eval $ac_try) 2>&5
15889 ac_status=$?
15890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15891 (exit $ac_status); }; }; then
15892 ac_header_compiler=yes
15893 else
15894 echo "$as_me: failed program was:" >&5
15895 sed 's/^/| /' conftest.$ac_ext >&5
15897 ac_header_compiler=no
15899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15900 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15901 echo "${ECHO_T}$ac_header_compiler" >&6
15903 # Is the header present?
15904 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15905 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15906 cat >conftest.$ac_ext <<_ACEOF
15907 /* confdefs.h. */
15908 _ACEOF
15909 cat confdefs.h >>conftest.$ac_ext
15910 cat >>conftest.$ac_ext <<_ACEOF
15911 /* end confdefs.h. */
15912 #include <$ac_header>
15913 _ACEOF
15914 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15915 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15916 ac_status=$?
15917 grep -v '^ *+' conftest.er1 >conftest.err
15918 rm -f conftest.er1
15919 cat conftest.err >&5
15920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15921 (exit $ac_status); } >/dev/null; then
15922 if test -s conftest.err; then
15923 ac_cpp_err=$ac_cxx_preproc_warn_flag
15924 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
15925 else
15926 ac_cpp_err=
15928 else
15929 ac_cpp_err=yes
15931 if test -z "$ac_cpp_err"; then
15932 ac_header_preproc=yes
15933 else
15934 echo "$as_me: failed program was:" >&5
15935 sed 's/^/| /' conftest.$ac_ext >&5
15937 ac_header_preproc=no
15939 rm -f conftest.err conftest.$ac_ext
15940 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15941 echo "${ECHO_T}$ac_header_preproc" >&6
15943 # So? What about this header?
15944 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
15945 yes:no: )
15946 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15947 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15948 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15949 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15950 ac_header_preproc=yes
15952 no:yes:* )
15953 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15954 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15955 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15956 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15957 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15958 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15959 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15960 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15961 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15962 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15963 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15964 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15966 cat <<\_ASBOX
15967 ## ----------------------------------------- ##
15968 ## Report this to the package-unused lists. ##
15969 ## ----------------------------------------- ##
15970 _ASBOX
15972 sed "s/^/$as_me: WARNING: /" >&2
15974 esac
15975 echo "$as_me:$LINENO: checking for $ac_header" >&5
15976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15978 echo $ECHO_N "(cached) $ECHO_C" >&6
15979 else
15980 eval "$as_ac_Header=\$ac_header_preproc"
15982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15983 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15986 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15987 cat >>confdefs.h <<_ACEOF
15988 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15989 _ACEOF
15990 ac_has_complex_h=yes
15991 else
15992 ac_has_complex_h=no
15995 done
15997 ac_c99_complex=no;
15998 if test x"$ac_has_complex_h" = x"yes"; then
15999 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
16000 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
16001 if test x$gcc_no_link = xyes; then
16002 cat >conftest.$ac_ext <<_ACEOF
16003 /* confdefs.h. */
16004 _ACEOF
16005 cat confdefs.h >>conftest.$ac_ext
16006 cat >>conftest.$ac_ext <<_ACEOF
16007 /* end confdefs.h. */
16008 #include <complex.h>
16009 typedef __complex__ float float_type;
16010 typedef __complex__ double double_type;
16011 typedef __complex__ long double ld_type;
16012 volatile float_type tmpf;
16013 volatile double_type tmpd;
16014 volatile ld_type tmpld;
16015 volatile float f;
16016 volatile double d;
16017 volatile long double ld;
16019 main ()
16021 f = cabsf(tmpf);
16022 f = cargf(tmpf);
16023 tmpf = ccosf(tmpf);
16024 tmpf = ccoshf(tmpf);
16025 tmpf = cexpf(tmpf);
16026 tmpf = clogf(tmpf);
16027 tmpf = csinf(tmpf);
16028 tmpf = csinhf(tmpf);
16029 tmpf = csqrtf(tmpf);
16030 tmpf = ctanf(tmpf);
16031 tmpf = ctanhf(tmpf);
16032 tmpf = cpowf(tmpf, tmpf);
16033 d = cabs(tmpd);
16034 d = carg(tmpd);
16035 tmpd = ccos(tmpd);
16036 tmpd = ccosh(tmpd);
16037 tmpd = cexp(tmpd);
16038 tmpd = clog(tmpd);
16039 tmpd = csin(tmpd);
16040 tmpd = csinh(tmpd);
16041 tmpd = csqrt(tmpd);
16042 tmpd = ctan(tmpd);
16043 tmpd = ctanh(tmpd);
16044 tmpd = cpow(tmpd, tmpd);
16045 ld = cabsl(tmpld);
16046 ld = cargl(tmpld);
16047 tmpld = ccosl(tmpld);
16048 tmpld = ccoshl(tmpld);
16049 tmpld = cexpl(tmpld);
16050 tmpld = clogl(tmpld);
16051 tmpld = csinl(tmpld);
16052 tmpld = csinhl(tmpld);
16053 tmpld = csqrtl(tmpld);
16054 tmpld = ctanl(tmpld);
16055 tmpld = ctanhl(tmpld);
16056 tmpld = cpowl(tmpld, tmpld);
16059 return 0;
16061 _ACEOF
16062 rm -f conftest.$ac_objext
16063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16064 (eval $ac_compile) 2>conftest.er1
16065 ac_status=$?
16066 grep -v '^ *+' conftest.er1 >conftest.err
16067 rm -f conftest.er1
16068 cat conftest.err >&5
16069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16070 (exit $ac_status); } &&
16071 { ac_try='test -z "$ac_cxx_werror_flag"
16072 || test ! -s conftest.err'
16073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16074 (eval $ac_try) 2>&5
16075 ac_status=$?
16076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16077 (exit $ac_status); }; } &&
16078 { ac_try='test -s conftest.$ac_objext'
16079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16080 (eval $ac_try) 2>&5
16081 ac_status=$?
16082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16083 (exit $ac_status); }; }; then
16084 ac_c99_complex=yes
16085 else
16086 echo "$as_me: failed program was:" >&5
16087 sed 's/^/| /' conftest.$ac_ext >&5
16089 ac_c99_complex=no
16091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16092 else
16093 if test x$gcc_no_link = xyes; then
16094 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16096 { (exit 1); exit 1; }; }
16098 cat >conftest.$ac_ext <<_ACEOF
16099 /* confdefs.h. */
16100 _ACEOF
16101 cat confdefs.h >>conftest.$ac_ext
16102 cat >>conftest.$ac_ext <<_ACEOF
16103 /* end confdefs.h. */
16104 #include <complex.h>
16105 typedef __complex__ float float_type;
16106 typedef __complex__ double double_type;
16107 typedef __complex__ long double ld_type;
16108 volatile float_type tmpf;
16109 volatile double_type tmpd;
16110 volatile ld_type tmpld;
16111 volatile float f;
16112 volatile double d;
16113 volatile long double ld;
16115 main ()
16117 f = cabsf(tmpf);
16118 f = cargf(tmpf);
16119 tmpf = ccosf(tmpf);
16120 tmpf = ccoshf(tmpf);
16121 tmpf = cexpf(tmpf);
16122 tmpf = clogf(tmpf);
16123 tmpf = csinf(tmpf);
16124 tmpf = csinhf(tmpf);
16125 tmpf = csqrtf(tmpf);
16126 tmpf = ctanf(tmpf);
16127 tmpf = ctanhf(tmpf);
16128 tmpf = cpowf(tmpf, tmpf);
16129 d = cabs(tmpd);
16130 d = carg(tmpd);
16131 tmpd = ccos(tmpd);
16132 tmpd = ccosh(tmpd);
16133 tmpd = cexp(tmpd);
16134 tmpd = clog(tmpd);
16135 tmpd = csin(tmpd);
16136 tmpd = csinh(tmpd);
16137 tmpd = csqrt(tmpd);
16138 tmpd = ctan(tmpd);
16139 tmpd = ctanh(tmpd);
16140 tmpd = cpow(tmpd, tmpd);
16141 ld = cabsl(tmpld);
16142 ld = cargl(tmpld);
16143 tmpld = ccosl(tmpld);
16144 tmpld = ccoshl(tmpld);
16145 tmpld = cexpl(tmpld);
16146 tmpld = clogl(tmpld);
16147 tmpld = csinl(tmpld);
16148 tmpld = csinhl(tmpld);
16149 tmpld = csqrtl(tmpld);
16150 tmpld = ctanl(tmpld);
16151 tmpld = ctanhl(tmpld);
16152 tmpld = cpowl(tmpld, tmpld);
16155 return 0;
16157 _ACEOF
16158 rm -f conftest.$ac_objext conftest$ac_exeext
16159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16160 (eval $ac_link) 2>conftest.er1
16161 ac_status=$?
16162 grep -v '^ *+' conftest.er1 >conftest.err
16163 rm -f conftest.er1
16164 cat conftest.err >&5
16165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16166 (exit $ac_status); } &&
16167 { ac_try='test -z "$ac_cxx_werror_flag"
16168 || test ! -s conftest.err'
16169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16170 (eval $ac_try) 2>&5
16171 ac_status=$?
16172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16173 (exit $ac_status); }; } &&
16174 { ac_try='test -s conftest$ac_exeext'
16175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16176 (eval $ac_try) 2>&5
16177 ac_status=$?
16178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16179 (exit $ac_status); }; }; then
16180 ac_c99_complex=yes
16181 else
16182 echo "$as_me: failed program was:" >&5
16183 sed 's/^/| /' conftest.$ac_ext >&5
16185 ac_c99_complex=no
16187 rm -f conftest.err conftest.$ac_objext \
16188 conftest$ac_exeext conftest.$ac_ext
16191 echo "$as_me:$LINENO: result: $ac_c99_complex" >&5
16192 echo "${ECHO_T}$ac_c99_complex" >&6
16193 if test x"$ac_c99_complex" = x"yes"; then
16195 cat >>confdefs.h <<\_ACEOF
16196 #define _GLIBCXX_USE_C99_COMPLEX 1
16197 _ACEOF
16201 # Check for the existence in <stdio.h> of vscanf, et. al.
16202 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
16203 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
16204 if test "${ac_c99_stdio+set}" = set; then
16205 echo $ECHO_N "(cached) $ECHO_C" >&6
16206 else
16208 if test x$gcc_no_link = xyes; then
16209 cat >conftest.$ac_ext <<_ACEOF
16210 /* confdefs.h. */
16211 _ACEOF
16212 cat confdefs.h >>conftest.$ac_ext
16213 cat >>conftest.$ac_ext <<_ACEOF
16214 /* end confdefs.h. */
16215 #include <stdio.h>
16216 #include <stdarg.h>
16217 void foo(char* fmt, ...)
16219 va_list args; va_start(args, fmt);
16220 vfscanf(stderr, "%i", args);
16221 vscanf("%i", args);
16222 vsnprintf(fmt, 0, "%i", args);
16223 vsscanf(fmt, "%i", args);
16226 main ()
16228 snprintf("12", 0, "%i");
16230 return 0;
16232 _ACEOF
16233 rm -f conftest.$ac_objext
16234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16235 (eval $ac_compile) 2>conftest.er1
16236 ac_status=$?
16237 grep -v '^ *+' conftest.er1 >conftest.err
16238 rm -f conftest.er1
16239 cat conftest.err >&5
16240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16241 (exit $ac_status); } &&
16242 { ac_try='test -z "$ac_cxx_werror_flag"
16243 || test ! -s conftest.err'
16244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16245 (eval $ac_try) 2>&5
16246 ac_status=$?
16247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16248 (exit $ac_status); }; } &&
16249 { ac_try='test -s conftest.$ac_objext'
16250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16251 (eval $ac_try) 2>&5
16252 ac_status=$?
16253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16254 (exit $ac_status); }; }; then
16255 ac_c99_stdio=yes
16256 else
16257 echo "$as_me: failed program was:" >&5
16258 sed 's/^/| /' conftest.$ac_ext >&5
16260 ac_c99_stdio=no
16262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16263 else
16264 if test x$gcc_no_link = xyes; then
16265 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16266 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16267 { (exit 1); exit 1; }; }
16269 cat >conftest.$ac_ext <<_ACEOF
16270 /* confdefs.h. */
16271 _ACEOF
16272 cat confdefs.h >>conftest.$ac_ext
16273 cat >>conftest.$ac_ext <<_ACEOF
16274 /* end confdefs.h. */
16275 #include <stdio.h>
16276 #include <stdarg.h>
16277 void foo(char* fmt, ...)
16279 va_list args; va_start(args, fmt);
16280 vfscanf(stderr, "%i", args);
16281 vscanf("%i", args);
16282 vsnprintf(fmt, 0, "%i", args);
16283 vsscanf(fmt, "%i", args);
16286 main ()
16288 snprintf("12", 0, "%i");
16290 return 0;
16292 _ACEOF
16293 rm -f conftest.$ac_objext conftest$ac_exeext
16294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16295 (eval $ac_link) 2>conftest.er1
16296 ac_status=$?
16297 grep -v '^ *+' conftest.er1 >conftest.err
16298 rm -f conftest.er1
16299 cat conftest.err >&5
16300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16301 (exit $ac_status); } &&
16302 { ac_try='test -z "$ac_cxx_werror_flag"
16303 || test ! -s conftest.err'
16304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16305 (eval $ac_try) 2>&5
16306 ac_status=$?
16307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16308 (exit $ac_status); }; } &&
16309 { ac_try='test -s conftest$ac_exeext'
16310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16311 (eval $ac_try) 2>&5
16312 ac_status=$?
16313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16314 (exit $ac_status); }; }; then
16315 ac_c99_stdio=yes
16316 else
16317 echo "$as_me: failed program was:" >&5
16318 sed 's/^/| /' conftest.$ac_ext >&5
16320 ac_c99_stdio=no
16322 rm -f conftest.err conftest.$ac_objext \
16323 conftest$ac_exeext conftest.$ac_ext
16328 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
16329 echo "${ECHO_T}$ac_c99_stdio" >&6
16331 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16332 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
16333 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
16334 if test "${ac_c99_stdlib+set}" = set; then
16335 echo $ECHO_N "(cached) $ECHO_C" >&6
16336 else
16338 if test x$gcc_no_link = xyes; then
16339 cat >conftest.$ac_ext <<_ACEOF
16340 /* confdefs.h. */
16341 _ACEOF
16342 cat confdefs.h >>conftest.$ac_ext
16343 cat >>conftest.$ac_ext <<_ACEOF
16344 /* end confdefs.h. */
16345 #include <stdlib.h>
16346 volatile float f;
16347 volatile long double ld;
16348 volatile unsigned long long ll;
16349 lldiv_t mydivt;
16351 main ()
16353 char* tmp;
16354 f = strtof("gnu", &tmp);
16355 ld = strtold("gnu", &tmp);
16356 ll = strtoll("gnu", &tmp, 10);
16357 ll = strtoull("gnu", &tmp, 10);
16358 ll = llabs(10);
16359 mydivt = lldiv(10,1);
16360 ll = mydivt.quot;
16361 ll = mydivt.rem;
16362 ll = atoll("10");
16363 _Exit(0);
16366 return 0;
16368 _ACEOF
16369 rm -f conftest.$ac_objext
16370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16371 (eval $ac_compile) 2>conftest.er1
16372 ac_status=$?
16373 grep -v '^ *+' conftest.er1 >conftest.err
16374 rm -f conftest.er1
16375 cat conftest.err >&5
16376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16377 (exit $ac_status); } &&
16378 { ac_try='test -z "$ac_cxx_werror_flag"
16379 || test ! -s conftest.err'
16380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16381 (eval $ac_try) 2>&5
16382 ac_status=$?
16383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16384 (exit $ac_status); }; } &&
16385 { ac_try='test -s conftest.$ac_objext'
16386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16387 (eval $ac_try) 2>&5
16388 ac_status=$?
16389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16390 (exit $ac_status); }; }; then
16391 ac_c99_stdlib=yes
16392 else
16393 echo "$as_me: failed program was:" >&5
16394 sed 's/^/| /' conftest.$ac_ext >&5
16396 ac_c99_stdlib=no
16398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16399 else
16400 if test x$gcc_no_link = xyes; then
16401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16403 { (exit 1); exit 1; }; }
16405 cat >conftest.$ac_ext <<_ACEOF
16406 /* confdefs.h. */
16407 _ACEOF
16408 cat confdefs.h >>conftest.$ac_ext
16409 cat >>conftest.$ac_ext <<_ACEOF
16410 /* end confdefs.h. */
16411 #include <stdlib.h>
16412 volatile float f;
16413 volatile long double ld;
16414 volatile unsigned long long ll;
16415 lldiv_t mydivt;
16417 main ()
16419 char* tmp;
16420 f = strtof("gnu", &tmp);
16421 ld = strtold("gnu", &tmp);
16422 ll = strtoll("gnu", &tmp, 10);
16423 ll = strtoull("gnu", &tmp, 10);
16424 ll = llabs(10);
16425 mydivt = lldiv(10,1);
16426 ll = mydivt.quot;
16427 ll = mydivt.rem;
16428 ll = atoll("10");
16429 _Exit(0);
16432 return 0;
16434 _ACEOF
16435 rm -f conftest.$ac_objext conftest$ac_exeext
16436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16437 (eval $ac_link) 2>conftest.er1
16438 ac_status=$?
16439 grep -v '^ *+' conftest.er1 >conftest.err
16440 rm -f conftest.er1
16441 cat conftest.err >&5
16442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16443 (exit $ac_status); } &&
16444 { ac_try='test -z "$ac_cxx_werror_flag"
16445 || test ! -s conftest.err'
16446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16447 (eval $ac_try) 2>&5
16448 ac_status=$?
16449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16450 (exit $ac_status); }; } &&
16451 { ac_try='test -s conftest$ac_exeext'
16452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16453 (eval $ac_try) 2>&5
16454 ac_status=$?
16455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16456 (exit $ac_status); }; }; then
16457 ac_c99_stdlib=yes
16458 else
16459 echo "$as_me: failed program was:" >&5
16460 sed 's/^/| /' conftest.$ac_ext >&5
16462 ac_c99_stdlib=no
16464 rm -f conftest.err conftest.$ac_objext \
16465 conftest$ac_exeext conftest.$ac_ext
16470 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
16471 echo "${ECHO_T}$ac_c99_stdlib" >&6
16473 # Check for the existence in <wchar.h> of wcstold, etc.
16474 ac_c99_wchar=no;
16475 if test x"$ac_has_wchar_h" = xyes &&
16476 test x"$ac_has_wctype_h" = xyes; then
16477 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
16478 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
16479 cat >conftest.$ac_ext <<_ACEOF
16480 /* confdefs.h. */
16481 _ACEOF
16482 cat confdefs.h >>conftest.$ac_ext
16483 cat >>conftest.$ac_ext <<_ACEOF
16484 /* end confdefs.h. */
16485 #include <wchar.h>
16486 namespace test
16488 using ::wcstold;
16489 using ::wcstoll;
16490 using ::wcstoull;
16494 main ()
16498 return 0;
16500 _ACEOF
16501 rm -f conftest.$ac_objext
16502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16503 (eval $ac_compile) 2>conftest.er1
16504 ac_status=$?
16505 grep -v '^ *+' conftest.er1 >conftest.err
16506 rm -f conftest.er1
16507 cat conftest.err >&5
16508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16509 (exit $ac_status); } &&
16510 { ac_try='test -z "$ac_cxx_werror_flag"
16511 || test ! -s conftest.err'
16512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16513 (eval $ac_try) 2>&5
16514 ac_status=$?
16515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16516 (exit $ac_status); }; } &&
16517 { ac_try='test -s conftest.$ac_objext'
16518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16519 (eval $ac_try) 2>&5
16520 ac_status=$?
16521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16522 (exit $ac_status); }; }; then
16523 ac_c99_wchar=yes
16524 else
16525 echo "$as_me: failed program was:" >&5
16526 sed 's/^/| /' conftest.$ac_ext >&5
16528 ac_c99_wchar=no
16530 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16532 # Checks for wide character functions that may not be present.
16533 # Injection of these is wrapped with guard macros.
16534 # NB: only put functions here, instead of immediately above, if
16535 # absolutely necessary.
16536 cat >conftest.$ac_ext <<_ACEOF
16537 /* confdefs.h. */
16538 _ACEOF
16539 cat confdefs.h >>conftest.$ac_ext
16540 cat >>conftest.$ac_ext <<_ACEOF
16541 /* end confdefs.h. */
16542 #include <wchar.h>
16543 namespace test { using ::vfwscanf; }
16545 main ()
16549 return 0;
16551 _ACEOF
16552 rm -f conftest.$ac_objext
16553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16554 (eval $ac_compile) 2>conftest.er1
16555 ac_status=$?
16556 grep -v '^ *+' conftest.er1 >conftest.err
16557 rm -f conftest.er1
16558 cat conftest.err >&5
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); } &&
16561 { ac_try='test -z "$ac_cxx_werror_flag"
16562 || test ! -s conftest.err'
16563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16564 (eval $ac_try) 2>&5
16565 ac_status=$?
16566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16567 (exit $ac_status); }; } &&
16568 { ac_try='test -s conftest.$ac_objext'
16569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16570 (eval $ac_try) 2>&5
16571 ac_status=$?
16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573 (exit $ac_status); }; }; then
16575 cat >>confdefs.h <<\_ACEOF
16576 #define HAVE_VFWSCANF 1
16577 _ACEOF
16579 else
16580 echo "$as_me: failed program was:" >&5
16581 sed 's/^/| /' conftest.$ac_ext >&5
16584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16586 cat >conftest.$ac_ext <<_ACEOF
16587 /* confdefs.h. */
16588 _ACEOF
16589 cat confdefs.h >>conftest.$ac_ext
16590 cat >>conftest.$ac_ext <<_ACEOF
16591 /* end confdefs.h. */
16592 #include <wchar.h>
16593 namespace test { using ::vswscanf; }
16595 main ()
16599 return 0;
16601 _ACEOF
16602 rm -f conftest.$ac_objext
16603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16604 (eval $ac_compile) 2>conftest.er1
16605 ac_status=$?
16606 grep -v '^ *+' conftest.er1 >conftest.err
16607 rm -f conftest.er1
16608 cat conftest.err >&5
16609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16610 (exit $ac_status); } &&
16611 { ac_try='test -z "$ac_cxx_werror_flag"
16612 || test ! -s conftest.err'
16613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16614 (eval $ac_try) 2>&5
16615 ac_status=$?
16616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16617 (exit $ac_status); }; } &&
16618 { ac_try='test -s conftest.$ac_objext'
16619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16620 (eval $ac_try) 2>&5
16621 ac_status=$?
16622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); }; }; then
16625 cat >>confdefs.h <<\_ACEOF
16626 #define HAVE_VSWSCANF 1
16627 _ACEOF
16629 else
16630 echo "$as_me: failed program was:" >&5
16631 sed 's/^/| /' conftest.$ac_ext >&5
16634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16636 cat >conftest.$ac_ext <<_ACEOF
16637 /* confdefs.h. */
16638 _ACEOF
16639 cat confdefs.h >>conftest.$ac_ext
16640 cat >>conftest.$ac_ext <<_ACEOF
16641 /* end confdefs.h. */
16642 #include <wchar.h>
16643 namespace test { using ::vwscanf; }
16645 main ()
16649 return 0;
16651 _ACEOF
16652 rm -f conftest.$ac_objext
16653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16654 (eval $ac_compile) 2>conftest.er1
16655 ac_status=$?
16656 grep -v '^ *+' conftest.er1 >conftest.err
16657 rm -f conftest.er1
16658 cat conftest.err >&5
16659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16660 (exit $ac_status); } &&
16661 { ac_try='test -z "$ac_cxx_werror_flag"
16662 || test ! -s conftest.err'
16663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16664 (eval $ac_try) 2>&5
16665 ac_status=$?
16666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16667 (exit $ac_status); }; } &&
16668 { ac_try='test -s conftest.$ac_objext'
16669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16670 (eval $ac_try) 2>&5
16671 ac_status=$?
16672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16673 (exit $ac_status); }; }; then
16675 cat >>confdefs.h <<\_ACEOF
16676 #define HAVE_VWSCANF 1
16677 _ACEOF
16679 else
16680 echo "$as_me: failed program was:" >&5
16681 sed 's/^/| /' conftest.$ac_ext >&5
16684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16686 cat >conftest.$ac_ext <<_ACEOF
16687 /* confdefs.h. */
16688 _ACEOF
16689 cat confdefs.h >>conftest.$ac_ext
16690 cat >>conftest.$ac_ext <<_ACEOF
16691 /* end confdefs.h. */
16692 #include <wchar.h>
16693 namespace test { using ::wcstof; }
16695 main ()
16699 return 0;
16701 _ACEOF
16702 rm -f conftest.$ac_objext
16703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16704 (eval $ac_compile) 2>conftest.er1
16705 ac_status=$?
16706 grep -v '^ *+' conftest.er1 >conftest.err
16707 rm -f conftest.er1
16708 cat conftest.err >&5
16709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16710 (exit $ac_status); } &&
16711 { ac_try='test -z "$ac_cxx_werror_flag"
16712 || test ! -s conftest.err'
16713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16714 (eval $ac_try) 2>&5
16715 ac_status=$?
16716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16717 (exit $ac_status); }; } &&
16718 { ac_try='test -s conftest.$ac_objext'
16719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16720 (eval $ac_try) 2>&5
16721 ac_status=$?
16722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16723 (exit $ac_status); }; }; then
16725 cat >>confdefs.h <<\_ACEOF
16726 #define HAVE_WCSTOF 1
16727 _ACEOF
16729 else
16730 echo "$as_me: failed program was:" >&5
16731 sed 's/^/| /' conftest.$ac_ext >&5
16734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16736 cat >conftest.$ac_ext <<_ACEOF
16737 /* confdefs.h. */
16738 _ACEOF
16739 cat confdefs.h >>conftest.$ac_ext
16740 cat >>conftest.$ac_ext <<_ACEOF
16741 /* end confdefs.h. */
16742 #include <wctype.h>
16744 main ()
16746 wint_t t; int i = iswblank(t);
16748 return 0;
16750 _ACEOF
16751 rm -f conftest.$ac_objext
16752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16753 (eval $ac_compile) 2>conftest.er1
16754 ac_status=$?
16755 grep -v '^ *+' conftest.er1 >conftest.err
16756 rm -f conftest.er1
16757 cat conftest.err >&5
16758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16759 (exit $ac_status); } &&
16760 { ac_try='test -z "$ac_cxx_werror_flag"
16761 || test ! -s conftest.err'
16762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16763 (eval $ac_try) 2>&5
16764 ac_status=$?
16765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16766 (exit $ac_status); }; } &&
16767 { ac_try='test -s conftest.$ac_objext'
16768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16769 (eval $ac_try) 2>&5
16770 ac_status=$?
16771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16772 (exit $ac_status); }; }; then
16774 cat >>confdefs.h <<\_ACEOF
16775 #define HAVE_ISWBLANK 1
16776 _ACEOF
16778 else
16779 echo "$as_me: failed program was:" >&5
16780 sed 's/^/| /' conftest.$ac_ext >&5
16783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16785 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
16786 echo "${ECHO_T}$ac_c99_wchar" >&6
16789 # Option parsed, now set things appropriately.
16790 if test x"$ac_c99_math" = x"no" ||
16791 test x"$ac_c99_complex" = x"no" ||
16792 test x"$ac_c99_stdio" = x"no" ||
16793 test x"$ac_c99_stdlib" = x"no" ||
16794 test x"$ac_c99_wchar" = x"no"; then
16795 enable_c99=no;
16796 else
16798 cat >>confdefs.h <<\_ACEOF
16799 #define _GLIBCXX_USE_C99 1
16800 _ACEOF
16804 gcc_no_link="$ac_save_gcc_no_link"
16805 LIBS="$ac_save_LIBS"
16806 CXXFLAGS="$ac_save_CXXFLAGS"
16807 ac_ext=c
16808 ac_cpp='$CPP $CPPFLAGS'
16809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16815 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
16816 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
16817 echo "$as_me:$LINENO: result: $enable_c99" >&5
16818 echo "${ECHO_T}$enable_c99" >&6
16821 # Check whether --enable-concept-checks or --disable-concept-checks was given.
16822 if test "${enable_concept_checks+set}" = set; then
16823 enableval="$enable_concept_checks"
16825 case "$enableval" in
16826 yes|no) ;;
16827 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
16828 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
16829 { (exit 1); exit 1; }; } ;;
16830 esac
16832 else
16833 enable_concept_checks=no
16836 if test $enable_concept_checks = yes; then
16838 cat >>confdefs.h <<\_ACEOF
16839 #define _GLIBCXX_CONCEPT_CHECKS 1
16840 _ACEOF
16845 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
16846 if test "${enable_libstdcxx_debug_flags+set}" = set; then
16847 enableval="$enable_libstdcxx_debug_flags"
16848 case "x$enable_libstdcxx_debug_flags" in
16849 xno | x) enable_libstdcxx_debug_flags= ;;
16850 x-*) ;;
16851 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
16852 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
16853 { (exit 1); exit 1; }; } ;;
16854 esac
16855 else
16856 enable_libstdcxx_debug_flags="-g3 -O0"
16860 # Option parsed, now set things appropriately
16861 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
16864 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
16865 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
16868 echo "$as_me:$LINENO: checking for additional debug build" >&5
16869 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
16870 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
16871 if test "${enable_libstdcxx_debug+set}" = set; then
16872 enableval="$enable_libstdcxx_debug"
16874 case "$enableval" in
16875 yes|no) ;;
16876 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
16877 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
16878 { (exit 1); exit 1; }; } ;;
16879 esac
16881 else
16882 enable_libstdcxx_debug=no
16885 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
16886 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
16891 # NB: libstdc++ may be configured before libgomp: can't check for the actual
16892 # dependencies (omp.h and libgomp).
16893 enable_parallel=no;
16894 if test -f $glibcxx_builddir/../libgomp/omp.h; then
16895 enable_parallel=yes;
16896 else
16897 { echo "$as_me:$LINENO: $glibcxx_builddir/../libgomp/omp.h not found" >&5
16898 echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
16901 # Check to see if it's explicitly disabled.
16902 # GLIBCXX_ENABLE(libgomp,,,[enable code depending on libgomp],
16903 # [permit yes|no])
16905 # if test x$enable_libgomp = xno; then
16906 # enable_parallel=no
16907 # fi
16909 echo "$as_me:$LINENO: checking for parallel mode support" >&5
16910 echo $ECHO_N "checking for parallel mode support... $ECHO_C" >&6
16911 echo "$as_me:$LINENO: result: $enable_parallel" >&5
16912 echo "${ECHO_T}$enable_parallel" >&6
16915 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
16916 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
16917 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
16918 if test "${enable_cxx_flags+set}" = set; then
16919 enableval="$enable_cxx_flags"
16920 case "x$enable_cxx_flags" in
16921 xno | x) enable_cxx_flags= ;;
16922 x-*) ;;
16923 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
16924 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
16925 { (exit 1); exit 1; }; } ;;
16926 esac
16927 else
16928 enable_cxx_flags=
16932 # Run through flags (either default or command-line) and set anything
16933 # extra (e.g., #defines) that must accompany particular g++ options.
16934 if test -n "$enable_cxx_flags"; then
16935 for f in $enable_cxx_flags; do
16936 case "$f" in
16937 -fhonor-std) ;;
16938 -*) ;;
16939 *) # and we're trying to pass /what/ exactly?
16940 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
16941 echo "$as_me: error: compiler flags start with a -" >&2;}
16942 { (exit 1); exit 1; }; } ;;
16943 esac
16944 done
16947 EXTRA_CXX_FLAGS="$enable_cxx_flags"
16948 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
16949 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
16953 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
16954 if test "${enable_fully_dynamic_string+set}" = set; then
16955 enableval="$enable_fully_dynamic_string"
16957 case "$enableval" in
16958 yes|no) ;;
16959 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
16960 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
16961 { (exit 1); exit 1; }; } ;;
16962 esac
16964 else
16965 enable_fully_dynamic_string=no
16968 if test $enable_fully_dynamic_string = yes; then
16970 cat >>confdefs.h <<\_ACEOF
16971 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
16972 _ACEOF
16977 # Checks for operating systems support that don't require linking.
16979 # No surprises, no surprises...
16981 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
16982 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
16983 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
16984 echo "$as_me:$LINENO: result: $target_thread_file" >&5
16985 echo "${ECHO_T}$target_thread_file" >&6
16987 if test $target_thread_file != single; then
16989 cat >>confdefs.h <<\_ACEOF
16990 #define HAVE_GTHR_DEFAULT 1
16991 _ACEOF
16995 glibcxx_thread_h=gthr-$target_thread_file.h
16997 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
16998 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
16999 enable_thread=yes
17000 else
17001 enable_thread=no
17007 echo "$as_me:$LINENO: checking for atomic builtins" >&5
17008 echo $ECHO_N "checking for atomic builtins... $ECHO_C" >&6
17011 ac_ext=cc
17012 ac_cpp='$CXXCPP $CPPFLAGS'
17013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17018 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
17019 cat > conftest.$ac_ext << EOF
17020 #line 17020 "configure"
17021 int main()
17023 // NB: _Atomic_word not necessarily int.
17024 typedef int atomic_type;
17025 atomic_type c1;
17026 atomic_type c2;
17027 const atomic_type c3(0);
17028 if (__sync_fetch_and_add(&c1, c2) == c3)
17030 // Do something.
17032 return 0;
17035 old_CXXFLAGS="$CXXFLAGS"
17036 CXXFLAGS='-O0 -S'
17037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17038 (eval $ac_compile) 2>&5
17039 ac_status=$?
17040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17041 (exit $ac_status); }; then
17042 if grep __sync_fetch_and_add conftest.s >/dev/null 2>&1 ; then
17043 enable_atomic_builtins=no
17044 else
17046 cat >>confdefs.h <<\_ACEOF
17047 #define _GLIBCXX_ATOMIC_BUILTINS 1
17048 _ACEOF
17050 enable_atomic_builtins=yes
17051 atomicity_dir=cpu/generic/atomicity_builtins
17054 echo "$as_me:$LINENO: result: $enable_atomic_builtins" >&5
17055 echo "${ECHO_T}$enable_atomic_builtins" >&6
17056 CXXFLAGS="$old_CXXFLAGS"
17057 rm -f conftest*
17059 # Now, if still generic, set to mutex.
17060 if test $atomicity_dir = "cpu/generic" ; then
17061 atomicity_dir=cpu/generic/atomicity_mutex
17063 ac_ext=c
17064 ac_cpp='$CPP $CPPFLAGS'
17065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17070 if test $atomicity_dir = cpu/generic/atomicity_mutex ; then
17071 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
17072 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
17073 if test $target_thread_file = single; then
17074 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
17075 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
17076 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
17077 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
17078 else
17079 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
17080 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
17081 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
17082 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
17087 # All these tests are for C++; save the language and the compiler flags.
17088 # The CXXFLAGS thing is suspicious, but based on similar bits previously
17089 # found in GLIBCXX_CONFIGURE.
17092 ac_ext=cc
17093 ac_cpp='$CXXCPP $CPPFLAGS'
17094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17098 ac_test_CXXFLAGS="${CXXFLAGS+set}"
17099 ac_save_CXXFLAGS="$CXXFLAGS"
17101 # Check for maintainer-mode bits.
17102 if test x"$USE_MAINTAINER_MODE" = xno; then
17103 WERROR=''
17104 else
17105 WERROR='-Werror'
17108 # Check for -ffunction-sections -fdata-sections
17109 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
17110 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
17111 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
17112 cat >conftest.$ac_ext <<_ACEOF
17113 /* confdefs.h. */
17114 _ACEOF
17115 cat confdefs.h >>conftest.$ac_ext
17116 cat >>conftest.$ac_ext <<_ACEOF
17117 /* end confdefs.h. */
17118 int foo; void bar() { };
17120 main ()
17124 return 0;
17126 _ACEOF
17127 rm -f conftest.$ac_objext
17128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17129 (eval $ac_compile) 2>conftest.er1
17130 ac_status=$?
17131 grep -v '^ *+' conftest.er1 >conftest.err
17132 rm -f conftest.er1
17133 cat conftest.err >&5
17134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17135 (exit $ac_status); } &&
17136 { ac_try='test -z "$ac_cxx_werror_flag"
17137 || test ! -s conftest.err'
17138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17139 (eval $ac_try) 2>&5
17140 ac_status=$?
17141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17142 (exit $ac_status); }; } &&
17143 { ac_try='test -s conftest.$ac_objext'
17144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17145 (eval $ac_try) 2>&5
17146 ac_status=$?
17147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17148 (exit $ac_status); }; }; then
17149 ac_fdsections=yes
17150 else
17151 echo "$as_me: failed program was:" >&5
17152 sed 's/^/| /' conftest.$ac_ext >&5
17154 ac_fdsections=no
17156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17157 if test "$ac_test_CXXFLAGS" = set; then
17158 CXXFLAGS="$ac_save_CXXFLAGS"
17159 else
17160 # this is the suspicious part
17161 CXXFLAGS=''
17163 if test x"$ac_fdsections" = x"yes"; then
17164 SECTION_FLAGS='-ffunction-sections -fdata-sections'
17166 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
17167 echo "${ECHO_T}$ac_fdsections" >&6
17169 ac_ext=c
17170 ac_cpp='$CPP $CPPFLAGS'
17171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17179 if $GLIBCXX_IS_NATIVE; then
17181 # We can do more elaborate tests that assume a working linker.
17182 CANADIAN=no
17184 # Check for available headers.
17200 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
17201 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
17202 sys/types.h sys/ipc.h sys/sem.h
17204 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17205 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17206 echo "$as_me:$LINENO: checking for $ac_header" >&5
17207 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17208 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17209 echo $ECHO_N "(cached) $ECHO_C" >&6
17211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17212 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17213 else
17214 # Is the header compilable?
17215 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17216 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17217 cat >conftest.$ac_ext <<_ACEOF
17218 /* confdefs.h. */
17219 _ACEOF
17220 cat confdefs.h >>conftest.$ac_ext
17221 cat >>conftest.$ac_ext <<_ACEOF
17222 /* end confdefs.h. */
17223 $ac_includes_default
17224 #include <$ac_header>
17225 _ACEOF
17226 rm -f conftest.$ac_objext
17227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17228 (eval $ac_compile) 2>conftest.er1
17229 ac_status=$?
17230 grep -v '^ *+' conftest.er1 >conftest.err
17231 rm -f conftest.er1
17232 cat conftest.err >&5
17233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17234 (exit $ac_status); } &&
17235 { ac_try='test -z "$ac_c_werror_flag"
17236 || test ! -s conftest.err'
17237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17238 (eval $ac_try) 2>&5
17239 ac_status=$?
17240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17241 (exit $ac_status); }; } &&
17242 { ac_try='test -s conftest.$ac_objext'
17243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17244 (eval $ac_try) 2>&5
17245 ac_status=$?
17246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17247 (exit $ac_status); }; }; then
17248 ac_header_compiler=yes
17249 else
17250 echo "$as_me: failed program was:" >&5
17251 sed 's/^/| /' conftest.$ac_ext >&5
17253 ac_header_compiler=no
17255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17256 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17257 echo "${ECHO_T}$ac_header_compiler" >&6
17259 # Is the header present?
17260 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17261 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17262 cat >conftest.$ac_ext <<_ACEOF
17263 /* confdefs.h. */
17264 _ACEOF
17265 cat confdefs.h >>conftest.$ac_ext
17266 cat >>conftest.$ac_ext <<_ACEOF
17267 /* end confdefs.h. */
17268 #include <$ac_header>
17269 _ACEOF
17270 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17271 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17272 ac_status=$?
17273 grep -v '^ *+' conftest.er1 >conftest.err
17274 rm -f conftest.er1
17275 cat conftest.err >&5
17276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17277 (exit $ac_status); } >/dev/null; then
17278 if test -s conftest.err; then
17279 ac_cpp_err=$ac_c_preproc_warn_flag
17280 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
17281 else
17282 ac_cpp_err=
17284 else
17285 ac_cpp_err=yes
17287 if test -z "$ac_cpp_err"; then
17288 ac_header_preproc=yes
17289 else
17290 echo "$as_me: failed program was:" >&5
17291 sed 's/^/| /' conftest.$ac_ext >&5
17293 ac_header_preproc=no
17295 rm -f conftest.err conftest.$ac_ext
17296 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17297 echo "${ECHO_T}$ac_header_preproc" >&6
17299 # So? What about this header?
17300 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17301 yes:no: )
17302 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17303 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17304 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17305 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17306 ac_header_preproc=yes
17308 no:yes:* )
17309 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17310 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17311 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17312 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17313 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17314 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17315 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17316 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17317 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17318 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17319 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17320 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17322 cat <<\_ASBOX
17323 ## ----------------------------------------- ##
17324 ## Report this to the package-unused lists. ##
17325 ## ----------------------------------------- ##
17326 _ASBOX
17328 sed "s/^/$as_me: WARNING: /" >&2
17330 esac
17331 echo "$as_me:$LINENO: checking for $ac_header" >&5
17332 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17333 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17334 echo $ECHO_N "(cached) $ECHO_C" >&6
17335 else
17336 eval "$as_ac_Header=\$ac_header_preproc"
17338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17339 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17342 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17343 cat >>confdefs.h <<_ACEOF
17344 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17345 _ACEOF
17349 done
17354 # Check whether --with-gnu-ld or --without-gnu-ld was given.
17355 if test "${with_gnu_ld+set}" = set; then
17356 withval="$with_gnu_ld"
17357 test "$withval" = no || with_gnu_ld=yes
17358 else
17359 with_gnu_ld=no
17361 ac_prog=ld
17362 if test "$GCC" = yes; then
17363 # Check if gcc -print-prog-name=ld gives a path.
17364 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
17365 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
17366 case $host in
17367 *-*-mingw*)
17368 # gcc leaves a trailing carriage return which upsets mingw
17369 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
17371 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
17372 esac
17373 case $ac_prog in
17374 # Accept absolute paths.
17375 [\\/]* | ?:[\\/]*)
17376 re_direlt='/[^/][^/]*/\.\./'
17377 # Canonicalize the pathname of ld
17378 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
17379 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
17380 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
17381 done
17382 test -z "$LD" && LD="$ac_prog"
17385 # If it fails, then pretend we aren't using GCC.
17386 ac_prog=ld
17389 # If it is relative, then search for the first ld in PATH.
17390 with_gnu_ld=unknown
17392 esac
17393 elif test "$with_gnu_ld" = yes; then
17394 echo "$as_me:$LINENO: checking for GNU ld" >&5
17395 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
17396 else
17397 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
17398 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
17400 if test "${lt_cv_path_LD+set}" = set; then
17401 echo $ECHO_N "(cached) $ECHO_C" >&6
17402 else
17403 if test -z "$LD"; then
17404 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
17405 for ac_dir in $PATH; do
17406 IFS="$lt_save_ifs"
17407 test -z "$ac_dir" && ac_dir=.
17408 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
17409 lt_cv_path_LD="$ac_dir/$ac_prog"
17410 # Check to see if the program is GNU ld. I'd rather use --version,
17411 # but apparently some variants of GNU ld only accept -v.
17412 # Break only if it was the GNU/non-GNU ld that we prefer.
17413 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
17414 *GNU* | *'with BFD'*)
17415 test "$with_gnu_ld" != no && break
17418 test "$with_gnu_ld" != yes && break
17420 esac
17422 done
17423 IFS="$lt_save_ifs"
17424 else
17425 lt_cv_path_LD="$LD" # Let the user override the test with a path.
17429 LD="$lt_cv_path_LD"
17430 if test -n "$LD"; then
17431 echo "$as_me:$LINENO: result: $LD" >&5
17432 echo "${ECHO_T}$LD" >&6
17433 else
17434 echo "$as_me:$LINENO: result: no" >&5
17435 echo "${ECHO_T}no" >&6
17437 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
17438 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
17439 { (exit 1); exit 1; }; }
17440 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
17441 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
17442 if test "${lt_cv_prog_gnu_ld+set}" = set; then
17443 echo $ECHO_N "(cached) $ECHO_C" >&6
17444 else
17445 # I'd rather use --version here, but apparently some GNU lds only accept -v.
17446 case `$LD -v 2>&1 </dev/null` in
17447 *GNU* | *'with BFD'*)
17448 lt_cv_prog_gnu_ld=yes
17451 lt_cv_prog_gnu_ld=no
17453 esac
17455 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
17456 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
17457 with_gnu_ld=$lt_cv_prog_gnu_ld
17465 # If we're not using GNU ld, then there's no point in even trying these
17466 # tests. Check for that first. We should have already tested for gld
17467 # by now (in libtool), but require it now just to be safe...
17468 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
17469 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
17473 # The name set by libtool depends on the version of libtool. Shame on us
17474 # for depending on an impl detail, but c'est la vie. Older versions used
17475 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
17476 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
17477 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
17478 # set (hence we're using an older libtool), then set it.
17479 if test x${with_gnu_ld+set} != xset; then
17480 if test x${ac_cv_prog_gnu_ld+set} != xset; then
17481 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
17482 with_gnu_ld=no
17483 else
17484 with_gnu_ld=$ac_cv_prog_gnu_ld
17488 # Start by getting the version number. I think the libtool test already
17489 # does some of this, but throws away the result.
17490 if test x"$with_gnu_ld" = x"yes"; then
17491 echo "$as_me:$LINENO: checking for ld version" >&5
17492 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
17494 ldver=`$LD --version 2>/dev/null | head -1 | \
17495 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
17497 glibcxx_gnu_ld_version=`echo $ldver | \
17498 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
17499 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
17500 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
17503 # Set --gc-sections.
17504 glibcxx_gcsections_min_ld=21602
17505 if test x"$with_gnu_ld" = x"yes" &&
17506 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
17508 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
17509 # NB: This flag only works reliably after 2.16.1. Configure tests
17510 # for this are difficult, so hard wire a value that should work.
17512 ac_test_CFLAGS="${CFLAGS+set}"
17513 ac_save_CFLAGS="$CFLAGS"
17514 CFLAGS='-Wl,--gc-sections'
17516 # Check for -Wl,--gc-sections
17517 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
17518 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
17519 if test x$gcc_no_link = xyes; then
17520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17522 { (exit 1); exit 1; }; }
17524 cat >conftest.$ac_ext <<_ACEOF
17525 /* confdefs.h. */
17526 _ACEOF
17527 cat confdefs.h >>conftest.$ac_ext
17528 cat >>conftest.$ac_ext <<_ACEOF
17529 /* end confdefs.h. */
17530 int one(void) { return 1; }
17531 int two(void) { return 2; }
17534 main ()
17536 two();
17538 return 0;
17540 _ACEOF
17541 rm -f conftest.$ac_objext conftest$ac_exeext
17542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17543 (eval $ac_link) 2>conftest.er1
17544 ac_status=$?
17545 grep -v '^ *+' conftest.er1 >conftest.err
17546 rm -f conftest.er1
17547 cat conftest.err >&5
17548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17549 (exit $ac_status); } &&
17550 { ac_try='test -z "$ac_c_werror_flag"
17551 || test ! -s conftest.err'
17552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17553 (eval $ac_try) 2>&5
17554 ac_status=$?
17555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17556 (exit $ac_status); }; } &&
17557 { ac_try='test -s conftest$ac_exeext'
17558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17559 (eval $ac_try) 2>&5
17560 ac_status=$?
17561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17562 (exit $ac_status); }; }; then
17563 ac_gcsections=yes
17564 else
17565 echo "$as_me: failed program was:" >&5
17566 sed 's/^/| /' conftest.$ac_ext >&5
17568 ac_gcsections=no
17570 rm -f conftest.err conftest.$ac_objext \
17571 conftest$ac_exeext conftest.$ac_ext
17572 if test "$ac_gcsections" = "yes"; then
17573 rm -f conftest.c
17574 touch conftest.c
17575 if $CC -c conftest.c; then
17576 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
17577 grep "Warning: gc-sections option ignored" > /dev/null; then
17578 ac_gcsections=no
17581 rm -f conftest.c conftest.o conftest
17583 if test "$ac_gcsections" = "yes"; then
17584 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
17586 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
17587 echo "${ECHO_T}$ac_gcsections" >&6
17589 if test "$ac_test_CFLAGS" = set; then
17590 CFLAGS="$ac_save_CFLAGS"
17591 else
17592 # this is the suspicious part
17593 CFLAGS=''
17597 # Set -z,relro.
17598 # Note this is only for shared objects.
17599 ac_ld_relro=no
17600 if test x"$with_gnu_ld" = x"yes"; then
17601 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
17602 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
17603 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
17604 if test -n "$cxx_z_relo"; then
17605 OPT_LDFLAGS="-Wl,-z,relro"
17606 ac_ld_relro=yes
17608 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
17609 echo "${ECHO_T}$ac_ld_relro" >&6
17612 # Set linker optimization flags.
17613 if test x"$with_gnu_ld" = x"yes"; then
17614 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
17621 ac_test_CXXFLAGS="${CXXFLAGS+set}"
17622 ac_save_CXXFLAGS="$CXXFLAGS"
17623 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
17625 echo "$as_me:$LINENO: checking for sin in -lm" >&5
17626 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
17627 if test "${ac_cv_lib_m_sin+set}" = set; then
17628 echo $ECHO_N "(cached) $ECHO_C" >&6
17629 else
17630 ac_check_lib_save_LIBS=$LIBS
17631 LIBS="-lm $LIBS"
17632 if test x$gcc_no_link = xyes; then
17633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17635 { (exit 1); exit 1; }; }
17637 cat >conftest.$ac_ext <<_ACEOF
17638 /* confdefs.h. */
17639 _ACEOF
17640 cat confdefs.h >>conftest.$ac_ext
17641 cat >>conftest.$ac_ext <<_ACEOF
17642 /* end confdefs.h. */
17644 /* Override any gcc2 internal prototype to avoid an error. */
17645 #ifdef __cplusplus
17646 extern "C"
17647 #endif
17648 /* We use char because int might match the return type of a gcc2
17649 builtin and then its argument prototype would still apply. */
17650 char sin ();
17652 main ()
17654 sin ();
17656 return 0;
17658 _ACEOF
17659 rm -f conftest.$ac_objext conftest$ac_exeext
17660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17661 (eval $ac_link) 2>conftest.er1
17662 ac_status=$?
17663 grep -v '^ *+' conftest.er1 >conftest.err
17664 rm -f conftest.er1
17665 cat conftest.err >&5
17666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17667 (exit $ac_status); } &&
17668 { ac_try='test -z "$ac_c_werror_flag"
17669 || test ! -s conftest.err'
17670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17671 (eval $ac_try) 2>&5
17672 ac_status=$?
17673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17674 (exit $ac_status); }; } &&
17675 { ac_try='test -s conftest$ac_exeext'
17676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17677 (eval $ac_try) 2>&5
17678 ac_status=$?
17679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17680 (exit $ac_status); }; }; then
17681 ac_cv_lib_m_sin=yes
17682 else
17683 echo "$as_me: failed program was:" >&5
17684 sed 's/^/| /' conftest.$ac_ext >&5
17686 ac_cv_lib_m_sin=no
17688 rm -f conftest.err conftest.$ac_objext \
17689 conftest$ac_exeext conftest.$ac_ext
17690 LIBS=$ac_check_lib_save_LIBS
17692 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
17693 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
17694 if test $ac_cv_lib_m_sin = yes; then
17695 libm="-lm"
17698 ac_save_LIBS="$LIBS"
17699 LIBS="$LIBS $libm"
17703 echo "$as_me:$LINENO: checking for isinf declaration" >&5
17704 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
17705 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
17706 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
17707 echo $ECHO_N "(cached) $ECHO_C" >&6
17708 else
17712 ac_ext=cc
17713 ac_cpp='$CXXCPP $CPPFLAGS'
17714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17718 cat >conftest.$ac_ext <<_ACEOF
17719 /* confdefs.h. */
17720 _ACEOF
17721 cat confdefs.h >>conftest.$ac_ext
17722 cat >>conftest.$ac_ext <<_ACEOF
17723 /* end confdefs.h. */
17724 #include <math.h>
17725 #ifdef HAVE_IEEEFP_H
17726 #include <ieeefp.h>
17727 #endif
17730 main ()
17732 isinf(0);
17734 return 0;
17736 _ACEOF
17737 rm -f conftest.$ac_objext
17738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17739 (eval $ac_compile) 2>conftest.er1
17740 ac_status=$?
17741 grep -v '^ *+' conftest.er1 >conftest.err
17742 rm -f conftest.er1
17743 cat conftest.err >&5
17744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17745 (exit $ac_status); } &&
17746 { ac_try='test -z "$ac_cxx_werror_flag"
17747 || test ! -s conftest.err'
17748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17749 (eval $ac_try) 2>&5
17750 ac_status=$?
17751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17752 (exit $ac_status); }; } &&
17753 { ac_try='test -s conftest.$ac_objext'
17754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17755 (eval $ac_try) 2>&5
17756 ac_status=$?
17757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17758 (exit $ac_status); }; }; then
17759 glibcxx_cv_func_isinf_use=yes
17760 else
17761 echo "$as_me: failed program was:" >&5
17762 sed 's/^/| /' conftest.$ac_ext >&5
17764 glibcxx_cv_func_isinf_use=no
17766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17767 ac_ext=c
17768 ac_cpp='$CPP $CPPFLAGS'
17769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17777 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
17778 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
17780 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
17782 for ac_func in isinf
17784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17785 echo "$as_me:$LINENO: checking for $ac_func" >&5
17786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17787 if eval "test \"\${$as_ac_var+set}\" = set"; then
17788 echo $ECHO_N "(cached) $ECHO_C" >&6
17789 else
17790 if test x$gcc_no_link = xyes; then
17791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17793 { (exit 1); exit 1; }; }
17795 cat >conftest.$ac_ext <<_ACEOF
17796 /* confdefs.h. */
17797 _ACEOF
17798 cat confdefs.h >>conftest.$ac_ext
17799 cat >>conftest.$ac_ext <<_ACEOF
17800 /* end confdefs.h. */
17801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17803 #define $ac_func innocuous_$ac_func
17805 /* System header to define __stub macros and hopefully few prototypes,
17806 which can conflict with char $ac_func (); below.
17807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17808 <limits.h> exists even on freestanding compilers. */
17810 #ifdef __STDC__
17811 # include <limits.h>
17812 #else
17813 # include <assert.h>
17814 #endif
17816 #undef $ac_func
17818 /* Override any gcc2 internal prototype to avoid an error. */
17819 #ifdef __cplusplus
17820 extern "C"
17822 #endif
17823 /* We use char because int might match the return type of a gcc2
17824 builtin and then its argument prototype would still apply. */
17825 char $ac_func ();
17826 /* The GNU C library defines this for functions which it implements
17827 to always fail with ENOSYS. Some functions are actually named
17828 something starting with __ and the normal name is an alias. */
17829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17830 choke me
17831 #else
17832 char (*f) () = $ac_func;
17833 #endif
17834 #ifdef __cplusplus
17836 #endif
17839 main ()
17841 return f != $ac_func;
17843 return 0;
17845 _ACEOF
17846 rm -f conftest.$ac_objext conftest$ac_exeext
17847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17848 (eval $ac_link) 2>conftest.er1
17849 ac_status=$?
17850 grep -v '^ *+' conftest.er1 >conftest.err
17851 rm -f conftest.er1
17852 cat conftest.err >&5
17853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17854 (exit $ac_status); } &&
17855 { ac_try='test -z "$ac_c_werror_flag"
17856 || test ! -s conftest.err'
17857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17858 (eval $ac_try) 2>&5
17859 ac_status=$?
17860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17861 (exit $ac_status); }; } &&
17862 { ac_try='test -s conftest$ac_exeext'
17863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17864 (eval $ac_try) 2>&5
17865 ac_status=$?
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); }; }; then
17868 eval "$as_ac_var=yes"
17869 else
17870 echo "$as_me: failed program was:" >&5
17871 sed 's/^/| /' conftest.$ac_ext >&5
17873 eval "$as_ac_var=no"
17875 rm -f conftest.err conftest.$ac_objext \
17876 conftest$ac_exeext conftest.$ac_ext
17878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17880 if test `eval echo '${'$as_ac_var'}'` = yes; then
17881 cat >>confdefs.h <<_ACEOF
17882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17883 _ACEOF
17886 done
17888 else
17890 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
17891 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
17892 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
17893 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
17894 echo $ECHO_N "(cached) $ECHO_C" >&6
17895 else
17899 ac_ext=cc
17900 ac_cpp='$CXXCPP $CPPFLAGS'
17901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17905 cat >conftest.$ac_ext <<_ACEOF
17906 /* confdefs.h. */
17907 _ACEOF
17908 cat confdefs.h >>conftest.$ac_ext
17909 cat >>conftest.$ac_ext <<_ACEOF
17910 /* end confdefs.h. */
17911 #include <math.h>
17912 #ifdef HAVE_IEEEFP_H
17913 #include <ieeefp.h>
17914 #endif
17917 main ()
17919 _isinf(0);
17921 return 0;
17923 _ACEOF
17924 rm -f conftest.$ac_objext
17925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17926 (eval $ac_compile) 2>conftest.er1
17927 ac_status=$?
17928 grep -v '^ *+' conftest.er1 >conftest.err
17929 rm -f conftest.er1
17930 cat conftest.err >&5
17931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17932 (exit $ac_status); } &&
17933 { ac_try='test -z "$ac_cxx_werror_flag"
17934 || test ! -s conftest.err'
17935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17936 (eval $ac_try) 2>&5
17937 ac_status=$?
17938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17939 (exit $ac_status); }; } &&
17940 { ac_try='test -s conftest.$ac_objext'
17941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17942 (eval $ac_try) 2>&5
17943 ac_status=$?
17944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17945 (exit $ac_status); }; }; then
17946 glibcxx_cv_func__isinf_use=yes
17947 else
17948 echo "$as_me: failed program was:" >&5
17949 sed 's/^/| /' conftest.$ac_ext >&5
17951 glibcxx_cv_func__isinf_use=no
17953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17954 ac_ext=c
17955 ac_cpp='$CPP $CPPFLAGS'
17956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17964 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
17965 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
17967 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
17969 for ac_func in _isinf
17971 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17972 echo "$as_me:$LINENO: checking for $ac_func" >&5
17973 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17974 if eval "test \"\${$as_ac_var+set}\" = set"; then
17975 echo $ECHO_N "(cached) $ECHO_C" >&6
17976 else
17977 if test x$gcc_no_link = xyes; then
17978 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17979 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17980 { (exit 1); exit 1; }; }
17982 cat >conftest.$ac_ext <<_ACEOF
17983 /* confdefs.h. */
17984 _ACEOF
17985 cat confdefs.h >>conftest.$ac_ext
17986 cat >>conftest.$ac_ext <<_ACEOF
17987 /* end confdefs.h. */
17988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17990 #define $ac_func innocuous_$ac_func
17992 /* System header to define __stub macros and hopefully few prototypes,
17993 which can conflict with char $ac_func (); below.
17994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17995 <limits.h> exists even on freestanding compilers. */
17997 #ifdef __STDC__
17998 # include <limits.h>
17999 #else
18000 # include <assert.h>
18001 #endif
18003 #undef $ac_func
18005 /* Override any gcc2 internal prototype to avoid an error. */
18006 #ifdef __cplusplus
18007 extern "C"
18009 #endif
18010 /* We use char because int might match the return type of a gcc2
18011 builtin and then its argument prototype would still apply. */
18012 char $ac_func ();
18013 /* The GNU C library defines this for functions which it implements
18014 to always fail with ENOSYS. Some functions are actually named
18015 something starting with __ and the normal name is an alias. */
18016 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18017 choke me
18018 #else
18019 char (*f) () = $ac_func;
18020 #endif
18021 #ifdef __cplusplus
18023 #endif
18026 main ()
18028 return f != $ac_func;
18030 return 0;
18032 _ACEOF
18033 rm -f conftest.$ac_objext conftest$ac_exeext
18034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18035 (eval $ac_link) 2>conftest.er1
18036 ac_status=$?
18037 grep -v '^ *+' conftest.er1 >conftest.err
18038 rm -f conftest.er1
18039 cat conftest.err >&5
18040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18041 (exit $ac_status); } &&
18042 { ac_try='test -z "$ac_c_werror_flag"
18043 || test ! -s conftest.err'
18044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18045 (eval $ac_try) 2>&5
18046 ac_status=$?
18047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18048 (exit $ac_status); }; } &&
18049 { ac_try='test -s conftest$ac_exeext'
18050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18051 (eval $ac_try) 2>&5
18052 ac_status=$?
18053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18054 (exit $ac_status); }; }; then
18055 eval "$as_ac_var=yes"
18056 else
18057 echo "$as_me: failed program was:" >&5
18058 sed 's/^/| /' conftest.$ac_ext >&5
18060 eval "$as_ac_var=no"
18062 rm -f conftest.err conftest.$ac_objext \
18063 conftest$ac_exeext conftest.$ac_ext
18065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18066 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18067 if test `eval echo '${'$as_ac_var'}'` = yes; then
18068 cat >>confdefs.h <<_ACEOF
18069 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18070 _ACEOF
18073 done
18083 echo "$as_me:$LINENO: checking for isnan declaration" >&5
18084 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
18085 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
18086 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
18087 echo $ECHO_N "(cached) $ECHO_C" >&6
18088 else
18092 ac_ext=cc
18093 ac_cpp='$CXXCPP $CPPFLAGS'
18094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18098 cat >conftest.$ac_ext <<_ACEOF
18099 /* confdefs.h. */
18100 _ACEOF
18101 cat confdefs.h >>conftest.$ac_ext
18102 cat >>conftest.$ac_ext <<_ACEOF
18103 /* end confdefs.h. */
18104 #include <math.h>
18105 #ifdef HAVE_IEEEFP_H
18106 #include <ieeefp.h>
18107 #endif
18110 main ()
18112 isnan(0);
18114 return 0;
18116 _ACEOF
18117 rm -f conftest.$ac_objext
18118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18119 (eval $ac_compile) 2>conftest.er1
18120 ac_status=$?
18121 grep -v '^ *+' conftest.er1 >conftest.err
18122 rm -f conftest.er1
18123 cat conftest.err >&5
18124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18125 (exit $ac_status); } &&
18126 { ac_try='test -z "$ac_cxx_werror_flag"
18127 || test ! -s conftest.err'
18128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18129 (eval $ac_try) 2>&5
18130 ac_status=$?
18131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18132 (exit $ac_status); }; } &&
18133 { ac_try='test -s conftest.$ac_objext'
18134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18135 (eval $ac_try) 2>&5
18136 ac_status=$?
18137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18138 (exit $ac_status); }; }; then
18139 glibcxx_cv_func_isnan_use=yes
18140 else
18141 echo "$as_me: failed program was:" >&5
18142 sed 's/^/| /' conftest.$ac_ext >&5
18144 glibcxx_cv_func_isnan_use=no
18146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18147 ac_ext=c
18148 ac_cpp='$CPP $CPPFLAGS'
18149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18157 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
18158 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
18160 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
18162 for ac_func in isnan
18164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18165 echo "$as_me:$LINENO: checking for $ac_func" >&5
18166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18167 if eval "test \"\${$as_ac_var+set}\" = set"; then
18168 echo $ECHO_N "(cached) $ECHO_C" >&6
18169 else
18170 if test x$gcc_no_link = xyes; then
18171 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18173 { (exit 1); exit 1; }; }
18175 cat >conftest.$ac_ext <<_ACEOF
18176 /* confdefs.h. */
18177 _ACEOF
18178 cat confdefs.h >>conftest.$ac_ext
18179 cat >>conftest.$ac_ext <<_ACEOF
18180 /* end confdefs.h. */
18181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18183 #define $ac_func innocuous_$ac_func
18185 /* System header to define __stub macros and hopefully few prototypes,
18186 which can conflict with char $ac_func (); below.
18187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18188 <limits.h> exists even on freestanding compilers. */
18190 #ifdef __STDC__
18191 # include <limits.h>
18192 #else
18193 # include <assert.h>
18194 #endif
18196 #undef $ac_func
18198 /* Override any gcc2 internal prototype to avoid an error. */
18199 #ifdef __cplusplus
18200 extern "C"
18202 #endif
18203 /* We use char because int might match the return type of a gcc2
18204 builtin and then its argument prototype would still apply. */
18205 char $ac_func ();
18206 /* The GNU C library defines this for functions which it implements
18207 to always fail with ENOSYS. Some functions are actually named
18208 something starting with __ and the normal name is an alias. */
18209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18210 choke me
18211 #else
18212 char (*f) () = $ac_func;
18213 #endif
18214 #ifdef __cplusplus
18216 #endif
18219 main ()
18221 return f != $ac_func;
18223 return 0;
18225 _ACEOF
18226 rm -f conftest.$ac_objext conftest$ac_exeext
18227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18228 (eval $ac_link) 2>conftest.er1
18229 ac_status=$?
18230 grep -v '^ *+' conftest.er1 >conftest.err
18231 rm -f conftest.er1
18232 cat conftest.err >&5
18233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18234 (exit $ac_status); } &&
18235 { ac_try='test -z "$ac_c_werror_flag"
18236 || test ! -s conftest.err'
18237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18238 (eval $ac_try) 2>&5
18239 ac_status=$?
18240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18241 (exit $ac_status); }; } &&
18242 { ac_try='test -s conftest$ac_exeext'
18243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18244 (eval $ac_try) 2>&5
18245 ac_status=$?
18246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18247 (exit $ac_status); }; }; then
18248 eval "$as_ac_var=yes"
18249 else
18250 echo "$as_me: failed program was:" >&5
18251 sed 's/^/| /' conftest.$ac_ext >&5
18253 eval "$as_ac_var=no"
18255 rm -f conftest.err conftest.$ac_objext \
18256 conftest$ac_exeext conftest.$ac_ext
18258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18260 if test `eval echo '${'$as_ac_var'}'` = yes; then
18261 cat >>confdefs.h <<_ACEOF
18262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18263 _ACEOF
18266 done
18268 else
18270 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
18271 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
18272 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
18273 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
18274 echo $ECHO_N "(cached) $ECHO_C" >&6
18275 else
18279 ac_ext=cc
18280 ac_cpp='$CXXCPP $CPPFLAGS'
18281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18285 cat >conftest.$ac_ext <<_ACEOF
18286 /* confdefs.h. */
18287 _ACEOF
18288 cat confdefs.h >>conftest.$ac_ext
18289 cat >>conftest.$ac_ext <<_ACEOF
18290 /* end confdefs.h. */
18291 #include <math.h>
18292 #ifdef HAVE_IEEEFP_H
18293 #include <ieeefp.h>
18294 #endif
18297 main ()
18299 _isnan(0);
18301 return 0;
18303 _ACEOF
18304 rm -f conftest.$ac_objext
18305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18306 (eval $ac_compile) 2>conftest.er1
18307 ac_status=$?
18308 grep -v '^ *+' conftest.er1 >conftest.err
18309 rm -f conftest.er1
18310 cat conftest.err >&5
18311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18312 (exit $ac_status); } &&
18313 { ac_try='test -z "$ac_cxx_werror_flag"
18314 || test ! -s conftest.err'
18315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18316 (eval $ac_try) 2>&5
18317 ac_status=$?
18318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18319 (exit $ac_status); }; } &&
18320 { ac_try='test -s conftest.$ac_objext'
18321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18322 (eval $ac_try) 2>&5
18323 ac_status=$?
18324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18325 (exit $ac_status); }; }; then
18326 glibcxx_cv_func__isnan_use=yes
18327 else
18328 echo "$as_me: failed program was:" >&5
18329 sed 's/^/| /' conftest.$ac_ext >&5
18331 glibcxx_cv_func__isnan_use=no
18333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18334 ac_ext=c
18335 ac_cpp='$CPP $CPPFLAGS'
18336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18344 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
18345 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
18347 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
18349 for ac_func in _isnan
18351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18352 echo "$as_me:$LINENO: checking for $ac_func" >&5
18353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18354 if eval "test \"\${$as_ac_var+set}\" = set"; then
18355 echo $ECHO_N "(cached) $ECHO_C" >&6
18356 else
18357 if test x$gcc_no_link = xyes; then
18358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18360 { (exit 1); exit 1; }; }
18362 cat >conftest.$ac_ext <<_ACEOF
18363 /* confdefs.h. */
18364 _ACEOF
18365 cat confdefs.h >>conftest.$ac_ext
18366 cat >>conftest.$ac_ext <<_ACEOF
18367 /* end confdefs.h. */
18368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18370 #define $ac_func innocuous_$ac_func
18372 /* System header to define __stub macros and hopefully few prototypes,
18373 which can conflict with char $ac_func (); below.
18374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18375 <limits.h> exists even on freestanding compilers. */
18377 #ifdef __STDC__
18378 # include <limits.h>
18379 #else
18380 # include <assert.h>
18381 #endif
18383 #undef $ac_func
18385 /* Override any gcc2 internal prototype to avoid an error. */
18386 #ifdef __cplusplus
18387 extern "C"
18389 #endif
18390 /* We use char because int might match the return type of a gcc2
18391 builtin and then its argument prototype would still apply. */
18392 char $ac_func ();
18393 /* The GNU C library defines this for functions which it implements
18394 to always fail with ENOSYS. Some functions are actually named
18395 something starting with __ and the normal name is an alias. */
18396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18397 choke me
18398 #else
18399 char (*f) () = $ac_func;
18400 #endif
18401 #ifdef __cplusplus
18403 #endif
18406 main ()
18408 return f != $ac_func;
18410 return 0;
18412 _ACEOF
18413 rm -f conftest.$ac_objext conftest$ac_exeext
18414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18415 (eval $ac_link) 2>conftest.er1
18416 ac_status=$?
18417 grep -v '^ *+' conftest.er1 >conftest.err
18418 rm -f conftest.er1
18419 cat conftest.err >&5
18420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18421 (exit $ac_status); } &&
18422 { ac_try='test -z "$ac_c_werror_flag"
18423 || test ! -s conftest.err'
18424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18425 (eval $ac_try) 2>&5
18426 ac_status=$?
18427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18428 (exit $ac_status); }; } &&
18429 { ac_try='test -s conftest$ac_exeext'
18430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18431 (eval $ac_try) 2>&5
18432 ac_status=$?
18433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18434 (exit $ac_status); }; }; then
18435 eval "$as_ac_var=yes"
18436 else
18437 echo "$as_me: failed program was:" >&5
18438 sed 's/^/| /' conftest.$ac_ext >&5
18440 eval "$as_ac_var=no"
18442 rm -f conftest.err conftest.$ac_objext \
18443 conftest$ac_exeext conftest.$ac_ext
18445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18447 if test `eval echo '${'$as_ac_var'}'` = yes; then
18448 cat >>confdefs.h <<_ACEOF
18449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18450 _ACEOF
18453 done
18463 echo "$as_me:$LINENO: checking for finite declaration" >&5
18464 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
18465 if test x${glibcxx_cv_func_finite_use+set} != xset; then
18466 if test "${glibcxx_cv_func_finite_use+set}" = set; then
18467 echo $ECHO_N "(cached) $ECHO_C" >&6
18468 else
18472 ac_ext=cc
18473 ac_cpp='$CXXCPP $CPPFLAGS'
18474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18478 cat >conftest.$ac_ext <<_ACEOF
18479 /* confdefs.h. */
18480 _ACEOF
18481 cat confdefs.h >>conftest.$ac_ext
18482 cat >>conftest.$ac_ext <<_ACEOF
18483 /* end confdefs.h. */
18484 #include <math.h>
18485 #ifdef HAVE_IEEEFP_H
18486 #include <ieeefp.h>
18487 #endif
18490 main ()
18492 finite(0);
18494 return 0;
18496 _ACEOF
18497 rm -f conftest.$ac_objext
18498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18499 (eval $ac_compile) 2>conftest.er1
18500 ac_status=$?
18501 grep -v '^ *+' conftest.er1 >conftest.err
18502 rm -f conftest.er1
18503 cat conftest.err >&5
18504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18505 (exit $ac_status); } &&
18506 { ac_try='test -z "$ac_cxx_werror_flag"
18507 || test ! -s conftest.err'
18508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18509 (eval $ac_try) 2>&5
18510 ac_status=$?
18511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18512 (exit $ac_status); }; } &&
18513 { ac_try='test -s conftest.$ac_objext'
18514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18515 (eval $ac_try) 2>&5
18516 ac_status=$?
18517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18518 (exit $ac_status); }; }; then
18519 glibcxx_cv_func_finite_use=yes
18520 else
18521 echo "$as_me: failed program was:" >&5
18522 sed 's/^/| /' conftest.$ac_ext >&5
18524 glibcxx_cv_func_finite_use=no
18526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18527 ac_ext=c
18528 ac_cpp='$CPP $CPPFLAGS'
18529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18537 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
18538 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
18540 if test x$glibcxx_cv_func_finite_use = x"yes"; then
18542 for ac_func in finite
18544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18545 echo "$as_me:$LINENO: checking for $ac_func" >&5
18546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18547 if eval "test \"\${$as_ac_var+set}\" = set"; then
18548 echo $ECHO_N "(cached) $ECHO_C" >&6
18549 else
18550 if test x$gcc_no_link = xyes; then
18551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18553 { (exit 1); exit 1; }; }
18555 cat >conftest.$ac_ext <<_ACEOF
18556 /* confdefs.h. */
18557 _ACEOF
18558 cat confdefs.h >>conftest.$ac_ext
18559 cat >>conftest.$ac_ext <<_ACEOF
18560 /* end confdefs.h. */
18561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18563 #define $ac_func innocuous_$ac_func
18565 /* System header to define __stub macros and hopefully few prototypes,
18566 which can conflict with char $ac_func (); below.
18567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18568 <limits.h> exists even on freestanding compilers. */
18570 #ifdef __STDC__
18571 # include <limits.h>
18572 #else
18573 # include <assert.h>
18574 #endif
18576 #undef $ac_func
18578 /* Override any gcc2 internal prototype to avoid an error. */
18579 #ifdef __cplusplus
18580 extern "C"
18582 #endif
18583 /* We use char because int might match the return type of a gcc2
18584 builtin and then its argument prototype would still apply. */
18585 char $ac_func ();
18586 /* The GNU C library defines this for functions which it implements
18587 to always fail with ENOSYS. Some functions are actually named
18588 something starting with __ and the normal name is an alias. */
18589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18590 choke me
18591 #else
18592 char (*f) () = $ac_func;
18593 #endif
18594 #ifdef __cplusplus
18596 #endif
18599 main ()
18601 return f != $ac_func;
18603 return 0;
18605 _ACEOF
18606 rm -f conftest.$ac_objext conftest$ac_exeext
18607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18608 (eval $ac_link) 2>conftest.er1
18609 ac_status=$?
18610 grep -v '^ *+' conftest.er1 >conftest.err
18611 rm -f conftest.er1
18612 cat conftest.err >&5
18613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18614 (exit $ac_status); } &&
18615 { ac_try='test -z "$ac_c_werror_flag"
18616 || test ! -s conftest.err'
18617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18618 (eval $ac_try) 2>&5
18619 ac_status=$?
18620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18621 (exit $ac_status); }; } &&
18622 { ac_try='test -s conftest$ac_exeext'
18623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18624 (eval $ac_try) 2>&5
18625 ac_status=$?
18626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18627 (exit $ac_status); }; }; then
18628 eval "$as_ac_var=yes"
18629 else
18630 echo "$as_me: failed program was:" >&5
18631 sed 's/^/| /' conftest.$ac_ext >&5
18633 eval "$as_ac_var=no"
18635 rm -f conftest.err conftest.$ac_objext \
18636 conftest$ac_exeext conftest.$ac_ext
18638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18640 if test `eval echo '${'$as_ac_var'}'` = yes; then
18641 cat >>confdefs.h <<_ACEOF
18642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18643 _ACEOF
18646 done
18648 else
18650 echo "$as_me:$LINENO: checking for _finite declaration" >&5
18651 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
18652 if test x${glibcxx_cv_func__finite_use+set} != xset; then
18653 if test "${glibcxx_cv_func__finite_use+set}" = set; then
18654 echo $ECHO_N "(cached) $ECHO_C" >&6
18655 else
18659 ac_ext=cc
18660 ac_cpp='$CXXCPP $CPPFLAGS'
18661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18665 cat >conftest.$ac_ext <<_ACEOF
18666 /* confdefs.h. */
18667 _ACEOF
18668 cat confdefs.h >>conftest.$ac_ext
18669 cat >>conftest.$ac_ext <<_ACEOF
18670 /* end confdefs.h. */
18671 #include <math.h>
18672 #ifdef HAVE_IEEEFP_H
18673 #include <ieeefp.h>
18674 #endif
18677 main ()
18679 _finite(0);
18681 return 0;
18683 _ACEOF
18684 rm -f conftest.$ac_objext
18685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18686 (eval $ac_compile) 2>conftest.er1
18687 ac_status=$?
18688 grep -v '^ *+' conftest.er1 >conftest.err
18689 rm -f conftest.er1
18690 cat conftest.err >&5
18691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18692 (exit $ac_status); } &&
18693 { ac_try='test -z "$ac_cxx_werror_flag"
18694 || test ! -s conftest.err'
18695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18696 (eval $ac_try) 2>&5
18697 ac_status=$?
18698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18699 (exit $ac_status); }; } &&
18700 { ac_try='test -s conftest.$ac_objext'
18701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18702 (eval $ac_try) 2>&5
18703 ac_status=$?
18704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18705 (exit $ac_status); }; }; then
18706 glibcxx_cv_func__finite_use=yes
18707 else
18708 echo "$as_me: failed program was:" >&5
18709 sed 's/^/| /' conftest.$ac_ext >&5
18711 glibcxx_cv_func__finite_use=no
18713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18714 ac_ext=c
18715 ac_cpp='$CPP $CPPFLAGS'
18716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18724 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
18725 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
18727 if test x$glibcxx_cv_func__finite_use = x"yes"; then
18729 for ac_func in _finite
18731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18732 echo "$as_me:$LINENO: checking for $ac_func" >&5
18733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18734 if eval "test \"\${$as_ac_var+set}\" = set"; then
18735 echo $ECHO_N "(cached) $ECHO_C" >&6
18736 else
18737 if test x$gcc_no_link = xyes; then
18738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18740 { (exit 1); exit 1; }; }
18742 cat >conftest.$ac_ext <<_ACEOF
18743 /* confdefs.h. */
18744 _ACEOF
18745 cat confdefs.h >>conftest.$ac_ext
18746 cat >>conftest.$ac_ext <<_ACEOF
18747 /* end confdefs.h. */
18748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18750 #define $ac_func innocuous_$ac_func
18752 /* System header to define __stub macros and hopefully few prototypes,
18753 which can conflict with char $ac_func (); below.
18754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18755 <limits.h> exists even on freestanding compilers. */
18757 #ifdef __STDC__
18758 # include <limits.h>
18759 #else
18760 # include <assert.h>
18761 #endif
18763 #undef $ac_func
18765 /* Override any gcc2 internal prototype to avoid an error. */
18766 #ifdef __cplusplus
18767 extern "C"
18769 #endif
18770 /* We use char because int might match the return type of a gcc2
18771 builtin and then its argument prototype would still apply. */
18772 char $ac_func ();
18773 /* The GNU C library defines this for functions which it implements
18774 to always fail with ENOSYS. Some functions are actually named
18775 something starting with __ and the normal name is an alias. */
18776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18777 choke me
18778 #else
18779 char (*f) () = $ac_func;
18780 #endif
18781 #ifdef __cplusplus
18783 #endif
18786 main ()
18788 return f != $ac_func;
18790 return 0;
18792 _ACEOF
18793 rm -f conftest.$ac_objext conftest$ac_exeext
18794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18795 (eval $ac_link) 2>conftest.er1
18796 ac_status=$?
18797 grep -v '^ *+' conftest.er1 >conftest.err
18798 rm -f conftest.er1
18799 cat conftest.err >&5
18800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18801 (exit $ac_status); } &&
18802 { ac_try='test -z "$ac_c_werror_flag"
18803 || test ! -s conftest.err'
18804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18805 (eval $ac_try) 2>&5
18806 ac_status=$?
18807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18808 (exit $ac_status); }; } &&
18809 { ac_try='test -s conftest$ac_exeext'
18810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18811 (eval $ac_try) 2>&5
18812 ac_status=$?
18813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18814 (exit $ac_status); }; }; then
18815 eval "$as_ac_var=yes"
18816 else
18817 echo "$as_me: failed program was:" >&5
18818 sed 's/^/| /' conftest.$ac_ext >&5
18820 eval "$as_ac_var=no"
18822 rm -f conftest.err conftest.$ac_objext \
18823 conftest$ac_exeext conftest.$ac_ext
18825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18827 if test `eval echo '${'$as_ac_var'}'` = yes; then
18828 cat >>confdefs.h <<_ACEOF
18829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18830 _ACEOF
18833 done
18843 echo "$as_me:$LINENO: checking for copysign declaration" >&5
18844 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
18845 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
18846 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
18847 echo $ECHO_N "(cached) $ECHO_C" >&6
18848 else
18852 ac_ext=cc
18853 ac_cpp='$CXXCPP $CPPFLAGS'
18854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18858 cat >conftest.$ac_ext <<_ACEOF
18859 /* confdefs.h. */
18860 _ACEOF
18861 cat confdefs.h >>conftest.$ac_ext
18862 cat >>conftest.$ac_ext <<_ACEOF
18863 /* end confdefs.h. */
18864 #include <math.h>
18866 main ()
18868 copysign(0, 0);
18870 return 0;
18872 _ACEOF
18873 rm -f conftest.$ac_objext
18874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18875 (eval $ac_compile) 2>conftest.er1
18876 ac_status=$?
18877 grep -v '^ *+' conftest.er1 >conftest.err
18878 rm -f conftest.er1
18879 cat conftest.err >&5
18880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18881 (exit $ac_status); } &&
18882 { ac_try='test -z "$ac_cxx_werror_flag"
18883 || test ! -s conftest.err'
18884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18885 (eval $ac_try) 2>&5
18886 ac_status=$?
18887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18888 (exit $ac_status); }; } &&
18889 { ac_try='test -s conftest.$ac_objext'
18890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18891 (eval $ac_try) 2>&5
18892 ac_status=$?
18893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18894 (exit $ac_status); }; }; then
18895 glibcxx_cv_func_copysign_use=yes
18896 else
18897 echo "$as_me: failed program was:" >&5
18898 sed 's/^/| /' conftest.$ac_ext >&5
18900 glibcxx_cv_func_copysign_use=no
18902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18903 ac_ext=c
18904 ac_cpp='$CPP $CPPFLAGS'
18905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18913 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
18914 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
18916 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
18918 for ac_func in copysign
18920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18921 echo "$as_me:$LINENO: checking for $ac_func" >&5
18922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18923 if eval "test \"\${$as_ac_var+set}\" = set"; then
18924 echo $ECHO_N "(cached) $ECHO_C" >&6
18925 else
18926 if test x$gcc_no_link = xyes; then
18927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18929 { (exit 1); exit 1; }; }
18931 cat >conftest.$ac_ext <<_ACEOF
18932 /* confdefs.h. */
18933 _ACEOF
18934 cat confdefs.h >>conftest.$ac_ext
18935 cat >>conftest.$ac_ext <<_ACEOF
18936 /* end confdefs.h. */
18937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18939 #define $ac_func innocuous_$ac_func
18941 /* System header to define __stub macros and hopefully few prototypes,
18942 which can conflict with char $ac_func (); below.
18943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18944 <limits.h> exists even on freestanding compilers. */
18946 #ifdef __STDC__
18947 # include <limits.h>
18948 #else
18949 # include <assert.h>
18950 #endif
18952 #undef $ac_func
18954 /* Override any gcc2 internal prototype to avoid an error. */
18955 #ifdef __cplusplus
18956 extern "C"
18958 #endif
18959 /* We use char because int might match the return type of a gcc2
18960 builtin and then its argument prototype would still apply. */
18961 char $ac_func ();
18962 /* The GNU C library defines this for functions which it implements
18963 to always fail with ENOSYS. Some functions are actually named
18964 something starting with __ and the normal name is an alias. */
18965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18966 choke me
18967 #else
18968 char (*f) () = $ac_func;
18969 #endif
18970 #ifdef __cplusplus
18972 #endif
18975 main ()
18977 return f != $ac_func;
18979 return 0;
18981 _ACEOF
18982 rm -f conftest.$ac_objext conftest$ac_exeext
18983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18984 (eval $ac_link) 2>conftest.er1
18985 ac_status=$?
18986 grep -v '^ *+' conftest.er1 >conftest.err
18987 rm -f conftest.er1
18988 cat conftest.err >&5
18989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18990 (exit $ac_status); } &&
18991 { ac_try='test -z "$ac_c_werror_flag"
18992 || test ! -s conftest.err'
18993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18994 (eval $ac_try) 2>&5
18995 ac_status=$?
18996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18997 (exit $ac_status); }; } &&
18998 { ac_try='test -s conftest$ac_exeext'
18999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19000 (eval $ac_try) 2>&5
19001 ac_status=$?
19002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19003 (exit $ac_status); }; }; then
19004 eval "$as_ac_var=yes"
19005 else
19006 echo "$as_me: failed program was:" >&5
19007 sed 's/^/| /' conftest.$ac_ext >&5
19009 eval "$as_ac_var=no"
19011 rm -f conftest.err conftest.$ac_objext \
19012 conftest$ac_exeext conftest.$ac_ext
19014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19016 if test `eval echo '${'$as_ac_var'}'` = yes; then
19017 cat >>confdefs.h <<_ACEOF
19018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19019 _ACEOF
19022 done
19024 else
19026 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
19027 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
19028 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
19029 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
19030 echo $ECHO_N "(cached) $ECHO_C" >&6
19031 else
19035 ac_ext=cc
19036 ac_cpp='$CXXCPP $CPPFLAGS'
19037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19041 cat >conftest.$ac_ext <<_ACEOF
19042 /* confdefs.h. */
19043 _ACEOF
19044 cat confdefs.h >>conftest.$ac_ext
19045 cat >>conftest.$ac_ext <<_ACEOF
19046 /* end confdefs.h. */
19047 #include <math.h>
19049 main ()
19051 _copysign(0, 0);
19053 return 0;
19055 _ACEOF
19056 rm -f conftest.$ac_objext
19057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19058 (eval $ac_compile) 2>conftest.er1
19059 ac_status=$?
19060 grep -v '^ *+' conftest.er1 >conftest.err
19061 rm -f conftest.er1
19062 cat conftest.err >&5
19063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19064 (exit $ac_status); } &&
19065 { ac_try='test -z "$ac_cxx_werror_flag"
19066 || test ! -s conftest.err'
19067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19068 (eval $ac_try) 2>&5
19069 ac_status=$?
19070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19071 (exit $ac_status); }; } &&
19072 { ac_try='test -s conftest.$ac_objext'
19073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19074 (eval $ac_try) 2>&5
19075 ac_status=$?
19076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19077 (exit $ac_status); }; }; then
19078 glibcxx_cv_func__copysign_use=yes
19079 else
19080 echo "$as_me: failed program was:" >&5
19081 sed 's/^/| /' conftest.$ac_ext >&5
19083 glibcxx_cv_func__copysign_use=no
19085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19086 ac_ext=c
19087 ac_cpp='$CPP $CPPFLAGS'
19088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19096 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
19097 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
19099 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
19101 for ac_func in _copysign
19103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19104 echo "$as_me:$LINENO: checking for $ac_func" >&5
19105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19106 if eval "test \"\${$as_ac_var+set}\" = set"; then
19107 echo $ECHO_N "(cached) $ECHO_C" >&6
19108 else
19109 if test x$gcc_no_link = xyes; then
19110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19112 { (exit 1); exit 1; }; }
19114 cat >conftest.$ac_ext <<_ACEOF
19115 /* confdefs.h. */
19116 _ACEOF
19117 cat confdefs.h >>conftest.$ac_ext
19118 cat >>conftest.$ac_ext <<_ACEOF
19119 /* end confdefs.h. */
19120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19122 #define $ac_func innocuous_$ac_func
19124 /* System header to define __stub macros and hopefully few prototypes,
19125 which can conflict with char $ac_func (); below.
19126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19127 <limits.h> exists even on freestanding compilers. */
19129 #ifdef __STDC__
19130 # include <limits.h>
19131 #else
19132 # include <assert.h>
19133 #endif
19135 #undef $ac_func
19137 /* Override any gcc2 internal prototype to avoid an error. */
19138 #ifdef __cplusplus
19139 extern "C"
19141 #endif
19142 /* We use char because int might match the return type of a gcc2
19143 builtin and then its argument prototype would still apply. */
19144 char $ac_func ();
19145 /* The GNU C library defines this for functions which it implements
19146 to always fail with ENOSYS. Some functions are actually named
19147 something starting with __ and the normal name is an alias. */
19148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19149 choke me
19150 #else
19151 char (*f) () = $ac_func;
19152 #endif
19153 #ifdef __cplusplus
19155 #endif
19158 main ()
19160 return f != $ac_func;
19162 return 0;
19164 _ACEOF
19165 rm -f conftest.$ac_objext conftest$ac_exeext
19166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19167 (eval $ac_link) 2>conftest.er1
19168 ac_status=$?
19169 grep -v '^ *+' conftest.er1 >conftest.err
19170 rm -f conftest.er1
19171 cat conftest.err >&5
19172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19173 (exit $ac_status); } &&
19174 { ac_try='test -z "$ac_c_werror_flag"
19175 || test ! -s conftest.err'
19176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19177 (eval $ac_try) 2>&5
19178 ac_status=$?
19179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19180 (exit $ac_status); }; } &&
19181 { ac_try='test -s conftest$ac_exeext'
19182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19183 (eval $ac_try) 2>&5
19184 ac_status=$?
19185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19186 (exit $ac_status); }; }; then
19187 eval "$as_ac_var=yes"
19188 else
19189 echo "$as_me: failed program was:" >&5
19190 sed 's/^/| /' conftest.$ac_ext >&5
19192 eval "$as_ac_var=no"
19194 rm -f conftest.err conftest.$ac_objext \
19195 conftest$ac_exeext conftest.$ac_ext
19197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19199 if test `eval echo '${'$as_ac_var'}'` = yes; then
19200 cat >>confdefs.h <<_ACEOF
19201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19202 _ACEOF
19205 done
19215 echo "$as_me:$LINENO: checking for sincos declaration" >&5
19216 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
19217 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
19218 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
19219 echo $ECHO_N "(cached) $ECHO_C" >&6
19220 else
19224 ac_ext=cc
19225 ac_cpp='$CXXCPP $CPPFLAGS'
19226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19230 cat >conftest.$ac_ext <<_ACEOF
19231 /* confdefs.h. */
19232 _ACEOF
19233 cat confdefs.h >>conftest.$ac_ext
19234 cat >>conftest.$ac_ext <<_ACEOF
19235 /* end confdefs.h. */
19236 #include <math.h>
19238 main ()
19240 sincos(0, 0, 0);
19242 return 0;
19244 _ACEOF
19245 rm -f conftest.$ac_objext
19246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19247 (eval $ac_compile) 2>conftest.er1
19248 ac_status=$?
19249 grep -v '^ *+' conftest.er1 >conftest.err
19250 rm -f conftest.er1
19251 cat conftest.err >&5
19252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19253 (exit $ac_status); } &&
19254 { ac_try='test -z "$ac_cxx_werror_flag"
19255 || test ! -s conftest.err'
19256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19257 (eval $ac_try) 2>&5
19258 ac_status=$?
19259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19260 (exit $ac_status); }; } &&
19261 { ac_try='test -s conftest.$ac_objext'
19262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19263 (eval $ac_try) 2>&5
19264 ac_status=$?
19265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19266 (exit $ac_status); }; }; then
19267 glibcxx_cv_func_sincos_use=yes
19268 else
19269 echo "$as_me: failed program was:" >&5
19270 sed 's/^/| /' conftest.$ac_ext >&5
19272 glibcxx_cv_func_sincos_use=no
19274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19275 ac_ext=c
19276 ac_cpp='$CPP $CPPFLAGS'
19277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19285 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
19286 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
19288 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
19290 for ac_func in sincos
19292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19293 echo "$as_me:$LINENO: checking for $ac_func" >&5
19294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19295 if eval "test \"\${$as_ac_var+set}\" = set"; then
19296 echo $ECHO_N "(cached) $ECHO_C" >&6
19297 else
19298 if test x$gcc_no_link = xyes; then
19299 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19301 { (exit 1); exit 1; }; }
19303 cat >conftest.$ac_ext <<_ACEOF
19304 /* confdefs.h. */
19305 _ACEOF
19306 cat confdefs.h >>conftest.$ac_ext
19307 cat >>conftest.$ac_ext <<_ACEOF
19308 /* end confdefs.h. */
19309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19311 #define $ac_func innocuous_$ac_func
19313 /* System header to define __stub macros and hopefully few prototypes,
19314 which can conflict with char $ac_func (); below.
19315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19316 <limits.h> exists even on freestanding compilers. */
19318 #ifdef __STDC__
19319 # include <limits.h>
19320 #else
19321 # include <assert.h>
19322 #endif
19324 #undef $ac_func
19326 /* Override any gcc2 internal prototype to avoid an error. */
19327 #ifdef __cplusplus
19328 extern "C"
19330 #endif
19331 /* We use char because int might match the return type of a gcc2
19332 builtin and then its argument prototype would still apply. */
19333 char $ac_func ();
19334 /* The GNU C library defines this for functions which it implements
19335 to always fail with ENOSYS. Some functions are actually named
19336 something starting with __ and the normal name is an alias. */
19337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19338 choke me
19339 #else
19340 char (*f) () = $ac_func;
19341 #endif
19342 #ifdef __cplusplus
19344 #endif
19347 main ()
19349 return f != $ac_func;
19351 return 0;
19353 _ACEOF
19354 rm -f conftest.$ac_objext conftest$ac_exeext
19355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19356 (eval $ac_link) 2>conftest.er1
19357 ac_status=$?
19358 grep -v '^ *+' conftest.er1 >conftest.err
19359 rm -f conftest.er1
19360 cat conftest.err >&5
19361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19362 (exit $ac_status); } &&
19363 { ac_try='test -z "$ac_c_werror_flag"
19364 || test ! -s conftest.err'
19365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19366 (eval $ac_try) 2>&5
19367 ac_status=$?
19368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19369 (exit $ac_status); }; } &&
19370 { ac_try='test -s conftest$ac_exeext'
19371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19372 (eval $ac_try) 2>&5
19373 ac_status=$?
19374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19375 (exit $ac_status); }; }; then
19376 eval "$as_ac_var=yes"
19377 else
19378 echo "$as_me: failed program was:" >&5
19379 sed 's/^/| /' conftest.$ac_ext >&5
19381 eval "$as_ac_var=no"
19383 rm -f conftest.err conftest.$ac_objext \
19384 conftest$ac_exeext conftest.$ac_ext
19386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19388 if test `eval echo '${'$as_ac_var'}'` = yes; then
19389 cat >>confdefs.h <<_ACEOF
19390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19391 _ACEOF
19394 done
19396 else
19398 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
19399 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
19400 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
19401 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
19402 echo $ECHO_N "(cached) $ECHO_C" >&6
19403 else
19407 ac_ext=cc
19408 ac_cpp='$CXXCPP $CPPFLAGS'
19409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19413 cat >conftest.$ac_ext <<_ACEOF
19414 /* confdefs.h. */
19415 _ACEOF
19416 cat confdefs.h >>conftest.$ac_ext
19417 cat >>conftest.$ac_ext <<_ACEOF
19418 /* end confdefs.h. */
19419 #include <math.h>
19421 main ()
19423 _sincos(0, 0, 0);
19425 return 0;
19427 _ACEOF
19428 rm -f conftest.$ac_objext
19429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19430 (eval $ac_compile) 2>conftest.er1
19431 ac_status=$?
19432 grep -v '^ *+' conftest.er1 >conftest.err
19433 rm -f conftest.er1
19434 cat conftest.err >&5
19435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19436 (exit $ac_status); } &&
19437 { ac_try='test -z "$ac_cxx_werror_flag"
19438 || test ! -s conftest.err'
19439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19440 (eval $ac_try) 2>&5
19441 ac_status=$?
19442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19443 (exit $ac_status); }; } &&
19444 { ac_try='test -s conftest.$ac_objext'
19445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19446 (eval $ac_try) 2>&5
19447 ac_status=$?
19448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19449 (exit $ac_status); }; }; then
19450 glibcxx_cv_func__sincos_use=yes
19451 else
19452 echo "$as_me: failed program was:" >&5
19453 sed 's/^/| /' conftest.$ac_ext >&5
19455 glibcxx_cv_func__sincos_use=no
19457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19458 ac_ext=c
19459 ac_cpp='$CPP $CPPFLAGS'
19460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19468 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
19469 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
19471 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
19473 for ac_func in _sincos
19475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19476 echo "$as_me:$LINENO: checking for $ac_func" >&5
19477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19478 if eval "test \"\${$as_ac_var+set}\" = set"; then
19479 echo $ECHO_N "(cached) $ECHO_C" >&6
19480 else
19481 if test x$gcc_no_link = xyes; then
19482 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19484 { (exit 1); exit 1; }; }
19486 cat >conftest.$ac_ext <<_ACEOF
19487 /* confdefs.h. */
19488 _ACEOF
19489 cat confdefs.h >>conftest.$ac_ext
19490 cat >>conftest.$ac_ext <<_ACEOF
19491 /* end confdefs.h. */
19492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19494 #define $ac_func innocuous_$ac_func
19496 /* System header to define __stub macros and hopefully few prototypes,
19497 which can conflict with char $ac_func (); below.
19498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19499 <limits.h> exists even on freestanding compilers. */
19501 #ifdef __STDC__
19502 # include <limits.h>
19503 #else
19504 # include <assert.h>
19505 #endif
19507 #undef $ac_func
19509 /* Override any gcc2 internal prototype to avoid an error. */
19510 #ifdef __cplusplus
19511 extern "C"
19513 #endif
19514 /* We use char because int might match the return type of a gcc2
19515 builtin and then its argument prototype would still apply. */
19516 char $ac_func ();
19517 /* The GNU C library defines this for functions which it implements
19518 to always fail with ENOSYS. Some functions are actually named
19519 something starting with __ and the normal name is an alias. */
19520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19521 choke me
19522 #else
19523 char (*f) () = $ac_func;
19524 #endif
19525 #ifdef __cplusplus
19527 #endif
19530 main ()
19532 return f != $ac_func;
19534 return 0;
19536 _ACEOF
19537 rm -f conftest.$ac_objext conftest$ac_exeext
19538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19539 (eval $ac_link) 2>conftest.er1
19540 ac_status=$?
19541 grep -v '^ *+' conftest.er1 >conftest.err
19542 rm -f conftest.er1
19543 cat conftest.err >&5
19544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19545 (exit $ac_status); } &&
19546 { ac_try='test -z "$ac_c_werror_flag"
19547 || test ! -s conftest.err'
19548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19549 (eval $ac_try) 2>&5
19550 ac_status=$?
19551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19552 (exit $ac_status); }; } &&
19553 { ac_try='test -s conftest$ac_exeext'
19554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19555 (eval $ac_try) 2>&5
19556 ac_status=$?
19557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19558 (exit $ac_status); }; }; then
19559 eval "$as_ac_var=yes"
19560 else
19561 echo "$as_me: failed program was:" >&5
19562 sed 's/^/| /' conftest.$ac_ext >&5
19564 eval "$as_ac_var=no"
19566 rm -f conftest.err conftest.$ac_objext \
19567 conftest$ac_exeext conftest.$ac_ext
19569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19571 if test `eval echo '${'$as_ac_var'}'` = yes; then
19572 cat >>confdefs.h <<_ACEOF
19573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19574 _ACEOF
19577 done
19587 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
19588 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
19589 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
19590 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
19591 echo $ECHO_N "(cached) $ECHO_C" >&6
19592 else
19596 ac_ext=cc
19597 ac_cpp='$CXXCPP $CPPFLAGS'
19598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19602 cat >conftest.$ac_ext <<_ACEOF
19603 /* confdefs.h. */
19604 _ACEOF
19605 cat confdefs.h >>conftest.$ac_ext
19606 cat >>conftest.$ac_ext <<_ACEOF
19607 /* end confdefs.h. */
19608 #include <math.h>
19609 #ifdef HAVE_IEEEFP_H
19610 #include <ieeefp.h>
19611 #endif
19614 main ()
19616 fpclass(0);
19618 return 0;
19620 _ACEOF
19621 rm -f conftest.$ac_objext
19622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19623 (eval $ac_compile) 2>conftest.er1
19624 ac_status=$?
19625 grep -v '^ *+' conftest.er1 >conftest.err
19626 rm -f conftest.er1
19627 cat conftest.err >&5
19628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19629 (exit $ac_status); } &&
19630 { ac_try='test -z "$ac_cxx_werror_flag"
19631 || test ! -s conftest.err'
19632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19633 (eval $ac_try) 2>&5
19634 ac_status=$?
19635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19636 (exit $ac_status); }; } &&
19637 { ac_try='test -s conftest.$ac_objext'
19638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19639 (eval $ac_try) 2>&5
19640 ac_status=$?
19641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19642 (exit $ac_status); }; }; then
19643 glibcxx_cv_func_fpclass_use=yes
19644 else
19645 echo "$as_me: failed program was:" >&5
19646 sed 's/^/| /' conftest.$ac_ext >&5
19648 glibcxx_cv_func_fpclass_use=no
19650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19651 ac_ext=c
19652 ac_cpp='$CPP $CPPFLAGS'
19653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19661 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
19662 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
19664 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
19666 for ac_func in fpclass
19668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19669 echo "$as_me:$LINENO: checking for $ac_func" >&5
19670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19671 if eval "test \"\${$as_ac_var+set}\" = set"; then
19672 echo $ECHO_N "(cached) $ECHO_C" >&6
19673 else
19674 if test x$gcc_no_link = xyes; then
19675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19677 { (exit 1); exit 1; }; }
19679 cat >conftest.$ac_ext <<_ACEOF
19680 /* confdefs.h. */
19681 _ACEOF
19682 cat confdefs.h >>conftest.$ac_ext
19683 cat >>conftest.$ac_ext <<_ACEOF
19684 /* end confdefs.h. */
19685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19687 #define $ac_func innocuous_$ac_func
19689 /* System header to define __stub macros and hopefully few prototypes,
19690 which can conflict with char $ac_func (); below.
19691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19692 <limits.h> exists even on freestanding compilers. */
19694 #ifdef __STDC__
19695 # include <limits.h>
19696 #else
19697 # include <assert.h>
19698 #endif
19700 #undef $ac_func
19702 /* Override any gcc2 internal prototype to avoid an error. */
19703 #ifdef __cplusplus
19704 extern "C"
19706 #endif
19707 /* We use char because int might match the return type of a gcc2
19708 builtin and then its argument prototype would still apply. */
19709 char $ac_func ();
19710 /* The GNU C library defines this for functions which it implements
19711 to always fail with ENOSYS. Some functions are actually named
19712 something starting with __ and the normal name is an alias. */
19713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19714 choke me
19715 #else
19716 char (*f) () = $ac_func;
19717 #endif
19718 #ifdef __cplusplus
19720 #endif
19723 main ()
19725 return f != $ac_func;
19727 return 0;
19729 _ACEOF
19730 rm -f conftest.$ac_objext conftest$ac_exeext
19731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19732 (eval $ac_link) 2>conftest.er1
19733 ac_status=$?
19734 grep -v '^ *+' conftest.er1 >conftest.err
19735 rm -f conftest.er1
19736 cat conftest.err >&5
19737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19738 (exit $ac_status); } &&
19739 { ac_try='test -z "$ac_c_werror_flag"
19740 || test ! -s conftest.err'
19741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19742 (eval $ac_try) 2>&5
19743 ac_status=$?
19744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19745 (exit $ac_status); }; } &&
19746 { ac_try='test -s conftest$ac_exeext'
19747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19748 (eval $ac_try) 2>&5
19749 ac_status=$?
19750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19751 (exit $ac_status); }; }; then
19752 eval "$as_ac_var=yes"
19753 else
19754 echo "$as_me: failed program was:" >&5
19755 sed 's/^/| /' conftest.$ac_ext >&5
19757 eval "$as_ac_var=no"
19759 rm -f conftest.err conftest.$ac_objext \
19760 conftest$ac_exeext conftest.$ac_ext
19762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19764 if test `eval echo '${'$as_ac_var'}'` = yes; then
19765 cat >>confdefs.h <<_ACEOF
19766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19767 _ACEOF
19770 done
19772 else
19774 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
19775 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
19776 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
19777 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
19778 echo $ECHO_N "(cached) $ECHO_C" >&6
19779 else
19783 ac_ext=cc
19784 ac_cpp='$CXXCPP $CPPFLAGS'
19785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19789 cat >conftest.$ac_ext <<_ACEOF
19790 /* confdefs.h. */
19791 _ACEOF
19792 cat confdefs.h >>conftest.$ac_ext
19793 cat >>conftest.$ac_ext <<_ACEOF
19794 /* end confdefs.h. */
19795 #include <math.h>
19796 #ifdef HAVE_IEEEFP_H
19797 #include <ieeefp.h>
19798 #endif
19801 main ()
19803 _fpclass(0);
19805 return 0;
19807 _ACEOF
19808 rm -f conftest.$ac_objext
19809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19810 (eval $ac_compile) 2>conftest.er1
19811 ac_status=$?
19812 grep -v '^ *+' conftest.er1 >conftest.err
19813 rm -f conftest.er1
19814 cat conftest.err >&5
19815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19816 (exit $ac_status); } &&
19817 { ac_try='test -z "$ac_cxx_werror_flag"
19818 || test ! -s conftest.err'
19819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19820 (eval $ac_try) 2>&5
19821 ac_status=$?
19822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19823 (exit $ac_status); }; } &&
19824 { ac_try='test -s conftest.$ac_objext'
19825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19826 (eval $ac_try) 2>&5
19827 ac_status=$?
19828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19829 (exit $ac_status); }; }; then
19830 glibcxx_cv_func__fpclass_use=yes
19831 else
19832 echo "$as_me: failed program was:" >&5
19833 sed 's/^/| /' conftest.$ac_ext >&5
19835 glibcxx_cv_func__fpclass_use=no
19837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19838 ac_ext=c
19839 ac_cpp='$CPP $CPPFLAGS'
19840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19848 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
19849 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
19851 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
19853 for ac_func in _fpclass
19855 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19856 echo "$as_me:$LINENO: checking for $ac_func" >&5
19857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19858 if eval "test \"\${$as_ac_var+set}\" = set"; then
19859 echo $ECHO_N "(cached) $ECHO_C" >&6
19860 else
19861 if test x$gcc_no_link = xyes; then
19862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19864 { (exit 1); exit 1; }; }
19866 cat >conftest.$ac_ext <<_ACEOF
19867 /* confdefs.h. */
19868 _ACEOF
19869 cat confdefs.h >>conftest.$ac_ext
19870 cat >>conftest.$ac_ext <<_ACEOF
19871 /* end confdefs.h. */
19872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19874 #define $ac_func innocuous_$ac_func
19876 /* System header to define __stub macros and hopefully few prototypes,
19877 which can conflict with char $ac_func (); below.
19878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19879 <limits.h> exists even on freestanding compilers. */
19881 #ifdef __STDC__
19882 # include <limits.h>
19883 #else
19884 # include <assert.h>
19885 #endif
19887 #undef $ac_func
19889 /* Override any gcc2 internal prototype to avoid an error. */
19890 #ifdef __cplusplus
19891 extern "C"
19893 #endif
19894 /* We use char because int might match the return type of a gcc2
19895 builtin and then its argument prototype would still apply. */
19896 char $ac_func ();
19897 /* The GNU C library defines this for functions which it implements
19898 to always fail with ENOSYS. Some functions are actually named
19899 something starting with __ and the normal name is an alias. */
19900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19901 choke me
19902 #else
19903 char (*f) () = $ac_func;
19904 #endif
19905 #ifdef __cplusplus
19907 #endif
19910 main ()
19912 return f != $ac_func;
19914 return 0;
19916 _ACEOF
19917 rm -f conftest.$ac_objext conftest$ac_exeext
19918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19919 (eval $ac_link) 2>conftest.er1
19920 ac_status=$?
19921 grep -v '^ *+' conftest.er1 >conftest.err
19922 rm -f conftest.er1
19923 cat conftest.err >&5
19924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19925 (exit $ac_status); } &&
19926 { ac_try='test -z "$ac_c_werror_flag"
19927 || test ! -s conftest.err'
19928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19929 (eval $ac_try) 2>&5
19930 ac_status=$?
19931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19932 (exit $ac_status); }; } &&
19933 { ac_try='test -s conftest$ac_exeext'
19934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19935 (eval $ac_try) 2>&5
19936 ac_status=$?
19937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19938 (exit $ac_status); }; }; then
19939 eval "$as_ac_var=yes"
19940 else
19941 echo "$as_me: failed program was:" >&5
19942 sed 's/^/| /' conftest.$ac_ext >&5
19944 eval "$as_ac_var=no"
19946 rm -f conftest.err conftest.$ac_objext \
19947 conftest$ac_exeext conftest.$ac_ext
19949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19951 if test `eval echo '${'$as_ac_var'}'` = yes; then
19952 cat >>confdefs.h <<_ACEOF
19953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19954 _ACEOF
19957 done
19967 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
19968 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
19969 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
19970 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
19971 echo $ECHO_N "(cached) $ECHO_C" >&6
19972 else
19976 ac_ext=cc
19977 ac_cpp='$CXXCPP $CPPFLAGS'
19978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19982 cat >conftest.$ac_ext <<_ACEOF
19983 /* confdefs.h. */
19984 _ACEOF
19985 cat confdefs.h >>conftest.$ac_ext
19986 cat >>conftest.$ac_ext <<_ACEOF
19987 /* end confdefs.h. */
19988 #include <math.h>
19989 #ifdef HAVE_IEEEFP_H
19990 #include <ieeefp.h>
19991 #endif
19994 main ()
19996 qfpclass(0);
19998 return 0;
20000 _ACEOF
20001 rm -f conftest.$ac_objext
20002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20003 (eval $ac_compile) 2>conftest.er1
20004 ac_status=$?
20005 grep -v '^ *+' conftest.er1 >conftest.err
20006 rm -f conftest.er1
20007 cat conftest.err >&5
20008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20009 (exit $ac_status); } &&
20010 { ac_try='test -z "$ac_cxx_werror_flag"
20011 || test ! -s conftest.err'
20012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20013 (eval $ac_try) 2>&5
20014 ac_status=$?
20015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20016 (exit $ac_status); }; } &&
20017 { ac_try='test -s conftest.$ac_objext'
20018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20019 (eval $ac_try) 2>&5
20020 ac_status=$?
20021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20022 (exit $ac_status); }; }; then
20023 glibcxx_cv_func_qfpclass_use=yes
20024 else
20025 echo "$as_me: failed program was:" >&5
20026 sed 's/^/| /' conftest.$ac_ext >&5
20028 glibcxx_cv_func_qfpclass_use=no
20030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20031 ac_ext=c
20032 ac_cpp='$CPP $CPPFLAGS'
20033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20041 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
20042 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
20044 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20046 for ac_func in qfpclass
20048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20049 echo "$as_me:$LINENO: checking for $ac_func" >&5
20050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20051 if eval "test \"\${$as_ac_var+set}\" = set"; then
20052 echo $ECHO_N "(cached) $ECHO_C" >&6
20053 else
20054 if test x$gcc_no_link = xyes; then
20055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20057 { (exit 1); exit 1; }; }
20059 cat >conftest.$ac_ext <<_ACEOF
20060 /* confdefs.h. */
20061 _ACEOF
20062 cat confdefs.h >>conftest.$ac_ext
20063 cat >>conftest.$ac_ext <<_ACEOF
20064 /* end confdefs.h. */
20065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20067 #define $ac_func innocuous_$ac_func
20069 /* System header to define __stub macros and hopefully few prototypes,
20070 which can conflict with char $ac_func (); below.
20071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20072 <limits.h> exists even on freestanding compilers. */
20074 #ifdef __STDC__
20075 # include <limits.h>
20076 #else
20077 # include <assert.h>
20078 #endif
20080 #undef $ac_func
20082 /* Override any gcc2 internal prototype to avoid an error. */
20083 #ifdef __cplusplus
20084 extern "C"
20086 #endif
20087 /* We use char because int might match the return type of a gcc2
20088 builtin and then its argument prototype would still apply. */
20089 char $ac_func ();
20090 /* The GNU C library defines this for functions which it implements
20091 to always fail with ENOSYS. Some functions are actually named
20092 something starting with __ and the normal name is an alias. */
20093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20094 choke me
20095 #else
20096 char (*f) () = $ac_func;
20097 #endif
20098 #ifdef __cplusplus
20100 #endif
20103 main ()
20105 return f != $ac_func;
20107 return 0;
20109 _ACEOF
20110 rm -f conftest.$ac_objext conftest$ac_exeext
20111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20112 (eval $ac_link) 2>conftest.er1
20113 ac_status=$?
20114 grep -v '^ *+' conftest.er1 >conftest.err
20115 rm -f conftest.er1
20116 cat conftest.err >&5
20117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); } &&
20119 { ac_try='test -z "$ac_c_werror_flag"
20120 || test ! -s conftest.err'
20121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20122 (eval $ac_try) 2>&5
20123 ac_status=$?
20124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20125 (exit $ac_status); }; } &&
20126 { ac_try='test -s conftest$ac_exeext'
20127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20128 (eval $ac_try) 2>&5
20129 ac_status=$?
20130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20131 (exit $ac_status); }; }; then
20132 eval "$as_ac_var=yes"
20133 else
20134 echo "$as_me: failed program was:" >&5
20135 sed 's/^/| /' conftest.$ac_ext >&5
20137 eval "$as_ac_var=no"
20139 rm -f conftest.err conftest.$ac_objext \
20140 conftest$ac_exeext conftest.$ac_ext
20142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20144 if test `eval echo '${'$as_ac_var'}'` = yes; then
20145 cat >>confdefs.h <<_ACEOF
20146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20147 _ACEOF
20150 done
20152 else
20154 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
20155 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
20156 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20157 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
20158 echo $ECHO_N "(cached) $ECHO_C" >&6
20159 else
20163 ac_ext=cc
20164 ac_cpp='$CXXCPP $CPPFLAGS'
20165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20169 cat >conftest.$ac_ext <<_ACEOF
20170 /* confdefs.h. */
20171 _ACEOF
20172 cat confdefs.h >>conftest.$ac_ext
20173 cat >>conftest.$ac_ext <<_ACEOF
20174 /* end confdefs.h. */
20175 #include <math.h>
20176 #ifdef HAVE_IEEEFP_H
20177 #include <ieeefp.h>
20178 #endif
20181 main ()
20183 _qfpclass(0);
20185 return 0;
20187 _ACEOF
20188 rm -f conftest.$ac_objext
20189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20190 (eval $ac_compile) 2>conftest.er1
20191 ac_status=$?
20192 grep -v '^ *+' conftest.er1 >conftest.err
20193 rm -f conftest.er1
20194 cat conftest.err >&5
20195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20196 (exit $ac_status); } &&
20197 { ac_try='test -z "$ac_cxx_werror_flag"
20198 || test ! -s conftest.err'
20199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20200 (eval $ac_try) 2>&5
20201 ac_status=$?
20202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20203 (exit $ac_status); }; } &&
20204 { ac_try='test -s conftest.$ac_objext'
20205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20206 (eval $ac_try) 2>&5
20207 ac_status=$?
20208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20209 (exit $ac_status); }; }; then
20210 glibcxx_cv_func__qfpclass_use=yes
20211 else
20212 echo "$as_me: failed program was:" >&5
20213 sed 's/^/| /' conftest.$ac_ext >&5
20215 glibcxx_cv_func__qfpclass_use=no
20217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20218 ac_ext=c
20219 ac_cpp='$CPP $CPPFLAGS'
20220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20228 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
20229 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
20231 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20233 for ac_func in _qfpclass
20235 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20236 echo "$as_me:$LINENO: checking for $ac_func" >&5
20237 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20238 if eval "test \"\${$as_ac_var+set}\" = set"; then
20239 echo $ECHO_N "(cached) $ECHO_C" >&6
20240 else
20241 if test x$gcc_no_link = xyes; then
20242 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20243 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20244 { (exit 1); exit 1; }; }
20246 cat >conftest.$ac_ext <<_ACEOF
20247 /* confdefs.h. */
20248 _ACEOF
20249 cat confdefs.h >>conftest.$ac_ext
20250 cat >>conftest.$ac_ext <<_ACEOF
20251 /* end confdefs.h. */
20252 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20253 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20254 #define $ac_func innocuous_$ac_func
20256 /* System header to define __stub macros and hopefully few prototypes,
20257 which can conflict with char $ac_func (); below.
20258 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20259 <limits.h> exists even on freestanding compilers. */
20261 #ifdef __STDC__
20262 # include <limits.h>
20263 #else
20264 # include <assert.h>
20265 #endif
20267 #undef $ac_func
20269 /* Override any gcc2 internal prototype to avoid an error. */
20270 #ifdef __cplusplus
20271 extern "C"
20273 #endif
20274 /* We use char because int might match the return type of a gcc2
20275 builtin and then its argument prototype would still apply. */
20276 char $ac_func ();
20277 /* The GNU C library defines this for functions which it implements
20278 to always fail with ENOSYS. Some functions are actually named
20279 something starting with __ and the normal name is an alias. */
20280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20281 choke me
20282 #else
20283 char (*f) () = $ac_func;
20284 #endif
20285 #ifdef __cplusplus
20287 #endif
20290 main ()
20292 return f != $ac_func;
20294 return 0;
20296 _ACEOF
20297 rm -f conftest.$ac_objext conftest$ac_exeext
20298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20299 (eval $ac_link) 2>conftest.er1
20300 ac_status=$?
20301 grep -v '^ *+' conftest.er1 >conftest.err
20302 rm -f conftest.er1
20303 cat conftest.err >&5
20304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20305 (exit $ac_status); } &&
20306 { ac_try='test -z "$ac_c_werror_flag"
20307 || test ! -s conftest.err'
20308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20309 (eval $ac_try) 2>&5
20310 ac_status=$?
20311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20312 (exit $ac_status); }; } &&
20313 { ac_try='test -s conftest$ac_exeext'
20314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20315 (eval $ac_try) 2>&5
20316 ac_status=$?
20317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20318 (exit $ac_status); }; }; then
20319 eval "$as_ac_var=yes"
20320 else
20321 echo "$as_me: failed program was:" >&5
20322 sed 's/^/| /' conftest.$ac_ext >&5
20324 eval "$as_ac_var=no"
20326 rm -f conftest.err conftest.$ac_objext \
20327 conftest$ac_exeext conftest.$ac_ext
20329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20331 if test `eval echo '${'$as_ac_var'}'` = yes; then
20332 cat >>confdefs.h <<_ACEOF
20333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20334 _ACEOF
20337 done
20347 echo "$as_me:$LINENO: checking for hypot declaration" >&5
20348 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
20349 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20350 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
20351 echo $ECHO_N "(cached) $ECHO_C" >&6
20352 else
20356 ac_ext=cc
20357 ac_cpp='$CXXCPP $CPPFLAGS'
20358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20362 cat >conftest.$ac_ext <<_ACEOF
20363 /* confdefs.h. */
20364 _ACEOF
20365 cat confdefs.h >>conftest.$ac_ext
20366 cat >>conftest.$ac_ext <<_ACEOF
20367 /* end confdefs.h. */
20368 #include <math.h>
20370 main ()
20372 hypot(0, 0);
20374 return 0;
20376 _ACEOF
20377 rm -f conftest.$ac_objext
20378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20379 (eval $ac_compile) 2>conftest.er1
20380 ac_status=$?
20381 grep -v '^ *+' conftest.er1 >conftest.err
20382 rm -f conftest.er1
20383 cat conftest.err >&5
20384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20385 (exit $ac_status); } &&
20386 { ac_try='test -z "$ac_cxx_werror_flag"
20387 || test ! -s conftest.err'
20388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20389 (eval $ac_try) 2>&5
20390 ac_status=$?
20391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20392 (exit $ac_status); }; } &&
20393 { ac_try='test -s conftest.$ac_objext'
20394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20395 (eval $ac_try) 2>&5
20396 ac_status=$?
20397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20398 (exit $ac_status); }; }; then
20399 glibcxx_cv_func_hypot_use=yes
20400 else
20401 echo "$as_me: failed program was:" >&5
20402 sed 's/^/| /' conftest.$ac_ext >&5
20404 glibcxx_cv_func_hypot_use=no
20406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20407 ac_ext=c
20408 ac_cpp='$CPP $CPPFLAGS'
20409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20417 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
20418 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
20420 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20422 for ac_func in hypot
20424 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20425 echo "$as_me:$LINENO: checking for $ac_func" >&5
20426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20427 if eval "test \"\${$as_ac_var+set}\" = set"; then
20428 echo $ECHO_N "(cached) $ECHO_C" >&6
20429 else
20430 if test x$gcc_no_link = xyes; then
20431 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20433 { (exit 1); exit 1; }; }
20435 cat >conftest.$ac_ext <<_ACEOF
20436 /* confdefs.h. */
20437 _ACEOF
20438 cat confdefs.h >>conftest.$ac_ext
20439 cat >>conftest.$ac_ext <<_ACEOF
20440 /* end confdefs.h. */
20441 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20442 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20443 #define $ac_func innocuous_$ac_func
20445 /* System header to define __stub macros and hopefully few prototypes,
20446 which can conflict with char $ac_func (); below.
20447 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20448 <limits.h> exists even on freestanding compilers. */
20450 #ifdef __STDC__
20451 # include <limits.h>
20452 #else
20453 # include <assert.h>
20454 #endif
20456 #undef $ac_func
20458 /* Override any gcc2 internal prototype to avoid an error. */
20459 #ifdef __cplusplus
20460 extern "C"
20462 #endif
20463 /* We use char because int might match the return type of a gcc2
20464 builtin and then its argument prototype would still apply. */
20465 char $ac_func ();
20466 /* The GNU C library defines this for functions which it implements
20467 to always fail with ENOSYS. Some functions are actually named
20468 something starting with __ and the normal name is an alias. */
20469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20470 choke me
20471 #else
20472 char (*f) () = $ac_func;
20473 #endif
20474 #ifdef __cplusplus
20476 #endif
20479 main ()
20481 return f != $ac_func;
20483 return 0;
20485 _ACEOF
20486 rm -f conftest.$ac_objext conftest$ac_exeext
20487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20488 (eval $ac_link) 2>conftest.er1
20489 ac_status=$?
20490 grep -v '^ *+' conftest.er1 >conftest.err
20491 rm -f conftest.er1
20492 cat conftest.err >&5
20493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20494 (exit $ac_status); } &&
20495 { ac_try='test -z "$ac_c_werror_flag"
20496 || test ! -s conftest.err'
20497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20498 (eval $ac_try) 2>&5
20499 ac_status=$?
20500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20501 (exit $ac_status); }; } &&
20502 { ac_try='test -s conftest$ac_exeext'
20503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20504 (eval $ac_try) 2>&5
20505 ac_status=$?
20506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20507 (exit $ac_status); }; }; then
20508 eval "$as_ac_var=yes"
20509 else
20510 echo "$as_me: failed program was:" >&5
20511 sed 's/^/| /' conftest.$ac_ext >&5
20513 eval "$as_ac_var=no"
20515 rm -f conftest.err conftest.$ac_objext \
20516 conftest$ac_exeext conftest.$ac_ext
20518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20519 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20520 if test `eval echo '${'$as_ac_var'}'` = yes; then
20521 cat >>confdefs.h <<_ACEOF
20522 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20523 _ACEOF
20526 done
20528 else
20530 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
20531 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
20532 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20533 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
20534 echo $ECHO_N "(cached) $ECHO_C" >&6
20535 else
20539 ac_ext=cc
20540 ac_cpp='$CXXCPP $CPPFLAGS'
20541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20545 cat >conftest.$ac_ext <<_ACEOF
20546 /* confdefs.h. */
20547 _ACEOF
20548 cat confdefs.h >>conftest.$ac_ext
20549 cat >>conftest.$ac_ext <<_ACEOF
20550 /* end confdefs.h. */
20551 #include <math.h>
20553 main ()
20555 _hypot(0, 0);
20557 return 0;
20559 _ACEOF
20560 rm -f conftest.$ac_objext
20561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20562 (eval $ac_compile) 2>conftest.er1
20563 ac_status=$?
20564 grep -v '^ *+' conftest.er1 >conftest.err
20565 rm -f conftest.er1
20566 cat conftest.err >&5
20567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20568 (exit $ac_status); } &&
20569 { ac_try='test -z "$ac_cxx_werror_flag"
20570 || test ! -s conftest.err'
20571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20572 (eval $ac_try) 2>&5
20573 ac_status=$?
20574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20575 (exit $ac_status); }; } &&
20576 { ac_try='test -s conftest.$ac_objext'
20577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20578 (eval $ac_try) 2>&5
20579 ac_status=$?
20580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20581 (exit $ac_status); }; }; then
20582 glibcxx_cv_func__hypot_use=yes
20583 else
20584 echo "$as_me: failed program was:" >&5
20585 sed 's/^/| /' conftest.$ac_ext >&5
20587 glibcxx_cv_func__hypot_use=no
20589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20590 ac_ext=c
20591 ac_cpp='$CPP $CPPFLAGS'
20592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20600 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
20601 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
20603 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20605 for ac_func in _hypot
20607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20608 echo "$as_me:$LINENO: checking for $ac_func" >&5
20609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20610 if eval "test \"\${$as_ac_var+set}\" = set"; then
20611 echo $ECHO_N "(cached) $ECHO_C" >&6
20612 else
20613 if test x$gcc_no_link = xyes; then
20614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20616 { (exit 1); exit 1; }; }
20618 cat >conftest.$ac_ext <<_ACEOF
20619 /* confdefs.h. */
20620 _ACEOF
20621 cat confdefs.h >>conftest.$ac_ext
20622 cat >>conftest.$ac_ext <<_ACEOF
20623 /* end confdefs.h. */
20624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20626 #define $ac_func innocuous_$ac_func
20628 /* System header to define __stub macros and hopefully few prototypes,
20629 which can conflict with char $ac_func (); below.
20630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20631 <limits.h> exists even on freestanding compilers. */
20633 #ifdef __STDC__
20634 # include <limits.h>
20635 #else
20636 # include <assert.h>
20637 #endif
20639 #undef $ac_func
20641 /* Override any gcc2 internal prototype to avoid an error. */
20642 #ifdef __cplusplus
20643 extern "C"
20645 #endif
20646 /* We use char because int might match the return type of a gcc2
20647 builtin and then its argument prototype would still apply. */
20648 char $ac_func ();
20649 /* The GNU C library defines this for functions which it implements
20650 to always fail with ENOSYS. Some functions are actually named
20651 something starting with __ and the normal name is an alias. */
20652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20653 choke me
20654 #else
20655 char (*f) () = $ac_func;
20656 #endif
20657 #ifdef __cplusplus
20659 #endif
20662 main ()
20664 return f != $ac_func;
20666 return 0;
20668 _ACEOF
20669 rm -f conftest.$ac_objext conftest$ac_exeext
20670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20671 (eval $ac_link) 2>conftest.er1
20672 ac_status=$?
20673 grep -v '^ *+' conftest.er1 >conftest.err
20674 rm -f conftest.er1
20675 cat conftest.err >&5
20676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20677 (exit $ac_status); } &&
20678 { ac_try='test -z "$ac_c_werror_flag"
20679 || test ! -s conftest.err'
20680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20681 (eval $ac_try) 2>&5
20682 ac_status=$?
20683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20684 (exit $ac_status); }; } &&
20685 { ac_try='test -s conftest$ac_exeext'
20686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20687 (eval $ac_try) 2>&5
20688 ac_status=$?
20689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20690 (exit $ac_status); }; }; then
20691 eval "$as_ac_var=yes"
20692 else
20693 echo "$as_me: failed program was:" >&5
20694 sed 's/^/| /' conftest.$ac_ext >&5
20696 eval "$as_ac_var=no"
20698 rm -f conftest.err conftest.$ac_objext \
20699 conftest$ac_exeext conftest.$ac_ext
20701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20703 if test `eval echo '${'$as_ac_var'}'` = yes; then
20704 cat >>confdefs.h <<_ACEOF
20705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20706 _ACEOF
20709 done
20719 echo "$as_me:$LINENO: checking for float trig functions" >&5
20720 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
20721 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
20722 echo $ECHO_N "(cached) $ECHO_C" >&6
20723 else
20727 ac_ext=cc
20728 ac_cpp='$CXXCPP $CPPFLAGS'
20729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20733 cat >conftest.$ac_ext <<_ACEOF
20734 /* confdefs.h. */
20735 _ACEOF
20736 cat confdefs.h >>conftest.$ac_ext
20737 cat >>conftest.$ac_ext <<_ACEOF
20738 /* end confdefs.h. */
20739 #include <math.h>
20741 main ()
20743 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20745 return 0;
20747 _ACEOF
20748 rm -f conftest.$ac_objext
20749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20750 (eval $ac_compile) 2>conftest.er1
20751 ac_status=$?
20752 grep -v '^ *+' conftest.er1 >conftest.err
20753 rm -f conftest.er1
20754 cat conftest.err >&5
20755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20756 (exit $ac_status); } &&
20757 { ac_try='test -z "$ac_cxx_werror_flag"
20758 || test ! -s conftest.err'
20759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20760 (eval $ac_try) 2>&5
20761 ac_status=$?
20762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20763 (exit $ac_status); }; } &&
20764 { ac_try='test -s conftest.$ac_objext'
20765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20766 (eval $ac_try) 2>&5
20767 ac_status=$?
20768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20769 (exit $ac_status); }; }; then
20770 glibcxx_cv_func_float_trig_use=yes
20771 else
20772 echo "$as_me: failed program was:" >&5
20773 sed 's/^/| /' conftest.$ac_ext >&5
20775 glibcxx_cv_func_float_trig_use=no
20777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20778 ac_ext=c
20779 ac_cpp='$CPP $CPPFLAGS'
20780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20786 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
20787 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
20788 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20798 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20801 echo "$as_me:$LINENO: checking for $ac_func" >&5
20802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20803 if eval "test \"\${$as_ac_var+set}\" = set"; then
20804 echo $ECHO_N "(cached) $ECHO_C" >&6
20805 else
20806 if test x$gcc_no_link = xyes; then
20807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20809 { (exit 1); exit 1; }; }
20811 cat >conftest.$ac_ext <<_ACEOF
20812 /* confdefs.h. */
20813 _ACEOF
20814 cat confdefs.h >>conftest.$ac_ext
20815 cat >>conftest.$ac_ext <<_ACEOF
20816 /* end confdefs.h. */
20817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20819 #define $ac_func innocuous_$ac_func
20821 /* System header to define __stub macros and hopefully few prototypes,
20822 which can conflict with char $ac_func (); below.
20823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20824 <limits.h> exists even on freestanding compilers. */
20826 #ifdef __STDC__
20827 # include <limits.h>
20828 #else
20829 # include <assert.h>
20830 #endif
20832 #undef $ac_func
20834 /* Override any gcc2 internal prototype to avoid an error. */
20835 #ifdef __cplusplus
20836 extern "C"
20838 #endif
20839 /* We use char because int might match the return type of a gcc2
20840 builtin and then its argument prototype would still apply. */
20841 char $ac_func ();
20842 /* The GNU C library defines this for functions which it implements
20843 to always fail with ENOSYS. Some functions are actually named
20844 something starting with __ and the normal name is an alias. */
20845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20846 choke me
20847 #else
20848 char (*f) () = $ac_func;
20849 #endif
20850 #ifdef __cplusplus
20852 #endif
20855 main ()
20857 return f != $ac_func;
20859 return 0;
20861 _ACEOF
20862 rm -f conftest.$ac_objext conftest$ac_exeext
20863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20864 (eval $ac_link) 2>conftest.er1
20865 ac_status=$?
20866 grep -v '^ *+' conftest.er1 >conftest.err
20867 rm -f conftest.er1
20868 cat conftest.err >&5
20869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20870 (exit $ac_status); } &&
20871 { ac_try='test -z "$ac_c_werror_flag"
20872 || test ! -s conftest.err'
20873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20874 (eval $ac_try) 2>&5
20875 ac_status=$?
20876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20877 (exit $ac_status); }; } &&
20878 { ac_try='test -s conftest$ac_exeext'
20879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20880 (eval $ac_try) 2>&5
20881 ac_status=$?
20882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20883 (exit $ac_status); }; }; then
20884 eval "$as_ac_var=yes"
20885 else
20886 echo "$as_me: failed program was:" >&5
20887 sed 's/^/| /' conftest.$ac_ext >&5
20889 eval "$as_ac_var=no"
20891 rm -f conftest.err conftest.$ac_objext \
20892 conftest$ac_exeext conftest.$ac_ext
20894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20896 if test `eval echo '${'$as_ac_var'}'` = yes; then
20897 cat >>confdefs.h <<_ACEOF
20898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20899 _ACEOF
20902 done
20904 else
20905 echo "$as_me:$LINENO: checking for _float trig functions" >&5
20906 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
20907 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
20908 echo $ECHO_N "(cached) $ECHO_C" >&6
20909 else
20913 ac_ext=cc
20914 ac_cpp='$CXXCPP $CPPFLAGS'
20915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20919 cat >conftest.$ac_ext <<_ACEOF
20920 /* confdefs.h. */
20921 _ACEOF
20922 cat confdefs.h >>conftest.$ac_ext
20923 cat >>conftest.$ac_ext <<_ACEOF
20924 /* end confdefs.h. */
20925 #include <math.h>
20927 main ()
20929 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20931 return 0;
20933 _ACEOF
20934 rm -f conftest.$ac_objext
20935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20936 (eval $ac_compile) 2>conftest.er1
20937 ac_status=$?
20938 grep -v '^ *+' conftest.er1 >conftest.err
20939 rm -f conftest.er1
20940 cat conftest.err >&5
20941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20942 (exit $ac_status); } &&
20943 { ac_try='test -z "$ac_cxx_werror_flag"
20944 || test ! -s conftest.err'
20945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20946 (eval $ac_try) 2>&5
20947 ac_status=$?
20948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20949 (exit $ac_status); }; } &&
20950 { ac_try='test -s conftest.$ac_objext'
20951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20952 (eval $ac_try) 2>&5
20953 ac_status=$?
20954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20955 (exit $ac_status); }; }; then
20956 glibcxx_cv_func__float_trig_use=yes
20957 else
20958 echo "$as_me: failed program was:" >&5
20959 sed 's/^/| /' conftest.$ac_ext >&5
20961 glibcxx_cv_func__float_trig_use=no
20963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20964 ac_ext=c
20965 ac_cpp='$CPP $CPPFLAGS'
20966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20972 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
20973 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
20974 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20984 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
20986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20987 echo "$as_me:$LINENO: checking for $ac_func" >&5
20988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20989 if eval "test \"\${$as_ac_var+set}\" = set"; then
20990 echo $ECHO_N "(cached) $ECHO_C" >&6
20991 else
20992 if test x$gcc_no_link = xyes; then
20993 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20995 { (exit 1); exit 1; }; }
20997 cat >conftest.$ac_ext <<_ACEOF
20998 /* confdefs.h. */
20999 _ACEOF
21000 cat confdefs.h >>conftest.$ac_ext
21001 cat >>conftest.$ac_ext <<_ACEOF
21002 /* end confdefs.h. */
21003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21005 #define $ac_func innocuous_$ac_func
21007 /* System header to define __stub macros and hopefully few prototypes,
21008 which can conflict with char $ac_func (); below.
21009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21010 <limits.h> exists even on freestanding compilers. */
21012 #ifdef __STDC__
21013 # include <limits.h>
21014 #else
21015 # include <assert.h>
21016 #endif
21018 #undef $ac_func
21020 /* Override any gcc2 internal prototype to avoid an error. */
21021 #ifdef __cplusplus
21022 extern "C"
21024 #endif
21025 /* We use char because int might match the return type of a gcc2
21026 builtin and then its argument prototype would still apply. */
21027 char $ac_func ();
21028 /* The GNU C library defines this for functions which it implements
21029 to always fail with ENOSYS. Some functions are actually named
21030 something starting with __ and the normal name is an alias. */
21031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21032 choke me
21033 #else
21034 char (*f) () = $ac_func;
21035 #endif
21036 #ifdef __cplusplus
21038 #endif
21041 main ()
21043 return f != $ac_func;
21045 return 0;
21047 _ACEOF
21048 rm -f conftest.$ac_objext conftest$ac_exeext
21049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21050 (eval $ac_link) 2>conftest.er1
21051 ac_status=$?
21052 grep -v '^ *+' conftest.er1 >conftest.err
21053 rm -f conftest.er1
21054 cat conftest.err >&5
21055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21056 (exit $ac_status); } &&
21057 { ac_try='test -z "$ac_c_werror_flag"
21058 || test ! -s conftest.err'
21059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21060 (eval $ac_try) 2>&5
21061 ac_status=$?
21062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21063 (exit $ac_status); }; } &&
21064 { ac_try='test -s conftest$ac_exeext'
21065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21066 (eval $ac_try) 2>&5
21067 ac_status=$?
21068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21069 (exit $ac_status); }; }; then
21070 eval "$as_ac_var=yes"
21071 else
21072 echo "$as_me: failed program was:" >&5
21073 sed 's/^/| /' conftest.$ac_ext >&5
21075 eval "$as_ac_var=no"
21077 rm -f conftest.err conftest.$ac_objext \
21078 conftest$ac_exeext conftest.$ac_ext
21080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21082 if test `eval echo '${'$as_ac_var'}'` = yes; then
21083 cat >>confdefs.h <<_ACEOF
21084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21085 _ACEOF
21088 done
21106 echo "$as_me:$LINENO: checking for float round functions" >&5
21107 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
21108 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
21109 echo $ECHO_N "(cached) $ECHO_C" >&6
21110 else
21114 ac_ext=cc
21115 ac_cpp='$CXXCPP $CPPFLAGS'
21116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21120 cat >conftest.$ac_ext <<_ACEOF
21121 /* confdefs.h. */
21122 _ACEOF
21123 cat confdefs.h >>conftest.$ac_ext
21124 cat >>conftest.$ac_ext <<_ACEOF
21125 /* end confdefs.h. */
21126 #include <math.h>
21128 main ()
21130 ceilf (0); floorf (0);
21132 return 0;
21134 _ACEOF
21135 rm -f conftest.$ac_objext
21136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21137 (eval $ac_compile) 2>conftest.er1
21138 ac_status=$?
21139 grep -v '^ *+' conftest.er1 >conftest.err
21140 rm -f conftest.er1
21141 cat conftest.err >&5
21142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21143 (exit $ac_status); } &&
21144 { ac_try='test -z "$ac_cxx_werror_flag"
21145 || test ! -s conftest.err'
21146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21147 (eval $ac_try) 2>&5
21148 ac_status=$?
21149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21150 (exit $ac_status); }; } &&
21151 { ac_try='test -s conftest.$ac_objext'
21152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21153 (eval $ac_try) 2>&5
21154 ac_status=$?
21155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21156 (exit $ac_status); }; }; then
21157 glibcxx_cv_func_float_round_use=yes
21158 else
21159 echo "$as_me: failed program was:" >&5
21160 sed 's/^/| /' conftest.$ac_ext >&5
21162 glibcxx_cv_func_float_round_use=no
21164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21165 ac_ext=c
21166 ac_cpp='$CPP $CPPFLAGS'
21167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21173 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
21174 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
21175 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21178 for ac_func in ceilf floorf
21180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21181 echo "$as_me:$LINENO: checking for $ac_func" >&5
21182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21183 if eval "test \"\${$as_ac_var+set}\" = set"; then
21184 echo $ECHO_N "(cached) $ECHO_C" >&6
21185 else
21186 if test x$gcc_no_link = xyes; then
21187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21189 { (exit 1); exit 1; }; }
21191 cat >conftest.$ac_ext <<_ACEOF
21192 /* confdefs.h. */
21193 _ACEOF
21194 cat confdefs.h >>conftest.$ac_ext
21195 cat >>conftest.$ac_ext <<_ACEOF
21196 /* end confdefs.h. */
21197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21199 #define $ac_func innocuous_$ac_func
21201 /* System header to define __stub macros and hopefully few prototypes,
21202 which can conflict with char $ac_func (); below.
21203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21204 <limits.h> exists even on freestanding compilers. */
21206 #ifdef __STDC__
21207 # include <limits.h>
21208 #else
21209 # include <assert.h>
21210 #endif
21212 #undef $ac_func
21214 /* Override any gcc2 internal prototype to avoid an error. */
21215 #ifdef __cplusplus
21216 extern "C"
21218 #endif
21219 /* We use char because int might match the return type of a gcc2
21220 builtin and then its argument prototype would still apply. */
21221 char $ac_func ();
21222 /* The GNU C library defines this for functions which it implements
21223 to always fail with ENOSYS. Some functions are actually named
21224 something starting with __ and the normal name is an alias. */
21225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21226 choke me
21227 #else
21228 char (*f) () = $ac_func;
21229 #endif
21230 #ifdef __cplusplus
21232 #endif
21235 main ()
21237 return f != $ac_func;
21239 return 0;
21241 _ACEOF
21242 rm -f conftest.$ac_objext conftest$ac_exeext
21243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21244 (eval $ac_link) 2>conftest.er1
21245 ac_status=$?
21246 grep -v '^ *+' conftest.er1 >conftest.err
21247 rm -f conftest.er1
21248 cat conftest.err >&5
21249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21250 (exit $ac_status); } &&
21251 { ac_try='test -z "$ac_c_werror_flag"
21252 || test ! -s conftest.err'
21253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21254 (eval $ac_try) 2>&5
21255 ac_status=$?
21256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21257 (exit $ac_status); }; } &&
21258 { ac_try='test -s conftest$ac_exeext'
21259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21260 (eval $ac_try) 2>&5
21261 ac_status=$?
21262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21263 (exit $ac_status); }; }; then
21264 eval "$as_ac_var=yes"
21265 else
21266 echo "$as_me: failed program was:" >&5
21267 sed 's/^/| /' conftest.$ac_ext >&5
21269 eval "$as_ac_var=no"
21271 rm -f conftest.err conftest.$ac_objext \
21272 conftest$ac_exeext conftest.$ac_ext
21274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21276 if test `eval echo '${'$as_ac_var'}'` = yes; then
21277 cat >>confdefs.h <<_ACEOF
21278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21279 _ACEOF
21282 done
21284 else
21285 echo "$as_me:$LINENO: checking for _float round functions" >&5
21286 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
21287 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
21288 echo $ECHO_N "(cached) $ECHO_C" >&6
21289 else
21293 ac_ext=cc
21294 ac_cpp='$CXXCPP $CPPFLAGS'
21295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21299 cat >conftest.$ac_ext <<_ACEOF
21300 /* confdefs.h. */
21301 _ACEOF
21302 cat confdefs.h >>conftest.$ac_ext
21303 cat >>conftest.$ac_ext <<_ACEOF
21304 /* end confdefs.h. */
21305 #include <math.h>
21307 main ()
21309 _ceilf (0); _floorf (0);
21311 return 0;
21313 _ACEOF
21314 rm -f conftest.$ac_objext
21315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21316 (eval $ac_compile) 2>conftest.er1
21317 ac_status=$?
21318 grep -v '^ *+' conftest.er1 >conftest.err
21319 rm -f conftest.er1
21320 cat conftest.err >&5
21321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21322 (exit $ac_status); } &&
21323 { ac_try='test -z "$ac_cxx_werror_flag"
21324 || test ! -s conftest.err'
21325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21326 (eval $ac_try) 2>&5
21327 ac_status=$?
21328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21329 (exit $ac_status); }; } &&
21330 { ac_try='test -s conftest.$ac_objext'
21331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21332 (eval $ac_try) 2>&5
21333 ac_status=$?
21334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21335 (exit $ac_status); }; }; then
21336 glibcxx_cv_func__float_round_use=yes
21337 else
21338 echo "$as_me: failed program was:" >&5
21339 sed 's/^/| /' conftest.$ac_ext >&5
21341 glibcxx_cv_func__float_round_use=no
21343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21344 ac_ext=c
21345 ac_cpp='$CPP $CPPFLAGS'
21346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21352 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
21353 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
21354 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21357 for ac_func in _ceilf _floorf
21359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21360 echo "$as_me:$LINENO: checking for $ac_func" >&5
21361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21362 if eval "test \"\${$as_ac_var+set}\" = set"; then
21363 echo $ECHO_N "(cached) $ECHO_C" >&6
21364 else
21365 if test x$gcc_no_link = xyes; then
21366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21368 { (exit 1); exit 1; }; }
21370 cat >conftest.$ac_ext <<_ACEOF
21371 /* confdefs.h. */
21372 _ACEOF
21373 cat confdefs.h >>conftest.$ac_ext
21374 cat >>conftest.$ac_ext <<_ACEOF
21375 /* end confdefs.h. */
21376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21378 #define $ac_func innocuous_$ac_func
21380 /* System header to define __stub macros and hopefully few prototypes,
21381 which can conflict with char $ac_func (); below.
21382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21383 <limits.h> exists even on freestanding compilers. */
21385 #ifdef __STDC__
21386 # include <limits.h>
21387 #else
21388 # include <assert.h>
21389 #endif
21391 #undef $ac_func
21393 /* Override any gcc2 internal prototype to avoid an error. */
21394 #ifdef __cplusplus
21395 extern "C"
21397 #endif
21398 /* We use char because int might match the return type of a gcc2
21399 builtin and then its argument prototype would still apply. */
21400 char $ac_func ();
21401 /* The GNU C library defines this for functions which it implements
21402 to always fail with ENOSYS. Some functions are actually named
21403 something starting with __ and the normal name is an alias. */
21404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21405 choke me
21406 #else
21407 char (*f) () = $ac_func;
21408 #endif
21409 #ifdef __cplusplus
21411 #endif
21414 main ()
21416 return f != $ac_func;
21418 return 0;
21420 _ACEOF
21421 rm -f conftest.$ac_objext conftest$ac_exeext
21422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21423 (eval $ac_link) 2>conftest.er1
21424 ac_status=$?
21425 grep -v '^ *+' conftest.er1 >conftest.err
21426 rm -f conftest.er1
21427 cat conftest.err >&5
21428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21429 (exit $ac_status); } &&
21430 { ac_try='test -z "$ac_c_werror_flag"
21431 || test ! -s conftest.err'
21432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21433 (eval $ac_try) 2>&5
21434 ac_status=$?
21435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21436 (exit $ac_status); }; } &&
21437 { ac_try='test -s conftest$ac_exeext'
21438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21439 (eval $ac_try) 2>&5
21440 ac_status=$?
21441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21442 (exit $ac_status); }; }; then
21443 eval "$as_ac_var=yes"
21444 else
21445 echo "$as_me: failed program was:" >&5
21446 sed 's/^/| /' conftest.$ac_ext >&5
21448 eval "$as_ac_var=no"
21450 rm -f conftest.err conftest.$ac_objext \
21451 conftest$ac_exeext conftest.$ac_ext
21453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21455 if test `eval echo '${'$as_ac_var'}'` = yes; then
21456 cat >>confdefs.h <<_ACEOF
21457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21458 _ACEOF
21461 done
21473 echo "$as_me:$LINENO: checking for expf declaration" >&5
21474 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
21475 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21476 if test "${glibcxx_cv_func_expf_use+set}" = set; then
21477 echo $ECHO_N "(cached) $ECHO_C" >&6
21478 else
21482 ac_ext=cc
21483 ac_cpp='$CXXCPP $CPPFLAGS'
21484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21488 cat >conftest.$ac_ext <<_ACEOF
21489 /* confdefs.h. */
21490 _ACEOF
21491 cat confdefs.h >>conftest.$ac_ext
21492 cat >>conftest.$ac_ext <<_ACEOF
21493 /* end confdefs.h. */
21494 #include <math.h>
21495 #ifdef HAVE_IEEEFP_H
21496 #include <ieeefp.h>
21497 #endif
21500 main ()
21502 expf(0);
21504 return 0;
21506 _ACEOF
21507 rm -f conftest.$ac_objext
21508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21509 (eval $ac_compile) 2>conftest.er1
21510 ac_status=$?
21511 grep -v '^ *+' conftest.er1 >conftest.err
21512 rm -f conftest.er1
21513 cat conftest.err >&5
21514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21515 (exit $ac_status); } &&
21516 { ac_try='test -z "$ac_cxx_werror_flag"
21517 || test ! -s conftest.err'
21518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21519 (eval $ac_try) 2>&5
21520 ac_status=$?
21521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21522 (exit $ac_status); }; } &&
21523 { ac_try='test -s conftest.$ac_objext'
21524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21525 (eval $ac_try) 2>&5
21526 ac_status=$?
21527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21528 (exit $ac_status); }; }; then
21529 glibcxx_cv_func_expf_use=yes
21530 else
21531 echo "$as_me: failed program was:" >&5
21532 sed 's/^/| /' conftest.$ac_ext >&5
21534 glibcxx_cv_func_expf_use=no
21536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21537 ac_ext=c
21538 ac_cpp='$CPP $CPPFLAGS'
21539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21547 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
21548 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
21550 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21552 for ac_func in expf
21554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21555 echo "$as_me:$LINENO: checking for $ac_func" >&5
21556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21557 if eval "test \"\${$as_ac_var+set}\" = set"; then
21558 echo $ECHO_N "(cached) $ECHO_C" >&6
21559 else
21560 if test x$gcc_no_link = xyes; then
21561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21563 { (exit 1); exit 1; }; }
21565 cat >conftest.$ac_ext <<_ACEOF
21566 /* confdefs.h. */
21567 _ACEOF
21568 cat confdefs.h >>conftest.$ac_ext
21569 cat >>conftest.$ac_ext <<_ACEOF
21570 /* end confdefs.h. */
21571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21573 #define $ac_func innocuous_$ac_func
21575 /* System header to define __stub macros and hopefully few prototypes,
21576 which can conflict with char $ac_func (); below.
21577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21578 <limits.h> exists even on freestanding compilers. */
21580 #ifdef __STDC__
21581 # include <limits.h>
21582 #else
21583 # include <assert.h>
21584 #endif
21586 #undef $ac_func
21588 /* Override any gcc2 internal prototype to avoid an error. */
21589 #ifdef __cplusplus
21590 extern "C"
21592 #endif
21593 /* We use char because int might match the return type of a gcc2
21594 builtin and then its argument prototype would still apply. */
21595 char $ac_func ();
21596 /* The GNU C library defines this for functions which it implements
21597 to always fail with ENOSYS. Some functions are actually named
21598 something starting with __ and the normal name is an alias. */
21599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21600 choke me
21601 #else
21602 char (*f) () = $ac_func;
21603 #endif
21604 #ifdef __cplusplus
21606 #endif
21609 main ()
21611 return f != $ac_func;
21613 return 0;
21615 _ACEOF
21616 rm -f conftest.$ac_objext conftest$ac_exeext
21617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21618 (eval $ac_link) 2>conftest.er1
21619 ac_status=$?
21620 grep -v '^ *+' conftest.er1 >conftest.err
21621 rm -f conftest.er1
21622 cat conftest.err >&5
21623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21624 (exit $ac_status); } &&
21625 { ac_try='test -z "$ac_c_werror_flag"
21626 || test ! -s conftest.err'
21627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21628 (eval $ac_try) 2>&5
21629 ac_status=$?
21630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21631 (exit $ac_status); }; } &&
21632 { ac_try='test -s conftest$ac_exeext'
21633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21634 (eval $ac_try) 2>&5
21635 ac_status=$?
21636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21637 (exit $ac_status); }; }; then
21638 eval "$as_ac_var=yes"
21639 else
21640 echo "$as_me: failed program was:" >&5
21641 sed 's/^/| /' conftest.$ac_ext >&5
21643 eval "$as_ac_var=no"
21645 rm -f conftest.err conftest.$ac_objext \
21646 conftest$ac_exeext conftest.$ac_ext
21648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21650 if test `eval echo '${'$as_ac_var'}'` = yes; then
21651 cat >>confdefs.h <<_ACEOF
21652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21653 _ACEOF
21656 done
21658 else
21660 echo "$as_me:$LINENO: checking for _expf declaration" >&5
21661 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
21662 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21663 if test "${glibcxx_cv_func__expf_use+set}" = set; then
21664 echo $ECHO_N "(cached) $ECHO_C" >&6
21665 else
21669 ac_ext=cc
21670 ac_cpp='$CXXCPP $CPPFLAGS'
21671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21675 cat >conftest.$ac_ext <<_ACEOF
21676 /* confdefs.h. */
21677 _ACEOF
21678 cat confdefs.h >>conftest.$ac_ext
21679 cat >>conftest.$ac_ext <<_ACEOF
21680 /* end confdefs.h. */
21681 #include <math.h>
21682 #ifdef HAVE_IEEEFP_H
21683 #include <ieeefp.h>
21684 #endif
21687 main ()
21689 _expf(0);
21691 return 0;
21693 _ACEOF
21694 rm -f conftest.$ac_objext
21695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21696 (eval $ac_compile) 2>conftest.er1
21697 ac_status=$?
21698 grep -v '^ *+' conftest.er1 >conftest.err
21699 rm -f conftest.er1
21700 cat conftest.err >&5
21701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21702 (exit $ac_status); } &&
21703 { ac_try='test -z "$ac_cxx_werror_flag"
21704 || test ! -s conftest.err'
21705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21706 (eval $ac_try) 2>&5
21707 ac_status=$?
21708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21709 (exit $ac_status); }; } &&
21710 { ac_try='test -s conftest.$ac_objext'
21711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21712 (eval $ac_try) 2>&5
21713 ac_status=$?
21714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21715 (exit $ac_status); }; }; then
21716 glibcxx_cv_func__expf_use=yes
21717 else
21718 echo "$as_me: failed program was:" >&5
21719 sed 's/^/| /' conftest.$ac_ext >&5
21721 glibcxx_cv_func__expf_use=no
21723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21724 ac_ext=c
21725 ac_cpp='$CPP $CPPFLAGS'
21726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21734 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
21735 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
21737 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21739 for ac_func in _expf
21741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21742 echo "$as_me:$LINENO: checking for $ac_func" >&5
21743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21744 if eval "test \"\${$as_ac_var+set}\" = set"; then
21745 echo $ECHO_N "(cached) $ECHO_C" >&6
21746 else
21747 if test x$gcc_no_link = xyes; then
21748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21750 { (exit 1); exit 1; }; }
21752 cat >conftest.$ac_ext <<_ACEOF
21753 /* confdefs.h. */
21754 _ACEOF
21755 cat confdefs.h >>conftest.$ac_ext
21756 cat >>conftest.$ac_ext <<_ACEOF
21757 /* end confdefs.h. */
21758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21760 #define $ac_func innocuous_$ac_func
21762 /* System header to define __stub macros and hopefully few prototypes,
21763 which can conflict with char $ac_func (); below.
21764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21765 <limits.h> exists even on freestanding compilers. */
21767 #ifdef __STDC__
21768 # include <limits.h>
21769 #else
21770 # include <assert.h>
21771 #endif
21773 #undef $ac_func
21775 /* Override any gcc2 internal prototype to avoid an error. */
21776 #ifdef __cplusplus
21777 extern "C"
21779 #endif
21780 /* We use char because int might match the return type of a gcc2
21781 builtin and then its argument prototype would still apply. */
21782 char $ac_func ();
21783 /* The GNU C library defines this for functions which it implements
21784 to always fail with ENOSYS. Some functions are actually named
21785 something starting with __ and the normal name is an alias. */
21786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21787 choke me
21788 #else
21789 char (*f) () = $ac_func;
21790 #endif
21791 #ifdef __cplusplus
21793 #endif
21796 main ()
21798 return f != $ac_func;
21800 return 0;
21802 _ACEOF
21803 rm -f conftest.$ac_objext conftest$ac_exeext
21804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21805 (eval $ac_link) 2>conftest.er1
21806 ac_status=$?
21807 grep -v '^ *+' conftest.er1 >conftest.err
21808 rm -f conftest.er1
21809 cat conftest.err >&5
21810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21811 (exit $ac_status); } &&
21812 { ac_try='test -z "$ac_c_werror_flag"
21813 || test ! -s conftest.err'
21814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21815 (eval $ac_try) 2>&5
21816 ac_status=$?
21817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21818 (exit $ac_status); }; } &&
21819 { ac_try='test -s conftest$ac_exeext'
21820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21821 (eval $ac_try) 2>&5
21822 ac_status=$?
21823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21824 (exit $ac_status); }; }; then
21825 eval "$as_ac_var=yes"
21826 else
21827 echo "$as_me: failed program was:" >&5
21828 sed 's/^/| /' conftest.$ac_ext >&5
21830 eval "$as_ac_var=no"
21832 rm -f conftest.err conftest.$ac_objext \
21833 conftest$ac_exeext conftest.$ac_ext
21835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21837 if test `eval echo '${'$as_ac_var'}'` = yes; then
21838 cat >>confdefs.h <<_ACEOF
21839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21840 _ACEOF
21843 done
21853 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
21854 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
21855 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21856 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
21857 echo $ECHO_N "(cached) $ECHO_C" >&6
21858 else
21862 ac_ext=cc
21863 ac_cpp='$CXXCPP $CPPFLAGS'
21864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21868 cat >conftest.$ac_ext <<_ACEOF
21869 /* confdefs.h. */
21870 _ACEOF
21871 cat confdefs.h >>conftest.$ac_ext
21872 cat >>conftest.$ac_ext <<_ACEOF
21873 /* end confdefs.h. */
21874 #include <math.h>
21875 #ifdef HAVE_IEEEFP_H
21876 #include <ieeefp.h>
21877 #endif
21880 main ()
21882 isnanf(0);
21884 return 0;
21886 _ACEOF
21887 rm -f conftest.$ac_objext
21888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21889 (eval $ac_compile) 2>conftest.er1
21890 ac_status=$?
21891 grep -v '^ *+' conftest.er1 >conftest.err
21892 rm -f conftest.er1
21893 cat conftest.err >&5
21894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21895 (exit $ac_status); } &&
21896 { ac_try='test -z "$ac_cxx_werror_flag"
21897 || test ! -s conftest.err'
21898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21899 (eval $ac_try) 2>&5
21900 ac_status=$?
21901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21902 (exit $ac_status); }; } &&
21903 { ac_try='test -s conftest.$ac_objext'
21904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21905 (eval $ac_try) 2>&5
21906 ac_status=$?
21907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21908 (exit $ac_status); }; }; then
21909 glibcxx_cv_func_isnanf_use=yes
21910 else
21911 echo "$as_me: failed program was:" >&5
21912 sed 's/^/| /' conftest.$ac_ext >&5
21914 glibcxx_cv_func_isnanf_use=no
21916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21917 ac_ext=c
21918 ac_cpp='$CPP $CPPFLAGS'
21919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21927 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
21928 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
21930 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21932 for ac_func in isnanf
21934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21935 echo "$as_me:$LINENO: checking for $ac_func" >&5
21936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21937 if eval "test \"\${$as_ac_var+set}\" = set"; then
21938 echo $ECHO_N "(cached) $ECHO_C" >&6
21939 else
21940 if test x$gcc_no_link = xyes; then
21941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21943 { (exit 1); exit 1; }; }
21945 cat >conftest.$ac_ext <<_ACEOF
21946 /* confdefs.h. */
21947 _ACEOF
21948 cat confdefs.h >>conftest.$ac_ext
21949 cat >>conftest.$ac_ext <<_ACEOF
21950 /* end confdefs.h. */
21951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21953 #define $ac_func innocuous_$ac_func
21955 /* System header to define __stub macros and hopefully few prototypes,
21956 which can conflict with char $ac_func (); below.
21957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21958 <limits.h> exists even on freestanding compilers. */
21960 #ifdef __STDC__
21961 # include <limits.h>
21962 #else
21963 # include <assert.h>
21964 #endif
21966 #undef $ac_func
21968 /* Override any gcc2 internal prototype to avoid an error. */
21969 #ifdef __cplusplus
21970 extern "C"
21972 #endif
21973 /* We use char because int might match the return type of a gcc2
21974 builtin and then its argument prototype would still apply. */
21975 char $ac_func ();
21976 /* The GNU C library defines this for functions which it implements
21977 to always fail with ENOSYS. Some functions are actually named
21978 something starting with __ and the normal name is an alias. */
21979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21980 choke me
21981 #else
21982 char (*f) () = $ac_func;
21983 #endif
21984 #ifdef __cplusplus
21986 #endif
21989 main ()
21991 return f != $ac_func;
21993 return 0;
21995 _ACEOF
21996 rm -f conftest.$ac_objext conftest$ac_exeext
21997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21998 (eval $ac_link) 2>conftest.er1
21999 ac_status=$?
22000 grep -v '^ *+' conftest.er1 >conftest.err
22001 rm -f conftest.er1
22002 cat conftest.err >&5
22003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22004 (exit $ac_status); } &&
22005 { ac_try='test -z "$ac_c_werror_flag"
22006 || test ! -s conftest.err'
22007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22008 (eval $ac_try) 2>&5
22009 ac_status=$?
22010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22011 (exit $ac_status); }; } &&
22012 { ac_try='test -s conftest$ac_exeext'
22013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22014 (eval $ac_try) 2>&5
22015 ac_status=$?
22016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22017 (exit $ac_status); }; }; then
22018 eval "$as_ac_var=yes"
22019 else
22020 echo "$as_me: failed program was:" >&5
22021 sed 's/^/| /' conftest.$ac_ext >&5
22023 eval "$as_ac_var=no"
22025 rm -f conftest.err conftest.$ac_objext \
22026 conftest$ac_exeext conftest.$ac_ext
22028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22030 if test `eval echo '${'$as_ac_var'}'` = yes; then
22031 cat >>confdefs.h <<_ACEOF
22032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22033 _ACEOF
22036 done
22038 else
22040 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
22041 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
22042 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22043 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
22044 echo $ECHO_N "(cached) $ECHO_C" >&6
22045 else
22049 ac_ext=cc
22050 ac_cpp='$CXXCPP $CPPFLAGS'
22051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22055 cat >conftest.$ac_ext <<_ACEOF
22056 /* confdefs.h. */
22057 _ACEOF
22058 cat confdefs.h >>conftest.$ac_ext
22059 cat >>conftest.$ac_ext <<_ACEOF
22060 /* end confdefs.h. */
22061 #include <math.h>
22062 #ifdef HAVE_IEEEFP_H
22063 #include <ieeefp.h>
22064 #endif
22067 main ()
22069 _isnanf(0);
22071 return 0;
22073 _ACEOF
22074 rm -f conftest.$ac_objext
22075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22076 (eval $ac_compile) 2>conftest.er1
22077 ac_status=$?
22078 grep -v '^ *+' conftest.er1 >conftest.err
22079 rm -f conftest.er1
22080 cat conftest.err >&5
22081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22082 (exit $ac_status); } &&
22083 { ac_try='test -z "$ac_cxx_werror_flag"
22084 || test ! -s conftest.err'
22085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22086 (eval $ac_try) 2>&5
22087 ac_status=$?
22088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22089 (exit $ac_status); }; } &&
22090 { ac_try='test -s conftest.$ac_objext'
22091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22092 (eval $ac_try) 2>&5
22093 ac_status=$?
22094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22095 (exit $ac_status); }; }; then
22096 glibcxx_cv_func__isnanf_use=yes
22097 else
22098 echo "$as_me: failed program was:" >&5
22099 sed 's/^/| /' conftest.$ac_ext >&5
22101 glibcxx_cv_func__isnanf_use=no
22103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22104 ac_ext=c
22105 ac_cpp='$CPP $CPPFLAGS'
22106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22114 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
22115 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
22117 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22119 for ac_func in _isnanf
22121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22122 echo "$as_me:$LINENO: checking for $ac_func" >&5
22123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22124 if eval "test \"\${$as_ac_var+set}\" = set"; then
22125 echo $ECHO_N "(cached) $ECHO_C" >&6
22126 else
22127 if test x$gcc_no_link = xyes; then
22128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22130 { (exit 1); exit 1; }; }
22132 cat >conftest.$ac_ext <<_ACEOF
22133 /* confdefs.h. */
22134 _ACEOF
22135 cat confdefs.h >>conftest.$ac_ext
22136 cat >>conftest.$ac_ext <<_ACEOF
22137 /* end confdefs.h. */
22138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22140 #define $ac_func innocuous_$ac_func
22142 /* System header to define __stub macros and hopefully few prototypes,
22143 which can conflict with char $ac_func (); below.
22144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22145 <limits.h> exists even on freestanding compilers. */
22147 #ifdef __STDC__
22148 # include <limits.h>
22149 #else
22150 # include <assert.h>
22151 #endif
22153 #undef $ac_func
22155 /* Override any gcc2 internal prototype to avoid an error. */
22156 #ifdef __cplusplus
22157 extern "C"
22159 #endif
22160 /* We use char because int might match the return type of a gcc2
22161 builtin and then its argument prototype would still apply. */
22162 char $ac_func ();
22163 /* The GNU C library defines this for functions which it implements
22164 to always fail with ENOSYS. Some functions are actually named
22165 something starting with __ and the normal name is an alias. */
22166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22167 choke me
22168 #else
22169 char (*f) () = $ac_func;
22170 #endif
22171 #ifdef __cplusplus
22173 #endif
22176 main ()
22178 return f != $ac_func;
22180 return 0;
22182 _ACEOF
22183 rm -f conftest.$ac_objext conftest$ac_exeext
22184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22185 (eval $ac_link) 2>conftest.er1
22186 ac_status=$?
22187 grep -v '^ *+' conftest.er1 >conftest.err
22188 rm -f conftest.er1
22189 cat conftest.err >&5
22190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22191 (exit $ac_status); } &&
22192 { ac_try='test -z "$ac_c_werror_flag"
22193 || test ! -s conftest.err'
22194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22195 (eval $ac_try) 2>&5
22196 ac_status=$?
22197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22198 (exit $ac_status); }; } &&
22199 { ac_try='test -s conftest$ac_exeext'
22200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22201 (eval $ac_try) 2>&5
22202 ac_status=$?
22203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22204 (exit $ac_status); }; }; then
22205 eval "$as_ac_var=yes"
22206 else
22207 echo "$as_me: failed program was:" >&5
22208 sed 's/^/| /' conftest.$ac_ext >&5
22210 eval "$as_ac_var=no"
22212 rm -f conftest.err conftest.$ac_objext \
22213 conftest$ac_exeext conftest.$ac_ext
22215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22217 if test `eval echo '${'$as_ac_var'}'` = yes; then
22218 cat >>confdefs.h <<_ACEOF
22219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22220 _ACEOF
22223 done
22233 echo "$as_me:$LINENO: checking for isinff declaration" >&5
22234 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
22235 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22236 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
22237 echo $ECHO_N "(cached) $ECHO_C" >&6
22238 else
22242 ac_ext=cc
22243 ac_cpp='$CXXCPP $CPPFLAGS'
22244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22248 cat >conftest.$ac_ext <<_ACEOF
22249 /* confdefs.h. */
22250 _ACEOF
22251 cat confdefs.h >>conftest.$ac_ext
22252 cat >>conftest.$ac_ext <<_ACEOF
22253 /* end confdefs.h. */
22254 #include <math.h>
22255 #ifdef HAVE_IEEEFP_H
22256 #include <ieeefp.h>
22257 #endif
22260 main ()
22262 isinff(0);
22264 return 0;
22266 _ACEOF
22267 rm -f conftest.$ac_objext
22268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22269 (eval $ac_compile) 2>conftest.er1
22270 ac_status=$?
22271 grep -v '^ *+' conftest.er1 >conftest.err
22272 rm -f conftest.er1
22273 cat conftest.err >&5
22274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22275 (exit $ac_status); } &&
22276 { ac_try='test -z "$ac_cxx_werror_flag"
22277 || test ! -s conftest.err'
22278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22279 (eval $ac_try) 2>&5
22280 ac_status=$?
22281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22282 (exit $ac_status); }; } &&
22283 { ac_try='test -s conftest.$ac_objext'
22284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22285 (eval $ac_try) 2>&5
22286 ac_status=$?
22287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22288 (exit $ac_status); }; }; then
22289 glibcxx_cv_func_isinff_use=yes
22290 else
22291 echo "$as_me: failed program was:" >&5
22292 sed 's/^/| /' conftest.$ac_ext >&5
22294 glibcxx_cv_func_isinff_use=no
22296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22297 ac_ext=c
22298 ac_cpp='$CPP $CPPFLAGS'
22299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22307 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
22308 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
22310 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22312 for ac_func in isinff
22314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22315 echo "$as_me:$LINENO: checking for $ac_func" >&5
22316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22317 if eval "test \"\${$as_ac_var+set}\" = set"; then
22318 echo $ECHO_N "(cached) $ECHO_C" >&6
22319 else
22320 if test x$gcc_no_link = xyes; then
22321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22323 { (exit 1); exit 1; }; }
22325 cat >conftest.$ac_ext <<_ACEOF
22326 /* confdefs.h. */
22327 _ACEOF
22328 cat confdefs.h >>conftest.$ac_ext
22329 cat >>conftest.$ac_ext <<_ACEOF
22330 /* end confdefs.h. */
22331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22333 #define $ac_func innocuous_$ac_func
22335 /* System header to define __stub macros and hopefully few prototypes,
22336 which can conflict with char $ac_func (); below.
22337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22338 <limits.h> exists even on freestanding compilers. */
22340 #ifdef __STDC__
22341 # include <limits.h>
22342 #else
22343 # include <assert.h>
22344 #endif
22346 #undef $ac_func
22348 /* Override any gcc2 internal prototype to avoid an error. */
22349 #ifdef __cplusplus
22350 extern "C"
22352 #endif
22353 /* We use char because int might match the return type of a gcc2
22354 builtin and then its argument prototype would still apply. */
22355 char $ac_func ();
22356 /* The GNU C library defines this for functions which it implements
22357 to always fail with ENOSYS. Some functions are actually named
22358 something starting with __ and the normal name is an alias. */
22359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22360 choke me
22361 #else
22362 char (*f) () = $ac_func;
22363 #endif
22364 #ifdef __cplusplus
22366 #endif
22369 main ()
22371 return f != $ac_func;
22373 return 0;
22375 _ACEOF
22376 rm -f conftest.$ac_objext conftest$ac_exeext
22377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22378 (eval $ac_link) 2>conftest.er1
22379 ac_status=$?
22380 grep -v '^ *+' conftest.er1 >conftest.err
22381 rm -f conftest.er1
22382 cat conftest.err >&5
22383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22384 (exit $ac_status); } &&
22385 { ac_try='test -z "$ac_c_werror_flag"
22386 || test ! -s conftest.err'
22387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22388 (eval $ac_try) 2>&5
22389 ac_status=$?
22390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22391 (exit $ac_status); }; } &&
22392 { ac_try='test -s conftest$ac_exeext'
22393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22394 (eval $ac_try) 2>&5
22395 ac_status=$?
22396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22397 (exit $ac_status); }; }; then
22398 eval "$as_ac_var=yes"
22399 else
22400 echo "$as_me: failed program was:" >&5
22401 sed 's/^/| /' conftest.$ac_ext >&5
22403 eval "$as_ac_var=no"
22405 rm -f conftest.err conftest.$ac_objext \
22406 conftest$ac_exeext conftest.$ac_ext
22408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22410 if test `eval echo '${'$as_ac_var'}'` = yes; then
22411 cat >>confdefs.h <<_ACEOF
22412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22413 _ACEOF
22416 done
22418 else
22420 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
22421 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
22422 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22423 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
22424 echo $ECHO_N "(cached) $ECHO_C" >&6
22425 else
22429 ac_ext=cc
22430 ac_cpp='$CXXCPP $CPPFLAGS'
22431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22435 cat >conftest.$ac_ext <<_ACEOF
22436 /* confdefs.h. */
22437 _ACEOF
22438 cat confdefs.h >>conftest.$ac_ext
22439 cat >>conftest.$ac_ext <<_ACEOF
22440 /* end confdefs.h. */
22441 #include <math.h>
22442 #ifdef HAVE_IEEEFP_H
22443 #include <ieeefp.h>
22444 #endif
22447 main ()
22449 _isinff(0);
22451 return 0;
22453 _ACEOF
22454 rm -f conftest.$ac_objext
22455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22456 (eval $ac_compile) 2>conftest.er1
22457 ac_status=$?
22458 grep -v '^ *+' conftest.er1 >conftest.err
22459 rm -f conftest.er1
22460 cat conftest.err >&5
22461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22462 (exit $ac_status); } &&
22463 { ac_try='test -z "$ac_cxx_werror_flag"
22464 || test ! -s conftest.err'
22465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22466 (eval $ac_try) 2>&5
22467 ac_status=$?
22468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22469 (exit $ac_status); }; } &&
22470 { ac_try='test -s conftest.$ac_objext'
22471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22472 (eval $ac_try) 2>&5
22473 ac_status=$?
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); }; }; then
22476 glibcxx_cv_func__isinff_use=yes
22477 else
22478 echo "$as_me: failed program was:" >&5
22479 sed 's/^/| /' conftest.$ac_ext >&5
22481 glibcxx_cv_func__isinff_use=no
22483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22484 ac_ext=c
22485 ac_cpp='$CPP $CPPFLAGS'
22486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22494 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
22495 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
22497 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22499 for ac_func in _isinff
22501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22502 echo "$as_me:$LINENO: checking for $ac_func" >&5
22503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22504 if eval "test \"\${$as_ac_var+set}\" = set"; then
22505 echo $ECHO_N "(cached) $ECHO_C" >&6
22506 else
22507 if test x$gcc_no_link = xyes; then
22508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22510 { (exit 1); exit 1; }; }
22512 cat >conftest.$ac_ext <<_ACEOF
22513 /* confdefs.h. */
22514 _ACEOF
22515 cat confdefs.h >>conftest.$ac_ext
22516 cat >>conftest.$ac_ext <<_ACEOF
22517 /* end confdefs.h. */
22518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22520 #define $ac_func innocuous_$ac_func
22522 /* System header to define __stub macros and hopefully few prototypes,
22523 which can conflict with char $ac_func (); below.
22524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22525 <limits.h> exists even on freestanding compilers. */
22527 #ifdef __STDC__
22528 # include <limits.h>
22529 #else
22530 # include <assert.h>
22531 #endif
22533 #undef $ac_func
22535 /* Override any gcc2 internal prototype to avoid an error. */
22536 #ifdef __cplusplus
22537 extern "C"
22539 #endif
22540 /* We use char because int might match the return type of a gcc2
22541 builtin and then its argument prototype would still apply. */
22542 char $ac_func ();
22543 /* The GNU C library defines this for functions which it implements
22544 to always fail with ENOSYS. Some functions are actually named
22545 something starting with __ and the normal name is an alias. */
22546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22547 choke me
22548 #else
22549 char (*f) () = $ac_func;
22550 #endif
22551 #ifdef __cplusplus
22553 #endif
22556 main ()
22558 return f != $ac_func;
22560 return 0;
22562 _ACEOF
22563 rm -f conftest.$ac_objext conftest$ac_exeext
22564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22565 (eval $ac_link) 2>conftest.er1
22566 ac_status=$?
22567 grep -v '^ *+' conftest.er1 >conftest.err
22568 rm -f conftest.er1
22569 cat conftest.err >&5
22570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22571 (exit $ac_status); } &&
22572 { ac_try='test -z "$ac_c_werror_flag"
22573 || test ! -s conftest.err'
22574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22575 (eval $ac_try) 2>&5
22576 ac_status=$?
22577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22578 (exit $ac_status); }; } &&
22579 { ac_try='test -s conftest$ac_exeext'
22580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22581 (eval $ac_try) 2>&5
22582 ac_status=$?
22583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22584 (exit $ac_status); }; }; then
22585 eval "$as_ac_var=yes"
22586 else
22587 echo "$as_me: failed program was:" >&5
22588 sed 's/^/| /' conftest.$ac_ext >&5
22590 eval "$as_ac_var=no"
22592 rm -f conftest.err conftest.$ac_objext \
22593 conftest$ac_exeext conftest.$ac_ext
22595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22597 if test `eval echo '${'$as_ac_var'}'` = yes; then
22598 cat >>confdefs.h <<_ACEOF
22599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22600 _ACEOF
22603 done
22613 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
22614 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
22615 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22616 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
22617 echo $ECHO_N "(cached) $ECHO_C" >&6
22618 else
22622 ac_ext=cc
22623 ac_cpp='$CXXCPP $CPPFLAGS'
22624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22628 cat >conftest.$ac_ext <<_ACEOF
22629 /* confdefs.h. */
22630 _ACEOF
22631 cat confdefs.h >>conftest.$ac_ext
22632 cat >>conftest.$ac_ext <<_ACEOF
22633 /* end confdefs.h. */
22634 #include <math.h>
22636 main ()
22638 atan2f(0, 0);
22640 return 0;
22642 _ACEOF
22643 rm -f conftest.$ac_objext
22644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22645 (eval $ac_compile) 2>conftest.er1
22646 ac_status=$?
22647 grep -v '^ *+' conftest.er1 >conftest.err
22648 rm -f conftest.er1
22649 cat conftest.err >&5
22650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22651 (exit $ac_status); } &&
22652 { ac_try='test -z "$ac_cxx_werror_flag"
22653 || test ! -s conftest.err'
22654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22655 (eval $ac_try) 2>&5
22656 ac_status=$?
22657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22658 (exit $ac_status); }; } &&
22659 { ac_try='test -s conftest.$ac_objext'
22660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22661 (eval $ac_try) 2>&5
22662 ac_status=$?
22663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22664 (exit $ac_status); }; }; then
22665 glibcxx_cv_func_atan2f_use=yes
22666 else
22667 echo "$as_me: failed program was:" >&5
22668 sed 's/^/| /' conftest.$ac_ext >&5
22670 glibcxx_cv_func_atan2f_use=no
22672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22673 ac_ext=c
22674 ac_cpp='$CPP $CPPFLAGS'
22675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22683 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
22684 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
22686 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22688 for ac_func in atan2f
22690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22691 echo "$as_me:$LINENO: checking for $ac_func" >&5
22692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22693 if eval "test \"\${$as_ac_var+set}\" = set"; then
22694 echo $ECHO_N "(cached) $ECHO_C" >&6
22695 else
22696 if test x$gcc_no_link = xyes; then
22697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22699 { (exit 1); exit 1; }; }
22701 cat >conftest.$ac_ext <<_ACEOF
22702 /* confdefs.h. */
22703 _ACEOF
22704 cat confdefs.h >>conftest.$ac_ext
22705 cat >>conftest.$ac_ext <<_ACEOF
22706 /* end confdefs.h. */
22707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22709 #define $ac_func innocuous_$ac_func
22711 /* System header to define __stub macros and hopefully few prototypes,
22712 which can conflict with char $ac_func (); below.
22713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22714 <limits.h> exists even on freestanding compilers. */
22716 #ifdef __STDC__
22717 # include <limits.h>
22718 #else
22719 # include <assert.h>
22720 #endif
22722 #undef $ac_func
22724 /* Override any gcc2 internal prototype to avoid an error. */
22725 #ifdef __cplusplus
22726 extern "C"
22728 #endif
22729 /* We use char because int might match the return type of a gcc2
22730 builtin and then its argument prototype would still apply. */
22731 char $ac_func ();
22732 /* The GNU C library defines this for functions which it implements
22733 to always fail with ENOSYS. Some functions are actually named
22734 something starting with __ and the normal name is an alias. */
22735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22736 choke me
22737 #else
22738 char (*f) () = $ac_func;
22739 #endif
22740 #ifdef __cplusplus
22742 #endif
22745 main ()
22747 return f != $ac_func;
22749 return 0;
22751 _ACEOF
22752 rm -f conftest.$ac_objext conftest$ac_exeext
22753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22754 (eval $ac_link) 2>conftest.er1
22755 ac_status=$?
22756 grep -v '^ *+' conftest.er1 >conftest.err
22757 rm -f conftest.er1
22758 cat conftest.err >&5
22759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22760 (exit $ac_status); } &&
22761 { ac_try='test -z "$ac_c_werror_flag"
22762 || test ! -s conftest.err'
22763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22764 (eval $ac_try) 2>&5
22765 ac_status=$?
22766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22767 (exit $ac_status); }; } &&
22768 { ac_try='test -s conftest$ac_exeext'
22769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22770 (eval $ac_try) 2>&5
22771 ac_status=$?
22772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22773 (exit $ac_status); }; }; then
22774 eval "$as_ac_var=yes"
22775 else
22776 echo "$as_me: failed program was:" >&5
22777 sed 's/^/| /' conftest.$ac_ext >&5
22779 eval "$as_ac_var=no"
22781 rm -f conftest.err conftest.$ac_objext \
22782 conftest$ac_exeext conftest.$ac_ext
22784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22786 if test `eval echo '${'$as_ac_var'}'` = yes; then
22787 cat >>confdefs.h <<_ACEOF
22788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22789 _ACEOF
22792 done
22794 else
22796 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
22797 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
22798 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22799 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
22800 echo $ECHO_N "(cached) $ECHO_C" >&6
22801 else
22805 ac_ext=cc
22806 ac_cpp='$CXXCPP $CPPFLAGS'
22807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22811 cat >conftest.$ac_ext <<_ACEOF
22812 /* confdefs.h. */
22813 _ACEOF
22814 cat confdefs.h >>conftest.$ac_ext
22815 cat >>conftest.$ac_ext <<_ACEOF
22816 /* end confdefs.h. */
22817 #include <math.h>
22819 main ()
22821 _atan2f(0, 0);
22823 return 0;
22825 _ACEOF
22826 rm -f conftest.$ac_objext
22827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22828 (eval $ac_compile) 2>conftest.er1
22829 ac_status=$?
22830 grep -v '^ *+' conftest.er1 >conftest.err
22831 rm -f conftest.er1
22832 cat conftest.err >&5
22833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22834 (exit $ac_status); } &&
22835 { ac_try='test -z "$ac_cxx_werror_flag"
22836 || test ! -s conftest.err'
22837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22838 (eval $ac_try) 2>&5
22839 ac_status=$?
22840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22841 (exit $ac_status); }; } &&
22842 { ac_try='test -s conftest.$ac_objext'
22843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22844 (eval $ac_try) 2>&5
22845 ac_status=$?
22846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22847 (exit $ac_status); }; }; then
22848 glibcxx_cv_func__atan2f_use=yes
22849 else
22850 echo "$as_me: failed program was:" >&5
22851 sed 's/^/| /' conftest.$ac_ext >&5
22853 glibcxx_cv_func__atan2f_use=no
22855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22856 ac_ext=c
22857 ac_cpp='$CPP $CPPFLAGS'
22858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22866 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
22867 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
22869 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22871 for ac_func in _atan2f
22873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22874 echo "$as_me:$LINENO: checking for $ac_func" >&5
22875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22876 if eval "test \"\${$as_ac_var+set}\" = set"; then
22877 echo $ECHO_N "(cached) $ECHO_C" >&6
22878 else
22879 if test x$gcc_no_link = xyes; then
22880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22882 { (exit 1); exit 1; }; }
22884 cat >conftest.$ac_ext <<_ACEOF
22885 /* confdefs.h. */
22886 _ACEOF
22887 cat confdefs.h >>conftest.$ac_ext
22888 cat >>conftest.$ac_ext <<_ACEOF
22889 /* end confdefs.h. */
22890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22892 #define $ac_func innocuous_$ac_func
22894 /* System header to define __stub macros and hopefully few prototypes,
22895 which can conflict with char $ac_func (); below.
22896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22897 <limits.h> exists even on freestanding compilers. */
22899 #ifdef __STDC__
22900 # include <limits.h>
22901 #else
22902 # include <assert.h>
22903 #endif
22905 #undef $ac_func
22907 /* Override any gcc2 internal prototype to avoid an error. */
22908 #ifdef __cplusplus
22909 extern "C"
22911 #endif
22912 /* We use char because int might match the return type of a gcc2
22913 builtin and then its argument prototype would still apply. */
22914 char $ac_func ();
22915 /* The GNU C library defines this for functions which it implements
22916 to always fail with ENOSYS. Some functions are actually named
22917 something starting with __ and the normal name is an alias. */
22918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22919 choke me
22920 #else
22921 char (*f) () = $ac_func;
22922 #endif
22923 #ifdef __cplusplus
22925 #endif
22928 main ()
22930 return f != $ac_func;
22932 return 0;
22934 _ACEOF
22935 rm -f conftest.$ac_objext conftest$ac_exeext
22936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22937 (eval $ac_link) 2>conftest.er1
22938 ac_status=$?
22939 grep -v '^ *+' conftest.er1 >conftest.err
22940 rm -f conftest.er1
22941 cat conftest.err >&5
22942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943 (exit $ac_status); } &&
22944 { ac_try='test -z "$ac_c_werror_flag"
22945 || test ! -s conftest.err'
22946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22947 (eval $ac_try) 2>&5
22948 ac_status=$?
22949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22950 (exit $ac_status); }; } &&
22951 { ac_try='test -s conftest$ac_exeext'
22952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22953 (eval $ac_try) 2>&5
22954 ac_status=$?
22955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22956 (exit $ac_status); }; }; then
22957 eval "$as_ac_var=yes"
22958 else
22959 echo "$as_me: failed program was:" >&5
22960 sed 's/^/| /' conftest.$ac_ext >&5
22962 eval "$as_ac_var=no"
22964 rm -f conftest.err conftest.$ac_objext \
22965 conftest$ac_exeext conftest.$ac_ext
22967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22969 if test `eval echo '${'$as_ac_var'}'` = yes; then
22970 cat >>confdefs.h <<_ACEOF
22971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22972 _ACEOF
22975 done
22985 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
22986 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
22987 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22988 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
22989 echo $ECHO_N "(cached) $ECHO_C" >&6
22990 else
22994 ac_ext=cc
22995 ac_cpp='$CXXCPP $CPPFLAGS'
22996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23000 cat >conftest.$ac_ext <<_ACEOF
23001 /* confdefs.h. */
23002 _ACEOF
23003 cat confdefs.h >>conftest.$ac_ext
23004 cat >>conftest.$ac_ext <<_ACEOF
23005 /* end confdefs.h. */
23006 #include <math.h>
23007 #ifdef HAVE_IEEEFP_H
23008 #include <ieeefp.h>
23009 #endif
23012 main ()
23014 fabsf(0);
23016 return 0;
23018 _ACEOF
23019 rm -f conftest.$ac_objext
23020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23021 (eval $ac_compile) 2>conftest.er1
23022 ac_status=$?
23023 grep -v '^ *+' conftest.er1 >conftest.err
23024 rm -f conftest.er1
23025 cat conftest.err >&5
23026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23027 (exit $ac_status); } &&
23028 { ac_try='test -z "$ac_cxx_werror_flag"
23029 || test ! -s conftest.err'
23030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23031 (eval $ac_try) 2>&5
23032 ac_status=$?
23033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23034 (exit $ac_status); }; } &&
23035 { ac_try='test -s conftest.$ac_objext'
23036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23037 (eval $ac_try) 2>&5
23038 ac_status=$?
23039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23040 (exit $ac_status); }; }; then
23041 glibcxx_cv_func_fabsf_use=yes
23042 else
23043 echo "$as_me: failed program was:" >&5
23044 sed 's/^/| /' conftest.$ac_ext >&5
23046 glibcxx_cv_func_fabsf_use=no
23048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23049 ac_ext=c
23050 ac_cpp='$CPP $CPPFLAGS'
23051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23059 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
23060 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
23062 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23064 for ac_func in fabsf
23066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23067 echo "$as_me:$LINENO: checking for $ac_func" >&5
23068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23069 if eval "test \"\${$as_ac_var+set}\" = set"; then
23070 echo $ECHO_N "(cached) $ECHO_C" >&6
23071 else
23072 if test x$gcc_no_link = xyes; then
23073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23075 { (exit 1); exit 1; }; }
23077 cat >conftest.$ac_ext <<_ACEOF
23078 /* confdefs.h. */
23079 _ACEOF
23080 cat confdefs.h >>conftest.$ac_ext
23081 cat >>conftest.$ac_ext <<_ACEOF
23082 /* end confdefs.h. */
23083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23085 #define $ac_func innocuous_$ac_func
23087 /* System header to define __stub macros and hopefully few prototypes,
23088 which can conflict with char $ac_func (); below.
23089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23090 <limits.h> exists even on freestanding compilers. */
23092 #ifdef __STDC__
23093 # include <limits.h>
23094 #else
23095 # include <assert.h>
23096 #endif
23098 #undef $ac_func
23100 /* Override any gcc2 internal prototype to avoid an error. */
23101 #ifdef __cplusplus
23102 extern "C"
23104 #endif
23105 /* We use char because int might match the return type of a gcc2
23106 builtin and then its argument prototype would still apply. */
23107 char $ac_func ();
23108 /* The GNU C library defines this for functions which it implements
23109 to always fail with ENOSYS. Some functions are actually named
23110 something starting with __ and the normal name is an alias. */
23111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23112 choke me
23113 #else
23114 char (*f) () = $ac_func;
23115 #endif
23116 #ifdef __cplusplus
23118 #endif
23121 main ()
23123 return f != $ac_func;
23125 return 0;
23127 _ACEOF
23128 rm -f conftest.$ac_objext conftest$ac_exeext
23129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23130 (eval $ac_link) 2>conftest.er1
23131 ac_status=$?
23132 grep -v '^ *+' conftest.er1 >conftest.err
23133 rm -f conftest.er1
23134 cat conftest.err >&5
23135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23136 (exit $ac_status); } &&
23137 { ac_try='test -z "$ac_c_werror_flag"
23138 || test ! -s conftest.err'
23139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23140 (eval $ac_try) 2>&5
23141 ac_status=$?
23142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23143 (exit $ac_status); }; } &&
23144 { ac_try='test -s conftest$ac_exeext'
23145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23146 (eval $ac_try) 2>&5
23147 ac_status=$?
23148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23149 (exit $ac_status); }; }; then
23150 eval "$as_ac_var=yes"
23151 else
23152 echo "$as_me: failed program was:" >&5
23153 sed 's/^/| /' conftest.$ac_ext >&5
23155 eval "$as_ac_var=no"
23157 rm -f conftest.err conftest.$ac_objext \
23158 conftest$ac_exeext conftest.$ac_ext
23160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23162 if test `eval echo '${'$as_ac_var'}'` = yes; then
23163 cat >>confdefs.h <<_ACEOF
23164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23165 _ACEOF
23168 done
23170 else
23172 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
23173 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
23174 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23175 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
23176 echo $ECHO_N "(cached) $ECHO_C" >&6
23177 else
23181 ac_ext=cc
23182 ac_cpp='$CXXCPP $CPPFLAGS'
23183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23187 cat >conftest.$ac_ext <<_ACEOF
23188 /* confdefs.h. */
23189 _ACEOF
23190 cat confdefs.h >>conftest.$ac_ext
23191 cat >>conftest.$ac_ext <<_ACEOF
23192 /* end confdefs.h. */
23193 #include <math.h>
23194 #ifdef HAVE_IEEEFP_H
23195 #include <ieeefp.h>
23196 #endif
23199 main ()
23201 _fabsf(0);
23203 return 0;
23205 _ACEOF
23206 rm -f conftest.$ac_objext
23207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23208 (eval $ac_compile) 2>conftest.er1
23209 ac_status=$?
23210 grep -v '^ *+' conftest.er1 >conftest.err
23211 rm -f conftest.er1
23212 cat conftest.err >&5
23213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23214 (exit $ac_status); } &&
23215 { ac_try='test -z "$ac_cxx_werror_flag"
23216 || test ! -s conftest.err'
23217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23218 (eval $ac_try) 2>&5
23219 ac_status=$?
23220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23221 (exit $ac_status); }; } &&
23222 { ac_try='test -s conftest.$ac_objext'
23223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23224 (eval $ac_try) 2>&5
23225 ac_status=$?
23226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23227 (exit $ac_status); }; }; then
23228 glibcxx_cv_func__fabsf_use=yes
23229 else
23230 echo "$as_me: failed program was:" >&5
23231 sed 's/^/| /' conftest.$ac_ext >&5
23233 glibcxx_cv_func__fabsf_use=no
23235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23236 ac_ext=c
23237 ac_cpp='$CPP $CPPFLAGS'
23238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23246 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
23247 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
23249 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23251 for ac_func in _fabsf
23253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23254 echo "$as_me:$LINENO: checking for $ac_func" >&5
23255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23256 if eval "test \"\${$as_ac_var+set}\" = set"; then
23257 echo $ECHO_N "(cached) $ECHO_C" >&6
23258 else
23259 if test x$gcc_no_link = xyes; then
23260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23262 { (exit 1); exit 1; }; }
23264 cat >conftest.$ac_ext <<_ACEOF
23265 /* confdefs.h. */
23266 _ACEOF
23267 cat confdefs.h >>conftest.$ac_ext
23268 cat >>conftest.$ac_ext <<_ACEOF
23269 /* end confdefs.h. */
23270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23272 #define $ac_func innocuous_$ac_func
23274 /* System header to define __stub macros and hopefully few prototypes,
23275 which can conflict with char $ac_func (); below.
23276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23277 <limits.h> exists even on freestanding compilers. */
23279 #ifdef __STDC__
23280 # include <limits.h>
23281 #else
23282 # include <assert.h>
23283 #endif
23285 #undef $ac_func
23287 /* Override any gcc2 internal prototype to avoid an error. */
23288 #ifdef __cplusplus
23289 extern "C"
23291 #endif
23292 /* We use char because int might match the return type of a gcc2
23293 builtin and then its argument prototype would still apply. */
23294 char $ac_func ();
23295 /* The GNU C library defines this for functions which it implements
23296 to always fail with ENOSYS. Some functions are actually named
23297 something starting with __ and the normal name is an alias. */
23298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23299 choke me
23300 #else
23301 char (*f) () = $ac_func;
23302 #endif
23303 #ifdef __cplusplus
23305 #endif
23308 main ()
23310 return f != $ac_func;
23312 return 0;
23314 _ACEOF
23315 rm -f conftest.$ac_objext conftest$ac_exeext
23316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23317 (eval $ac_link) 2>conftest.er1
23318 ac_status=$?
23319 grep -v '^ *+' conftest.er1 >conftest.err
23320 rm -f conftest.er1
23321 cat conftest.err >&5
23322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23323 (exit $ac_status); } &&
23324 { ac_try='test -z "$ac_c_werror_flag"
23325 || test ! -s conftest.err'
23326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23327 (eval $ac_try) 2>&5
23328 ac_status=$?
23329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23330 (exit $ac_status); }; } &&
23331 { ac_try='test -s conftest$ac_exeext'
23332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23333 (eval $ac_try) 2>&5
23334 ac_status=$?
23335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23336 (exit $ac_status); }; }; then
23337 eval "$as_ac_var=yes"
23338 else
23339 echo "$as_me: failed program was:" >&5
23340 sed 's/^/| /' conftest.$ac_ext >&5
23342 eval "$as_ac_var=no"
23344 rm -f conftest.err conftest.$ac_objext \
23345 conftest$ac_exeext conftest.$ac_ext
23347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23349 if test `eval echo '${'$as_ac_var'}'` = yes; then
23350 cat >>confdefs.h <<_ACEOF
23351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23352 _ACEOF
23355 done
23365 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
23366 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
23367 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23368 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
23369 echo $ECHO_N "(cached) $ECHO_C" >&6
23370 else
23374 ac_ext=cc
23375 ac_cpp='$CXXCPP $CPPFLAGS'
23376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23380 cat >conftest.$ac_ext <<_ACEOF
23381 /* confdefs.h. */
23382 _ACEOF
23383 cat confdefs.h >>conftest.$ac_ext
23384 cat >>conftest.$ac_ext <<_ACEOF
23385 /* end confdefs.h. */
23386 #include <math.h>
23388 main ()
23390 fmodf(0, 0);
23392 return 0;
23394 _ACEOF
23395 rm -f conftest.$ac_objext
23396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23397 (eval $ac_compile) 2>conftest.er1
23398 ac_status=$?
23399 grep -v '^ *+' conftest.er1 >conftest.err
23400 rm -f conftest.er1
23401 cat conftest.err >&5
23402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23403 (exit $ac_status); } &&
23404 { ac_try='test -z "$ac_cxx_werror_flag"
23405 || test ! -s conftest.err'
23406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23407 (eval $ac_try) 2>&5
23408 ac_status=$?
23409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23410 (exit $ac_status); }; } &&
23411 { ac_try='test -s conftest.$ac_objext'
23412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23413 (eval $ac_try) 2>&5
23414 ac_status=$?
23415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23416 (exit $ac_status); }; }; then
23417 glibcxx_cv_func_fmodf_use=yes
23418 else
23419 echo "$as_me: failed program was:" >&5
23420 sed 's/^/| /' conftest.$ac_ext >&5
23422 glibcxx_cv_func_fmodf_use=no
23424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23425 ac_ext=c
23426 ac_cpp='$CPP $CPPFLAGS'
23427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23435 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
23436 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
23438 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23440 for ac_func in fmodf
23442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23443 echo "$as_me:$LINENO: checking for $ac_func" >&5
23444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23445 if eval "test \"\${$as_ac_var+set}\" = set"; then
23446 echo $ECHO_N "(cached) $ECHO_C" >&6
23447 else
23448 if test x$gcc_no_link = xyes; then
23449 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23451 { (exit 1); exit 1; }; }
23453 cat >conftest.$ac_ext <<_ACEOF
23454 /* confdefs.h. */
23455 _ACEOF
23456 cat confdefs.h >>conftest.$ac_ext
23457 cat >>conftest.$ac_ext <<_ACEOF
23458 /* end confdefs.h. */
23459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23461 #define $ac_func innocuous_$ac_func
23463 /* System header to define __stub macros and hopefully few prototypes,
23464 which can conflict with char $ac_func (); below.
23465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23466 <limits.h> exists even on freestanding compilers. */
23468 #ifdef __STDC__
23469 # include <limits.h>
23470 #else
23471 # include <assert.h>
23472 #endif
23474 #undef $ac_func
23476 /* Override any gcc2 internal prototype to avoid an error. */
23477 #ifdef __cplusplus
23478 extern "C"
23480 #endif
23481 /* We use char because int might match the return type of a gcc2
23482 builtin and then its argument prototype would still apply. */
23483 char $ac_func ();
23484 /* The GNU C library defines this for functions which it implements
23485 to always fail with ENOSYS. Some functions are actually named
23486 something starting with __ and the normal name is an alias. */
23487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23488 choke me
23489 #else
23490 char (*f) () = $ac_func;
23491 #endif
23492 #ifdef __cplusplus
23494 #endif
23497 main ()
23499 return f != $ac_func;
23501 return 0;
23503 _ACEOF
23504 rm -f conftest.$ac_objext conftest$ac_exeext
23505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23506 (eval $ac_link) 2>conftest.er1
23507 ac_status=$?
23508 grep -v '^ *+' conftest.er1 >conftest.err
23509 rm -f conftest.er1
23510 cat conftest.err >&5
23511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23512 (exit $ac_status); } &&
23513 { ac_try='test -z "$ac_c_werror_flag"
23514 || test ! -s conftest.err'
23515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23516 (eval $ac_try) 2>&5
23517 ac_status=$?
23518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23519 (exit $ac_status); }; } &&
23520 { ac_try='test -s conftest$ac_exeext'
23521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23522 (eval $ac_try) 2>&5
23523 ac_status=$?
23524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23525 (exit $ac_status); }; }; then
23526 eval "$as_ac_var=yes"
23527 else
23528 echo "$as_me: failed program was:" >&5
23529 sed 's/^/| /' conftest.$ac_ext >&5
23531 eval "$as_ac_var=no"
23533 rm -f conftest.err conftest.$ac_objext \
23534 conftest$ac_exeext conftest.$ac_ext
23536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23538 if test `eval echo '${'$as_ac_var'}'` = yes; then
23539 cat >>confdefs.h <<_ACEOF
23540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23541 _ACEOF
23544 done
23546 else
23548 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
23549 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
23550 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23551 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
23552 echo $ECHO_N "(cached) $ECHO_C" >&6
23553 else
23557 ac_ext=cc
23558 ac_cpp='$CXXCPP $CPPFLAGS'
23559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23563 cat >conftest.$ac_ext <<_ACEOF
23564 /* confdefs.h. */
23565 _ACEOF
23566 cat confdefs.h >>conftest.$ac_ext
23567 cat >>conftest.$ac_ext <<_ACEOF
23568 /* end confdefs.h. */
23569 #include <math.h>
23571 main ()
23573 _fmodf(0, 0);
23575 return 0;
23577 _ACEOF
23578 rm -f conftest.$ac_objext
23579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23580 (eval $ac_compile) 2>conftest.er1
23581 ac_status=$?
23582 grep -v '^ *+' conftest.er1 >conftest.err
23583 rm -f conftest.er1
23584 cat conftest.err >&5
23585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23586 (exit $ac_status); } &&
23587 { ac_try='test -z "$ac_cxx_werror_flag"
23588 || test ! -s conftest.err'
23589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23590 (eval $ac_try) 2>&5
23591 ac_status=$?
23592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23593 (exit $ac_status); }; } &&
23594 { ac_try='test -s conftest.$ac_objext'
23595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23596 (eval $ac_try) 2>&5
23597 ac_status=$?
23598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23599 (exit $ac_status); }; }; then
23600 glibcxx_cv_func__fmodf_use=yes
23601 else
23602 echo "$as_me: failed program was:" >&5
23603 sed 's/^/| /' conftest.$ac_ext >&5
23605 glibcxx_cv_func__fmodf_use=no
23607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23608 ac_ext=c
23609 ac_cpp='$CPP $CPPFLAGS'
23610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23618 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
23619 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
23621 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
23623 for ac_func in _fmodf
23625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23626 echo "$as_me:$LINENO: checking for $ac_func" >&5
23627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23628 if eval "test \"\${$as_ac_var+set}\" = set"; then
23629 echo $ECHO_N "(cached) $ECHO_C" >&6
23630 else
23631 if test x$gcc_no_link = xyes; then
23632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23634 { (exit 1); exit 1; }; }
23636 cat >conftest.$ac_ext <<_ACEOF
23637 /* confdefs.h. */
23638 _ACEOF
23639 cat confdefs.h >>conftest.$ac_ext
23640 cat >>conftest.$ac_ext <<_ACEOF
23641 /* end confdefs.h. */
23642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23644 #define $ac_func innocuous_$ac_func
23646 /* System header to define __stub macros and hopefully few prototypes,
23647 which can conflict with char $ac_func (); below.
23648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23649 <limits.h> exists even on freestanding compilers. */
23651 #ifdef __STDC__
23652 # include <limits.h>
23653 #else
23654 # include <assert.h>
23655 #endif
23657 #undef $ac_func
23659 /* Override any gcc2 internal prototype to avoid an error. */
23660 #ifdef __cplusplus
23661 extern "C"
23663 #endif
23664 /* We use char because int might match the return type of a gcc2
23665 builtin and then its argument prototype would still apply. */
23666 char $ac_func ();
23667 /* The GNU C library defines this for functions which it implements
23668 to always fail with ENOSYS. Some functions are actually named
23669 something starting with __ and the normal name is an alias. */
23670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23671 choke me
23672 #else
23673 char (*f) () = $ac_func;
23674 #endif
23675 #ifdef __cplusplus
23677 #endif
23680 main ()
23682 return f != $ac_func;
23684 return 0;
23686 _ACEOF
23687 rm -f conftest.$ac_objext conftest$ac_exeext
23688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23689 (eval $ac_link) 2>conftest.er1
23690 ac_status=$?
23691 grep -v '^ *+' conftest.er1 >conftest.err
23692 rm -f conftest.er1
23693 cat conftest.err >&5
23694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23695 (exit $ac_status); } &&
23696 { ac_try='test -z "$ac_c_werror_flag"
23697 || test ! -s conftest.err'
23698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23699 (eval $ac_try) 2>&5
23700 ac_status=$?
23701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23702 (exit $ac_status); }; } &&
23703 { ac_try='test -s conftest$ac_exeext'
23704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23705 (eval $ac_try) 2>&5
23706 ac_status=$?
23707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23708 (exit $ac_status); }; }; then
23709 eval "$as_ac_var=yes"
23710 else
23711 echo "$as_me: failed program was:" >&5
23712 sed 's/^/| /' conftest.$ac_ext >&5
23714 eval "$as_ac_var=no"
23716 rm -f conftest.err conftest.$ac_objext \
23717 conftest$ac_exeext conftest.$ac_ext
23719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23721 if test `eval echo '${'$as_ac_var'}'` = yes; then
23722 cat >>confdefs.h <<_ACEOF
23723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23724 _ACEOF
23727 done
23737 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
23738 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
23739 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
23740 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
23741 echo $ECHO_N "(cached) $ECHO_C" >&6
23742 else
23746 ac_ext=cc
23747 ac_cpp='$CXXCPP $CPPFLAGS'
23748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23752 cat >conftest.$ac_ext <<_ACEOF
23753 /* confdefs.h. */
23754 _ACEOF
23755 cat confdefs.h >>conftest.$ac_ext
23756 cat >>conftest.$ac_ext <<_ACEOF
23757 /* end confdefs.h. */
23758 #include <math.h>
23760 main ()
23762 frexpf(0, 0);
23764 return 0;
23766 _ACEOF
23767 rm -f conftest.$ac_objext
23768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23769 (eval $ac_compile) 2>conftest.er1
23770 ac_status=$?
23771 grep -v '^ *+' conftest.er1 >conftest.err
23772 rm -f conftest.er1
23773 cat conftest.err >&5
23774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23775 (exit $ac_status); } &&
23776 { ac_try='test -z "$ac_cxx_werror_flag"
23777 || test ! -s conftest.err'
23778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23779 (eval $ac_try) 2>&5
23780 ac_status=$?
23781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23782 (exit $ac_status); }; } &&
23783 { ac_try='test -s conftest.$ac_objext'
23784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23785 (eval $ac_try) 2>&5
23786 ac_status=$?
23787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23788 (exit $ac_status); }; }; then
23789 glibcxx_cv_func_frexpf_use=yes
23790 else
23791 echo "$as_me: failed program was:" >&5
23792 sed 's/^/| /' conftest.$ac_ext >&5
23794 glibcxx_cv_func_frexpf_use=no
23796 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23797 ac_ext=c
23798 ac_cpp='$CPP $CPPFLAGS'
23799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23807 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
23808 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
23810 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23812 for ac_func in frexpf
23814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23815 echo "$as_me:$LINENO: checking for $ac_func" >&5
23816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23817 if eval "test \"\${$as_ac_var+set}\" = set"; then
23818 echo $ECHO_N "(cached) $ECHO_C" >&6
23819 else
23820 if test x$gcc_no_link = xyes; then
23821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23823 { (exit 1); exit 1; }; }
23825 cat >conftest.$ac_ext <<_ACEOF
23826 /* confdefs.h. */
23827 _ACEOF
23828 cat confdefs.h >>conftest.$ac_ext
23829 cat >>conftest.$ac_ext <<_ACEOF
23830 /* end confdefs.h. */
23831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23833 #define $ac_func innocuous_$ac_func
23835 /* System header to define __stub macros and hopefully few prototypes,
23836 which can conflict with char $ac_func (); below.
23837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23838 <limits.h> exists even on freestanding compilers. */
23840 #ifdef __STDC__
23841 # include <limits.h>
23842 #else
23843 # include <assert.h>
23844 #endif
23846 #undef $ac_func
23848 /* Override any gcc2 internal prototype to avoid an error. */
23849 #ifdef __cplusplus
23850 extern "C"
23852 #endif
23853 /* We use char because int might match the return type of a gcc2
23854 builtin and then its argument prototype would still apply. */
23855 char $ac_func ();
23856 /* The GNU C library defines this for functions which it implements
23857 to always fail with ENOSYS. Some functions are actually named
23858 something starting with __ and the normal name is an alias. */
23859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23860 choke me
23861 #else
23862 char (*f) () = $ac_func;
23863 #endif
23864 #ifdef __cplusplus
23866 #endif
23869 main ()
23871 return f != $ac_func;
23873 return 0;
23875 _ACEOF
23876 rm -f conftest.$ac_objext conftest$ac_exeext
23877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23878 (eval $ac_link) 2>conftest.er1
23879 ac_status=$?
23880 grep -v '^ *+' conftest.er1 >conftest.err
23881 rm -f conftest.er1
23882 cat conftest.err >&5
23883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23884 (exit $ac_status); } &&
23885 { ac_try='test -z "$ac_c_werror_flag"
23886 || test ! -s conftest.err'
23887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23888 (eval $ac_try) 2>&5
23889 ac_status=$?
23890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23891 (exit $ac_status); }; } &&
23892 { ac_try='test -s conftest$ac_exeext'
23893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23894 (eval $ac_try) 2>&5
23895 ac_status=$?
23896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23897 (exit $ac_status); }; }; then
23898 eval "$as_ac_var=yes"
23899 else
23900 echo "$as_me: failed program was:" >&5
23901 sed 's/^/| /' conftest.$ac_ext >&5
23903 eval "$as_ac_var=no"
23905 rm -f conftest.err conftest.$ac_objext \
23906 conftest$ac_exeext conftest.$ac_ext
23908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23910 if test `eval echo '${'$as_ac_var'}'` = yes; then
23911 cat >>confdefs.h <<_ACEOF
23912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23913 _ACEOF
23916 done
23918 else
23920 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
23921 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
23922 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23923 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
23924 echo $ECHO_N "(cached) $ECHO_C" >&6
23925 else
23929 ac_ext=cc
23930 ac_cpp='$CXXCPP $CPPFLAGS'
23931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23935 cat >conftest.$ac_ext <<_ACEOF
23936 /* confdefs.h. */
23937 _ACEOF
23938 cat confdefs.h >>conftest.$ac_ext
23939 cat >>conftest.$ac_ext <<_ACEOF
23940 /* end confdefs.h. */
23941 #include <math.h>
23943 main ()
23945 _frexpf(0, 0);
23947 return 0;
23949 _ACEOF
23950 rm -f conftest.$ac_objext
23951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23952 (eval $ac_compile) 2>conftest.er1
23953 ac_status=$?
23954 grep -v '^ *+' conftest.er1 >conftest.err
23955 rm -f conftest.er1
23956 cat conftest.err >&5
23957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23958 (exit $ac_status); } &&
23959 { ac_try='test -z "$ac_cxx_werror_flag"
23960 || test ! -s conftest.err'
23961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23962 (eval $ac_try) 2>&5
23963 ac_status=$?
23964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23965 (exit $ac_status); }; } &&
23966 { ac_try='test -s conftest.$ac_objext'
23967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23968 (eval $ac_try) 2>&5
23969 ac_status=$?
23970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23971 (exit $ac_status); }; }; then
23972 glibcxx_cv_func__frexpf_use=yes
23973 else
23974 echo "$as_me: failed program was:" >&5
23975 sed 's/^/| /' conftest.$ac_ext >&5
23977 glibcxx_cv_func__frexpf_use=no
23979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23980 ac_ext=c
23981 ac_cpp='$CPP $CPPFLAGS'
23982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23990 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
23991 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
23993 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23995 for ac_func in _frexpf
23997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23998 echo "$as_me:$LINENO: checking for $ac_func" >&5
23999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24000 if eval "test \"\${$as_ac_var+set}\" = set"; then
24001 echo $ECHO_N "(cached) $ECHO_C" >&6
24002 else
24003 if test x$gcc_no_link = xyes; then
24004 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24006 { (exit 1); exit 1; }; }
24008 cat >conftest.$ac_ext <<_ACEOF
24009 /* confdefs.h. */
24010 _ACEOF
24011 cat confdefs.h >>conftest.$ac_ext
24012 cat >>conftest.$ac_ext <<_ACEOF
24013 /* end confdefs.h. */
24014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24016 #define $ac_func innocuous_$ac_func
24018 /* System header to define __stub macros and hopefully few prototypes,
24019 which can conflict with char $ac_func (); below.
24020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24021 <limits.h> exists even on freestanding compilers. */
24023 #ifdef __STDC__
24024 # include <limits.h>
24025 #else
24026 # include <assert.h>
24027 #endif
24029 #undef $ac_func
24031 /* Override any gcc2 internal prototype to avoid an error. */
24032 #ifdef __cplusplus
24033 extern "C"
24035 #endif
24036 /* We use char because int might match the return type of a gcc2
24037 builtin and then its argument prototype would still apply. */
24038 char $ac_func ();
24039 /* The GNU C library defines this for functions which it implements
24040 to always fail with ENOSYS. Some functions are actually named
24041 something starting with __ and the normal name is an alias. */
24042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24043 choke me
24044 #else
24045 char (*f) () = $ac_func;
24046 #endif
24047 #ifdef __cplusplus
24049 #endif
24052 main ()
24054 return f != $ac_func;
24056 return 0;
24058 _ACEOF
24059 rm -f conftest.$ac_objext conftest$ac_exeext
24060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24061 (eval $ac_link) 2>conftest.er1
24062 ac_status=$?
24063 grep -v '^ *+' conftest.er1 >conftest.err
24064 rm -f conftest.er1
24065 cat conftest.err >&5
24066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24067 (exit $ac_status); } &&
24068 { ac_try='test -z "$ac_c_werror_flag"
24069 || test ! -s conftest.err'
24070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24071 (eval $ac_try) 2>&5
24072 ac_status=$?
24073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24074 (exit $ac_status); }; } &&
24075 { ac_try='test -s conftest$ac_exeext'
24076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24077 (eval $ac_try) 2>&5
24078 ac_status=$?
24079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24080 (exit $ac_status); }; }; then
24081 eval "$as_ac_var=yes"
24082 else
24083 echo "$as_me: failed program was:" >&5
24084 sed 's/^/| /' conftest.$ac_ext >&5
24086 eval "$as_ac_var=no"
24088 rm -f conftest.err conftest.$ac_objext \
24089 conftest$ac_exeext conftest.$ac_ext
24091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24093 if test `eval echo '${'$as_ac_var'}'` = yes; then
24094 cat >>confdefs.h <<_ACEOF
24095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24096 _ACEOF
24099 done
24109 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
24110 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
24111 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24112 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
24113 echo $ECHO_N "(cached) $ECHO_C" >&6
24114 else
24118 ac_ext=cc
24119 ac_cpp='$CXXCPP $CPPFLAGS'
24120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24124 cat >conftest.$ac_ext <<_ACEOF
24125 /* confdefs.h. */
24126 _ACEOF
24127 cat confdefs.h >>conftest.$ac_ext
24128 cat >>conftest.$ac_ext <<_ACEOF
24129 /* end confdefs.h. */
24130 #include <math.h>
24132 main ()
24134 hypotf(0, 0);
24136 return 0;
24138 _ACEOF
24139 rm -f conftest.$ac_objext
24140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24141 (eval $ac_compile) 2>conftest.er1
24142 ac_status=$?
24143 grep -v '^ *+' conftest.er1 >conftest.err
24144 rm -f conftest.er1
24145 cat conftest.err >&5
24146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24147 (exit $ac_status); } &&
24148 { ac_try='test -z "$ac_cxx_werror_flag"
24149 || test ! -s conftest.err'
24150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24151 (eval $ac_try) 2>&5
24152 ac_status=$?
24153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24154 (exit $ac_status); }; } &&
24155 { ac_try='test -s conftest.$ac_objext'
24156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24157 (eval $ac_try) 2>&5
24158 ac_status=$?
24159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24160 (exit $ac_status); }; }; then
24161 glibcxx_cv_func_hypotf_use=yes
24162 else
24163 echo "$as_me: failed program was:" >&5
24164 sed 's/^/| /' conftest.$ac_ext >&5
24166 glibcxx_cv_func_hypotf_use=no
24168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24169 ac_ext=c
24170 ac_cpp='$CPP $CPPFLAGS'
24171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24179 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
24180 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
24182 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24184 for ac_func in hypotf
24186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24187 echo "$as_me:$LINENO: checking for $ac_func" >&5
24188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24189 if eval "test \"\${$as_ac_var+set}\" = set"; then
24190 echo $ECHO_N "(cached) $ECHO_C" >&6
24191 else
24192 if test x$gcc_no_link = xyes; then
24193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24195 { (exit 1); exit 1; }; }
24197 cat >conftest.$ac_ext <<_ACEOF
24198 /* confdefs.h. */
24199 _ACEOF
24200 cat confdefs.h >>conftest.$ac_ext
24201 cat >>conftest.$ac_ext <<_ACEOF
24202 /* end confdefs.h. */
24203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24205 #define $ac_func innocuous_$ac_func
24207 /* System header to define __stub macros and hopefully few prototypes,
24208 which can conflict with char $ac_func (); below.
24209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24210 <limits.h> exists even on freestanding compilers. */
24212 #ifdef __STDC__
24213 # include <limits.h>
24214 #else
24215 # include <assert.h>
24216 #endif
24218 #undef $ac_func
24220 /* Override any gcc2 internal prototype to avoid an error. */
24221 #ifdef __cplusplus
24222 extern "C"
24224 #endif
24225 /* We use char because int might match the return type of a gcc2
24226 builtin and then its argument prototype would still apply. */
24227 char $ac_func ();
24228 /* The GNU C library defines this for functions which it implements
24229 to always fail with ENOSYS. Some functions are actually named
24230 something starting with __ and the normal name is an alias. */
24231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24232 choke me
24233 #else
24234 char (*f) () = $ac_func;
24235 #endif
24236 #ifdef __cplusplus
24238 #endif
24241 main ()
24243 return f != $ac_func;
24245 return 0;
24247 _ACEOF
24248 rm -f conftest.$ac_objext conftest$ac_exeext
24249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24250 (eval $ac_link) 2>conftest.er1
24251 ac_status=$?
24252 grep -v '^ *+' conftest.er1 >conftest.err
24253 rm -f conftest.er1
24254 cat conftest.err >&5
24255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24256 (exit $ac_status); } &&
24257 { ac_try='test -z "$ac_c_werror_flag"
24258 || test ! -s conftest.err'
24259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24260 (eval $ac_try) 2>&5
24261 ac_status=$?
24262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24263 (exit $ac_status); }; } &&
24264 { ac_try='test -s conftest$ac_exeext'
24265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24266 (eval $ac_try) 2>&5
24267 ac_status=$?
24268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24269 (exit $ac_status); }; }; then
24270 eval "$as_ac_var=yes"
24271 else
24272 echo "$as_me: failed program was:" >&5
24273 sed 's/^/| /' conftest.$ac_ext >&5
24275 eval "$as_ac_var=no"
24277 rm -f conftest.err conftest.$ac_objext \
24278 conftest$ac_exeext conftest.$ac_ext
24280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24282 if test `eval echo '${'$as_ac_var'}'` = yes; then
24283 cat >>confdefs.h <<_ACEOF
24284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24285 _ACEOF
24288 done
24290 else
24292 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
24293 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
24294 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24295 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
24296 echo $ECHO_N "(cached) $ECHO_C" >&6
24297 else
24301 ac_ext=cc
24302 ac_cpp='$CXXCPP $CPPFLAGS'
24303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24307 cat >conftest.$ac_ext <<_ACEOF
24308 /* confdefs.h. */
24309 _ACEOF
24310 cat confdefs.h >>conftest.$ac_ext
24311 cat >>conftest.$ac_ext <<_ACEOF
24312 /* end confdefs.h. */
24313 #include <math.h>
24315 main ()
24317 _hypotf(0, 0);
24319 return 0;
24321 _ACEOF
24322 rm -f conftest.$ac_objext
24323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24324 (eval $ac_compile) 2>conftest.er1
24325 ac_status=$?
24326 grep -v '^ *+' conftest.er1 >conftest.err
24327 rm -f conftest.er1
24328 cat conftest.err >&5
24329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24330 (exit $ac_status); } &&
24331 { ac_try='test -z "$ac_cxx_werror_flag"
24332 || test ! -s conftest.err'
24333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24334 (eval $ac_try) 2>&5
24335 ac_status=$?
24336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24337 (exit $ac_status); }; } &&
24338 { ac_try='test -s conftest.$ac_objext'
24339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24340 (eval $ac_try) 2>&5
24341 ac_status=$?
24342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24343 (exit $ac_status); }; }; then
24344 glibcxx_cv_func__hypotf_use=yes
24345 else
24346 echo "$as_me: failed program was:" >&5
24347 sed 's/^/| /' conftest.$ac_ext >&5
24349 glibcxx_cv_func__hypotf_use=no
24351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24352 ac_ext=c
24353 ac_cpp='$CPP $CPPFLAGS'
24354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24362 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
24363 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
24365 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24367 for ac_func in _hypotf
24369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24370 echo "$as_me:$LINENO: checking for $ac_func" >&5
24371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24372 if eval "test \"\${$as_ac_var+set}\" = set"; then
24373 echo $ECHO_N "(cached) $ECHO_C" >&6
24374 else
24375 if test x$gcc_no_link = xyes; then
24376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24378 { (exit 1); exit 1; }; }
24380 cat >conftest.$ac_ext <<_ACEOF
24381 /* confdefs.h. */
24382 _ACEOF
24383 cat confdefs.h >>conftest.$ac_ext
24384 cat >>conftest.$ac_ext <<_ACEOF
24385 /* end confdefs.h. */
24386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24388 #define $ac_func innocuous_$ac_func
24390 /* System header to define __stub macros and hopefully few prototypes,
24391 which can conflict with char $ac_func (); below.
24392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24393 <limits.h> exists even on freestanding compilers. */
24395 #ifdef __STDC__
24396 # include <limits.h>
24397 #else
24398 # include <assert.h>
24399 #endif
24401 #undef $ac_func
24403 /* Override any gcc2 internal prototype to avoid an error. */
24404 #ifdef __cplusplus
24405 extern "C"
24407 #endif
24408 /* We use char because int might match the return type of a gcc2
24409 builtin and then its argument prototype would still apply. */
24410 char $ac_func ();
24411 /* The GNU C library defines this for functions which it implements
24412 to always fail with ENOSYS. Some functions are actually named
24413 something starting with __ and the normal name is an alias. */
24414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24415 choke me
24416 #else
24417 char (*f) () = $ac_func;
24418 #endif
24419 #ifdef __cplusplus
24421 #endif
24424 main ()
24426 return f != $ac_func;
24428 return 0;
24430 _ACEOF
24431 rm -f conftest.$ac_objext conftest$ac_exeext
24432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24433 (eval $ac_link) 2>conftest.er1
24434 ac_status=$?
24435 grep -v '^ *+' conftest.er1 >conftest.err
24436 rm -f conftest.er1
24437 cat conftest.err >&5
24438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24439 (exit $ac_status); } &&
24440 { ac_try='test -z "$ac_c_werror_flag"
24441 || test ! -s conftest.err'
24442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24443 (eval $ac_try) 2>&5
24444 ac_status=$?
24445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24446 (exit $ac_status); }; } &&
24447 { ac_try='test -s conftest$ac_exeext'
24448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24449 (eval $ac_try) 2>&5
24450 ac_status=$?
24451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24452 (exit $ac_status); }; }; then
24453 eval "$as_ac_var=yes"
24454 else
24455 echo "$as_me: failed program was:" >&5
24456 sed 's/^/| /' conftest.$ac_ext >&5
24458 eval "$as_ac_var=no"
24460 rm -f conftest.err conftest.$ac_objext \
24461 conftest$ac_exeext conftest.$ac_ext
24463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24465 if test `eval echo '${'$as_ac_var'}'` = yes; then
24466 cat >>confdefs.h <<_ACEOF
24467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24468 _ACEOF
24471 done
24481 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
24482 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
24483 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24484 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
24485 echo $ECHO_N "(cached) $ECHO_C" >&6
24486 else
24490 ac_ext=cc
24491 ac_cpp='$CXXCPP $CPPFLAGS'
24492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24496 cat >conftest.$ac_ext <<_ACEOF
24497 /* confdefs.h. */
24498 _ACEOF
24499 cat confdefs.h >>conftest.$ac_ext
24500 cat >>conftest.$ac_ext <<_ACEOF
24501 /* end confdefs.h. */
24502 #include <math.h>
24504 main ()
24506 ldexpf(0, 0);
24508 return 0;
24510 _ACEOF
24511 rm -f conftest.$ac_objext
24512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24513 (eval $ac_compile) 2>conftest.er1
24514 ac_status=$?
24515 grep -v '^ *+' conftest.er1 >conftest.err
24516 rm -f conftest.er1
24517 cat conftest.err >&5
24518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24519 (exit $ac_status); } &&
24520 { ac_try='test -z "$ac_cxx_werror_flag"
24521 || test ! -s conftest.err'
24522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24523 (eval $ac_try) 2>&5
24524 ac_status=$?
24525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24526 (exit $ac_status); }; } &&
24527 { ac_try='test -s conftest.$ac_objext'
24528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24529 (eval $ac_try) 2>&5
24530 ac_status=$?
24531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24532 (exit $ac_status); }; }; then
24533 glibcxx_cv_func_ldexpf_use=yes
24534 else
24535 echo "$as_me: failed program was:" >&5
24536 sed 's/^/| /' conftest.$ac_ext >&5
24538 glibcxx_cv_func_ldexpf_use=no
24540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24541 ac_ext=c
24542 ac_cpp='$CPP $CPPFLAGS'
24543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24551 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
24552 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
24554 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24556 for ac_func in ldexpf
24558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24559 echo "$as_me:$LINENO: checking for $ac_func" >&5
24560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24561 if eval "test \"\${$as_ac_var+set}\" = set"; then
24562 echo $ECHO_N "(cached) $ECHO_C" >&6
24563 else
24564 if test x$gcc_no_link = xyes; then
24565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24567 { (exit 1); exit 1; }; }
24569 cat >conftest.$ac_ext <<_ACEOF
24570 /* confdefs.h. */
24571 _ACEOF
24572 cat confdefs.h >>conftest.$ac_ext
24573 cat >>conftest.$ac_ext <<_ACEOF
24574 /* end confdefs.h. */
24575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24577 #define $ac_func innocuous_$ac_func
24579 /* System header to define __stub macros and hopefully few prototypes,
24580 which can conflict with char $ac_func (); below.
24581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24582 <limits.h> exists even on freestanding compilers. */
24584 #ifdef __STDC__
24585 # include <limits.h>
24586 #else
24587 # include <assert.h>
24588 #endif
24590 #undef $ac_func
24592 /* Override any gcc2 internal prototype to avoid an error. */
24593 #ifdef __cplusplus
24594 extern "C"
24596 #endif
24597 /* We use char because int might match the return type of a gcc2
24598 builtin and then its argument prototype would still apply. */
24599 char $ac_func ();
24600 /* The GNU C library defines this for functions which it implements
24601 to always fail with ENOSYS. Some functions are actually named
24602 something starting with __ and the normal name is an alias. */
24603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24604 choke me
24605 #else
24606 char (*f) () = $ac_func;
24607 #endif
24608 #ifdef __cplusplus
24610 #endif
24613 main ()
24615 return f != $ac_func;
24617 return 0;
24619 _ACEOF
24620 rm -f conftest.$ac_objext conftest$ac_exeext
24621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24622 (eval $ac_link) 2>conftest.er1
24623 ac_status=$?
24624 grep -v '^ *+' conftest.er1 >conftest.err
24625 rm -f conftest.er1
24626 cat conftest.err >&5
24627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24628 (exit $ac_status); } &&
24629 { ac_try='test -z "$ac_c_werror_flag"
24630 || test ! -s conftest.err'
24631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24632 (eval $ac_try) 2>&5
24633 ac_status=$?
24634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24635 (exit $ac_status); }; } &&
24636 { ac_try='test -s conftest$ac_exeext'
24637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24638 (eval $ac_try) 2>&5
24639 ac_status=$?
24640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24641 (exit $ac_status); }; }; then
24642 eval "$as_ac_var=yes"
24643 else
24644 echo "$as_me: failed program was:" >&5
24645 sed 's/^/| /' conftest.$ac_ext >&5
24647 eval "$as_ac_var=no"
24649 rm -f conftest.err conftest.$ac_objext \
24650 conftest$ac_exeext conftest.$ac_ext
24652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24654 if test `eval echo '${'$as_ac_var'}'` = yes; then
24655 cat >>confdefs.h <<_ACEOF
24656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24657 _ACEOF
24660 done
24662 else
24664 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
24665 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
24666 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24667 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
24668 echo $ECHO_N "(cached) $ECHO_C" >&6
24669 else
24673 ac_ext=cc
24674 ac_cpp='$CXXCPP $CPPFLAGS'
24675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24679 cat >conftest.$ac_ext <<_ACEOF
24680 /* confdefs.h. */
24681 _ACEOF
24682 cat confdefs.h >>conftest.$ac_ext
24683 cat >>conftest.$ac_ext <<_ACEOF
24684 /* end confdefs.h. */
24685 #include <math.h>
24687 main ()
24689 _ldexpf(0, 0);
24691 return 0;
24693 _ACEOF
24694 rm -f conftest.$ac_objext
24695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24696 (eval $ac_compile) 2>conftest.er1
24697 ac_status=$?
24698 grep -v '^ *+' conftest.er1 >conftest.err
24699 rm -f conftest.er1
24700 cat conftest.err >&5
24701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24702 (exit $ac_status); } &&
24703 { ac_try='test -z "$ac_cxx_werror_flag"
24704 || test ! -s conftest.err'
24705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24706 (eval $ac_try) 2>&5
24707 ac_status=$?
24708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24709 (exit $ac_status); }; } &&
24710 { ac_try='test -s conftest.$ac_objext'
24711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24712 (eval $ac_try) 2>&5
24713 ac_status=$?
24714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24715 (exit $ac_status); }; }; then
24716 glibcxx_cv_func__ldexpf_use=yes
24717 else
24718 echo "$as_me: failed program was:" >&5
24719 sed 's/^/| /' conftest.$ac_ext >&5
24721 glibcxx_cv_func__ldexpf_use=no
24723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24724 ac_ext=c
24725 ac_cpp='$CPP $CPPFLAGS'
24726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24734 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
24735 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
24737 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24739 for ac_func in _ldexpf
24741 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24742 echo "$as_me:$LINENO: checking for $ac_func" >&5
24743 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24744 if eval "test \"\${$as_ac_var+set}\" = set"; then
24745 echo $ECHO_N "(cached) $ECHO_C" >&6
24746 else
24747 if test x$gcc_no_link = xyes; then
24748 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24749 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24750 { (exit 1); exit 1; }; }
24752 cat >conftest.$ac_ext <<_ACEOF
24753 /* confdefs.h. */
24754 _ACEOF
24755 cat confdefs.h >>conftest.$ac_ext
24756 cat >>conftest.$ac_ext <<_ACEOF
24757 /* end confdefs.h. */
24758 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24759 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24760 #define $ac_func innocuous_$ac_func
24762 /* System header to define __stub macros and hopefully few prototypes,
24763 which can conflict with char $ac_func (); below.
24764 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24765 <limits.h> exists even on freestanding compilers. */
24767 #ifdef __STDC__
24768 # include <limits.h>
24769 #else
24770 # include <assert.h>
24771 #endif
24773 #undef $ac_func
24775 /* Override any gcc2 internal prototype to avoid an error. */
24776 #ifdef __cplusplus
24777 extern "C"
24779 #endif
24780 /* We use char because int might match the return type of a gcc2
24781 builtin and then its argument prototype would still apply. */
24782 char $ac_func ();
24783 /* The GNU C library defines this for functions which it implements
24784 to always fail with ENOSYS. Some functions are actually named
24785 something starting with __ and the normal name is an alias. */
24786 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24787 choke me
24788 #else
24789 char (*f) () = $ac_func;
24790 #endif
24791 #ifdef __cplusplus
24793 #endif
24796 main ()
24798 return f != $ac_func;
24800 return 0;
24802 _ACEOF
24803 rm -f conftest.$ac_objext conftest$ac_exeext
24804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24805 (eval $ac_link) 2>conftest.er1
24806 ac_status=$?
24807 grep -v '^ *+' conftest.er1 >conftest.err
24808 rm -f conftest.er1
24809 cat conftest.err >&5
24810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24811 (exit $ac_status); } &&
24812 { ac_try='test -z "$ac_c_werror_flag"
24813 || test ! -s conftest.err'
24814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24815 (eval $ac_try) 2>&5
24816 ac_status=$?
24817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24818 (exit $ac_status); }; } &&
24819 { ac_try='test -s conftest$ac_exeext'
24820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24821 (eval $ac_try) 2>&5
24822 ac_status=$?
24823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24824 (exit $ac_status); }; }; then
24825 eval "$as_ac_var=yes"
24826 else
24827 echo "$as_me: failed program was:" >&5
24828 sed 's/^/| /' conftest.$ac_ext >&5
24830 eval "$as_ac_var=no"
24832 rm -f conftest.err conftest.$ac_objext \
24833 conftest$ac_exeext conftest.$ac_ext
24835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24836 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24837 if test `eval echo '${'$as_ac_var'}'` = yes; then
24838 cat >>confdefs.h <<_ACEOF
24839 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24840 _ACEOF
24843 done
24853 echo "$as_me:$LINENO: checking for logf declaration" >&5
24854 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
24855 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24856 if test "${glibcxx_cv_func_logf_use+set}" = set; then
24857 echo $ECHO_N "(cached) $ECHO_C" >&6
24858 else
24862 ac_ext=cc
24863 ac_cpp='$CXXCPP $CPPFLAGS'
24864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24868 cat >conftest.$ac_ext <<_ACEOF
24869 /* confdefs.h. */
24870 _ACEOF
24871 cat confdefs.h >>conftest.$ac_ext
24872 cat >>conftest.$ac_ext <<_ACEOF
24873 /* end confdefs.h. */
24874 #include <math.h>
24875 #ifdef HAVE_IEEEFP_H
24876 #include <ieeefp.h>
24877 #endif
24880 main ()
24882 logf(0);
24884 return 0;
24886 _ACEOF
24887 rm -f conftest.$ac_objext
24888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24889 (eval $ac_compile) 2>conftest.er1
24890 ac_status=$?
24891 grep -v '^ *+' conftest.er1 >conftest.err
24892 rm -f conftest.er1
24893 cat conftest.err >&5
24894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24895 (exit $ac_status); } &&
24896 { ac_try='test -z "$ac_cxx_werror_flag"
24897 || test ! -s conftest.err'
24898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24899 (eval $ac_try) 2>&5
24900 ac_status=$?
24901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24902 (exit $ac_status); }; } &&
24903 { ac_try='test -s conftest.$ac_objext'
24904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24905 (eval $ac_try) 2>&5
24906 ac_status=$?
24907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24908 (exit $ac_status); }; }; then
24909 glibcxx_cv_func_logf_use=yes
24910 else
24911 echo "$as_me: failed program was:" >&5
24912 sed 's/^/| /' conftest.$ac_ext >&5
24914 glibcxx_cv_func_logf_use=no
24916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24917 ac_ext=c
24918 ac_cpp='$CPP $CPPFLAGS'
24919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24927 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
24928 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
24930 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24932 for ac_func in logf
24934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24935 echo "$as_me:$LINENO: checking for $ac_func" >&5
24936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24937 if eval "test \"\${$as_ac_var+set}\" = set"; then
24938 echo $ECHO_N "(cached) $ECHO_C" >&6
24939 else
24940 if test x$gcc_no_link = xyes; then
24941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24943 { (exit 1); exit 1; }; }
24945 cat >conftest.$ac_ext <<_ACEOF
24946 /* confdefs.h. */
24947 _ACEOF
24948 cat confdefs.h >>conftest.$ac_ext
24949 cat >>conftest.$ac_ext <<_ACEOF
24950 /* end confdefs.h. */
24951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24953 #define $ac_func innocuous_$ac_func
24955 /* System header to define __stub macros and hopefully few prototypes,
24956 which can conflict with char $ac_func (); below.
24957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24958 <limits.h> exists even on freestanding compilers. */
24960 #ifdef __STDC__
24961 # include <limits.h>
24962 #else
24963 # include <assert.h>
24964 #endif
24966 #undef $ac_func
24968 /* Override any gcc2 internal prototype to avoid an error. */
24969 #ifdef __cplusplus
24970 extern "C"
24972 #endif
24973 /* We use char because int might match the return type of a gcc2
24974 builtin and then its argument prototype would still apply. */
24975 char $ac_func ();
24976 /* The GNU C library defines this for functions which it implements
24977 to always fail with ENOSYS. Some functions are actually named
24978 something starting with __ and the normal name is an alias. */
24979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24980 choke me
24981 #else
24982 char (*f) () = $ac_func;
24983 #endif
24984 #ifdef __cplusplus
24986 #endif
24989 main ()
24991 return f != $ac_func;
24993 return 0;
24995 _ACEOF
24996 rm -f conftest.$ac_objext conftest$ac_exeext
24997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24998 (eval $ac_link) 2>conftest.er1
24999 ac_status=$?
25000 grep -v '^ *+' conftest.er1 >conftest.err
25001 rm -f conftest.er1
25002 cat conftest.err >&5
25003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25004 (exit $ac_status); } &&
25005 { ac_try='test -z "$ac_c_werror_flag"
25006 || test ! -s conftest.err'
25007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25008 (eval $ac_try) 2>&5
25009 ac_status=$?
25010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25011 (exit $ac_status); }; } &&
25012 { ac_try='test -s conftest$ac_exeext'
25013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25014 (eval $ac_try) 2>&5
25015 ac_status=$?
25016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25017 (exit $ac_status); }; }; then
25018 eval "$as_ac_var=yes"
25019 else
25020 echo "$as_me: failed program was:" >&5
25021 sed 's/^/| /' conftest.$ac_ext >&5
25023 eval "$as_ac_var=no"
25025 rm -f conftest.err conftest.$ac_objext \
25026 conftest$ac_exeext conftest.$ac_ext
25028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25030 if test `eval echo '${'$as_ac_var'}'` = yes; then
25031 cat >>confdefs.h <<_ACEOF
25032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25033 _ACEOF
25036 done
25038 else
25040 echo "$as_me:$LINENO: checking for _logf declaration" >&5
25041 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
25042 if test x${glibcxx_cv_func__logf_use+set} != xset; then
25043 if test "${glibcxx_cv_func__logf_use+set}" = set; then
25044 echo $ECHO_N "(cached) $ECHO_C" >&6
25045 else
25049 ac_ext=cc
25050 ac_cpp='$CXXCPP $CPPFLAGS'
25051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25055 cat >conftest.$ac_ext <<_ACEOF
25056 /* confdefs.h. */
25057 _ACEOF
25058 cat confdefs.h >>conftest.$ac_ext
25059 cat >>conftest.$ac_ext <<_ACEOF
25060 /* end confdefs.h. */
25061 #include <math.h>
25062 #ifdef HAVE_IEEEFP_H
25063 #include <ieeefp.h>
25064 #endif
25067 main ()
25069 _logf(0);
25071 return 0;
25073 _ACEOF
25074 rm -f conftest.$ac_objext
25075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25076 (eval $ac_compile) 2>conftest.er1
25077 ac_status=$?
25078 grep -v '^ *+' conftest.er1 >conftest.err
25079 rm -f conftest.er1
25080 cat conftest.err >&5
25081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25082 (exit $ac_status); } &&
25083 { ac_try='test -z "$ac_cxx_werror_flag"
25084 || test ! -s conftest.err'
25085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25086 (eval $ac_try) 2>&5
25087 ac_status=$?
25088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25089 (exit $ac_status); }; } &&
25090 { ac_try='test -s conftest.$ac_objext'
25091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25092 (eval $ac_try) 2>&5
25093 ac_status=$?
25094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25095 (exit $ac_status); }; }; then
25096 glibcxx_cv_func__logf_use=yes
25097 else
25098 echo "$as_me: failed program was:" >&5
25099 sed 's/^/| /' conftest.$ac_ext >&5
25101 glibcxx_cv_func__logf_use=no
25103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25104 ac_ext=c
25105 ac_cpp='$CPP $CPPFLAGS'
25106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25114 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
25115 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
25117 if test x$glibcxx_cv_func__logf_use = x"yes"; then
25119 for ac_func in _logf
25121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25122 echo "$as_me:$LINENO: checking for $ac_func" >&5
25123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25124 if eval "test \"\${$as_ac_var+set}\" = set"; then
25125 echo $ECHO_N "(cached) $ECHO_C" >&6
25126 else
25127 if test x$gcc_no_link = xyes; then
25128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25130 { (exit 1); exit 1; }; }
25132 cat >conftest.$ac_ext <<_ACEOF
25133 /* confdefs.h. */
25134 _ACEOF
25135 cat confdefs.h >>conftest.$ac_ext
25136 cat >>conftest.$ac_ext <<_ACEOF
25137 /* end confdefs.h. */
25138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25140 #define $ac_func innocuous_$ac_func
25142 /* System header to define __stub macros and hopefully few prototypes,
25143 which can conflict with char $ac_func (); below.
25144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25145 <limits.h> exists even on freestanding compilers. */
25147 #ifdef __STDC__
25148 # include <limits.h>
25149 #else
25150 # include <assert.h>
25151 #endif
25153 #undef $ac_func
25155 /* Override any gcc2 internal prototype to avoid an error. */
25156 #ifdef __cplusplus
25157 extern "C"
25159 #endif
25160 /* We use char because int might match the return type of a gcc2
25161 builtin and then its argument prototype would still apply. */
25162 char $ac_func ();
25163 /* The GNU C library defines this for functions which it implements
25164 to always fail with ENOSYS. Some functions are actually named
25165 something starting with __ and the normal name is an alias. */
25166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25167 choke me
25168 #else
25169 char (*f) () = $ac_func;
25170 #endif
25171 #ifdef __cplusplus
25173 #endif
25176 main ()
25178 return f != $ac_func;
25180 return 0;
25182 _ACEOF
25183 rm -f conftest.$ac_objext conftest$ac_exeext
25184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25185 (eval $ac_link) 2>conftest.er1
25186 ac_status=$?
25187 grep -v '^ *+' conftest.er1 >conftest.err
25188 rm -f conftest.er1
25189 cat conftest.err >&5
25190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25191 (exit $ac_status); } &&
25192 { ac_try='test -z "$ac_c_werror_flag"
25193 || test ! -s conftest.err'
25194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25195 (eval $ac_try) 2>&5
25196 ac_status=$?
25197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25198 (exit $ac_status); }; } &&
25199 { ac_try='test -s conftest$ac_exeext'
25200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25201 (eval $ac_try) 2>&5
25202 ac_status=$?
25203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25204 (exit $ac_status); }; }; then
25205 eval "$as_ac_var=yes"
25206 else
25207 echo "$as_me: failed program was:" >&5
25208 sed 's/^/| /' conftest.$ac_ext >&5
25210 eval "$as_ac_var=no"
25212 rm -f conftest.err conftest.$ac_objext \
25213 conftest$ac_exeext conftest.$ac_ext
25215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25217 if test `eval echo '${'$as_ac_var'}'` = yes; then
25218 cat >>confdefs.h <<_ACEOF
25219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25220 _ACEOF
25223 done
25233 echo "$as_me:$LINENO: checking for log10f declaration" >&5
25234 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
25235 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
25236 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
25237 echo $ECHO_N "(cached) $ECHO_C" >&6
25238 else
25242 ac_ext=cc
25243 ac_cpp='$CXXCPP $CPPFLAGS'
25244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25248 cat >conftest.$ac_ext <<_ACEOF
25249 /* confdefs.h. */
25250 _ACEOF
25251 cat confdefs.h >>conftest.$ac_ext
25252 cat >>conftest.$ac_ext <<_ACEOF
25253 /* end confdefs.h. */
25254 #include <math.h>
25255 #ifdef HAVE_IEEEFP_H
25256 #include <ieeefp.h>
25257 #endif
25260 main ()
25262 log10f(0);
25264 return 0;
25266 _ACEOF
25267 rm -f conftest.$ac_objext
25268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25269 (eval $ac_compile) 2>conftest.er1
25270 ac_status=$?
25271 grep -v '^ *+' conftest.er1 >conftest.err
25272 rm -f conftest.er1
25273 cat conftest.err >&5
25274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25275 (exit $ac_status); } &&
25276 { ac_try='test -z "$ac_cxx_werror_flag"
25277 || test ! -s conftest.err'
25278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25279 (eval $ac_try) 2>&5
25280 ac_status=$?
25281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25282 (exit $ac_status); }; } &&
25283 { ac_try='test -s conftest.$ac_objext'
25284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25285 (eval $ac_try) 2>&5
25286 ac_status=$?
25287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25288 (exit $ac_status); }; }; then
25289 glibcxx_cv_func_log10f_use=yes
25290 else
25291 echo "$as_me: failed program was:" >&5
25292 sed 's/^/| /' conftest.$ac_ext >&5
25294 glibcxx_cv_func_log10f_use=no
25296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25297 ac_ext=c
25298 ac_cpp='$CPP $CPPFLAGS'
25299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25307 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
25308 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
25310 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
25312 for ac_func in log10f
25314 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25315 echo "$as_me:$LINENO: checking for $ac_func" >&5
25316 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25317 if eval "test \"\${$as_ac_var+set}\" = set"; then
25318 echo $ECHO_N "(cached) $ECHO_C" >&6
25319 else
25320 if test x$gcc_no_link = xyes; then
25321 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25322 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25323 { (exit 1); exit 1; }; }
25325 cat >conftest.$ac_ext <<_ACEOF
25326 /* confdefs.h. */
25327 _ACEOF
25328 cat confdefs.h >>conftest.$ac_ext
25329 cat >>conftest.$ac_ext <<_ACEOF
25330 /* end confdefs.h. */
25331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25332 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25333 #define $ac_func innocuous_$ac_func
25335 /* System header to define __stub macros and hopefully few prototypes,
25336 which can conflict with char $ac_func (); below.
25337 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25338 <limits.h> exists even on freestanding compilers. */
25340 #ifdef __STDC__
25341 # include <limits.h>
25342 #else
25343 # include <assert.h>
25344 #endif
25346 #undef $ac_func
25348 /* Override any gcc2 internal prototype to avoid an error. */
25349 #ifdef __cplusplus
25350 extern "C"
25352 #endif
25353 /* We use char because int might match the return type of a gcc2
25354 builtin and then its argument prototype would still apply. */
25355 char $ac_func ();
25356 /* The GNU C library defines this for functions which it implements
25357 to always fail with ENOSYS. Some functions are actually named
25358 something starting with __ and the normal name is an alias. */
25359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25360 choke me
25361 #else
25362 char (*f) () = $ac_func;
25363 #endif
25364 #ifdef __cplusplus
25366 #endif
25369 main ()
25371 return f != $ac_func;
25373 return 0;
25375 _ACEOF
25376 rm -f conftest.$ac_objext conftest$ac_exeext
25377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25378 (eval $ac_link) 2>conftest.er1
25379 ac_status=$?
25380 grep -v '^ *+' conftest.er1 >conftest.err
25381 rm -f conftest.er1
25382 cat conftest.err >&5
25383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25384 (exit $ac_status); } &&
25385 { ac_try='test -z "$ac_c_werror_flag"
25386 || test ! -s conftest.err'
25387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25388 (eval $ac_try) 2>&5
25389 ac_status=$?
25390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25391 (exit $ac_status); }; } &&
25392 { ac_try='test -s conftest$ac_exeext'
25393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25394 (eval $ac_try) 2>&5
25395 ac_status=$?
25396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25397 (exit $ac_status); }; }; then
25398 eval "$as_ac_var=yes"
25399 else
25400 echo "$as_me: failed program was:" >&5
25401 sed 's/^/| /' conftest.$ac_ext >&5
25403 eval "$as_ac_var=no"
25405 rm -f conftest.err conftest.$ac_objext \
25406 conftest$ac_exeext conftest.$ac_ext
25408 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25409 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25410 if test `eval echo '${'$as_ac_var'}'` = yes; then
25411 cat >>confdefs.h <<_ACEOF
25412 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25413 _ACEOF
25416 done
25418 else
25420 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
25421 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
25422 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
25423 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
25424 echo $ECHO_N "(cached) $ECHO_C" >&6
25425 else
25429 ac_ext=cc
25430 ac_cpp='$CXXCPP $CPPFLAGS'
25431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25435 cat >conftest.$ac_ext <<_ACEOF
25436 /* confdefs.h. */
25437 _ACEOF
25438 cat confdefs.h >>conftest.$ac_ext
25439 cat >>conftest.$ac_ext <<_ACEOF
25440 /* end confdefs.h. */
25441 #include <math.h>
25442 #ifdef HAVE_IEEEFP_H
25443 #include <ieeefp.h>
25444 #endif
25447 main ()
25449 _log10f(0);
25451 return 0;
25453 _ACEOF
25454 rm -f conftest.$ac_objext
25455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25456 (eval $ac_compile) 2>conftest.er1
25457 ac_status=$?
25458 grep -v '^ *+' conftest.er1 >conftest.err
25459 rm -f conftest.er1
25460 cat conftest.err >&5
25461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25462 (exit $ac_status); } &&
25463 { ac_try='test -z "$ac_cxx_werror_flag"
25464 || test ! -s conftest.err'
25465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25466 (eval $ac_try) 2>&5
25467 ac_status=$?
25468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25469 (exit $ac_status); }; } &&
25470 { ac_try='test -s conftest.$ac_objext'
25471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25472 (eval $ac_try) 2>&5
25473 ac_status=$?
25474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25475 (exit $ac_status); }; }; then
25476 glibcxx_cv_func__log10f_use=yes
25477 else
25478 echo "$as_me: failed program was:" >&5
25479 sed 's/^/| /' conftest.$ac_ext >&5
25481 glibcxx_cv_func__log10f_use=no
25483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25484 ac_ext=c
25485 ac_cpp='$CPP $CPPFLAGS'
25486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25494 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
25495 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
25497 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
25499 for ac_func in _log10f
25501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25502 echo "$as_me:$LINENO: checking for $ac_func" >&5
25503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25504 if eval "test \"\${$as_ac_var+set}\" = set"; then
25505 echo $ECHO_N "(cached) $ECHO_C" >&6
25506 else
25507 if test x$gcc_no_link = xyes; then
25508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25510 { (exit 1); exit 1; }; }
25512 cat >conftest.$ac_ext <<_ACEOF
25513 /* confdefs.h. */
25514 _ACEOF
25515 cat confdefs.h >>conftest.$ac_ext
25516 cat >>conftest.$ac_ext <<_ACEOF
25517 /* end confdefs.h. */
25518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25520 #define $ac_func innocuous_$ac_func
25522 /* System header to define __stub macros and hopefully few prototypes,
25523 which can conflict with char $ac_func (); below.
25524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25525 <limits.h> exists even on freestanding compilers. */
25527 #ifdef __STDC__
25528 # include <limits.h>
25529 #else
25530 # include <assert.h>
25531 #endif
25533 #undef $ac_func
25535 /* Override any gcc2 internal prototype to avoid an error. */
25536 #ifdef __cplusplus
25537 extern "C"
25539 #endif
25540 /* We use char because int might match the return type of a gcc2
25541 builtin and then its argument prototype would still apply. */
25542 char $ac_func ();
25543 /* The GNU C library defines this for functions which it implements
25544 to always fail with ENOSYS. Some functions are actually named
25545 something starting with __ and the normal name is an alias. */
25546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25547 choke me
25548 #else
25549 char (*f) () = $ac_func;
25550 #endif
25551 #ifdef __cplusplus
25553 #endif
25556 main ()
25558 return f != $ac_func;
25560 return 0;
25562 _ACEOF
25563 rm -f conftest.$ac_objext conftest$ac_exeext
25564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25565 (eval $ac_link) 2>conftest.er1
25566 ac_status=$?
25567 grep -v '^ *+' conftest.er1 >conftest.err
25568 rm -f conftest.er1
25569 cat conftest.err >&5
25570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25571 (exit $ac_status); } &&
25572 { ac_try='test -z "$ac_c_werror_flag"
25573 || test ! -s conftest.err'
25574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25575 (eval $ac_try) 2>&5
25576 ac_status=$?
25577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25578 (exit $ac_status); }; } &&
25579 { ac_try='test -s conftest$ac_exeext'
25580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25581 (eval $ac_try) 2>&5
25582 ac_status=$?
25583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25584 (exit $ac_status); }; }; then
25585 eval "$as_ac_var=yes"
25586 else
25587 echo "$as_me: failed program was:" >&5
25588 sed 's/^/| /' conftest.$ac_ext >&5
25590 eval "$as_ac_var=no"
25592 rm -f conftest.err conftest.$ac_objext \
25593 conftest$ac_exeext conftest.$ac_ext
25595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25597 if test `eval echo '${'$as_ac_var'}'` = yes; then
25598 cat >>confdefs.h <<_ACEOF
25599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25600 _ACEOF
25603 done
25613 echo "$as_me:$LINENO: checking for modff declaration" >&5
25614 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
25615 if test x${glibcxx_cv_func_modff_use+set} != xset; then
25616 if test "${glibcxx_cv_func_modff_use+set}" = set; then
25617 echo $ECHO_N "(cached) $ECHO_C" >&6
25618 else
25622 ac_ext=cc
25623 ac_cpp='$CXXCPP $CPPFLAGS'
25624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25628 cat >conftest.$ac_ext <<_ACEOF
25629 /* confdefs.h. */
25630 _ACEOF
25631 cat confdefs.h >>conftest.$ac_ext
25632 cat >>conftest.$ac_ext <<_ACEOF
25633 /* end confdefs.h. */
25634 #include <math.h>
25636 main ()
25638 modff(0, 0);
25640 return 0;
25642 _ACEOF
25643 rm -f conftest.$ac_objext
25644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25645 (eval $ac_compile) 2>conftest.er1
25646 ac_status=$?
25647 grep -v '^ *+' conftest.er1 >conftest.err
25648 rm -f conftest.er1
25649 cat conftest.err >&5
25650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25651 (exit $ac_status); } &&
25652 { ac_try='test -z "$ac_cxx_werror_flag"
25653 || test ! -s conftest.err'
25654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25655 (eval $ac_try) 2>&5
25656 ac_status=$?
25657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25658 (exit $ac_status); }; } &&
25659 { ac_try='test -s conftest.$ac_objext'
25660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25661 (eval $ac_try) 2>&5
25662 ac_status=$?
25663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25664 (exit $ac_status); }; }; then
25665 glibcxx_cv_func_modff_use=yes
25666 else
25667 echo "$as_me: failed program was:" >&5
25668 sed 's/^/| /' conftest.$ac_ext >&5
25670 glibcxx_cv_func_modff_use=no
25672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25673 ac_ext=c
25674 ac_cpp='$CPP $CPPFLAGS'
25675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25683 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
25684 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
25686 if test x$glibcxx_cv_func_modff_use = x"yes"; then
25688 for ac_func in modff
25690 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25691 echo "$as_me:$LINENO: checking for $ac_func" >&5
25692 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25693 if eval "test \"\${$as_ac_var+set}\" = set"; then
25694 echo $ECHO_N "(cached) $ECHO_C" >&6
25695 else
25696 if test x$gcc_no_link = xyes; then
25697 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25698 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25699 { (exit 1); exit 1; }; }
25701 cat >conftest.$ac_ext <<_ACEOF
25702 /* confdefs.h. */
25703 _ACEOF
25704 cat confdefs.h >>conftest.$ac_ext
25705 cat >>conftest.$ac_ext <<_ACEOF
25706 /* end confdefs.h. */
25707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25709 #define $ac_func innocuous_$ac_func
25711 /* System header to define __stub macros and hopefully few prototypes,
25712 which can conflict with char $ac_func (); below.
25713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25714 <limits.h> exists even on freestanding compilers. */
25716 #ifdef __STDC__
25717 # include <limits.h>
25718 #else
25719 # include <assert.h>
25720 #endif
25722 #undef $ac_func
25724 /* Override any gcc2 internal prototype to avoid an error. */
25725 #ifdef __cplusplus
25726 extern "C"
25728 #endif
25729 /* We use char because int might match the return type of a gcc2
25730 builtin and then its argument prototype would still apply. */
25731 char $ac_func ();
25732 /* The GNU C library defines this for functions which it implements
25733 to always fail with ENOSYS. Some functions are actually named
25734 something starting with __ and the normal name is an alias. */
25735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25736 choke me
25737 #else
25738 char (*f) () = $ac_func;
25739 #endif
25740 #ifdef __cplusplus
25742 #endif
25745 main ()
25747 return f != $ac_func;
25749 return 0;
25751 _ACEOF
25752 rm -f conftest.$ac_objext conftest$ac_exeext
25753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25754 (eval $ac_link) 2>conftest.er1
25755 ac_status=$?
25756 grep -v '^ *+' conftest.er1 >conftest.err
25757 rm -f conftest.er1
25758 cat conftest.err >&5
25759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25760 (exit $ac_status); } &&
25761 { ac_try='test -z "$ac_c_werror_flag"
25762 || test ! -s conftest.err'
25763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25764 (eval $ac_try) 2>&5
25765 ac_status=$?
25766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25767 (exit $ac_status); }; } &&
25768 { ac_try='test -s conftest$ac_exeext'
25769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25770 (eval $ac_try) 2>&5
25771 ac_status=$?
25772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25773 (exit $ac_status); }; }; then
25774 eval "$as_ac_var=yes"
25775 else
25776 echo "$as_me: failed program was:" >&5
25777 sed 's/^/| /' conftest.$ac_ext >&5
25779 eval "$as_ac_var=no"
25781 rm -f conftest.err conftest.$ac_objext \
25782 conftest$ac_exeext conftest.$ac_ext
25784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25785 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25786 if test `eval echo '${'$as_ac_var'}'` = yes; then
25787 cat >>confdefs.h <<_ACEOF
25788 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25789 _ACEOF
25792 done
25794 else
25796 echo "$as_me:$LINENO: checking for _modff declaration" >&5
25797 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
25798 if test x${glibcxx_cv_func__modff_use+set} != xset; then
25799 if test "${glibcxx_cv_func__modff_use+set}" = set; then
25800 echo $ECHO_N "(cached) $ECHO_C" >&6
25801 else
25805 ac_ext=cc
25806 ac_cpp='$CXXCPP $CPPFLAGS'
25807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25811 cat >conftest.$ac_ext <<_ACEOF
25812 /* confdefs.h. */
25813 _ACEOF
25814 cat confdefs.h >>conftest.$ac_ext
25815 cat >>conftest.$ac_ext <<_ACEOF
25816 /* end confdefs.h. */
25817 #include <math.h>
25819 main ()
25821 _modff(0, 0);
25823 return 0;
25825 _ACEOF
25826 rm -f conftest.$ac_objext
25827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25828 (eval $ac_compile) 2>conftest.er1
25829 ac_status=$?
25830 grep -v '^ *+' conftest.er1 >conftest.err
25831 rm -f conftest.er1
25832 cat conftest.err >&5
25833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25834 (exit $ac_status); } &&
25835 { ac_try='test -z "$ac_cxx_werror_flag"
25836 || test ! -s conftest.err'
25837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25838 (eval $ac_try) 2>&5
25839 ac_status=$?
25840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25841 (exit $ac_status); }; } &&
25842 { ac_try='test -s conftest.$ac_objext'
25843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25844 (eval $ac_try) 2>&5
25845 ac_status=$?
25846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25847 (exit $ac_status); }; }; then
25848 glibcxx_cv_func__modff_use=yes
25849 else
25850 echo "$as_me: failed program was:" >&5
25851 sed 's/^/| /' conftest.$ac_ext >&5
25853 glibcxx_cv_func__modff_use=no
25855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25856 ac_ext=c
25857 ac_cpp='$CPP $CPPFLAGS'
25858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25866 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
25867 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
25869 if test x$glibcxx_cv_func__modff_use = x"yes"; then
25871 for ac_func in _modff
25873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25874 echo "$as_me:$LINENO: checking for $ac_func" >&5
25875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25876 if eval "test \"\${$as_ac_var+set}\" = set"; then
25877 echo $ECHO_N "(cached) $ECHO_C" >&6
25878 else
25879 if test x$gcc_no_link = xyes; then
25880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25882 { (exit 1); exit 1; }; }
25884 cat >conftest.$ac_ext <<_ACEOF
25885 /* confdefs.h. */
25886 _ACEOF
25887 cat confdefs.h >>conftest.$ac_ext
25888 cat >>conftest.$ac_ext <<_ACEOF
25889 /* end confdefs.h. */
25890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25892 #define $ac_func innocuous_$ac_func
25894 /* System header to define __stub macros and hopefully few prototypes,
25895 which can conflict with char $ac_func (); below.
25896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25897 <limits.h> exists even on freestanding compilers. */
25899 #ifdef __STDC__
25900 # include <limits.h>
25901 #else
25902 # include <assert.h>
25903 #endif
25905 #undef $ac_func
25907 /* Override any gcc2 internal prototype to avoid an error. */
25908 #ifdef __cplusplus
25909 extern "C"
25911 #endif
25912 /* We use char because int might match the return type of a gcc2
25913 builtin and then its argument prototype would still apply. */
25914 char $ac_func ();
25915 /* The GNU C library defines this for functions which it implements
25916 to always fail with ENOSYS. Some functions are actually named
25917 something starting with __ and the normal name is an alias. */
25918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25919 choke me
25920 #else
25921 char (*f) () = $ac_func;
25922 #endif
25923 #ifdef __cplusplus
25925 #endif
25928 main ()
25930 return f != $ac_func;
25932 return 0;
25934 _ACEOF
25935 rm -f conftest.$ac_objext conftest$ac_exeext
25936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25937 (eval $ac_link) 2>conftest.er1
25938 ac_status=$?
25939 grep -v '^ *+' conftest.er1 >conftest.err
25940 rm -f conftest.er1
25941 cat conftest.err >&5
25942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25943 (exit $ac_status); } &&
25944 { ac_try='test -z "$ac_c_werror_flag"
25945 || test ! -s conftest.err'
25946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25947 (eval $ac_try) 2>&5
25948 ac_status=$?
25949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25950 (exit $ac_status); }; } &&
25951 { ac_try='test -s conftest$ac_exeext'
25952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25953 (eval $ac_try) 2>&5
25954 ac_status=$?
25955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25956 (exit $ac_status); }; }; then
25957 eval "$as_ac_var=yes"
25958 else
25959 echo "$as_me: failed program was:" >&5
25960 sed 's/^/| /' conftest.$ac_ext >&5
25962 eval "$as_ac_var=no"
25964 rm -f conftest.err conftest.$ac_objext \
25965 conftest$ac_exeext conftest.$ac_ext
25967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25969 if test `eval echo '${'$as_ac_var'}'` = yes; then
25970 cat >>confdefs.h <<_ACEOF
25971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25972 _ACEOF
25975 done
25985 echo "$as_me:$LINENO: checking for modf declaration" >&5
25986 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
25987 if test x${glibcxx_cv_func_modf_use+set} != xset; then
25988 if test "${glibcxx_cv_func_modf_use+set}" = set; then
25989 echo $ECHO_N "(cached) $ECHO_C" >&6
25990 else
25994 ac_ext=cc
25995 ac_cpp='$CXXCPP $CPPFLAGS'
25996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26000 cat >conftest.$ac_ext <<_ACEOF
26001 /* confdefs.h. */
26002 _ACEOF
26003 cat confdefs.h >>conftest.$ac_ext
26004 cat >>conftest.$ac_ext <<_ACEOF
26005 /* end confdefs.h. */
26006 #include <math.h>
26008 main ()
26010 modf(0, 0);
26012 return 0;
26014 _ACEOF
26015 rm -f conftest.$ac_objext
26016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26017 (eval $ac_compile) 2>conftest.er1
26018 ac_status=$?
26019 grep -v '^ *+' conftest.er1 >conftest.err
26020 rm -f conftest.er1
26021 cat conftest.err >&5
26022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26023 (exit $ac_status); } &&
26024 { ac_try='test -z "$ac_cxx_werror_flag"
26025 || test ! -s conftest.err'
26026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26027 (eval $ac_try) 2>&5
26028 ac_status=$?
26029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26030 (exit $ac_status); }; } &&
26031 { ac_try='test -s conftest.$ac_objext'
26032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26033 (eval $ac_try) 2>&5
26034 ac_status=$?
26035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26036 (exit $ac_status); }; }; then
26037 glibcxx_cv_func_modf_use=yes
26038 else
26039 echo "$as_me: failed program was:" >&5
26040 sed 's/^/| /' conftest.$ac_ext >&5
26042 glibcxx_cv_func_modf_use=no
26044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26045 ac_ext=c
26046 ac_cpp='$CPP $CPPFLAGS'
26047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26055 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
26056 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
26058 if test x$glibcxx_cv_func_modf_use = x"yes"; then
26060 for ac_func in modf
26062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26063 echo "$as_me:$LINENO: checking for $ac_func" >&5
26064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26065 if eval "test \"\${$as_ac_var+set}\" = set"; then
26066 echo $ECHO_N "(cached) $ECHO_C" >&6
26067 else
26068 if test x$gcc_no_link = xyes; then
26069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26071 { (exit 1); exit 1; }; }
26073 cat >conftest.$ac_ext <<_ACEOF
26074 /* confdefs.h. */
26075 _ACEOF
26076 cat confdefs.h >>conftest.$ac_ext
26077 cat >>conftest.$ac_ext <<_ACEOF
26078 /* end confdefs.h. */
26079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26081 #define $ac_func innocuous_$ac_func
26083 /* System header to define __stub macros and hopefully few prototypes,
26084 which can conflict with char $ac_func (); below.
26085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26086 <limits.h> exists even on freestanding compilers. */
26088 #ifdef __STDC__
26089 # include <limits.h>
26090 #else
26091 # include <assert.h>
26092 #endif
26094 #undef $ac_func
26096 /* Override any gcc2 internal prototype to avoid an error. */
26097 #ifdef __cplusplus
26098 extern "C"
26100 #endif
26101 /* We use char because int might match the return type of a gcc2
26102 builtin and then its argument prototype would still apply. */
26103 char $ac_func ();
26104 /* The GNU C library defines this for functions which it implements
26105 to always fail with ENOSYS. Some functions are actually named
26106 something starting with __ and the normal name is an alias. */
26107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26108 choke me
26109 #else
26110 char (*f) () = $ac_func;
26111 #endif
26112 #ifdef __cplusplus
26114 #endif
26117 main ()
26119 return f != $ac_func;
26121 return 0;
26123 _ACEOF
26124 rm -f conftest.$ac_objext conftest$ac_exeext
26125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26126 (eval $ac_link) 2>conftest.er1
26127 ac_status=$?
26128 grep -v '^ *+' conftest.er1 >conftest.err
26129 rm -f conftest.er1
26130 cat conftest.err >&5
26131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26132 (exit $ac_status); } &&
26133 { ac_try='test -z "$ac_c_werror_flag"
26134 || test ! -s conftest.err'
26135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26136 (eval $ac_try) 2>&5
26137 ac_status=$?
26138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26139 (exit $ac_status); }; } &&
26140 { ac_try='test -s conftest$ac_exeext'
26141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26142 (eval $ac_try) 2>&5
26143 ac_status=$?
26144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26145 (exit $ac_status); }; }; then
26146 eval "$as_ac_var=yes"
26147 else
26148 echo "$as_me: failed program was:" >&5
26149 sed 's/^/| /' conftest.$ac_ext >&5
26151 eval "$as_ac_var=no"
26153 rm -f conftest.err conftest.$ac_objext \
26154 conftest$ac_exeext conftest.$ac_ext
26156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26158 if test `eval echo '${'$as_ac_var'}'` = yes; then
26159 cat >>confdefs.h <<_ACEOF
26160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26161 _ACEOF
26164 done
26166 else
26168 echo "$as_me:$LINENO: checking for _modf declaration" >&5
26169 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
26170 if test x${glibcxx_cv_func__modf_use+set} != xset; then
26171 if test "${glibcxx_cv_func__modf_use+set}" = set; then
26172 echo $ECHO_N "(cached) $ECHO_C" >&6
26173 else
26177 ac_ext=cc
26178 ac_cpp='$CXXCPP $CPPFLAGS'
26179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26183 cat >conftest.$ac_ext <<_ACEOF
26184 /* confdefs.h. */
26185 _ACEOF
26186 cat confdefs.h >>conftest.$ac_ext
26187 cat >>conftest.$ac_ext <<_ACEOF
26188 /* end confdefs.h. */
26189 #include <math.h>
26191 main ()
26193 _modf(0, 0);
26195 return 0;
26197 _ACEOF
26198 rm -f conftest.$ac_objext
26199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26200 (eval $ac_compile) 2>conftest.er1
26201 ac_status=$?
26202 grep -v '^ *+' conftest.er1 >conftest.err
26203 rm -f conftest.er1
26204 cat conftest.err >&5
26205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26206 (exit $ac_status); } &&
26207 { ac_try='test -z "$ac_cxx_werror_flag"
26208 || test ! -s conftest.err'
26209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26210 (eval $ac_try) 2>&5
26211 ac_status=$?
26212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26213 (exit $ac_status); }; } &&
26214 { ac_try='test -s conftest.$ac_objext'
26215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26216 (eval $ac_try) 2>&5
26217 ac_status=$?
26218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26219 (exit $ac_status); }; }; then
26220 glibcxx_cv_func__modf_use=yes
26221 else
26222 echo "$as_me: failed program was:" >&5
26223 sed 's/^/| /' conftest.$ac_ext >&5
26225 glibcxx_cv_func__modf_use=no
26227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26228 ac_ext=c
26229 ac_cpp='$CPP $CPPFLAGS'
26230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26238 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
26239 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
26241 if test x$glibcxx_cv_func__modf_use = x"yes"; then
26243 for ac_func in _modf
26245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26246 echo "$as_me:$LINENO: checking for $ac_func" >&5
26247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26248 if eval "test \"\${$as_ac_var+set}\" = set"; then
26249 echo $ECHO_N "(cached) $ECHO_C" >&6
26250 else
26251 if test x$gcc_no_link = xyes; then
26252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26254 { (exit 1); exit 1; }; }
26256 cat >conftest.$ac_ext <<_ACEOF
26257 /* confdefs.h. */
26258 _ACEOF
26259 cat confdefs.h >>conftest.$ac_ext
26260 cat >>conftest.$ac_ext <<_ACEOF
26261 /* end confdefs.h. */
26262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26264 #define $ac_func innocuous_$ac_func
26266 /* System header to define __stub macros and hopefully few prototypes,
26267 which can conflict with char $ac_func (); below.
26268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26269 <limits.h> exists even on freestanding compilers. */
26271 #ifdef __STDC__
26272 # include <limits.h>
26273 #else
26274 # include <assert.h>
26275 #endif
26277 #undef $ac_func
26279 /* Override any gcc2 internal prototype to avoid an error. */
26280 #ifdef __cplusplus
26281 extern "C"
26283 #endif
26284 /* We use char because int might match the return type of a gcc2
26285 builtin and then its argument prototype would still apply. */
26286 char $ac_func ();
26287 /* The GNU C library defines this for functions which it implements
26288 to always fail with ENOSYS. Some functions are actually named
26289 something starting with __ and the normal name is an alias. */
26290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26291 choke me
26292 #else
26293 char (*f) () = $ac_func;
26294 #endif
26295 #ifdef __cplusplus
26297 #endif
26300 main ()
26302 return f != $ac_func;
26304 return 0;
26306 _ACEOF
26307 rm -f conftest.$ac_objext conftest$ac_exeext
26308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26309 (eval $ac_link) 2>conftest.er1
26310 ac_status=$?
26311 grep -v '^ *+' conftest.er1 >conftest.err
26312 rm -f conftest.er1
26313 cat conftest.err >&5
26314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26315 (exit $ac_status); } &&
26316 { ac_try='test -z "$ac_c_werror_flag"
26317 || test ! -s conftest.err'
26318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26319 (eval $ac_try) 2>&5
26320 ac_status=$?
26321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26322 (exit $ac_status); }; } &&
26323 { ac_try='test -s conftest$ac_exeext'
26324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26325 (eval $ac_try) 2>&5
26326 ac_status=$?
26327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26328 (exit $ac_status); }; }; then
26329 eval "$as_ac_var=yes"
26330 else
26331 echo "$as_me: failed program was:" >&5
26332 sed 's/^/| /' conftest.$ac_ext >&5
26334 eval "$as_ac_var=no"
26336 rm -f conftest.err conftest.$ac_objext \
26337 conftest$ac_exeext conftest.$ac_ext
26339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26341 if test `eval echo '${'$as_ac_var'}'` = yes; then
26342 cat >>confdefs.h <<_ACEOF
26343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26344 _ACEOF
26347 done
26357 echo "$as_me:$LINENO: checking for powf declaration" >&5
26358 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
26359 if test x${glibcxx_cv_func_powf_use+set} != xset; then
26360 if test "${glibcxx_cv_func_powf_use+set}" = set; then
26361 echo $ECHO_N "(cached) $ECHO_C" >&6
26362 else
26366 ac_ext=cc
26367 ac_cpp='$CXXCPP $CPPFLAGS'
26368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26372 cat >conftest.$ac_ext <<_ACEOF
26373 /* confdefs.h. */
26374 _ACEOF
26375 cat confdefs.h >>conftest.$ac_ext
26376 cat >>conftest.$ac_ext <<_ACEOF
26377 /* end confdefs.h. */
26378 #include <math.h>
26380 main ()
26382 powf(0, 0);
26384 return 0;
26386 _ACEOF
26387 rm -f conftest.$ac_objext
26388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26389 (eval $ac_compile) 2>conftest.er1
26390 ac_status=$?
26391 grep -v '^ *+' conftest.er1 >conftest.err
26392 rm -f conftest.er1
26393 cat conftest.err >&5
26394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26395 (exit $ac_status); } &&
26396 { ac_try='test -z "$ac_cxx_werror_flag"
26397 || test ! -s conftest.err'
26398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26399 (eval $ac_try) 2>&5
26400 ac_status=$?
26401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26402 (exit $ac_status); }; } &&
26403 { ac_try='test -s conftest.$ac_objext'
26404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26405 (eval $ac_try) 2>&5
26406 ac_status=$?
26407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26408 (exit $ac_status); }; }; then
26409 glibcxx_cv_func_powf_use=yes
26410 else
26411 echo "$as_me: failed program was:" >&5
26412 sed 's/^/| /' conftest.$ac_ext >&5
26414 glibcxx_cv_func_powf_use=no
26416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26417 ac_ext=c
26418 ac_cpp='$CPP $CPPFLAGS'
26419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26427 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
26428 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
26430 if test x$glibcxx_cv_func_powf_use = x"yes"; then
26432 for ac_func in powf
26434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26435 echo "$as_me:$LINENO: checking for $ac_func" >&5
26436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26437 if eval "test \"\${$as_ac_var+set}\" = set"; then
26438 echo $ECHO_N "(cached) $ECHO_C" >&6
26439 else
26440 if test x$gcc_no_link = xyes; then
26441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26443 { (exit 1); exit 1; }; }
26445 cat >conftest.$ac_ext <<_ACEOF
26446 /* confdefs.h. */
26447 _ACEOF
26448 cat confdefs.h >>conftest.$ac_ext
26449 cat >>conftest.$ac_ext <<_ACEOF
26450 /* end confdefs.h. */
26451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26453 #define $ac_func innocuous_$ac_func
26455 /* System header to define __stub macros and hopefully few prototypes,
26456 which can conflict with char $ac_func (); below.
26457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26458 <limits.h> exists even on freestanding compilers. */
26460 #ifdef __STDC__
26461 # include <limits.h>
26462 #else
26463 # include <assert.h>
26464 #endif
26466 #undef $ac_func
26468 /* Override any gcc2 internal prototype to avoid an error. */
26469 #ifdef __cplusplus
26470 extern "C"
26472 #endif
26473 /* We use char because int might match the return type of a gcc2
26474 builtin and then its argument prototype would still apply. */
26475 char $ac_func ();
26476 /* The GNU C library defines this for functions which it implements
26477 to always fail with ENOSYS. Some functions are actually named
26478 something starting with __ and the normal name is an alias. */
26479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26480 choke me
26481 #else
26482 char (*f) () = $ac_func;
26483 #endif
26484 #ifdef __cplusplus
26486 #endif
26489 main ()
26491 return f != $ac_func;
26493 return 0;
26495 _ACEOF
26496 rm -f conftest.$ac_objext conftest$ac_exeext
26497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26498 (eval $ac_link) 2>conftest.er1
26499 ac_status=$?
26500 grep -v '^ *+' conftest.er1 >conftest.err
26501 rm -f conftest.er1
26502 cat conftest.err >&5
26503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26504 (exit $ac_status); } &&
26505 { ac_try='test -z "$ac_c_werror_flag"
26506 || test ! -s conftest.err'
26507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26508 (eval $ac_try) 2>&5
26509 ac_status=$?
26510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26511 (exit $ac_status); }; } &&
26512 { ac_try='test -s conftest$ac_exeext'
26513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26514 (eval $ac_try) 2>&5
26515 ac_status=$?
26516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26517 (exit $ac_status); }; }; then
26518 eval "$as_ac_var=yes"
26519 else
26520 echo "$as_me: failed program was:" >&5
26521 sed 's/^/| /' conftest.$ac_ext >&5
26523 eval "$as_ac_var=no"
26525 rm -f conftest.err conftest.$ac_objext \
26526 conftest$ac_exeext conftest.$ac_ext
26528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26530 if test `eval echo '${'$as_ac_var'}'` = yes; then
26531 cat >>confdefs.h <<_ACEOF
26532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26533 _ACEOF
26536 done
26538 else
26540 echo "$as_me:$LINENO: checking for _powf declaration" >&5
26541 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
26542 if test x${glibcxx_cv_func__powf_use+set} != xset; then
26543 if test "${glibcxx_cv_func__powf_use+set}" = set; then
26544 echo $ECHO_N "(cached) $ECHO_C" >&6
26545 else
26549 ac_ext=cc
26550 ac_cpp='$CXXCPP $CPPFLAGS'
26551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26555 cat >conftest.$ac_ext <<_ACEOF
26556 /* confdefs.h. */
26557 _ACEOF
26558 cat confdefs.h >>conftest.$ac_ext
26559 cat >>conftest.$ac_ext <<_ACEOF
26560 /* end confdefs.h. */
26561 #include <math.h>
26563 main ()
26565 _powf(0, 0);
26567 return 0;
26569 _ACEOF
26570 rm -f conftest.$ac_objext
26571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26572 (eval $ac_compile) 2>conftest.er1
26573 ac_status=$?
26574 grep -v '^ *+' conftest.er1 >conftest.err
26575 rm -f conftest.er1
26576 cat conftest.err >&5
26577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26578 (exit $ac_status); } &&
26579 { ac_try='test -z "$ac_cxx_werror_flag"
26580 || test ! -s conftest.err'
26581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26582 (eval $ac_try) 2>&5
26583 ac_status=$?
26584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26585 (exit $ac_status); }; } &&
26586 { ac_try='test -s conftest.$ac_objext'
26587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26588 (eval $ac_try) 2>&5
26589 ac_status=$?
26590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26591 (exit $ac_status); }; }; then
26592 glibcxx_cv_func__powf_use=yes
26593 else
26594 echo "$as_me: failed program was:" >&5
26595 sed 's/^/| /' conftest.$ac_ext >&5
26597 glibcxx_cv_func__powf_use=no
26599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26600 ac_ext=c
26601 ac_cpp='$CPP $CPPFLAGS'
26602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26610 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
26611 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
26613 if test x$glibcxx_cv_func__powf_use = x"yes"; then
26615 for ac_func in _powf
26617 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26618 echo "$as_me:$LINENO: checking for $ac_func" >&5
26619 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26620 if eval "test \"\${$as_ac_var+set}\" = set"; then
26621 echo $ECHO_N "(cached) $ECHO_C" >&6
26622 else
26623 if test x$gcc_no_link = xyes; then
26624 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26625 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26626 { (exit 1); exit 1; }; }
26628 cat >conftest.$ac_ext <<_ACEOF
26629 /* confdefs.h. */
26630 _ACEOF
26631 cat confdefs.h >>conftest.$ac_ext
26632 cat >>conftest.$ac_ext <<_ACEOF
26633 /* end confdefs.h. */
26634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26636 #define $ac_func innocuous_$ac_func
26638 /* System header to define __stub macros and hopefully few prototypes,
26639 which can conflict with char $ac_func (); below.
26640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26641 <limits.h> exists even on freestanding compilers. */
26643 #ifdef __STDC__
26644 # include <limits.h>
26645 #else
26646 # include <assert.h>
26647 #endif
26649 #undef $ac_func
26651 /* Override any gcc2 internal prototype to avoid an error. */
26652 #ifdef __cplusplus
26653 extern "C"
26655 #endif
26656 /* We use char because int might match the return type of a gcc2
26657 builtin and then its argument prototype would still apply. */
26658 char $ac_func ();
26659 /* The GNU C library defines this for functions which it implements
26660 to always fail with ENOSYS. Some functions are actually named
26661 something starting with __ and the normal name is an alias. */
26662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26663 choke me
26664 #else
26665 char (*f) () = $ac_func;
26666 #endif
26667 #ifdef __cplusplus
26669 #endif
26672 main ()
26674 return f != $ac_func;
26676 return 0;
26678 _ACEOF
26679 rm -f conftest.$ac_objext conftest$ac_exeext
26680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26681 (eval $ac_link) 2>conftest.er1
26682 ac_status=$?
26683 grep -v '^ *+' conftest.er1 >conftest.err
26684 rm -f conftest.er1
26685 cat conftest.err >&5
26686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26687 (exit $ac_status); } &&
26688 { ac_try='test -z "$ac_c_werror_flag"
26689 || test ! -s conftest.err'
26690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26691 (eval $ac_try) 2>&5
26692 ac_status=$?
26693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26694 (exit $ac_status); }; } &&
26695 { ac_try='test -s conftest$ac_exeext'
26696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26697 (eval $ac_try) 2>&5
26698 ac_status=$?
26699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26700 (exit $ac_status); }; }; then
26701 eval "$as_ac_var=yes"
26702 else
26703 echo "$as_me: failed program was:" >&5
26704 sed 's/^/| /' conftest.$ac_ext >&5
26706 eval "$as_ac_var=no"
26708 rm -f conftest.err conftest.$ac_objext \
26709 conftest$ac_exeext conftest.$ac_ext
26711 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26712 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26713 if test `eval echo '${'$as_ac_var'}'` = yes; then
26714 cat >>confdefs.h <<_ACEOF
26715 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26716 _ACEOF
26719 done
26729 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
26730 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
26731 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
26732 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
26733 echo $ECHO_N "(cached) $ECHO_C" >&6
26734 else
26738 ac_ext=cc
26739 ac_cpp='$CXXCPP $CPPFLAGS'
26740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26744 cat >conftest.$ac_ext <<_ACEOF
26745 /* confdefs.h. */
26746 _ACEOF
26747 cat confdefs.h >>conftest.$ac_ext
26748 cat >>conftest.$ac_ext <<_ACEOF
26749 /* end confdefs.h. */
26750 #include <math.h>
26751 #ifdef HAVE_IEEEFP_H
26752 #include <ieeefp.h>
26753 #endif
26756 main ()
26758 sqrtf(0);
26760 return 0;
26762 _ACEOF
26763 rm -f conftest.$ac_objext
26764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26765 (eval $ac_compile) 2>conftest.er1
26766 ac_status=$?
26767 grep -v '^ *+' conftest.er1 >conftest.err
26768 rm -f conftest.er1
26769 cat conftest.err >&5
26770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26771 (exit $ac_status); } &&
26772 { ac_try='test -z "$ac_cxx_werror_flag"
26773 || test ! -s conftest.err'
26774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26775 (eval $ac_try) 2>&5
26776 ac_status=$?
26777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26778 (exit $ac_status); }; } &&
26779 { ac_try='test -s conftest.$ac_objext'
26780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26781 (eval $ac_try) 2>&5
26782 ac_status=$?
26783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26784 (exit $ac_status); }; }; then
26785 glibcxx_cv_func_sqrtf_use=yes
26786 else
26787 echo "$as_me: failed program was:" >&5
26788 sed 's/^/| /' conftest.$ac_ext >&5
26790 glibcxx_cv_func_sqrtf_use=no
26792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26793 ac_ext=c
26794 ac_cpp='$CPP $CPPFLAGS'
26795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26803 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
26804 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
26806 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
26808 for ac_func in sqrtf
26810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26811 echo "$as_me:$LINENO: checking for $ac_func" >&5
26812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26813 if eval "test \"\${$as_ac_var+set}\" = set"; then
26814 echo $ECHO_N "(cached) $ECHO_C" >&6
26815 else
26816 if test x$gcc_no_link = xyes; then
26817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26819 { (exit 1); exit 1; }; }
26821 cat >conftest.$ac_ext <<_ACEOF
26822 /* confdefs.h. */
26823 _ACEOF
26824 cat confdefs.h >>conftest.$ac_ext
26825 cat >>conftest.$ac_ext <<_ACEOF
26826 /* end confdefs.h. */
26827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26829 #define $ac_func innocuous_$ac_func
26831 /* System header to define __stub macros and hopefully few prototypes,
26832 which can conflict with char $ac_func (); below.
26833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26834 <limits.h> exists even on freestanding compilers. */
26836 #ifdef __STDC__
26837 # include <limits.h>
26838 #else
26839 # include <assert.h>
26840 #endif
26842 #undef $ac_func
26844 /* Override any gcc2 internal prototype to avoid an error. */
26845 #ifdef __cplusplus
26846 extern "C"
26848 #endif
26849 /* We use char because int might match the return type of a gcc2
26850 builtin and then its argument prototype would still apply. */
26851 char $ac_func ();
26852 /* The GNU C library defines this for functions which it implements
26853 to always fail with ENOSYS. Some functions are actually named
26854 something starting with __ and the normal name is an alias. */
26855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26856 choke me
26857 #else
26858 char (*f) () = $ac_func;
26859 #endif
26860 #ifdef __cplusplus
26862 #endif
26865 main ()
26867 return f != $ac_func;
26869 return 0;
26871 _ACEOF
26872 rm -f conftest.$ac_objext conftest$ac_exeext
26873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26874 (eval $ac_link) 2>conftest.er1
26875 ac_status=$?
26876 grep -v '^ *+' conftest.er1 >conftest.err
26877 rm -f conftest.er1
26878 cat conftest.err >&5
26879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26880 (exit $ac_status); } &&
26881 { ac_try='test -z "$ac_c_werror_flag"
26882 || test ! -s conftest.err'
26883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26884 (eval $ac_try) 2>&5
26885 ac_status=$?
26886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26887 (exit $ac_status); }; } &&
26888 { ac_try='test -s conftest$ac_exeext'
26889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26890 (eval $ac_try) 2>&5
26891 ac_status=$?
26892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26893 (exit $ac_status); }; }; then
26894 eval "$as_ac_var=yes"
26895 else
26896 echo "$as_me: failed program was:" >&5
26897 sed 's/^/| /' conftest.$ac_ext >&5
26899 eval "$as_ac_var=no"
26901 rm -f conftest.err conftest.$ac_objext \
26902 conftest$ac_exeext conftest.$ac_ext
26904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26906 if test `eval echo '${'$as_ac_var'}'` = yes; then
26907 cat >>confdefs.h <<_ACEOF
26908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26909 _ACEOF
26912 done
26914 else
26916 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
26917 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
26918 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
26919 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
26920 echo $ECHO_N "(cached) $ECHO_C" >&6
26921 else
26925 ac_ext=cc
26926 ac_cpp='$CXXCPP $CPPFLAGS'
26927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26931 cat >conftest.$ac_ext <<_ACEOF
26932 /* confdefs.h. */
26933 _ACEOF
26934 cat confdefs.h >>conftest.$ac_ext
26935 cat >>conftest.$ac_ext <<_ACEOF
26936 /* end confdefs.h. */
26937 #include <math.h>
26938 #ifdef HAVE_IEEEFP_H
26939 #include <ieeefp.h>
26940 #endif
26943 main ()
26945 _sqrtf(0);
26947 return 0;
26949 _ACEOF
26950 rm -f conftest.$ac_objext
26951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26952 (eval $ac_compile) 2>conftest.er1
26953 ac_status=$?
26954 grep -v '^ *+' conftest.er1 >conftest.err
26955 rm -f conftest.er1
26956 cat conftest.err >&5
26957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26958 (exit $ac_status); } &&
26959 { ac_try='test -z "$ac_cxx_werror_flag"
26960 || test ! -s conftest.err'
26961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26962 (eval $ac_try) 2>&5
26963 ac_status=$?
26964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26965 (exit $ac_status); }; } &&
26966 { ac_try='test -s conftest.$ac_objext'
26967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26968 (eval $ac_try) 2>&5
26969 ac_status=$?
26970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26971 (exit $ac_status); }; }; then
26972 glibcxx_cv_func__sqrtf_use=yes
26973 else
26974 echo "$as_me: failed program was:" >&5
26975 sed 's/^/| /' conftest.$ac_ext >&5
26977 glibcxx_cv_func__sqrtf_use=no
26979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26980 ac_ext=c
26981 ac_cpp='$CPP $CPPFLAGS'
26982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26990 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
26991 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
26993 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
26995 for ac_func in _sqrtf
26997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26998 echo "$as_me:$LINENO: checking for $ac_func" >&5
26999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27000 if eval "test \"\${$as_ac_var+set}\" = set"; then
27001 echo $ECHO_N "(cached) $ECHO_C" >&6
27002 else
27003 if test x$gcc_no_link = xyes; then
27004 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27006 { (exit 1); exit 1; }; }
27008 cat >conftest.$ac_ext <<_ACEOF
27009 /* confdefs.h. */
27010 _ACEOF
27011 cat confdefs.h >>conftest.$ac_ext
27012 cat >>conftest.$ac_ext <<_ACEOF
27013 /* end confdefs.h. */
27014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27016 #define $ac_func innocuous_$ac_func
27018 /* System header to define __stub macros and hopefully few prototypes,
27019 which can conflict with char $ac_func (); below.
27020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27021 <limits.h> exists even on freestanding compilers. */
27023 #ifdef __STDC__
27024 # include <limits.h>
27025 #else
27026 # include <assert.h>
27027 #endif
27029 #undef $ac_func
27031 /* Override any gcc2 internal prototype to avoid an error. */
27032 #ifdef __cplusplus
27033 extern "C"
27035 #endif
27036 /* We use char because int might match the return type of a gcc2
27037 builtin and then its argument prototype would still apply. */
27038 char $ac_func ();
27039 /* The GNU C library defines this for functions which it implements
27040 to always fail with ENOSYS. Some functions are actually named
27041 something starting with __ and the normal name is an alias. */
27042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27043 choke me
27044 #else
27045 char (*f) () = $ac_func;
27046 #endif
27047 #ifdef __cplusplus
27049 #endif
27052 main ()
27054 return f != $ac_func;
27056 return 0;
27058 _ACEOF
27059 rm -f conftest.$ac_objext conftest$ac_exeext
27060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27061 (eval $ac_link) 2>conftest.er1
27062 ac_status=$?
27063 grep -v '^ *+' conftest.er1 >conftest.err
27064 rm -f conftest.er1
27065 cat conftest.err >&5
27066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27067 (exit $ac_status); } &&
27068 { ac_try='test -z "$ac_c_werror_flag"
27069 || test ! -s conftest.err'
27070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27071 (eval $ac_try) 2>&5
27072 ac_status=$?
27073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27074 (exit $ac_status); }; } &&
27075 { ac_try='test -s conftest$ac_exeext'
27076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27077 (eval $ac_try) 2>&5
27078 ac_status=$?
27079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27080 (exit $ac_status); }; }; then
27081 eval "$as_ac_var=yes"
27082 else
27083 echo "$as_me: failed program was:" >&5
27084 sed 's/^/| /' conftest.$ac_ext >&5
27086 eval "$as_ac_var=no"
27088 rm -f conftest.err conftest.$ac_objext \
27089 conftest$ac_exeext conftest.$ac_ext
27091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27093 if test `eval echo '${'$as_ac_var'}'` = yes; then
27094 cat >>confdefs.h <<_ACEOF
27095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27096 _ACEOF
27099 done
27109 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
27110 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
27111 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
27112 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
27113 echo $ECHO_N "(cached) $ECHO_C" >&6
27114 else
27118 ac_ext=cc
27119 ac_cpp='$CXXCPP $CPPFLAGS'
27120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27124 cat >conftest.$ac_ext <<_ACEOF
27125 /* confdefs.h. */
27126 _ACEOF
27127 cat confdefs.h >>conftest.$ac_ext
27128 cat >>conftest.$ac_ext <<_ACEOF
27129 /* end confdefs.h. */
27130 #include <math.h>
27132 main ()
27134 sincosf(0, 0, 0);
27136 return 0;
27138 _ACEOF
27139 rm -f conftest.$ac_objext
27140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27141 (eval $ac_compile) 2>conftest.er1
27142 ac_status=$?
27143 grep -v '^ *+' conftest.er1 >conftest.err
27144 rm -f conftest.er1
27145 cat conftest.err >&5
27146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27147 (exit $ac_status); } &&
27148 { ac_try='test -z "$ac_cxx_werror_flag"
27149 || test ! -s conftest.err'
27150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27151 (eval $ac_try) 2>&5
27152 ac_status=$?
27153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27154 (exit $ac_status); }; } &&
27155 { ac_try='test -s conftest.$ac_objext'
27156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27157 (eval $ac_try) 2>&5
27158 ac_status=$?
27159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27160 (exit $ac_status); }; }; then
27161 glibcxx_cv_func_sincosf_use=yes
27162 else
27163 echo "$as_me: failed program was:" >&5
27164 sed 's/^/| /' conftest.$ac_ext >&5
27166 glibcxx_cv_func_sincosf_use=no
27168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27169 ac_ext=c
27170 ac_cpp='$CPP $CPPFLAGS'
27171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27179 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
27180 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
27182 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
27184 for ac_func in sincosf
27186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27187 echo "$as_me:$LINENO: checking for $ac_func" >&5
27188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27189 if eval "test \"\${$as_ac_var+set}\" = set"; then
27190 echo $ECHO_N "(cached) $ECHO_C" >&6
27191 else
27192 if test x$gcc_no_link = xyes; then
27193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27195 { (exit 1); exit 1; }; }
27197 cat >conftest.$ac_ext <<_ACEOF
27198 /* confdefs.h. */
27199 _ACEOF
27200 cat confdefs.h >>conftest.$ac_ext
27201 cat >>conftest.$ac_ext <<_ACEOF
27202 /* end confdefs.h. */
27203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27205 #define $ac_func innocuous_$ac_func
27207 /* System header to define __stub macros and hopefully few prototypes,
27208 which can conflict with char $ac_func (); below.
27209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27210 <limits.h> exists even on freestanding compilers. */
27212 #ifdef __STDC__
27213 # include <limits.h>
27214 #else
27215 # include <assert.h>
27216 #endif
27218 #undef $ac_func
27220 /* Override any gcc2 internal prototype to avoid an error. */
27221 #ifdef __cplusplus
27222 extern "C"
27224 #endif
27225 /* We use char because int might match the return type of a gcc2
27226 builtin and then its argument prototype would still apply. */
27227 char $ac_func ();
27228 /* The GNU C library defines this for functions which it implements
27229 to always fail with ENOSYS. Some functions are actually named
27230 something starting with __ and the normal name is an alias. */
27231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27232 choke me
27233 #else
27234 char (*f) () = $ac_func;
27235 #endif
27236 #ifdef __cplusplus
27238 #endif
27241 main ()
27243 return f != $ac_func;
27245 return 0;
27247 _ACEOF
27248 rm -f conftest.$ac_objext conftest$ac_exeext
27249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27250 (eval $ac_link) 2>conftest.er1
27251 ac_status=$?
27252 grep -v '^ *+' conftest.er1 >conftest.err
27253 rm -f conftest.er1
27254 cat conftest.err >&5
27255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27256 (exit $ac_status); } &&
27257 { ac_try='test -z "$ac_c_werror_flag"
27258 || test ! -s conftest.err'
27259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27260 (eval $ac_try) 2>&5
27261 ac_status=$?
27262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27263 (exit $ac_status); }; } &&
27264 { ac_try='test -s conftest$ac_exeext'
27265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27266 (eval $ac_try) 2>&5
27267 ac_status=$?
27268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27269 (exit $ac_status); }; }; then
27270 eval "$as_ac_var=yes"
27271 else
27272 echo "$as_me: failed program was:" >&5
27273 sed 's/^/| /' conftest.$ac_ext >&5
27275 eval "$as_ac_var=no"
27277 rm -f conftest.err conftest.$ac_objext \
27278 conftest$ac_exeext conftest.$ac_ext
27280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27282 if test `eval echo '${'$as_ac_var'}'` = yes; then
27283 cat >>confdefs.h <<_ACEOF
27284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27285 _ACEOF
27288 done
27290 else
27292 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
27293 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
27294 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
27295 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
27296 echo $ECHO_N "(cached) $ECHO_C" >&6
27297 else
27301 ac_ext=cc
27302 ac_cpp='$CXXCPP $CPPFLAGS'
27303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27307 cat >conftest.$ac_ext <<_ACEOF
27308 /* confdefs.h. */
27309 _ACEOF
27310 cat confdefs.h >>conftest.$ac_ext
27311 cat >>conftest.$ac_ext <<_ACEOF
27312 /* end confdefs.h. */
27313 #include <math.h>
27315 main ()
27317 _sincosf(0, 0, 0);
27319 return 0;
27321 _ACEOF
27322 rm -f conftest.$ac_objext
27323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27324 (eval $ac_compile) 2>conftest.er1
27325 ac_status=$?
27326 grep -v '^ *+' conftest.er1 >conftest.err
27327 rm -f conftest.er1
27328 cat conftest.err >&5
27329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27330 (exit $ac_status); } &&
27331 { ac_try='test -z "$ac_cxx_werror_flag"
27332 || test ! -s conftest.err'
27333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27334 (eval $ac_try) 2>&5
27335 ac_status=$?
27336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27337 (exit $ac_status); }; } &&
27338 { ac_try='test -s conftest.$ac_objext'
27339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27340 (eval $ac_try) 2>&5
27341 ac_status=$?
27342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27343 (exit $ac_status); }; }; then
27344 glibcxx_cv_func__sincosf_use=yes
27345 else
27346 echo "$as_me: failed program was:" >&5
27347 sed 's/^/| /' conftest.$ac_ext >&5
27349 glibcxx_cv_func__sincosf_use=no
27351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27352 ac_ext=c
27353 ac_cpp='$CPP $CPPFLAGS'
27354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27362 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
27363 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
27365 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
27367 for ac_func in _sincosf
27369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27370 echo "$as_me:$LINENO: checking for $ac_func" >&5
27371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27372 if eval "test \"\${$as_ac_var+set}\" = set"; then
27373 echo $ECHO_N "(cached) $ECHO_C" >&6
27374 else
27375 if test x$gcc_no_link = xyes; then
27376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27378 { (exit 1); exit 1; }; }
27380 cat >conftest.$ac_ext <<_ACEOF
27381 /* confdefs.h. */
27382 _ACEOF
27383 cat confdefs.h >>conftest.$ac_ext
27384 cat >>conftest.$ac_ext <<_ACEOF
27385 /* end confdefs.h. */
27386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27388 #define $ac_func innocuous_$ac_func
27390 /* System header to define __stub macros and hopefully few prototypes,
27391 which can conflict with char $ac_func (); below.
27392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27393 <limits.h> exists even on freestanding compilers. */
27395 #ifdef __STDC__
27396 # include <limits.h>
27397 #else
27398 # include <assert.h>
27399 #endif
27401 #undef $ac_func
27403 /* Override any gcc2 internal prototype to avoid an error. */
27404 #ifdef __cplusplus
27405 extern "C"
27407 #endif
27408 /* We use char because int might match the return type of a gcc2
27409 builtin and then its argument prototype would still apply. */
27410 char $ac_func ();
27411 /* The GNU C library defines this for functions which it implements
27412 to always fail with ENOSYS. Some functions are actually named
27413 something starting with __ and the normal name is an alias. */
27414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27415 choke me
27416 #else
27417 char (*f) () = $ac_func;
27418 #endif
27419 #ifdef __cplusplus
27421 #endif
27424 main ()
27426 return f != $ac_func;
27428 return 0;
27430 _ACEOF
27431 rm -f conftest.$ac_objext conftest$ac_exeext
27432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27433 (eval $ac_link) 2>conftest.er1
27434 ac_status=$?
27435 grep -v '^ *+' conftest.er1 >conftest.err
27436 rm -f conftest.er1
27437 cat conftest.err >&5
27438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27439 (exit $ac_status); } &&
27440 { ac_try='test -z "$ac_c_werror_flag"
27441 || test ! -s conftest.err'
27442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27443 (eval $ac_try) 2>&5
27444 ac_status=$?
27445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27446 (exit $ac_status); }; } &&
27447 { ac_try='test -s conftest$ac_exeext'
27448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27449 (eval $ac_try) 2>&5
27450 ac_status=$?
27451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27452 (exit $ac_status); }; }; then
27453 eval "$as_ac_var=yes"
27454 else
27455 echo "$as_me: failed program was:" >&5
27456 sed 's/^/| /' conftest.$ac_ext >&5
27458 eval "$as_ac_var=no"
27460 rm -f conftest.err conftest.$ac_objext \
27461 conftest$ac_exeext conftest.$ac_ext
27463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27465 if test `eval echo '${'$as_ac_var'}'` = yes; then
27466 cat >>confdefs.h <<_ACEOF
27467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27468 _ACEOF
27471 done
27481 echo "$as_me:$LINENO: checking for finitef declaration" >&5
27482 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
27483 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
27484 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
27485 echo $ECHO_N "(cached) $ECHO_C" >&6
27486 else
27490 ac_ext=cc
27491 ac_cpp='$CXXCPP $CPPFLAGS'
27492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27496 cat >conftest.$ac_ext <<_ACEOF
27497 /* confdefs.h. */
27498 _ACEOF
27499 cat confdefs.h >>conftest.$ac_ext
27500 cat >>conftest.$ac_ext <<_ACEOF
27501 /* end confdefs.h. */
27502 #include <math.h>
27503 #ifdef HAVE_IEEEFP_H
27504 #include <ieeefp.h>
27505 #endif
27508 main ()
27510 finitef(0);
27512 return 0;
27514 _ACEOF
27515 rm -f conftest.$ac_objext
27516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27517 (eval $ac_compile) 2>conftest.er1
27518 ac_status=$?
27519 grep -v '^ *+' conftest.er1 >conftest.err
27520 rm -f conftest.er1
27521 cat conftest.err >&5
27522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27523 (exit $ac_status); } &&
27524 { ac_try='test -z "$ac_cxx_werror_flag"
27525 || test ! -s conftest.err'
27526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27527 (eval $ac_try) 2>&5
27528 ac_status=$?
27529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27530 (exit $ac_status); }; } &&
27531 { ac_try='test -s conftest.$ac_objext'
27532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27533 (eval $ac_try) 2>&5
27534 ac_status=$?
27535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27536 (exit $ac_status); }; }; then
27537 glibcxx_cv_func_finitef_use=yes
27538 else
27539 echo "$as_me: failed program was:" >&5
27540 sed 's/^/| /' conftest.$ac_ext >&5
27542 glibcxx_cv_func_finitef_use=no
27544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27545 ac_ext=c
27546 ac_cpp='$CPP $CPPFLAGS'
27547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27555 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
27556 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
27558 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
27560 for ac_func in finitef
27562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27563 echo "$as_me:$LINENO: checking for $ac_func" >&5
27564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27565 if eval "test \"\${$as_ac_var+set}\" = set"; then
27566 echo $ECHO_N "(cached) $ECHO_C" >&6
27567 else
27568 if test x$gcc_no_link = xyes; then
27569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27571 { (exit 1); exit 1; }; }
27573 cat >conftest.$ac_ext <<_ACEOF
27574 /* confdefs.h. */
27575 _ACEOF
27576 cat confdefs.h >>conftest.$ac_ext
27577 cat >>conftest.$ac_ext <<_ACEOF
27578 /* end confdefs.h. */
27579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27581 #define $ac_func innocuous_$ac_func
27583 /* System header to define __stub macros and hopefully few prototypes,
27584 which can conflict with char $ac_func (); below.
27585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27586 <limits.h> exists even on freestanding compilers. */
27588 #ifdef __STDC__
27589 # include <limits.h>
27590 #else
27591 # include <assert.h>
27592 #endif
27594 #undef $ac_func
27596 /* Override any gcc2 internal prototype to avoid an error. */
27597 #ifdef __cplusplus
27598 extern "C"
27600 #endif
27601 /* We use char because int might match the return type of a gcc2
27602 builtin and then its argument prototype would still apply. */
27603 char $ac_func ();
27604 /* The GNU C library defines this for functions which it implements
27605 to always fail with ENOSYS. Some functions are actually named
27606 something starting with __ and the normal name is an alias. */
27607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27608 choke me
27609 #else
27610 char (*f) () = $ac_func;
27611 #endif
27612 #ifdef __cplusplus
27614 #endif
27617 main ()
27619 return f != $ac_func;
27621 return 0;
27623 _ACEOF
27624 rm -f conftest.$ac_objext conftest$ac_exeext
27625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27626 (eval $ac_link) 2>conftest.er1
27627 ac_status=$?
27628 grep -v '^ *+' conftest.er1 >conftest.err
27629 rm -f conftest.er1
27630 cat conftest.err >&5
27631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27632 (exit $ac_status); } &&
27633 { ac_try='test -z "$ac_c_werror_flag"
27634 || test ! -s conftest.err'
27635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27636 (eval $ac_try) 2>&5
27637 ac_status=$?
27638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27639 (exit $ac_status); }; } &&
27640 { ac_try='test -s conftest$ac_exeext'
27641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27642 (eval $ac_try) 2>&5
27643 ac_status=$?
27644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27645 (exit $ac_status); }; }; then
27646 eval "$as_ac_var=yes"
27647 else
27648 echo "$as_me: failed program was:" >&5
27649 sed 's/^/| /' conftest.$ac_ext >&5
27651 eval "$as_ac_var=no"
27653 rm -f conftest.err conftest.$ac_objext \
27654 conftest$ac_exeext conftest.$ac_ext
27656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27657 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27658 if test `eval echo '${'$as_ac_var'}'` = yes; then
27659 cat >>confdefs.h <<_ACEOF
27660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27661 _ACEOF
27664 done
27666 else
27668 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
27669 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
27670 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
27671 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
27672 echo $ECHO_N "(cached) $ECHO_C" >&6
27673 else
27677 ac_ext=cc
27678 ac_cpp='$CXXCPP $CPPFLAGS'
27679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27683 cat >conftest.$ac_ext <<_ACEOF
27684 /* confdefs.h. */
27685 _ACEOF
27686 cat confdefs.h >>conftest.$ac_ext
27687 cat >>conftest.$ac_ext <<_ACEOF
27688 /* end confdefs.h. */
27689 #include <math.h>
27690 #ifdef HAVE_IEEEFP_H
27691 #include <ieeefp.h>
27692 #endif
27695 main ()
27697 _finitef(0);
27699 return 0;
27701 _ACEOF
27702 rm -f conftest.$ac_objext
27703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27704 (eval $ac_compile) 2>conftest.er1
27705 ac_status=$?
27706 grep -v '^ *+' conftest.er1 >conftest.err
27707 rm -f conftest.er1
27708 cat conftest.err >&5
27709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27710 (exit $ac_status); } &&
27711 { ac_try='test -z "$ac_cxx_werror_flag"
27712 || test ! -s conftest.err'
27713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27714 (eval $ac_try) 2>&5
27715 ac_status=$?
27716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27717 (exit $ac_status); }; } &&
27718 { ac_try='test -s conftest.$ac_objext'
27719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27720 (eval $ac_try) 2>&5
27721 ac_status=$?
27722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27723 (exit $ac_status); }; }; then
27724 glibcxx_cv_func__finitef_use=yes
27725 else
27726 echo "$as_me: failed program was:" >&5
27727 sed 's/^/| /' conftest.$ac_ext >&5
27729 glibcxx_cv_func__finitef_use=no
27731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27732 ac_ext=c
27733 ac_cpp='$CPP $CPPFLAGS'
27734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27742 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
27743 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
27745 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
27747 for ac_func in _finitef
27749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27750 echo "$as_me:$LINENO: checking for $ac_func" >&5
27751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27752 if eval "test \"\${$as_ac_var+set}\" = set"; then
27753 echo $ECHO_N "(cached) $ECHO_C" >&6
27754 else
27755 if test x$gcc_no_link = xyes; then
27756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27758 { (exit 1); exit 1; }; }
27760 cat >conftest.$ac_ext <<_ACEOF
27761 /* confdefs.h. */
27762 _ACEOF
27763 cat confdefs.h >>conftest.$ac_ext
27764 cat >>conftest.$ac_ext <<_ACEOF
27765 /* end confdefs.h. */
27766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27768 #define $ac_func innocuous_$ac_func
27770 /* System header to define __stub macros and hopefully few prototypes,
27771 which can conflict with char $ac_func (); below.
27772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27773 <limits.h> exists even on freestanding compilers. */
27775 #ifdef __STDC__
27776 # include <limits.h>
27777 #else
27778 # include <assert.h>
27779 #endif
27781 #undef $ac_func
27783 /* Override any gcc2 internal prototype to avoid an error. */
27784 #ifdef __cplusplus
27785 extern "C"
27787 #endif
27788 /* We use char because int might match the return type of a gcc2
27789 builtin and then its argument prototype would still apply. */
27790 char $ac_func ();
27791 /* The GNU C library defines this for functions which it implements
27792 to always fail with ENOSYS. Some functions are actually named
27793 something starting with __ and the normal name is an alias. */
27794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27795 choke me
27796 #else
27797 char (*f) () = $ac_func;
27798 #endif
27799 #ifdef __cplusplus
27801 #endif
27804 main ()
27806 return f != $ac_func;
27808 return 0;
27810 _ACEOF
27811 rm -f conftest.$ac_objext conftest$ac_exeext
27812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27813 (eval $ac_link) 2>conftest.er1
27814 ac_status=$?
27815 grep -v '^ *+' conftest.er1 >conftest.err
27816 rm -f conftest.er1
27817 cat conftest.err >&5
27818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27819 (exit $ac_status); } &&
27820 { ac_try='test -z "$ac_c_werror_flag"
27821 || test ! -s conftest.err'
27822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27823 (eval $ac_try) 2>&5
27824 ac_status=$?
27825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27826 (exit $ac_status); }; } &&
27827 { ac_try='test -s conftest$ac_exeext'
27828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27829 (eval $ac_try) 2>&5
27830 ac_status=$?
27831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27832 (exit $ac_status); }; }; then
27833 eval "$as_ac_var=yes"
27834 else
27835 echo "$as_me: failed program was:" >&5
27836 sed 's/^/| /' conftest.$ac_ext >&5
27838 eval "$as_ac_var=no"
27840 rm -f conftest.err conftest.$ac_objext \
27841 conftest$ac_exeext conftest.$ac_ext
27843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27845 if test `eval echo '${'$as_ac_var'}'` = yes; then
27846 cat >>confdefs.h <<_ACEOF
27847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27848 _ACEOF
27851 done
27861 echo "$as_me:$LINENO: checking for long double trig functions" >&5
27862 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
27863 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
27864 echo $ECHO_N "(cached) $ECHO_C" >&6
27865 else
27869 ac_ext=cc
27870 ac_cpp='$CXXCPP $CPPFLAGS'
27871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27875 cat >conftest.$ac_ext <<_ACEOF
27876 /* confdefs.h. */
27877 _ACEOF
27878 cat confdefs.h >>conftest.$ac_ext
27879 cat >>conftest.$ac_ext <<_ACEOF
27880 /* end confdefs.h. */
27881 #include <math.h>
27883 main ()
27885 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
27887 return 0;
27889 _ACEOF
27890 rm -f conftest.$ac_objext
27891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27892 (eval $ac_compile) 2>conftest.er1
27893 ac_status=$?
27894 grep -v '^ *+' conftest.er1 >conftest.err
27895 rm -f conftest.er1
27896 cat conftest.err >&5
27897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27898 (exit $ac_status); } &&
27899 { ac_try='test -z "$ac_cxx_werror_flag"
27900 || test ! -s conftest.err'
27901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27902 (eval $ac_try) 2>&5
27903 ac_status=$?
27904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27905 (exit $ac_status); }; } &&
27906 { ac_try='test -s conftest.$ac_objext'
27907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27908 (eval $ac_try) 2>&5
27909 ac_status=$?
27910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27911 (exit $ac_status); }; }; then
27912 glibcxx_cv_func_long_double_trig_use=yes
27913 else
27914 echo "$as_me: failed program was:" >&5
27915 sed 's/^/| /' conftest.$ac_ext >&5
27917 glibcxx_cv_func_long_double_trig_use=no
27919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27920 ac_ext=c
27921 ac_cpp='$CPP $CPPFLAGS'
27922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27928 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
27929 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
27930 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
27940 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
27942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27943 echo "$as_me:$LINENO: checking for $ac_func" >&5
27944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27945 if eval "test \"\${$as_ac_var+set}\" = set"; then
27946 echo $ECHO_N "(cached) $ECHO_C" >&6
27947 else
27948 if test x$gcc_no_link = xyes; then
27949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27951 { (exit 1); exit 1; }; }
27953 cat >conftest.$ac_ext <<_ACEOF
27954 /* confdefs.h. */
27955 _ACEOF
27956 cat confdefs.h >>conftest.$ac_ext
27957 cat >>conftest.$ac_ext <<_ACEOF
27958 /* end confdefs.h. */
27959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27961 #define $ac_func innocuous_$ac_func
27963 /* System header to define __stub macros and hopefully few prototypes,
27964 which can conflict with char $ac_func (); below.
27965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27966 <limits.h> exists even on freestanding compilers. */
27968 #ifdef __STDC__
27969 # include <limits.h>
27970 #else
27971 # include <assert.h>
27972 #endif
27974 #undef $ac_func
27976 /* Override any gcc2 internal prototype to avoid an error. */
27977 #ifdef __cplusplus
27978 extern "C"
27980 #endif
27981 /* We use char because int might match the return type of a gcc2
27982 builtin and then its argument prototype would still apply. */
27983 char $ac_func ();
27984 /* The GNU C library defines this for functions which it implements
27985 to always fail with ENOSYS. Some functions are actually named
27986 something starting with __ and the normal name is an alias. */
27987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27988 choke me
27989 #else
27990 char (*f) () = $ac_func;
27991 #endif
27992 #ifdef __cplusplus
27994 #endif
27997 main ()
27999 return f != $ac_func;
28001 return 0;
28003 _ACEOF
28004 rm -f conftest.$ac_objext conftest$ac_exeext
28005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28006 (eval $ac_link) 2>conftest.er1
28007 ac_status=$?
28008 grep -v '^ *+' conftest.er1 >conftest.err
28009 rm -f conftest.er1
28010 cat conftest.err >&5
28011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28012 (exit $ac_status); } &&
28013 { ac_try='test -z "$ac_c_werror_flag"
28014 || test ! -s conftest.err'
28015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28016 (eval $ac_try) 2>&5
28017 ac_status=$?
28018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28019 (exit $ac_status); }; } &&
28020 { ac_try='test -s conftest$ac_exeext'
28021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28022 (eval $ac_try) 2>&5
28023 ac_status=$?
28024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28025 (exit $ac_status); }; }; then
28026 eval "$as_ac_var=yes"
28027 else
28028 echo "$as_me: failed program was:" >&5
28029 sed 's/^/| /' conftest.$ac_ext >&5
28031 eval "$as_ac_var=no"
28033 rm -f conftest.err conftest.$ac_objext \
28034 conftest$ac_exeext conftest.$ac_ext
28036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28038 if test `eval echo '${'$as_ac_var'}'` = yes; then
28039 cat >>confdefs.h <<_ACEOF
28040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28041 _ACEOF
28044 done
28046 else
28047 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
28048 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
28049 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
28050 echo $ECHO_N "(cached) $ECHO_C" >&6
28051 else
28055 ac_ext=cc
28056 ac_cpp='$CXXCPP $CPPFLAGS'
28057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28061 cat >conftest.$ac_ext <<_ACEOF
28062 /* confdefs.h. */
28063 _ACEOF
28064 cat confdefs.h >>conftest.$ac_ext
28065 cat >>conftest.$ac_ext <<_ACEOF
28066 /* end confdefs.h. */
28067 #include <math.h>
28069 main ()
28071 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
28073 return 0;
28075 _ACEOF
28076 rm -f conftest.$ac_objext
28077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28078 (eval $ac_compile) 2>conftest.er1
28079 ac_status=$?
28080 grep -v '^ *+' conftest.er1 >conftest.err
28081 rm -f conftest.er1
28082 cat conftest.err >&5
28083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28084 (exit $ac_status); } &&
28085 { ac_try='test -z "$ac_cxx_werror_flag"
28086 || test ! -s conftest.err'
28087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28088 (eval $ac_try) 2>&5
28089 ac_status=$?
28090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28091 (exit $ac_status); }; } &&
28092 { ac_try='test -s conftest.$ac_objext'
28093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28094 (eval $ac_try) 2>&5
28095 ac_status=$?
28096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28097 (exit $ac_status); }; }; then
28098 glibcxx_cv_func__long_double_trig_use=yes
28099 else
28100 echo "$as_me: failed program was:" >&5
28101 sed 's/^/| /' conftest.$ac_ext >&5
28103 glibcxx_cv_func__long_double_trig_use=no
28105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28106 ac_ext=c
28107 ac_cpp='$CPP $CPPFLAGS'
28108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28114 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
28115 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
28116 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
28126 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
28128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28129 echo "$as_me:$LINENO: checking for $ac_func" >&5
28130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28131 if eval "test \"\${$as_ac_var+set}\" = set"; then
28132 echo $ECHO_N "(cached) $ECHO_C" >&6
28133 else
28134 if test x$gcc_no_link = xyes; then
28135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28137 { (exit 1); exit 1; }; }
28139 cat >conftest.$ac_ext <<_ACEOF
28140 /* confdefs.h. */
28141 _ACEOF
28142 cat confdefs.h >>conftest.$ac_ext
28143 cat >>conftest.$ac_ext <<_ACEOF
28144 /* end confdefs.h. */
28145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28147 #define $ac_func innocuous_$ac_func
28149 /* System header to define __stub macros and hopefully few prototypes,
28150 which can conflict with char $ac_func (); below.
28151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28152 <limits.h> exists even on freestanding compilers. */
28154 #ifdef __STDC__
28155 # include <limits.h>
28156 #else
28157 # include <assert.h>
28158 #endif
28160 #undef $ac_func
28162 /* Override any gcc2 internal prototype to avoid an error. */
28163 #ifdef __cplusplus
28164 extern "C"
28166 #endif
28167 /* We use char because int might match the return type of a gcc2
28168 builtin and then its argument prototype would still apply. */
28169 char $ac_func ();
28170 /* The GNU C library defines this for functions which it implements
28171 to always fail with ENOSYS. Some functions are actually named
28172 something starting with __ and the normal name is an alias. */
28173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28174 choke me
28175 #else
28176 char (*f) () = $ac_func;
28177 #endif
28178 #ifdef __cplusplus
28180 #endif
28183 main ()
28185 return f != $ac_func;
28187 return 0;
28189 _ACEOF
28190 rm -f conftest.$ac_objext conftest$ac_exeext
28191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28192 (eval $ac_link) 2>conftest.er1
28193 ac_status=$?
28194 grep -v '^ *+' conftest.er1 >conftest.err
28195 rm -f conftest.er1
28196 cat conftest.err >&5
28197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28198 (exit $ac_status); } &&
28199 { ac_try='test -z "$ac_c_werror_flag"
28200 || test ! -s conftest.err'
28201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28202 (eval $ac_try) 2>&5
28203 ac_status=$?
28204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28205 (exit $ac_status); }; } &&
28206 { ac_try='test -s conftest$ac_exeext'
28207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28208 (eval $ac_try) 2>&5
28209 ac_status=$?
28210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28211 (exit $ac_status); }; }; then
28212 eval "$as_ac_var=yes"
28213 else
28214 echo "$as_me: failed program was:" >&5
28215 sed 's/^/| /' conftest.$ac_ext >&5
28217 eval "$as_ac_var=no"
28219 rm -f conftest.err conftest.$ac_objext \
28220 conftest$ac_exeext conftest.$ac_ext
28222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28224 if test `eval echo '${'$as_ac_var'}'` = yes; then
28225 cat >>confdefs.h <<_ACEOF
28226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28227 _ACEOF
28230 done
28248 echo "$as_me:$LINENO: checking for long double round functions" >&5
28249 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
28250 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
28251 echo $ECHO_N "(cached) $ECHO_C" >&6
28252 else
28256 ac_ext=cc
28257 ac_cpp='$CXXCPP $CPPFLAGS'
28258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28262 cat >conftest.$ac_ext <<_ACEOF
28263 /* confdefs.h. */
28264 _ACEOF
28265 cat confdefs.h >>conftest.$ac_ext
28266 cat >>conftest.$ac_ext <<_ACEOF
28267 /* end confdefs.h. */
28268 #include <math.h>
28270 main ()
28272 ceill (0); floorl (0);
28274 return 0;
28276 _ACEOF
28277 rm -f conftest.$ac_objext
28278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28279 (eval $ac_compile) 2>conftest.er1
28280 ac_status=$?
28281 grep -v '^ *+' conftest.er1 >conftest.err
28282 rm -f conftest.er1
28283 cat conftest.err >&5
28284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28285 (exit $ac_status); } &&
28286 { ac_try='test -z "$ac_cxx_werror_flag"
28287 || test ! -s conftest.err'
28288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28289 (eval $ac_try) 2>&5
28290 ac_status=$?
28291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28292 (exit $ac_status); }; } &&
28293 { ac_try='test -s conftest.$ac_objext'
28294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28295 (eval $ac_try) 2>&5
28296 ac_status=$?
28297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28298 (exit $ac_status); }; }; then
28299 glibcxx_cv_func_long_double_round_use=yes
28300 else
28301 echo "$as_me: failed program was:" >&5
28302 sed 's/^/| /' conftest.$ac_ext >&5
28304 glibcxx_cv_func_long_double_round_use=no
28306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28307 ac_ext=c
28308 ac_cpp='$CPP $CPPFLAGS'
28309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28315 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
28316 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
28317 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
28320 for ac_func in ceill floorl
28322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28323 echo "$as_me:$LINENO: checking for $ac_func" >&5
28324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28325 if eval "test \"\${$as_ac_var+set}\" = set"; then
28326 echo $ECHO_N "(cached) $ECHO_C" >&6
28327 else
28328 if test x$gcc_no_link = xyes; then
28329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28331 { (exit 1); exit 1; }; }
28333 cat >conftest.$ac_ext <<_ACEOF
28334 /* confdefs.h. */
28335 _ACEOF
28336 cat confdefs.h >>conftest.$ac_ext
28337 cat >>conftest.$ac_ext <<_ACEOF
28338 /* end confdefs.h. */
28339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28341 #define $ac_func innocuous_$ac_func
28343 /* System header to define __stub macros and hopefully few prototypes,
28344 which can conflict with char $ac_func (); below.
28345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28346 <limits.h> exists even on freestanding compilers. */
28348 #ifdef __STDC__
28349 # include <limits.h>
28350 #else
28351 # include <assert.h>
28352 #endif
28354 #undef $ac_func
28356 /* Override any gcc2 internal prototype to avoid an error. */
28357 #ifdef __cplusplus
28358 extern "C"
28360 #endif
28361 /* We use char because int might match the return type of a gcc2
28362 builtin and then its argument prototype would still apply. */
28363 char $ac_func ();
28364 /* The GNU C library defines this for functions which it implements
28365 to always fail with ENOSYS. Some functions are actually named
28366 something starting with __ and the normal name is an alias. */
28367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28368 choke me
28369 #else
28370 char (*f) () = $ac_func;
28371 #endif
28372 #ifdef __cplusplus
28374 #endif
28377 main ()
28379 return f != $ac_func;
28381 return 0;
28383 _ACEOF
28384 rm -f conftest.$ac_objext conftest$ac_exeext
28385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28386 (eval $ac_link) 2>conftest.er1
28387 ac_status=$?
28388 grep -v '^ *+' conftest.er1 >conftest.err
28389 rm -f conftest.er1
28390 cat conftest.err >&5
28391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28392 (exit $ac_status); } &&
28393 { ac_try='test -z "$ac_c_werror_flag"
28394 || test ! -s conftest.err'
28395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28396 (eval $ac_try) 2>&5
28397 ac_status=$?
28398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28399 (exit $ac_status); }; } &&
28400 { ac_try='test -s conftest$ac_exeext'
28401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28402 (eval $ac_try) 2>&5
28403 ac_status=$?
28404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28405 (exit $ac_status); }; }; then
28406 eval "$as_ac_var=yes"
28407 else
28408 echo "$as_me: failed program was:" >&5
28409 sed 's/^/| /' conftest.$ac_ext >&5
28411 eval "$as_ac_var=no"
28413 rm -f conftest.err conftest.$ac_objext \
28414 conftest$ac_exeext conftest.$ac_ext
28416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28418 if test `eval echo '${'$as_ac_var'}'` = yes; then
28419 cat >>confdefs.h <<_ACEOF
28420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28421 _ACEOF
28424 done
28426 else
28427 echo "$as_me:$LINENO: checking for _long double round functions" >&5
28428 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
28429 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
28430 echo $ECHO_N "(cached) $ECHO_C" >&6
28431 else
28435 ac_ext=cc
28436 ac_cpp='$CXXCPP $CPPFLAGS'
28437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28441 cat >conftest.$ac_ext <<_ACEOF
28442 /* confdefs.h. */
28443 _ACEOF
28444 cat confdefs.h >>conftest.$ac_ext
28445 cat >>conftest.$ac_ext <<_ACEOF
28446 /* end confdefs.h. */
28447 #include <math.h>
28449 main ()
28451 _ceill (0); _floorl (0);
28453 return 0;
28455 _ACEOF
28456 rm -f conftest.$ac_objext
28457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28458 (eval $ac_compile) 2>conftest.er1
28459 ac_status=$?
28460 grep -v '^ *+' conftest.er1 >conftest.err
28461 rm -f conftest.er1
28462 cat conftest.err >&5
28463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28464 (exit $ac_status); } &&
28465 { ac_try='test -z "$ac_cxx_werror_flag"
28466 || test ! -s conftest.err'
28467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28468 (eval $ac_try) 2>&5
28469 ac_status=$?
28470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28471 (exit $ac_status); }; } &&
28472 { ac_try='test -s conftest.$ac_objext'
28473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28474 (eval $ac_try) 2>&5
28475 ac_status=$?
28476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28477 (exit $ac_status); }; }; then
28478 glibcxx_cv_func__long_double_round_use=yes
28479 else
28480 echo "$as_me: failed program was:" >&5
28481 sed 's/^/| /' conftest.$ac_ext >&5
28483 glibcxx_cv_func__long_double_round_use=no
28485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28486 ac_ext=c
28487 ac_cpp='$CPP $CPPFLAGS'
28488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28494 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
28495 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
28496 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
28499 for ac_func in _ceill _floorl
28501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28502 echo "$as_me:$LINENO: checking for $ac_func" >&5
28503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28504 if eval "test \"\${$as_ac_var+set}\" = set"; then
28505 echo $ECHO_N "(cached) $ECHO_C" >&6
28506 else
28507 if test x$gcc_no_link = xyes; then
28508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28510 { (exit 1); exit 1; }; }
28512 cat >conftest.$ac_ext <<_ACEOF
28513 /* confdefs.h. */
28514 _ACEOF
28515 cat confdefs.h >>conftest.$ac_ext
28516 cat >>conftest.$ac_ext <<_ACEOF
28517 /* end confdefs.h. */
28518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28520 #define $ac_func innocuous_$ac_func
28522 /* System header to define __stub macros and hopefully few prototypes,
28523 which can conflict with char $ac_func (); below.
28524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28525 <limits.h> exists even on freestanding compilers. */
28527 #ifdef __STDC__
28528 # include <limits.h>
28529 #else
28530 # include <assert.h>
28531 #endif
28533 #undef $ac_func
28535 /* Override any gcc2 internal prototype to avoid an error. */
28536 #ifdef __cplusplus
28537 extern "C"
28539 #endif
28540 /* We use char because int might match the return type of a gcc2
28541 builtin and then its argument prototype would still apply. */
28542 char $ac_func ();
28543 /* The GNU C library defines this for functions which it implements
28544 to always fail with ENOSYS. Some functions are actually named
28545 something starting with __ and the normal name is an alias. */
28546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28547 choke me
28548 #else
28549 char (*f) () = $ac_func;
28550 #endif
28551 #ifdef __cplusplus
28553 #endif
28556 main ()
28558 return f != $ac_func;
28560 return 0;
28562 _ACEOF
28563 rm -f conftest.$ac_objext conftest$ac_exeext
28564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28565 (eval $ac_link) 2>conftest.er1
28566 ac_status=$?
28567 grep -v '^ *+' conftest.er1 >conftest.err
28568 rm -f conftest.er1
28569 cat conftest.err >&5
28570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28571 (exit $ac_status); } &&
28572 { ac_try='test -z "$ac_c_werror_flag"
28573 || test ! -s conftest.err'
28574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28575 (eval $ac_try) 2>&5
28576 ac_status=$?
28577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28578 (exit $ac_status); }; } &&
28579 { ac_try='test -s conftest$ac_exeext'
28580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28581 (eval $ac_try) 2>&5
28582 ac_status=$?
28583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28584 (exit $ac_status); }; }; then
28585 eval "$as_ac_var=yes"
28586 else
28587 echo "$as_me: failed program was:" >&5
28588 sed 's/^/| /' conftest.$ac_ext >&5
28590 eval "$as_ac_var=no"
28592 rm -f conftest.err conftest.$ac_objext \
28593 conftest$ac_exeext conftest.$ac_ext
28595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28597 if test `eval echo '${'$as_ac_var'}'` = yes; then
28598 cat >>confdefs.h <<_ACEOF
28599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28600 _ACEOF
28603 done
28615 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
28616 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
28617 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
28618 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
28619 echo $ECHO_N "(cached) $ECHO_C" >&6
28620 else
28624 ac_ext=cc
28625 ac_cpp='$CXXCPP $CPPFLAGS'
28626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28630 cat >conftest.$ac_ext <<_ACEOF
28631 /* confdefs.h. */
28632 _ACEOF
28633 cat confdefs.h >>conftest.$ac_ext
28634 cat >>conftest.$ac_ext <<_ACEOF
28635 /* end confdefs.h. */
28636 #include <math.h>
28637 #ifdef HAVE_IEEEFP_H
28638 #include <ieeefp.h>
28639 #endif
28642 main ()
28644 isnanl(0);
28646 return 0;
28648 _ACEOF
28649 rm -f conftest.$ac_objext
28650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28651 (eval $ac_compile) 2>conftest.er1
28652 ac_status=$?
28653 grep -v '^ *+' conftest.er1 >conftest.err
28654 rm -f conftest.er1
28655 cat conftest.err >&5
28656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28657 (exit $ac_status); } &&
28658 { ac_try='test -z "$ac_cxx_werror_flag"
28659 || test ! -s conftest.err'
28660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28661 (eval $ac_try) 2>&5
28662 ac_status=$?
28663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28664 (exit $ac_status); }; } &&
28665 { ac_try='test -s conftest.$ac_objext'
28666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28667 (eval $ac_try) 2>&5
28668 ac_status=$?
28669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28670 (exit $ac_status); }; }; then
28671 glibcxx_cv_func_isnanl_use=yes
28672 else
28673 echo "$as_me: failed program was:" >&5
28674 sed 's/^/| /' conftest.$ac_ext >&5
28676 glibcxx_cv_func_isnanl_use=no
28678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28679 ac_ext=c
28680 ac_cpp='$CPP $CPPFLAGS'
28681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28689 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
28690 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
28692 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
28694 for ac_func in isnanl
28696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28697 echo "$as_me:$LINENO: checking for $ac_func" >&5
28698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28699 if eval "test \"\${$as_ac_var+set}\" = set"; then
28700 echo $ECHO_N "(cached) $ECHO_C" >&6
28701 else
28702 if test x$gcc_no_link = xyes; then
28703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28705 { (exit 1); exit 1; }; }
28707 cat >conftest.$ac_ext <<_ACEOF
28708 /* confdefs.h. */
28709 _ACEOF
28710 cat confdefs.h >>conftest.$ac_ext
28711 cat >>conftest.$ac_ext <<_ACEOF
28712 /* end confdefs.h. */
28713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28715 #define $ac_func innocuous_$ac_func
28717 /* System header to define __stub macros and hopefully few prototypes,
28718 which can conflict with char $ac_func (); below.
28719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28720 <limits.h> exists even on freestanding compilers. */
28722 #ifdef __STDC__
28723 # include <limits.h>
28724 #else
28725 # include <assert.h>
28726 #endif
28728 #undef $ac_func
28730 /* Override any gcc2 internal prototype to avoid an error. */
28731 #ifdef __cplusplus
28732 extern "C"
28734 #endif
28735 /* We use char because int might match the return type of a gcc2
28736 builtin and then its argument prototype would still apply. */
28737 char $ac_func ();
28738 /* The GNU C library defines this for functions which it implements
28739 to always fail with ENOSYS. Some functions are actually named
28740 something starting with __ and the normal name is an alias. */
28741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28742 choke me
28743 #else
28744 char (*f) () = $ac_func;
28745 #endif
28746 #ifdef __cplusplus
28748 #endif
28751 main ()
28753 return f != $ac_func;
28755 return 0;
28757 _ACEOF
28758 rm -f conftest.$ac_objext conftest$ac_exeext
28759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28760 (eval $ac_link) 2>conftest.er1
28761 ac_status=$?
28762 grep -v '^ *+' conftest.er1 >conftest.err
28763 rm -f conftest.er1
28764 cat conftest.err >&5
28765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28766 (exit $ac_status); } &&
28767 { ac_try='test -z "$ac_c_werror_flag"
28768 || test ! -s conftest.err'
28769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28770 (eval $ac_try) 2>&5
28771 ac_status=$?
28772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28773 (exit $ac_status); }; } &&
28774 { ac_try='test -s conftest$ac_exeext'
28775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28776 (eval $ac_try) 2>&5
28777 ac_status=$?
28778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28779 (exit $ac_status); }; }; then
28780 eval "$as_ac_var=yes"
28781 else
28782 echo "$as_me: failed program was:" >&5
28783 sed 's/^/| /' conftest.$ac_ext >&5
28785 eval "$as_ac_var=no"
28787 rm -f conftest.err conftest.$ac_objext \
28788 conftest$ac_exeext conftest.$ac_ext
28790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28792 if test `eval echo '${'$as_ac_var'}'` = yes; then
28793 cat >>confdefs.h <<_ACEOF
28794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28795 _ACEOF
28798 done
28800 else
28802 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
28803 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
28804 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
28805 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
28806 echo $ECHO_N "(cached) $ECHO_C" >&6
28807 else
28811 ac_ext=cc
28812 ac_cpp='$CXXCPP $CPPFLAGS'
28813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28817 cat >conftest.$ac_ext <<_ACEOF
28818 /* confdefs.h. */
28819 _ACEOF
28820 cat confdefs.h >>conftest.$ac_ext
28821 cat >>conftest.$ac_ext <<_ACEOF
28822 /* end confdefs.h. */
28823 #include <math.h>
28824 #ifdef HAVE_IEEEFP_H
28825 #include <ieeefp.h>
28826 #endif
28829 main ()
28831 _isnanl(0);
28833 return 0;
28835 _ACEOF
28836 rm -f conftest.$ac_objext
28837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28838 (eval $ac_compile) 2>conftest.er1
28839 ac_status=$?
28840 grep -v '^ *+' conftest.er1 >conftest.err
28841 rm -f conftest.er1
28842 cat conftest.err >&5
28843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28844 (exit $ac_status); } &&
28845 { ac_try='test -z "$ac_cxx_werror_flag"
28846 || test ! -s conftest.err'
28847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28848 (eval $ac_try) 2>&5
28849 ac_status=$?
28850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28851 (exit $ac_status); }; } &&
28852 { ac_try='test -s conftest.$ac_objext'
28853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28854 (eval $ac_try) 2>&5
28855 ac_status=$?
28856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28857 (exit $ac_status); }; }; then
28858 glibcxx_cv_func__isnanl_use=yes
28859 else
28860 echo "$as_me: failed program was:" >&5
28861 sed 's/^/| /' conftest.$ac_ext >&5
28863 glibcxx_cv_func__isnanl_use=no
28865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28866 ac_ext=c
28867 ac_cpp='$CPP $CPPFLAGS'
28868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28876 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
28877 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
28879 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
28881 for ac_func in _isnanl
28883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28884 echo "$as_me:$LINENO: checking for $ac_func" >&5
28885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28886 if eval "test \"\${$as_ac_var+set}\" = set"; then
28887 echo $ECHO_N "(cached) $ECHO_C" >&6
28888 else
28889 if test x$gcc_no_link = xyes; then
28890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28892 { (exit 1); exit 1; }; }
28894 cat >conftest.$ac_ext <<_ACEOF
28895 /* confdefs.h. */
28896 _ACEOF
28897 cat confdefs.h >>conftest.$ac_ext
28898 cat >>conftest.$ac_ext <<_ACEOF
28899 /* end confdefs.h. */
28900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28902 #define $ac_func innocuous_$ac_func
28904 /* System header to define __stub macros and hopefully few prototypes,
28905 which can conflict with char $ac_func (); below.
28906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28907 <limits.h> exists even on freestanding compilers. */
28909 #ifdef __STDC__
28910 # include <limits.h>
28911 #else
28912 # include <assert.h>
28913 #endif
28915 #undef $ac_func
28917 /* Override any gcc2 internal prototype to avoid an error. */
28918 #ifdef __cplusplus
28919 extern "C"
28921 #endif
28922 /* We use char because int might match the return type of a gcc2
28923 builtin and then its argument prototype would still apply. */
28924 char $ac_func ();
28925 /* The GNU C library defines this for functions which it implements
28926 to always fail with ENOSYS. Some functions are actually named
28927 something starting with __ and the normal name is an alias. */
28928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28929 choke me
28930 #else
28931 char (*f) () = $ac_func;
28932 #endif
28933 #ifdef __cplusplus
28935 #endif
28938 main ()
28940 return f != $ac_func;
28942 return 0;
28944 _ACEOF
28945 rm -f conftest.$ac_objext conftest$ac_exeext
28946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28947 (eval $ac_link) 2>conftest.er1
28948 ac_status=$?
28949 grep -v '^ *+' conftest.er1 >conftest.err
28950 rm -f conftest.er1
28951 cat conftest.err >&5
28952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28953 (exit $ac_status); } &&
28954 { ac_try='test -z "$ac_c_werror_flag"
28955 || test ! -s conftest.err'
28956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28957 (eval $ac_try) 2>&5
28958 ac_status=$?
28959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28960 (exit $ac_status); }; } &&
28961 { ac_try='test -s conftest$ac_exeext'
28962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28963 (eval $ac_try) 2>&5
28964 ac_status=$?
28965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28966 (exit $ac_status); }; }; then
28967 eval "$as_ac_var=yes"
28968 else
28969 echo "$as_me: failed program was:" >&5
28970 sed 's/^/| /' conftest.$ac_ext >&5
28972 eval "$as_ac_var=no"
28974 rm -f conftest.err conftest.$ac_objext \
28975 conftest$ac_exeext conftest.$ac_ext
28977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28979 if test `eval echo '${'$as_ac_var'}'` = yes; then
28980 cat >>confdefs.h <<_ACEOF
28981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28982 _ACEOF
28985 done
28995 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
28996 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
28997 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
28998 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
28999 echo $ECHO_N "(cached) $ECHO_C" >&6
29000 else
29004 ac_ext=cc
29005 ac_cpp='$CXXCPP $CPPFLAGS'
29006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29010 cat >conftest.$ac_ext <<_ACEOF
29011 /* confdefs.h. */
29012 _ACEOF
29013 cat confdefs.h >>conftest.$ac_ext
29014 cat >>conftest.$ac_ext <<_ACEOF
29015 /* end confdefs.h. */
29016 #include <math.h>
29017 #ifdef HAVE_IEEEFP_H
29018 #include <ieeefp.h>
29019 #endif
29022 main ()
29024 isinfl(0);
29026 return 0;
29028 _ACEOF
29029 rm -f conftest.$ac_objext
29030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29031 (eval $ac_compile) 2>conftest.er1
29032 ac_status=$?
29033 grep -v '^ *+' conftest.er1 >conftest.err
29034 rm -f conftest.er1
29035 cat conftest.err >&5
29036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29037 (exit $ac_status); } &&
29038 { ac_try='test -z "$ac_cxx_werror_flag"
29039 || test ! -s conftest.err'
29040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29041 (eval $ac_try) 2>&5
29042 ac_status=$?
29043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29044 (exit $ac_status); }; } &&
29045 { ac_try='test -s conftest.$ac_objext'
29046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29047 (eval $ac_try) 2>&5
29048 ac_status=$?
29049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29050 (exit $ac_status); }; }; then
29051 glibcxx_cv_func_isinfl_use=yes
29052 else
29053 echo "$as_me: failed program was:" >&5
29054 sed 's/^/| /' conftest.$ac_ext >&5
29056 glibcxx_cv_func_isinfl_use=no
29058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29059 ac_ext=c
29060 ac_cpp='$CPP $CPPFLAGS'
29061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29069 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
29070 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
29072 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
29074 for ac_func in isinfl
29076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29077 echo "$as_me:$LINENO: checking for $ac_func" >&5
29078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29079 if eval "test \"\${$as_ac_var+set}\" = set"; then
29080 echo $ECHO_N "(cached) $ECHO_C" >&6
29081 else
29082 if test x$gcc_no_link = xyes; then
29083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29085 { (exit 1); exit 1; }; }
29087 cat >conftest.$ac_ext <<_ACEOF
29088 /* confdefs.h. */
29089 _ACEOF
29090 cat confdefs.h >>conftest.$ac_ext
29091 cat >>conftest.$ac_ext <<_ACEOF
29092 /* end confdefs.h. */
29093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29095 #define $ac_func innocuous_$ac_func
29097 /* System header to define __stub macros and hopefully few prototypes,
29098 which can conflict with char $ac_func (); below.
29099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29100 <limits.h> exists even on freestanding compilers. */
29102 #ifdef __STDC__
29103 # include <limits.h>
29104 #else
29105 # include <assert.h>
29106 #endif
29108 #undef $ac_func
29110 /* Override any gcc2 internal prototype to avoid an error. */
29111 #ifdef __cplusplus
29112 extern "C"
29114 #endif
29115 /* We use char because int might match the return type of a gcc2
29116 builtin and then its argument prototype would still apply. */
29117 char $ac_func ();
29118 /* The GNU C library defines this for functions which it implements
29119 to always fail with ENOSYS. Some functions are actually named
29120 something starting with __ and the normal name is an alias. */
29121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29122 choke me
29123 #else
29124 char (*f) () = $ac_func;
29125 #endif
29126 #ifdef __cplusplus
29128 #endif
29131 main ()
29133 return f != $ac_func;
29135 return 0;
29137 _ACEOF
29138 rm -f conftest.$ac_objext conftest$ac_exeext
29139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29140 (eval $ac_link) 2>conftest.er1
29141 ac_status=$?
29142 grep -v '^ *+' conftest.er1 >conftest.err
29143 rm -f conftest.er1
29144 cat conftest.err >&5
29145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29146 (exit $ac_status); } &&
29147 { ac_try='test -z "$ac_c_werror_flag"
29148 || test ! -s conftest.err'
29149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29150 (eval $ac_try) 2>&5
29151 ac_status=$?
29152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29153 (exit $ac_status); }; } &&
29154 { ac_try='test -s conftest$ac_exeext'
29155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29156 (eval $ac_try) 2>&5
29157 ac_status=$?
29158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29159 (exit $ac_status); }; }; then
29160 eval "$as_ac_var=yes"
29161 else
29162 echo "$as_me: failed program was:" >&5
29163 sed 's/^/| /' conftest.$ac_ext >&5
29165 eval "$as_ac_var=no"
29167 rm -f conftest.err conftest.$ac_objext \
29168 conftest$ac_exeext conftest.$ac_ext
29170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29172 if test `eval echo '${'$as_ac_var'}'` = yes; then
29173 cat >>confdefs.h <<_ACEOF
29174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29175 _ACEOF
29178 done
29180 else
29182 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
29183 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
29184 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
29185 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
29186 echo $ECHO_N "(cached) $ECHO_C" >&6
29187 else
29191 ac_ext=cc
29192 ac_cpp='$CXXCPP $CPPFLAGS'
29193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29197 cat >conftest.$ac_ext <<_ACEOF
29198 /* confdefs.h. */
29199 _ACEOF
29200 cat confdefs.h >>conftest.$ac_ext
29201 cat >>conftest.$ac_ext <<_ACEOF
29202 /* end confdefs.h. */
29203 #include <math.h>
29204 #ifdef HAVE_IEEEFP_H
29205 #include <ieeefp.h>
29206 #endif
29209 main ()
29211 _isinfl(0);
29213 return 0;
29215 _ACEOF
29216 rm -f conftest.$ac_objext
29217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29218 (eval $ac_compile) 2>conftest.er1
29219 ac_status=$?
29220 grep -v '^ *+' conftest.er1 >conftest.err
29221 rm -f conftest.er1
29222 cat conftest.err >&5
29223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29224 (exit $ac_status); } &&
29225 { ac_try='test -z "$ac_cxx_werror_flag"
29226 || test ! -s conftest.err'
29227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29228 (eval $ac_try) 2>&5
29229 ac_status=$?
29230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29231 (exit $ac_status); }; } &&
29232 { ac_try='test -s conftest.$ac_objext'
29233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29234 (eval $ac_try) 2>&5
29235 ac_status=$?
29236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29237 (exit $ac_status); }; }; then
29238 glibcxx_cv_func__isinfl_use=yes
29239 else
29240 echo "$as_me: failed program was:" >&5
29241 sed 's/^/| /' conftest.$ac_ext >&5
29243 glibcxx_cv_func__isinfl_use=no
29245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29246 ac_ext=c
29247 ac_cpp='$CPP $CPPFLAGS'
29248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29256 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
29257 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
29259 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
29261 for ac_func in _isinfl
29263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29264 echo "$as_me:$LINENO: checking for $ac_func" >&5
29265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29266 if eval "test \"\${$as_ac_var+set}\" = set"; then
29267 echo $ECHO_N "(cached) $ECHO_C" >&6
29268 else
29269 if test x$gcc_no_link = xyes; then
29270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29272 { (exit 1); exit 1; }; }
29274 cat >conftest.$ac_ext <<_ACEOF
29275 /* confdefs.h. */
29276 _ACEOF
29277 cat confdefs.h >>conftest.$ac_ext
29278 cat >>conftest.$ac_ext <<_ACEOF
29279 /* end confdefs.h. */
29280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29282 #define $ac_func innocuous_$ac_func
29284 /* System header to define __stub macros and hopefully few prototypes,
29285 which can conflict with char $ac_func (); below.
29286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29287 <limits.h> exists even on freestanding compilers. */
29289 #ifdef __STDC__
29290 # include <limits.h>
29291 #else
29292 # include <assert.h>
29293 #endif
29295 #undef $ac_func
29297 /* Override any gcc2 internal prototype to avoid an error. */
29298 #ifdef __cplusplus
29299 extern "C"
29301 #endif
29302 /* We use char because int might match the return type of a gcc2
29303 builtin and then its argument prototype would still apply. */
29304 char $ac_func ();
29305 /* The GNU C library defines this for functions which it implements
29306 to always fail with ENOSYS. Some functions are actually named
29307 something starting with __ and the normal name is an alias. */
29308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29309 choke me
29310 #else
29311 char (*f) () = $ac_func;
29312 #endif
29313 #ifdef __cplusplus
29315 #endif
29318 main ()
29320 return f != $ac_func;
29322 return 0;
29324 _ACEOF
29325 rm -f conftest.$ac_objext conftest$ac_exeext
29326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29327 (eval $ac_link) 2>conftest.er1
29328 ac_status=$?
29329 grep -v '^ *+' conftest.er1 >conftest.err
29330 rm -f conftest.er1
29331 cat conftest.err >&5
29332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29333 (exit $ac_status); } &&
29334 { ac_try='test -z "$ac_c_werror_flag"
29335 || test ! -s conftest.err'
29336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29337 (eval $ac_try) 2>&5
29338 ac_status=$?
29339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29340 (exit $ac_status); }; } &&
29341 { ac_try='test -s conftest$ac_exeext'
29342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29343 (eval $ac_try) 2>&5
29344 ac_status=$?
29345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29346 (exit $ac_status); }; }; then
29347 eval "$as_ac_var=yes"
29348 else
29349 echo "$as_me: failed program was:" >&5
29350 sed 's/^/| /' conftest.$ac_ext >&5
29352 eval "$as_ac_var=no"
29354 rm -f conftest.err conftest.$ac_objext \
29355 conftest$ac_exeext conftest.$ac_ext
29357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29359 if test `eval echo '${'$as_ac_var'}'` = yes; then
29360 cat >>confdefs.h <<_ACEOF
29361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29362 _ACEOF
29365 done
29375 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
29376 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
29377 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
29378 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
29379 echo $ECHO_N "(cached) $ECHO_C" >&6
29380 else
29384 ac_ext=cc
29385 ac_cpp='$CXXCPP $CPPFLAGS'
29386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29390 cat >conftest.$ac_ext <<_ACEOF
29391 /* confdefs.h. */
29392 _ACEOF
29393 cat confdefs.h >>conftest.$ac_ext
29394 cat >>conftest.$ac_ext <<_ACEOF
29395 /* end confdefs.h. */
29396 #include <math.h>
29398 main ()
29400 copysignl(0, 0);
29402 return 0;
29404 _ACEOF
29405 rm -f conftest.$ac_objext
29406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29407 (eval $ac_compile) 2>conftest.er1
29408 ac_status=$?
29409 grep -v '^ *+' conftest.er1 >conftest.err
29410 rm -f conftest.er1
29411 cat conftest.err >&5
29412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29413 (exit $ac_status); } &&
29414 { ac_try='test -z "$ac_cxx_werror_flag"
29415 || test ! -s conftest.err'
29416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29417 (eval $ac_try) 2>&5
29418 ac_status=$?
29419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29420 (exit $ac_status); }; } &&
29421 { ac_try='test -s conftest.$ac_objext'
29422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29423 (eval $ac_try) 2>&5
29424 ac_status=$?
29425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29426 (exit $ac_status); }; }; then
29427 glibcxx_cv_func_copysignl_use=yes
29428 else
29429 echo "$as_me: failed program was:" >&5
29430 sed 's/^/| /' conftest.$ac_ext >&5
29432 glibcxx_cv_func_copysignl_use=no
29434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29435 ac_ext=c
29436 ac_cpp='$CPP $CPPFLAGS'
29437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29445 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
29446 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
29448 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
29450 for ac_func in copysignl
29452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29453 echo "$as_me:$LINENO: checking for $ac_func" >&5
29454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29455 if eval "test \"\${$as_ac_var+set}\" = set"; then
29456 echo $ECHO_N "(cached) $ECHO_C" >&6
29457 else
29458 if test x$gcc_no_link = xyes; then
29459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29461 { (exit 1); exit 1; }; }
29463 cat >conftest.$ac_ext <<_ACEOF
29464 /* confdefs.h. */
29465 _ACEOF
29466 cat confdefs.h >>conftest.$ac_ext
29467 cat >>conftest.$ac_ext <<_ACEOF
29468 /* end confdefs.h. */
29469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29471 #define $ac_func innocuous_$ac_func
29473 /* System header to define __stub macros and hopefully few prototypes,
29474 which can conflict with char $ac_func (); below.
29475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29476 <limits.h> exists even on freestanding compilers. */
29478 #ifdef __STDC__
29479 # include <limits.h>
29480 #else
29481 # include <assert.h>
29482 #endif
29484 #undef $ac_func
29486 /* Override any gcc2 internal prototype to avoid an error. */
29487 #ifdef __cplusplus
29488 extern "C"
29490 #endif
29491 /* We use char because int might match the return type of a gcc2
29492 builtin and then its argument prototype would still apply. */
29493 char $ac_func ();
29494 /* The GNU C library defines this for functions which it implements
29495 to always fail with ENOSYS. Some functions are actually named
29496 something starting with __ and the normal name is an alias. */
29497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29498 choke me
29499 #else
29500 char (*f) () = $ac_func;
29501 #endif
29502 #ifdef __cplusplus
29504 #endif
29507 main ()
29509 return f != $ac_func;
29511 return 0;
29513 _ACEOF
29514 rm -f conftest.$ac_objext conftest$ac_exeext
29515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29516 (eval $ac_link) 2>conftest.er1
29517 ac_status=$?
29518 grep -v '^ *+' conftest.er1 >conftest.err
29519 rm -f conftest.er1
29520 cat conftest.err >&5
29521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29522 (exit $ac_status); } &&
29523 { ac_try='test -z "$ac_c_werror_flag"
29524 || test ! -s conftest.err'
29525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29526 (eval $ac_try) 2>&5
29527 ac_status=$?
29528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29529 (exit $ac_status); }; } &&
29530 { ac_try='test -s conftest$ac_exeext'
29531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29532 (eval $ac_try) 2>&5
29533 ac_status=$?
29534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29535 (exit $ac_status); }; }; then
29536 eval "$as_ac_var=yes"
29537 else
29538 echo "$as_me: failed program was:" >&5
29539 sed 's/^/| /' conftest.$ac_ext >&5
29541 eval "$as_ac_var=no"
29543 rm -f conftest.err conftest.$ac_objext \
29544 conftest$ac_exeext conftest.$ac_ext
29546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29548 if test `eval echo '${'$as_ac_var'}'` = yes; then
29549 cat >>confdefs.h <<_ACEOF
29550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29551 _ACEOF
29554 done
29556 else
29558 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
29559 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
29560 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
29561 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
29562 echo $ECHO_N "(cached) $ECHO_C" >&6
29563 else
29567 ac_ext=cc
29568 ac_cpp='$CXXCPP $CPPFLAGS'
29569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29573 cat >conftest.$ac_ext <<_ACEOF
29574 /* confdefs.h. */
29575 _ACEOF
29576 cat confdefs.h >>conftest.$ac_ext
29577 cat >>conftest.$ac_ext <<_ACEOF
29578 /* end confdefs.h. */
29579 #include <math.h>
29581 main ()
29583 _copysignl(0, 0);
29585 return 0;
29587 _ACEOF
29588 rm -f conftest.$ac_objext
29589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29590 (eval $ac_compile) 2>conftest.er1
29591 ac_status=$?
29592 grep -v '^ *+' conftest.er1 >conftest.err
29593 rm -f conftest.er1
29594 cat conftest.err >&5
29595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29596 (exit $ac_status); } &&
29597 { ac_try='test -z "$ac_cxx_werror_flag"
29598 || test ! -s conftest.err'
29599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29600 (eval $ac_try) 2>&5
29601 ac_status=$?
29602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29603 (exit $ac_status); }; } &&
29604 { ac_try='test -s conftest.$ac_objext'
29605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29606 (eval $ac_try) 2>&5
29607 ac_status=$?
29608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29609 (exit $ac_status); }; }; then
29610 glibcxx_cv_func__copysignl_use=yes
29611 else
29612 echo "$as_me: failed program was:" >&5
29613 sed 's/^/| /' conftest.$ac_ext >&5
29615 glibcxx_cv_func__copysignl_use=no
29617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29618 ac_ext=c
29619 ac_cpp='$CPP $CPPFLAGS'
29620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29628 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
29629 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
29631 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
29633 for ac_func in _copysignl
29635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29636 echo "$as_me:$LINENO: checking for $ac_func" >&5
29637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29638 if eval "test \"\${$as_ac_var+set}\" = set"; then
29639 echo $ECHO_N "(cached) $ECHO_C" >&6
29640 else
29641 if test x$gcc_no_link = xyes; then
29642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29644 { (exit 1); exit 1; }; }
29646 cat >conftest.$ac_ext <<_ACEOF
29647 /* confdefs.h. */
29648 _ACEOF
29649 cat confdefs.h >>conftest.$ac_ext
29650 cat >>conftest.$ac_ext <<_ACEOF
29651 /* end confdefs.h. */
29652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29654 #define $ac_func innocuous_$ac_func
29656 /* System header to define __stub macros and hopefully few prototypes,
29657 which can conflict with char $ac_func (); below.
29658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29659 <limits.h> exists even on freestanding compilers. */
29661 #ifdef __STDC__
29662 # include <limits.h>
29663 #else
29664 # include <assert.h>
29665 #endif
29667 #undef $ac_func
29669 /* Override any gcc2 internal prototype to avoid an error. */
29670 #ifdef __cplusplus
29671 extern "C"
29673 #endif
29674 /* We use char because int might match the return type of a gcc2
29675 builtin and then its argument prototype would still apply. */
29676 char $ac_func ();
29677 /* The GNU C library defines this for functions which it implements
29678 to always fail with ENOSYS. Some functions are actually named
29679 something starting with __ and the normal name is an alias. */
29680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29681 choke me
29682 #else
29683 char (*f) () = $ac_func;
29684 #endif
29685 #ifdef __cplusplus
29687 #endif
29690 main ()
29692 return f != $ac_func;
29694 return 0;
29696 _ACEOF
29697 rm -f conftest.$ac_objext conftest$ac_exeext
29698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29699 (eval $ac_link) 2>conftest.er1
29700 ac_status=$?
29701 grep -v '^ *+' conftest.er1 >conftest.err
29702 rm -f conftest.er1
29703 cat conftest.err >&5
29704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29705 (exit $ac_status); } &&
29706 { ac_try='test -z "$ac_c_werror_flag"
29707 || test ! -s conftest.err'
29708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29709 (eval $ac_try) 2>&5
29710 ac_status=$?
29711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29712 (exit $ac_status); }; } &&
29713 { ac_try='test -s conftest$ac_exeext'
29714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29715 (eval $ac_try) 2>&5
29716 ac_status=$?
29717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29718 (exit $ac_status); }; }; then
29719 eval "$as_ac_var=yes"
29720 else
29721 echo "$as_me: failed program was:" >&5
29722 sed 's/^/| /' conftest.$ac_ext >&5
29724 eval "$as_ac_var=no"
29726 rm -f conftest.err conftest.$ac_objext \
29727 conftest$ac_exeext conftest.$ac_ext
29729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29731 if test `eval echo '${'$as_ac_var'}'` = yes; then
29732 cat >>confdefs.h <<_ACEOF
29733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29734 _ACEOF
29737 done
29747 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
29748 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
29749 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
29750 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
29751 echo $ECHO_N "(cached) $ECHO_C" >&6
29752 else
29756 ac_ext=cc
29757 ac_cpp='$CXXCPP $CPPFLAGS'
29758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29762 cat >conftest.$ac_ext <<_ACEOF
29763 /* confdefs.h. */
29764 _ACEOF
29765 cat confdefs.h >>conftest.$ac_ext
29766 cat >>conftest.$ac_ext <<_ACEOF
29767 /* end confdefs.h. */
29768 #include <math.h>
29770 main ()
29772 atan2l(0, 0);
29774 return 0;
29776 _ACEOF
29777 rm -f conftest.$ac_objext
29778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29779 (eval $ac_compile) 2>conftest.er1
29780 ac_status=$?
29781 grep -v '^ *+' conftest.er1 >conftest.err
29782 rm -f conftest.er1
29783 cat conftest.err >&5
29784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29785 (exit $ac_status); } &&
29786 { ac_try='test -z "$ac_cxx_werror_flag"
29787 || test ! -s conftest.err'
29788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29789 (eval $ac_try) 2>&5
29790 ac_status=$?
29791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29792 (exit $ac_status); }; } &&
29793 { ac_try='test -s conftest.$ac_objext'
29794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29795 (eval $ac_try) 2>&5
29796 ac_status=$?
29797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29798 (exit $ac_status); }; }; then
29799 glibcxx_cv_func_atan2l_use=yes
29800 else
29801 echo "$as_me: failed program was:" >&5
29802 sed 's/^/| /' conftest.$ac_ext >&5
29804 glibcxx_cv_func_atan2l_use=no
29806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29807 ac_ext=c
29808 ac_cpp='$CPP $CPPFLAGS'
29809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29817 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
29818 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
29820 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
29822 for ac_func in atan2l
29824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29825 echo "$as_me:$LINENO: checking for $ac_func" >&5
29826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29827 if eval "test \"\${$as_ac_var+set}\" = set"; then
29828 echo $ECHO_N "(cached) $ECHO_C" >&6
29829 else
29830 if test x$gcc_no_link = xyes; then
29831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29833 { (exit 1); exit 1; }; }
29835 cat >conftest.$ac_ext <<_ACEOF
29836 /* confdefs.h. */
29837 _ACEOF
29838 cat confdefs.h >>conftest.$ac_ext
29839 cat >>conftest.$ac_ext <<_ACEOF
29840 /* end confdefs.h. */
29841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29843 #define $ac_func innocuous_$ac_func
29845 /* System header to define __stub macros and hopefully few prototypes,
29846 which can conflict with char $ac_func (); below.
29847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29848 <limits.h> exists even on freestanding compilers. */
29850 #ifdef __STDC__
29851 # include <limits.h>
29852 #else
29853 # include <assert.h>
29854 #endif
29856 #undef $ac_func
29858 /* Override any gcc2 internal prototype to avoid an error. */
29859 #ifdef __cplusplus
29860 extern "C"
29862 #endif
29863 /* We use char because int might match the return type of a gcc2
29864 builtin and then its argument prototype would still apply. */
29865 char $ac_func ();
29866 /* The GNU C library defines this for functions which it implements
29867 to always fail with ENOSYS. Some functions are actually named
29868 something starting with __ and the normal name is an alias. */
29869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29870 choke me
29871 #else
29872 char (*f) () = $ac_func;
29873 #endif
29874 #ifdef __cplusplus
29876 #endif
29879 main ()
29881 return f != $ac_func;
29883 return 0;
29885 _ACEOF
29886 rm -f conftest.$ac_objext conftest$ac_exeext
29887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29888 (eval $ac_link) 2>conftest.er1
29889 ac_status=$?
29890 grep -v '^ *+' conftest.er1 >conftest.err
29891 rm -f conftest.er1
29892 cat conftest.err >&5
29893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29894 (exit $ac_status); } &&
29895 { ac_try='test -z "$ac_c_werror_flag"
29896 || test ! -s conftest.err'
29897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29898 (eval $ac_try) 2>&5
29899 ac_status=$?
29900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29901 (exit $ac_status); }; } &&
29902 { ac_try='test -s conftest$ac_exeext'
29903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29904 (eval $ac_try) 2>&5
29905 ac_status=$?
29906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29907 (exit $ac_status); }; }; then
29908 eval "$as_ac_var=yes"
29909 else
29910 echo "$as_me: failed program was:" >&5
29911 sed 's/^/| /' conftest.$ac_ext >&5
29913 eval "$as_ac_var=no"
29915 rm -f conftest.err conftest.$ac_objext \
29916 conftest$ac_exeext conftest.$ac_ext
29918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29920 if test `eval echo '${'$as_ac_var'}'` = yes; then
29921 cat >>confdefs.h <<_ACEOF
29922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29923 _ACEOF
29926 done
29928 else
29930 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
29931 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
29932 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
29933 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
29934 echo $ECHO_N "(cached) $ECHO_C" >&6
29935 else
29939 ac_ext=cc
29940 ac_cpp='$CXXCPP $CPPFLAGS'
29941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29945 cat >conftest.$ac_ext <<_ACEOF
29946 /* confdefs.h. */
29947 _ACEOF
29948 cat confdefs.h >>conftest.$ac_ext
29949 cat >>conftest.$ac_ext <<_ACEOF
29950 /* end confdefs.h. */
29951 #include <math.h>
29953 main ()
29955 _atan2l(0, 0);
29957 return 0;
29959 _ACEOF
29960 rm -f conftest.$ac_objext
29961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29962 (eval $ac_compile) 2>conftest.er1
29963 ac_status=$?
29964 grep -v '^ *+' conftest.er1 >conftest.err
29965 rm -f conftest.er1
29966 cat conftest.err >&5
29967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29968 (exit $ac_status); } &&
29969 { ac_try='test -z "$ac_cxx_werror_flag"
29970 || test ! -s conftest.err'
29971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29972 (eval $ac_try) 2>&5
29973 ac_status=$?
29974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29975 (exit $ac_status); }; } &&
29976 { ac_try='test -s conftest.$ac_objext'
29977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29978 (eval $ac_try) 2>&5
29979 ac_status=$?
29980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29981 (exit $ac_status); }; }; then
29982 glibcxx_cv_func__atan2l_use=yes
29983 else
29984 echo "$as_me: failed program was:" >&5
29985 sed 's/^/| /' conftest.$ac_ext >&5
29987 glibcxx_cv_func__atan2l_use=no
29989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29990 ac_ext=c
29991 ac_cpp='$CPP $CPPFLAGS'
29992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30000 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
30001 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
30003 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30005 for ac_func in _atan2l
30007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30008 echo "$as_me:$LINENO: checking for $ac_func" >&5
30009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30010 if eval "test \"\${$as_ac_var+set}\" = set"; then
30011 echo $ECHO_N "(cached) $ECHO_C" >&6
30012 else
30013 if test x$gcc_no_link = xyes; then
30014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30016 { (exit 1); exit 1; }; }
30018 cat >conftest.$ac_ext <<_ACEOF
30019 /* confdefs.h. */
30020 _ACEOF
30021 cat confdefs.h >>conftest.$ac_ext
30022 cat >>conftest.$ac_ext <<_ACEOF
30023 /* end confdefs.h. */
30024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30026 #define $ac_func innocuous_$ac_func
30028 /* System header to define __stub macros and hopefully few prototypes,
30029 which can conflict with char $ac_func (); below.
30030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30031 <limits.h> exists even on freestanding compilers. */
30033 #ifdef __STDC__
30034 # include <limits.h>
30035 #else
30036 # include <assert.h>
30037 #endif
30039 #undef $ac_func
30041 /* Override any gcc2 internal prototype to avoid an error. */
30042 #ifdef __cplusplus
30043 extern "C"
30045 #endif
30046 /* We use char because int might match the return type of a gcc2
30047 builtin and then its argument prototype would still apply. */
30048 char $ac_func ();
30049 /* The GNU C library defines this for functions which it implements
30050 to always fail with ENOSYS. Some functions are actually named
30051 something starting with __ and the normal name is an alias. */
30052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30053 choke me
30054 #else
30055 char (*f) () = $ac_func;
30056 #endif
30057 #ifdef __cplusplus
30059 #endif
30062 main ()
30064 return f != $ac_func;
30066 return 0;
30068 _ACEOF
30069 rm -f conftest.$ac_objext conftest$ac_exeext
30070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30071 (eval $ac_link) 2>conftest.er1
30072 ac_status=$?
30073 grep -v '^ *+' conftest.er1 >conftest.err
30074 rm -f conftest.er1
30075 cat conftest.err >&5
30076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30077 (exit $ac_status); } &&
30078 { ac_try='test -z "$ac_c_werror_flag"
30079 || test ! -s conftest.err'
30080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30081 (eval $ac_try) 2>&5
30082 ac_status=$?
30083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30084 (exit $ac_status); }; } &&
30085 { ac_try='test -s conftest$ac_exeext'
30086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30087 (eval $ac_try) 2>&5
30088 ac_status=$?
30089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30090 (exit $ac_status); }; }; then
30091 eval "$as_ac_var=yes"
30092 else
30093 echo "$as_me: failed program was:" >&5
30094 sed 's/^/| /' conftest.$ac_ext >&5
30096 eval "$as_ac_var=no"
30098 rm -f conftest.err conftest.$ac_objext \
30099 conftest$ac_exeext conftest.$ac_ext
30101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30103 if test `eval echo '${'$as_ac_var'}'` = yes; then
30104 cat >>confdefs.h <<_ACEOF
30105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30106 _ACEOF
30109 done
30119 echo "$as_me:$LINENO: checking for expl declaration" >&5
30120 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
30121 if test x${glibcxx_cv_func_expl_use+set} != xset; then
30122 if test "${glibcxx_cv_func_expl_use+set}" = set; then
30123 echo $ECHO_N "(cached) $ECHO_C" >&6
30124 else
30128 ac_ext=cc
30129 ac_cpp='$CXXCPP $CPPFLAGS'
30130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30134 cat >conftest.$ac_ext <<_ACEOF
30135 /* confdefs.h. */
30136 _ACEOF
30137 cat confdefs.h >>conftest.$ac_ext
30138 cat >>conftest.$ac_ext <<_ACEOF
30139 /* end confdefs.h. */
30140 #include <math.h>
30141 #ifdef HAVE_IEEEFP_H
30142 #include <ieeefp.h>
30143 #endif
30146 main ()
30148 expl(0);
30150 return 0;
30152 _ACEOF
30153 rm -f conftest.$ac_objext
30154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30155 (eval $ac_compile) 2>conftest.er1
30156 ac_status=$?
30157 grep -v '^ *+' conftest.er1 >conftest.err
30158 rm -f conftest.er1
30159 cat conftest.err >&5
30160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30161 (exit $ac_status); } &&
30162 { ac_try='test -z "$ac_cxx_werror_flag"
30163 || test ! -s conftest.err'
30164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30165 (eval $ac_try) 2>&5
30166 ac_status=$?
30167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30168 (exit $ac_status); }; } &&
30169 { ac_try='test -s conftest.$ac_objext'
30170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30171 (eval $ac_try) 2>&5
30172 ac_status=$?
30173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30174 (exit $ac_status); }; }; then
30175 glibcxx_cv_func_expl_use=yes
30176 else
30177 echo "$as_me: failed program was:" >&5
30178 sed 's/^/| /' conftest.$ac_ext >&5
30180 glibcxx_cv_func_expl_use=no
30182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30183 ac_ext=c
30184 ac_cpp='$CPP $CPPFLAGS'
30185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30193 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
30194 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
30196 if test x$glibcxx_cv_func_expl_use = x"yes"; then
30198 for ac_func in expl
30200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30201 echo "$as_me:$LINENO: checking for $ac_func" >&5
30202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30203 if eval "test \"\${$as_ac_var+set}\" = set"; then
30204 echo $ECHO_N "(cached) $ECHO_C" >&6
30205 else
30206 if test x$gcc_no_link = xyes; then
30207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30209 { (exit 1); exit 1; }; }
30211 cat >conftest.$ac_ext <<_ACEOF
30212 /* confdefs.h. */
30213 _ACEOF
30214 cat confdefs.h >>conftest.$ac_ext
30215 cat >>conftest.$ac_ext <<_ACEOF
30216 /* end confdefs.h. */
30217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30219 #define $ac_func innocuous_$ac_func
30221 /* System header to define __stub macros and hopefully few prototypes,
30222 which can conflict with char $ac_func (); below.
30223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30224 <limits.h> exists even on freestanding compilers. */
30226 #ifdef __STDC__
30227 # include <limits.h>
30228 #else
30229 # include <assert.h>
30230 #endif
30232 #undef $ac_func
30234 /* Override any gcc2 internal prototype to avoid an error. */
30235 #ifdef __cplusplus
30236 extern "C"
30238 #endif
30239 /* We use char because int might match the return type of a gcc2
30240 builtin and then its argument prototype would still apply. */
30241 char $ac_func ();
30242 /* The GNU C library defines this for functions which it implements
30243 to always fail with ENOSYS. Some functions are actually named
30244 something starting with __ and the normal name is an alias. */
30245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30246 choke me
30247 #else
30248 char (*f) () = $ac_func;
30249 #endif
30250 #ifdef __cplusplus
30252 #endif
30255 main ()
30257 return f != $ac_func;
30259 return 0;
30261 _ACEOF
30262 rm -f conftest.$ac_objext conftest$ac_exeext
30263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30264 (eval $ac_link) 2>conftest.er1
30265 ac_status=$?
30266 grep -v '^ *+' conftest.er1 >conftest.err
30267 rm -f conftest.er1
30268 cat conftest.err >&5
30269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30270 (exit $ac_status); } &&
30271 { ac_try='test -z "$ac_c_werror_flag"
30272 || test ! -s conftest.err'
30273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30274 (eval $ac_try) 2>&5
30275 ac_status=$?
30276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30277 (exit $ac_status); }; } &&
30278 { ac_try='test -s conftest$ac_exeext'
30279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30280 (eval $ac_try) 2>&5
30281 ac_status=$?
30282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30283 (exit $ac_status); }; }; then
30284 eval "$as_ac_var=yes"
30285 else
30286 echo "$as_me: failed program was:" >&5
30287 sed 's/^/| /' conftest.$ac_ext >&5
30289 eval "$as_ac_var=no"
30291 rm -f conftest.err conftest.$ac_objext \
30292 conftest$ac_exeext conftest.$ac_ext
30294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30296 if test `eval echo '${'$as_ac_var'}'` = yes; then
30297 cat >>confdefs.h <<_ACEOF
30298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30299 _ACEOF
30302 done
30304 else
30306 echo "$as_me:$LINENO: checking for _expl declaration" >&5
30307 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
30308 if test x${glibcxx_cv_func__expl_use+set} != xset; then
30309 if test "${glibcxx_cv_func__expl_use+set}" = set; then
30310 echo $ECHO_N "(cached) $ECHO_C" >&6
30311 else
30315 ac_ext=cc
30316 ac_cpp='$CXXCPP $CPPFLAGS'
30317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30321 cat >conftest.$ac_ext <<_ACEOF
30322 /* confdefs.h. */
30323 _ACEOF
30324 cat confdefs.h >>conftest.$ac_ext
30325 cat >>conftest.$ac_ext <<_ACEOF
30326 /* end confdefs.h. */
30327 #include <math.h>
30328 #ifdef HAVE_IEEEFP_H
30329 #include <ieeefp.h>
30330 #endif
30333 main ()
30335 _expl(0);
30337 return 0;
30339 _ACEOF
30340 rm -f conftest.$ac_objext
30341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30342 (eval $ac_compile) 2>conftest.er1
30343 ac_status=$?
30344 grep -v '^ *+' conftest.er1 >conftest.err
30345 rm -f conftest.er1
30346 cat conftest.err >&5
30347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30348 (exit $ac_status); } &&
30349 { ac_try='test -z "$ac_cxx_werror_flag"
30350 || test ! -s conftest.err'
30351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30352 (eval $ac_try) 2>&5
30353 ac_status=$?
30354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30355 (exit $ac_status); }; } &&
30356 { ac_try='test -s conftest.$ac_objext'
30357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30358 (eval $ac_try) 2>&5
30359 ac_status=$?
30360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30361 (exit $ac_status); }; }; then
30362 glibcxx_cv_func__expl_use=yes
30363 else
30364 echo "$as_me: failed program was:" >&5
30365 sed 's/^/| /' conftest.$ac_ext >&5
30367 glibcxx_cv_func__expl_use=no
30369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30370 ac_ext=c
30371 ac_cpp='$CPP $CPPFLAGS'
30372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30380 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
30381 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
30383 if test x$glibcxx_cv_func__expl_use = x"yes"; then
30385 for ac_func in _expl
30387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30388 echo "$as_me:$LINENO: checking for $ac_func" >&5
30389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30390 if eval "test \"\${$as_ac_var+set}\" = set"; then
30391 echo $ECHO_N "(cached) $ECHO_C" >&6
30392 else
30393 if test x$gcc_no_link = xyes; then
30394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30396 { (exit 1); exit 1; }; }
30398 cat >conftest.$ac_ext <<_ACEOF
30399 /* confdefs.h. */
30400 _ACEOF
30401 cat confdefs.h >>conftest.$ac_ext
30402 cat >>conftest.$ac_ext <<_ACEOF
30403 /* end confdefs.h. */
30404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30406 #define $ac_func innocuous_$ac_func
30408 /* System header to define __stub macros and hopefully few prototypes,
30409 which can conflict with char $ac_func (); below.
30410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30411 <limits.h> exists even on freestanding compilers. */
30413 #ifdef __STDC__
30414 # include <limits.h>
30415 #else
30416 # include <assert.h>
30417 #endif
30419 #undef $ac_func
30421 /* Override any gcc2 internal prototype to avoid an error. */
30422 #ifdef __cplusplus
30423 extern "C"
30425 #endif
30426 /* We use char because int might match the return type of a gcc2
30427 builtin and then its argument prototype would still apply. */
30428 char $ac_func ();
30429 /* The GNU C library defines this for functions which it implements
30430 to always fail with ENOSYS. Some functions are actually named
30431 something starting with __ and the normal name is an alias. */
30432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30433 choke me
30434 #else
30435 char (*f) () = $ac_func;
30436 #endif
30437 #ifdef __cplusplus
30439 #endif
30442 main ()
30444 return f != $ac_func;
30446 return 0;
30448 _ACEOF
30449 rm -f conftest.$ac_objext conftest$ac_exeext
30450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30451 (eval $ac_link) 2>conftest.er1
30452 ac_status=$?
30453 grep -v '^ *+' conftest.er1 >conftest.err
30454 rm -f conftest.er1
30455 cat conftest.err >&5
30456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30457 (exit $ac_status); } &&
30458 { ac_try='test -z "$ac_c_werror_flag"
30459 || test ! -s conftest.err'
30460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30461 (eval $ac_try) 2>&5
30462 ac_status=$?
30463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30464 (exit $ac_status); }; } &&
30465 { ac_try='test -s conftest$ac_exeext'
30466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30467 (eval $ac_try) 2>&5
30468 ac_status=$?
30469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30470 (exit $ac_status); }; }; then
30471 eval "$as_ac_var=yes"
30472 else
30473 echo "$as_me: failed program was:" >&5
30474 sed 's/^/| /' conftest.$ac_ext >&5
30476 eval "$as_ac_var=no"
30478 rm -f conftest.err conftest.$ac_objext \
30479 conftest$ac_exeext conftest.$ac_ext
30481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30483 if test `eval echo '${'$as_ac_var'}'` = yes; then
30484 cat >>confdefs.h <<_ACEOF
30485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30486 _ACEOF
30489 done
30499 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
30500 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
30501 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30502 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
30503 echo $ECHO_N "(cached) $ECHO_C" >&6
30504 else
30508 ac_ext=cc
30509 ac_cpp='$CXXCPP $CPPFLAGS'
30510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30514 cat >conftest.$ac_ext <<_ACEOF
30515 /* confdefs.h. */
30516 _ACEOF
30517 cat confdefs.h >>conftest.$ac_ext
30518 cat >>conftest.$ac_ext <<_ACEOF
30519 /* end confdefs.h. */
30520 #include <math.h>
30521 #ifdef HAVE_IEEEFP_H
30522 #include <ieeefp.h>
30523 #endif
30526 main ()
30528 fabsl(0);
30530 return 0;
30532 _ACEOF
30533 rm -f conftest.$ac_objext
30534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30535 (eval $ac_compile) 2>conftest.er1
30536 ac_status=$?
30537 grep -v '^ *+' conftest.er1 >conftest.err
30538 rm -f conftest.er1
30539 cat conftest.err >&5
30540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30541 (exit $ac_status); } &&
30542 { ac_try='test -z "$ac_cxx_werror_flag"
30543 || test ! -s conftest.err'
30544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30545 (eval $ac_try) 2>&5
30546 ac_status=$?
30547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30548 (exit $ac_status); }; } &&
30549 { ac_try='test -s conftest.$ac_objext'
30550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30551 (eval $ac_try) 2>&5
30552 ac_status=$?
30553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30554 (exit $ac_status); }; }; then
30555 glibcxx_cv_func_fabsl_use=yes
30556 else
30557 echo "$as_me: failed program was:" >&5
30558 sed 's/^/| /' conftest.$ac_ext >&5
30560 glibcxx_cv_func_fabsl_use=no
30562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30563 ac_ext=c
30564 ac_cpp='$CPP $CPPFLAGS'
30565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30573 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
30574 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
30576 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30578 for ac_func in fabsl
30580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30581 echo "$as_me:$LINENO: checking for $ac_func" >&5
30582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30583 if eval "test \"\${$as_ac_var+set}\" = set"; then
30584 echo $ECHO_N "(cached) $ECHO_C" >&6
30585 else
30586 if test x$gcc_no_link = xyes; then
30587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30589 { (exit 1); exit 1; }; }
30591 cat >conftest.$ac_ext <<_ACEOF
30592 /* confdefs.h. */
30593 _ACEOF
30594 cat confdefs.h >>conftest.$ac_ext
30595 cat >>conftest.$ac_ext <<_ACEOF
30596 /* end confdefs.h. */
30597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30599 #define $ac_func innocuous_$ac_func
30601 /* System header to define __stub macros and hopefully few prototypes,
30602 which can conflict with char $ac_func (); below.
30603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30604 <limits.h> exists even on freestanding compilers. */
30606 #ifdef __STDC__
30607 # include <limits.h>
30608 #else
30609 # include <assert.h>
30610 #endif
30612 #undef $ac_func
30614 /* Override any gcc2 internal prototype to avoid an error. */
30615 #ifdef __cplusplus
30616 extern "C"
30618 #endif
30619 /* We use char because int might match the return type of a gcc2
30620 builtin and then its argument prototype would still apply. */
30621 char $ac_func ();
30622 /* The GNU C library defines this for functions which it implements
30623 to always fail with ENOSYS. Some functions are actually named
30624 something starting with __ and the normal name is an alias. */
30625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30626 choke me
30627 #else
30628 char (*f) () = $ac_func;
30629 #endif
30630 #ifdef __cplusplus
30632 #endif
30635 main ()
30637 return f != $ac_func;
30639 return 0;
30641 _ACEOF
30642 rm -f conftest.$ac_objext conftest$ac_exeext
30643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30644 (eval $ac_link) 2>conftest.er1
30645 ac_status=$?
30646 grep -v '^ *+' conftest.er1 >conftest.err
30647 rm -f conftest.er1
30648 cat conftest.err >&5
30649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30650 (exit $ac_status); } &&
30651 { ac_try='test -z "$ac_c_werror_flag"
30652 || test ! -s conftest.err'
30653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30654 (eval $ac_try) 2>&5
30655 ac_status=$?
30656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30657 (exit $ac_status); }; } &&
30658 { ac_try='test -s conftest$ac_exeext'
30659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30660 (eval $ac_try) 2>&5
30661 ac_status=$?
30662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30663 (exit $ac_status); }; }; then
30664 eval "$as_ac_var=yes"
30665 else
30666 echo "$as_me: failed program was:" >&5
30667 sed 's/^/| /' conftest.$ac_ext >&5
30669 eval "$as_ac_var=no"
30671 rm -f conftest.err conftest.$ac_objext \
30672 conftest$ac_exeext conftest.$ac_ext
30674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30676 if test `eval echo '${'$as_ac_var'}'` = yes; then
30677 cat >>confdefs.h <<_ACEOF
30678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30679 _ACEOF
30682 done
30684 else
30686 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
30687 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
30688 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30689 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
30690 echo $ECHO_N "(cached) $ECHO_C" >&6
30691 else
30695 ac_ext=cc
30696 ac_cpp='$CXXCPP $CPPFLAGS'
30697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30701 cat >conftest.$ac_ext <<_ACEOF
30702 /* confdefs.h. */
30703 _ACEOF
30704 cat confdefs.h >>conftest.$ac_ext
30705 cat >>conftest.$ac_ext <<_ACEOF
30706 /* end confdefs.h. */
30707 #include <math.h>
30708 #ifdef HAVE_IEEEFP_H
30709 #include <ieeefp.h>
30710 #endif
30713 main ()
30715 _fabsl(0);
30717 return 0;
30719 _ACEOF
30720 rm -f conftest.$ac_objext
30721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30722 (eval $ac_compile) 2>conftest.er1
30723 ac_status=$?
30724 grep -v '^ *+' conftest.er1 >conftest.err
30725 rm -f conftest.er1
30726 cat conftest.err >&5
30727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30728 (exit $ac_status); } &&
30729 { ac_try='test -z "$ac_cxx_werror_flag"
30730 || test ! -s conftest.err'
30731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30732 (eval $ac_try) 2>&5
30733 ac_status=$?
30734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30735 (exit $ac_status); }; } &&
30736 { ac_try='test -s conftest.$ac_objext'
30737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30738 (eval $ac_try) 2>&5
30739 ac_status=$?
30740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30741 (exit $ac_status); }; }; then
30742 glibcxx_cv_func__fabsl_use=yes
30743 else
30744 echo "$as_me: failed program was:" >&5
30745 sed 's/^/| /' conftest.$ac_ext >&5
30747 glibcxx_cv_func__fabsl_use=no
30749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30750 ac_ext=c
30751 ac_cpp='$CPP $CPPFLAGS'
30752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30760 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
30761 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
30763 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30765 for ac_func in _fabsl
30767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30768 echo "$as_me:$LINENO: checking for $ac_func" >&5
30769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30770 if eval "test \"\${$as_ac_var+set}\" = set"; then
30771 echo $ECHO_N "(cached) $ECHO_C" >&6
30772 else
30773 if test x$gcc_no_link = xyes; then
30774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30776 { (exit 1); exit 1; }; }
30778 cat >conftest.$ac_ext <<_ACEOF
30779 /* confdefs.h. */
30780 _ACEOF
30781 cat confdefs.h >>conftest.$ac_ext
30782 cat >>conftest.$ac_ext <<_ACEOF
30783 /* end confdefs.h. */
30784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30786 #define $ac_func innocuous_$ac_func
30788 /* System header to define __stub macros and hopefully few prototypes,
30789 which can conflict with char $ac_func (); below.
30790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30791 <limits.h> exists even on freestanding compilers. */
30793 #ifdef __STDC__
30794 # include <limits.h>
30795 #else
30796 # include <assert.h>
30797 #endif
30799 #undef $ac_func
30801 /* Override any gcc2 internal prototype to avoid an error. */
30802 #ifdef __cplusplus
30803 extern "C"
30805 #endif
30806 /* We use char because int might match the return type of a gcc2
30807 builtin and then its argument prototype would still apply. */
30808 char $ac_func ();
30809 /* The GNU C library defines this for functions which it implements
30810 to always fail with ENOSYS. Some functions are actually named
30811 something starting with __ and the normal name is an alias. */
30812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30813 choke me
30814 #else
30815 char (*f) () = $ac_func;
30816 #endif
30817 #ifdef __cplusplus
30819 #endif
30822 main ()
30824 return f != $ac_func;
30826 return 0;
30828 _ACEOF
30829 rm -f conftest.$ac_objext conftest$ac_exeext
30830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30831 (eval $ac_link) 2>conftest.er1
30832 ac_status=$?
30833 grep -v '^ *+' conftest.er1 >conftest.err
30834 rm -f conftest.er1
30835 cat conftest.err >&5
30836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30837 (exit $ac_status); } &&
30838 { ac_try='test -z "$ac_c_werror_flag"
30839 || test ! -s conftest.err'
30840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30841 (eval $ac_try) 2>&5
30842 ac_status=$?
30843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30844 (exit $ac_status); }; } &&
30845 { ac_try='test -s conftest$ac_exeext'
30846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30847 (eval $ac_try) 2>&5
30848 ac_status=$?
30849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30850 (exit $ac_status); }; }; then
30851 eval "$as_ac_var=yes"
30852 else
30853 echo "$as_me: failed program was:" >&5
30854 sed 's/^/| /' conftest.$ac_ext >&5
30856 eval "$as_ac_var=no"
30858 rm -f conftest.err conftest.$ac_objext \
30859 conftest$ac_exeext conftest.$ac_ext
30861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30863 if test `eval echo '${'$as_ac_var'}'` = yes; then
30864 cat >>confdefs.h <<_ACEOF
30865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30866 _ACEOF
30869 done
30879 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
30880 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
30881 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
30882 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
30883 echo $ECHO_N "(cached) $ECHO_C" >&6
30884 else
30888 ac_ext=cc
30889 ac_cpp='$CXXCPP $CPPFLAGS'
30890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30894 cat >conftest.$ac_ext <<_ACEOF
30895 /* confdefs.h. */
30896 _ACEOF
30897 cat confdefs.h >>conftest.$ac_ext
30898 cat >>conftest.$ac_ext <<_ACEOF
30899 /* end confdefs.h. */
30900 #include <math.h>
30902 main ()
30904 fmodl(0, 0);
30906 return 0;
30908 _ACEOF
30909 rm -f conftest.$ac_objext
30910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30911 (eval $ac_compile) 2>conftest.er1
30912 ac_status=$?
30913 grep -v '^ *+' conftest.er1 >conftest.err
30914 rm -f conftest.er1
30915 cat conftest.err >&5
30916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30917 (exit $ac_status); } &&
30918 { ac_try='test -z "$ac_cxx_werror_flag"
30919 || test ! -s conftest.err'
30920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30921 (eval $ac_try) 2>&5
30922 ac_status=$?
30923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30924 (exit $ac_status); }; } &&
30925 { ac_try='test -s conftest.$ac_objext'
30926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30927 (eval $ac_try) 2>&5
30928 ac_status=$?
30929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30930 (exit $ac_status); }; }; then
30931 glibcxx_cv_func_fmodl_use=yes
30932 else
30933 echo "$as_me: failed program was:" >&5
30934 sed 's/^/| /' conftest.$ac_ext >&5
30936 glibcxx_cv_func_fmodl_use=no
30938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30939 ac_ext=c
30940 ac_cpp='$CPP $CPPFLAGS'
30941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30949 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
30950 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
30952 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
30954 for ac_func in fmodl
30956 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30957 echo "$as_me:$LINENO: checking for $ac_func" >&5
30958 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30959 if eval "test \"\${$as_ac_var+set}\" = set"; then
30960 echo $ECHO_N "(cached) $ECHO_C" >&6
30961 else
30962 if test x$gcc_no_link = xyes; then
30963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30965 { (exit 1); exit 1; }; }
30967 cat >conftest.$ac_ext <<_ACEOF
30968 /* confdefs.h. */
30969 _ACEOF
30970 cat confdefs.h >>conftest.$ac_ext
30971 cat >>conftest.$ac_ext <<_ACEOF
30972 /* end confdefs.h. */
30973 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30974 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30975 #define $ac_func innocuous_$ac_func
30977 /* System header to define __stub macros and hopefully few prototypes,
30978 which can conflict with char $ac_func (); below.
30979 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30980 <limits.h> exists even on freestanding compilers. */
30982 #ifdef __STDC__
30983 # include <limits.h>
30984 #else
30985 # include <assert.h>
30986 #endif
30988 #undef $ac_func
30990 /* Override any gcc2 internal prototype to avoid an error. */
30991 #ifdef __cplusplus
30992 extern "C"
30994 #endif
30995 /* We use char because int might match the return type of a gcc2
30996 builtin and then its argument prototype would still apply. */
30997 char $ac_func ();
30998 /* The GNU C library defines this for functions which it implements
30999 to always fail with ENOSYS. Some functions are actually named
31000 something starting with __ and the normal name is an alias. */
31001 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31002 choke me
31003 #else
31004 char (*f) () = $ac_func;
31005 #endif
31006 #ifdef __cplusplus
31008 #endif
31011 main ()
31013 return f != $ac_func;
31015 return 0;
31017 _ACEOF
31018 rm -f conftest.$ac_objext conftest$ac_exeext
31019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31020 (eval $ac_link) 2>conftest.er1
31021 ac_status=$?
31022 grep -v '^ *+' conftest.er1 >conftest.err
31023 rm -f conftest.er1
31024 cat conftest.err >&5
31025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31026 (exit $ac_status); } &&
31027 { ac_try='test -z "$ac_c_werror_flag"
31028 || test ! -s conftest.err'
31029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31030 (eval $ac_try) 2>&5
31031 ac_status=$?
31032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31033 (exit $ac_status); }; } &&
31034 { ac_try='test -s conftest$ac_exeext'
31035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31036 (eval $ac_try) 2>&5
31037 ac_status=$?
31038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31039 (exit $ac_status); }; }; then
31040 eval "$as_ac_var=yes"
31041 else
31042 echo "$as_me: failed program was:" >&5
31043 sed 's/^/| /' conftest.$ac_ext >&5
31045 eval "$as_ac_var=no"
31047 rm -f conftest.err conftest.$ac_objext \
31048 conftest$ac_exeext conftest.$ac_ext
31050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31051 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31052 if test `eval echo '${'$as_ac_var'}'` = yes; then
31053 cat >>confdefs.h <<_ACEOF
31054 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31055 _ACEOF
31058 done
31060 else
31062 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
31063 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
31064 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31065 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
31066 echo $ECHO_N "(cached) $ECHO_C" >&6
31067 else
31071 ac_ext=cc
31072 ac_cpp='$CXXCPP $CPPFLAGS'
31073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31077 cat >conftest.$ac_ext <<_ACEOF
31078 /* confdefs.h. */
31079 _ACEOF
31080 cat confdefs.h >>conftest.$ac_ext
31081 cat >>conftest.$ac_ext <<_ACEOF
31082 /* end confdefs.h. */
31083 #include <math.h>
31085 main ()
31087 _fmodl(0, 0);
31089 return 0;
31091 _ACEOF
31092 rm -f conftest.$ac_objext
31093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31094 (eval $ac_compile) 2>conftest.er1
31095 ac_status=$?
31096 grep -v '^ *+' conftest.er1 >conftest.err
31097 rm -f conftest.er1
31098 cat conftest.err >&5
31099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31100 (exit $ac_status); } &&
31101 { ac_try='test -z "$ac_cxx_werror_flag"
31102 || test ! -s conftest.err'
31103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31104 (eval $ac_try) 2>&5
31105 ac_status=$?
31106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31107 (exit $ac_status); }; } &&
31108 { ac_try='test -s conftest.$ac_objext'
31109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31110 (eval $ac_try) 2>&5
31111 ac_status=$?
31112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31113 (exit $ac_status); }; }; then
31114 glibcxx_cv_func__fmodl_use=yes
31115 else
31116 echo "$as_me: failed program was:" >&5
31117 sed 's/^/| /' conftest.$ac_ext >&5
31119 glibcxx_cv_func__fmodl_use=no
31121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31122 ac_ext=c
31123 ac_cpp='$CPP $CPPFLAGS'
31124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31132 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
31133 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
31135 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31137 for ac_func in _fmodl
31139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31140 echo "$as_me:$LINENO: checking for $ac_func" >&5
31141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31142 if eval "test \"\${$as_ac_var+set}\" = set"; then
31143 echo $ECHO_N "(cached) $ECHO_C" >&6
31144 else
31145 if test x$gcc_no_link = xyes; then
31146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31148 { (exit 1); exit 1; }; }
31150 cat >conftest.$ac_ext <<_ACEOF
31151 /* confdefs.h. */
31152 _ACEOF
31153 cat confdefs.h >>conftest.$ac_ext
31154 cat >>conftest.$ac_ext <<_ACEOF
31155 /* end confdefs.h. */
31156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31158 #define $ac_func innocuous_$ac_func
31160 /* System header to define __stub macros and hopefully few prototypes,
31161 which can conflict with char $ac_func (); below.
31162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31163 <limits.h> exists even on freestanding compilers. */
31165 #ifdef __STDC__
31166 # include <limits.h>
31167 #else
31168 # include <assert.h>
31169 #endif
31171 #undef $ac_func
31173 /* Override any gcc2 internal prototype to avoid an error. */
31174 #ifdef __cplusplus
31175 extern "C"
31177 #endif
31178 /* We use char because int might match the return type of a gcc2
31179 builtin and then its argument prototype would still apply. */
31180 char $ac_func ();
31181 /* The GNU C library defines this for functions which it implements
31182 to always fail with ENOSYS. Some functions are actually named
31183 something starting with __ and the normal name is an alias. */
31184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31185 choke me
31186 #else
31187 char (*f) () = $ac_func;
31188 #endif
31189 #ifdef __cplusplus
31191 #endif
31194 main ()
31196 return f != $ac_func;
31198 return 0;
31200 _ACEOF
31201 rm -f conftest.$ac_objext conftest$ac_exeext
31202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31203 (eval $ac_link) 2>conftest.er1
31204 ac_status=$?
31205 grep -v '^ *+' conftest.er1 >conftest.err
31206 rm -f conftest.er1
31207 cat conftest.err >&5
31208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31209 (exit $ac_status); } &&
31210 { ac_try='test -z "$ac_c_werror_flag"
31211 || test ! -s conftest.err'
31212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31213 (eval $ac_try) 2>&5
31214 ac_status=$?
31215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31216 (exit $ac_status); }; } &&
31217 { ac_try='test -s conftest$ac_exeext'
31218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31219 (eval $ac_try) 2>&5
31220 ac_status=$?
31221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31222 (exit $ac_status); }; }; then
31223 eval "$as_ac_var=yes"
31224 else
31225 echo "$as_me: failed program was:" >&5
31226 sed 's/^/| /' conftest.$ac_ext >&5
31228 eval "$as_ac_var=no"
31230 rm -f conftest.err conftest.$ac_objext \
31231 conftest$ac_exeext conftest.$ac_ext
31233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31235 if test `eval echo '${'$as_ac_var'}'` = yes; then
31236 cat >>confdefs.h <<_ACEOF
31237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31238 _ACEOF
31241 done
31251 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
31252 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
31253 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31254 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
31255 echo $ECHO_N "(cached) $ECHO_C" >&6
31256 else
31260 ac_ext=cc
31261 ac_cpp='$CXXCPP $CPPFLAGS'
31262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31266 cat >conftest.$ac_ext <<_ACEOF
31267 /* confdefs.h. */
31268 _ACEOF
31269 cat confdefs.h >>conftest.$ac_ext
31270 cat >>conftest.$ac_ext <<_ACEOF
31271 /* end confdefs.h. */
31272 #include <math.h>
31274 main ()
31276 frexpl(0, 0);
31278 return 0;
31280 _ACEOF
31281 rm -f conftest.$ac_objext
31282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31283 (eval $ac_compile) 2>conftest.er1
31284 ac_status=$?
31285 grep -v '^ *+' conftest.er1 >conftest.err
31286 rm -f conftest.er1
31287 cat conftest.err >&5
31288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31289 (exit $ac_status); } &&
31290 { ac_try='test -z "$ac_cxx_werror_flag"
31291 || test ! -s conftest.err'
31292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31293 (eval $ac_try) 2>&5
31294 ac_status=$?
31295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31296 (exit $ac_status); }; } &&
31297 { ac_try='test -s conftest.$ac_objext'
31298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31299 (eval $ac_try) 2>&5
31300 ac_status=$?
31301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31302 (exit $ac_status); }; }; then
31303 glibcxx_cv_func_frexpl_use=yes
31304 else
31305 echo "$as_me: failed program was:" >&5
31306 sed 's/^/| /' conftest.$ac_ext >&5
31308 glibcxx_cv_func_frexpl_use=no
31310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31311 ac_ext=c
31312 ac_cpp='$CPP $CPPFLAGS'
31313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31321 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
31322 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
31324 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31326 for ac_func in frexpl
31328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31329 echo "$as_me:$LINENO: checking for $ac_func" >&5
31330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31331 if eval "test \"\${$as_ac_var+set}\" = set"; then
31332 echo $ECHO_N "(cached) $ECHO_C" >&6
31333 else
31334 if test x$gcc_no_link = xyes; then
31335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31337 { (exit 1); exit 1; }; }
31339 cat >conftest.$ac_ext <<_ACEOF
31340 /* confdefs.h. */
31341 _ACEOF
31342 cat confdefs.h >>conftest.$ac_ext
31343 cat >>conftest.$ac_ext <<_ACEOF
31344 /* end confdefs.h. */
31345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31347 #define $ac_func innocuous_$ac_func
31349 /* System header to define __stub macros and hopefully few prototypes,
31350 which can conflict with char $ac_func (); below.
31351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31352 <limits.h> exists even on freestanding compilers. */
31354 #ifdef __STDC__
31355 # include <limits.h>
31356 #else
31357 # include <assert.h>
31358 #endif
31360 #undef $ac_func
31362 /* Override any gcc2 internal prototype to avoid an error. */
31363 #ifdef __cplusplus
31364 extern "C"
31366 #endif
31367 /* We use char because int might match the return type of a gcc2
31368 builtin and then its argument prototype would still apply. */
31369 char $ac_func ();
31370 /* The GNU C library defines this for functions which it implements
31371 to always fail with ENOSYS. Some functions are actually named
31372 something starting with __ and the normal name is an alias. */
31373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31374 choke me
31375 #else
31376 char (*f) () = $ac_func;
31377 #endif
31378 #ifdef __cplusplus
31380 #endif
31383 main ()
31385 return f != $ac_func;
31387 return 0;
31389 _ACEOF
31390 rm -f conftest.$ac_objext conftest$ac_exeext
31391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31392 (eval $ac_link) 2>conftest.er1
31393 ac_status=$?
31394 grep -v '^ *+' conftest.er1 >conftest.err
31395 rm -f conftest.er1
31396 cat conftest.err >&5
31397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31398 (exit $ac_status); } &&
31399 { ac_try='test -z "$ac_c_werror_flag"
31400 || test ! -s conftest.err'
31401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31402 (eval $ac_try) 2>&5
31403 ac_status=$?
31404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31405 (exit $ac_status); }; } &&
31406 { ac_try='test -s conftest$ac_exeext'
31407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31408 (eval $ac_try) 2>&5
31409 ac_status=$?
31410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31411 (exit $ac_status); }; }; then
31412 eval "$as_ac_var=yes"
31413 else
31414 echo "$as_me: failed program was:" >&5
31415 sed 's/^/| /' conftest.$ac_ext >&5
31417 eval "$as_ac_var=no"
31419 rm -f conftest.err conftest.$ac_objext \
31420 conftest$ac_exeext conftest.$ac_ext
31422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31424 if test `eval echo '${'$as_ac_var'}'` = yes; then
31425 cat >>confdefs.h <<_ACEOF
31426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31427 _ACEOF
31430 done
31432 else
31434 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
31435 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
31436 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31437 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
31438 echo $ECHO_N "(cached) $ECHO_C" >&6
31439 else
31443 ac_ext=cc
31444 ac_cpp='$CXXCPP $CPPFLAGS'
31445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31449 cat >conftest.$ac_ext <<_ACEOF
31450 /* confdefs.h. */
31451 _ACEOF
31452 cat confdefs.h >>conftest.$ac_ext
31453 cat >>conftest.$ac_ext <<_ACEOF
31454 /* end confdefs.h. */
31455 #include <math.h>
31457 main ()
31459 _frexpl(0, 0);
31461 return 0;
31463 _ACEOF
31464 rm -f conftest.$ac_objext
31465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31466 (eval $ac_compile) 2>conftest.er1
31467 ac_status=$?
31468 grep -v '^ *+' conftest.er1 >conftest.err
31469 rm -f conftest.er1
31470 cat conftest.err >&5
31471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31472 (exit $ac_status); } &&
31473 { ac_try='test -z "$ac_cxx_werror_flag"
31474 || test ! -s conftest.err'
31475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31476 (eval $ac_try) 2>&5
31477 ac_status=$?
31478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31479 (exit $ac_status); }; } &&
31480 { ac_try='test -s conftest.$ac_objext'
31481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31482 (eval $ac_try) 2>&5
31483 ac_status=$?
31484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31485 (exit $ac_status); }; }; then
31486 glibcxx_cv_func__frexpl_use=yes
31487 else
31488 echo "$as_me: failed program was:" >&5
31489 sed 's/^/| /' conftest.$ac_ext >&5
31491 glibcxx_cv_func__frexpl_use=no
31493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31494 ac_ext=c
31495 ac_cpp='$CPP $CPPFLAGS'
31496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31504 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
31505 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
31507 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31509 for ac_func in _frexpl
31511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31512 echo "$as_me:$LINENO: checking for $ac_func" >&5
31513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31514 if eval "test \"\${$as_ac_var+set}\" = set"; then
31515 echo $ECHO_N "(cached) $ECHO_C" >&6
31516 else
31517 if test x$gcc_no_link = xyes; then
31518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31520 { (exit 1); exit 1; }; }
31522 cat >conftest.$ac_ext <<_ACEOF
31523 /* confdefs.h. */
31524 _ACEOF
31525 cat confdefs.h >>conftest.$ac_ext
31526 cat >>conftest.$ac_ext <<_ACEOF
31527 /* end confdefs.h. */
31528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31530 #define $ac_func innocuous_$ac_func
31532 /* System header to define __stub macros and hopefully few prototypes,
31533 which can conflict with char $ac_func (); below.
31534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31535 <limits.h> exists even on freestanding compilers. */
31537 #ifdef __STDC__
31538 # include <limits.h>
31539 #else
31540 # include <assert.h>
31541 #endif
31543 #undef $ac_func
31545 /* Override any gcc2 internal prototype to avoid an error. */
31546 #ifdef __cplusplus
31547 extern "C"
31549 #endif
31550 /* We use char because int might match the return type of a gcc2
31551 builtin and then its argument prototype would still apply. */
31552 char $ac_func ();
31553 /* The GNU C library defines this for functions which it implements
31554 to always fail with ENOSYS. Some functions are actually named
31555 something starting with __ and the normal name is an alias. */
31556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31557 choke me
31558 #else
31559 char (*f) () = $ac_func;
31560 #endif
31561 #ifdef __cplusplus
31563 #endif
31566 main ()
31568 return f != $ac_func;
31570 return 0;
31572 _ACEOF
31573 rm -f conftest.$ac_objext conftest$ac_exeext
31574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31575 (eval $ac_link) 2>conftest.er1
31576 ac_status=$?
31577 grep -v '^ *+' conftest.er1 >conftest.err
31578 rm -f conftest.er1
31579 cat conftest.err >&5
31580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31581 (exit $ac_status); } &&
31582 { ac_try='test -z "$ac_c_werror_flag"
31583 || test ! -s conftest.err'
31584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31585 (eval $ac_try) 2>&5
31586 ac_status=$?
31587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31588 (exit $ac_status); }; } &&
31589 { ac_try='test -s conftest$ac_exeext'
31590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31591 (eval $ac_try) 2>&5
31592 ac_status=$?
31593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31594 (exit $ac_status); }; }; then
31595 eval "$as_ac_var=yes"
31596 else
31597 echo "$as_me: failed program was:" >&5
31598 sed 's/^/| /' conftest.$ac_ext >&5
31600 eval "$as_ac_var=no"
31602 rm -f conftest.err conftest.$ac_objext \
31603 conftest$ac_exeext conftest.$ac_ext
31605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31607 if test `eval echo '${'$as_ac_var'}'` = yes; then
31608 cat >>confdefs.h <<_ACEOF
31609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31610 _ACEOF
31613 done
31623 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
31624 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
31625 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31626 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
31627 echo $ECHO_N "(cached) $ECHO_C" >&6
31628 else
31632 ac_ext=cc
31633 ac_cpp='$CXXCPP $CPPFLAGS'
31634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31638 cat >conftest.$ac_ext <<_ACEOF
31639 /* confdefs.h. */
31640 _ACEOF
31641 cat confdefs.h >>conftest.$ac_ext
31642 cat >>conftest.$ac_ext <<_ACEOF
31643 /* end confdefs.h. */
31644 #include <math.h>
31646 main ()
31648 hypotl(0, 0);
31650 return 0;
31652 _ACEOF
31653 rm -f conftest.$ac_objext
31654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31655 (eval $ac_compile) 2>conftest.er1
31656 ac_status=$?
31657 grep -v '^ *+' conftest.er1 >conftest.err
31658 rm -f conftest.er1
31659 cat conftest.err >&5
31660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31661 (exit $ac_status); } &&
31662 { ac_try='test -z "$ac_cxx_werror_flag"
31663 || test ! -s conftest.err'
31664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31665 (eval $ac_try) 2>&5
31666 ac_status=$?
31667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31668 (exit $ac_status); }; } &&
31669 { ac_try='test -s conftest.$ac_objext'
31670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31671 (eval $ac_try) 2>&5
31672 ac_status=$?
31673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31674 (exit $ac_status); }; }; then
31675 glibcxx_cv_func_hypotl_use=yes
31676 else
31677 echo "$as_me: failed program was:" >&5
31678 sed 's/^/| /' conftest.$ac_ext >&5
31680 glibcxx_cv_func_hypotl_use=no
31682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31683 ac_ext=c
31684 ac_cpp='$CPP $CPPFLAGS'
31685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31693 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
31694 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
31696 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31698 for ac_func in hypotl
31700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31701 echo "$as_me:$LINENO: checking for $ac_func" >&5
31702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31703 if eval "test \"\${$as_ac_var+set}\" = set"; then
31704 echo $ECHO_N "(cached) $ECHO_C" >&6
31705 else
31706 if test x$gcc_no_link = xyes; then
31707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31709 { (exit 1); exit 1; }; }
31711 cat >conftest.$ac_ext <<_ACEOF
31712 /* confdefs.h. */
31713 _ACEOF
31714 cat confdefs.h >>conftest.$ac_ext
31715 cat >>conftest.$ac_ext <<_ACEOF
31716 /* end confdefs.h. */
31717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31719 #define $ac_func innocuous_$ac_func
31721 /* System header to define __stub macros and hopefully few prototypes,
31722 which can conflict with char $ac_func (); below.
31723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31724 <limits.h> exists even on freestanding compilers. */
31726 #ifdef __STDC__
31727 # include <limits.h>
31728 #else
31729 # include <assert.h>
31730 #endif
31732 #undef $ac_func
31734 /* Override any gcc2 internal prototype to avoid an error. */
31735 #ifdef __cplusplus
31736 extern "C"
31738 #endif
31739 /* We use char because int might match the return type of a gcc2
31740 builtin and then its argument prototype would still apply. */
31741 char $ac_func ();
31742 /* The GNU C library defines this for functions which it implements
31743 to always fail with ENOSYS. Some functions are actually named
31744 something starting with __ and the normal name is an alias. */
31745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31746 choke me
31747 #else
31748 char (*f) () = $ac_func;
31749 #endif
31750 #ifdef __cplusplus
31752 #endif
31755 main ()
31757 return f != $ac_func;
31759 return 0;
31761 _ACEOF
31762 rm -f conftest.$ac_objext conftest$ac_exeext
31763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31764 (eval $ac_link) 2>conftest.er1
31765 ac_status=$?
31766 grep -v '^ *+' conftest.er1 >conftest.err
31767 rm -f conftest.er1
31768 cat conftest.err >&5
31769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31770 (exit $ac_status); } &&
31771 { ac_try='test -z "$ac_c_werror_flag"
31772 || test ! -s conftest.err'
31773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31774 (eval $ac_try) 2>&5
31775 ac_status=$?
31776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31777 (exit $ac_status); }; } &&
31778 { ac_try='test -s conftest$ac_exeext'
31779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31780 (eval $ac_try) 2>&5
31781 ac_status=$?
31782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31783 (exit $ac_status); }; }; then
31784 eval "$as_ac_var=yes"
31785 else
31786 echo "$as_me: failed program was:" >&5
31787 sed 's/^/| /' conftest.$ac_ext >&5
31789 eval "$as_ac_var=no"
31791 rm -f conftest.err conftest.$ac_objext \
31792 conftest$ac_exeext conftest.$ac_ext
31794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31796 if test `eval echo '${'$as_ac_var'}'` = yes; then
31797 cat >>confdefs.h <<_ACEOF
31798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31799 _ACEOF
31802 done
31804 else
31806 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
31807 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
31808 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31809 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
31810 echo $ECHO_N "(cached) $ECHO_C" >&6
31811 else
31815 ac_ext=cc
31816 ac_cpp='$CXXCPP $CPPFLAGS'
31817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31821 cat >conftest.$ac_ext <<_ACEOF
31822 /* confdefs.h. */
31823 _ACEOF
31824 cat confdefs.h >>conftest.$ac_ext
31825 cat >>conftest.$ac_ext <<_ACEOF
31826 /* end confdefs.h. */
31827 #include <math.h>
31829 main ()
31831 _hypotl(0, 0);
31833 return 0;
31835 _ACEOF
31836 rm -f conftest.$ac_objext
31837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31838 (eval $ac_compile) 2>conftest.er1
31839 ac_status=$?
31840 grep -v '^ *+' conftest.er1 >conftest.err
31841 rm -f conftest.er1
31842 cat conftest.err >&5
31843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31844 (exit $ac_status); } &&
31845 { ac_try='test -z "$ac_cxx_werror_flag"
31846 || test ! -s conftest.err'
31847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31848 (eval $ac_try) 2>&5
31849 ac_status=$?
31850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31851 (exit $ac_status); }; } &&
31852 { ac_try='test -s conftest.$ac_objext'
31853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31854 (eval $ac_try) 2>&5
31855 ac_status=$?
31856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31857 (exit $ac_status); }; }; then
31858 glibcxx_cv_func__hypotl_use=yes
31859 else
31860 echo "$as_me: failed program was:" >&5
31861 sed 's/^/| /' conftest.$ac_ext >&5
31863 glibcxx_cv_func__hypotl_use=no
31865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31866 ac_ext=c
31867 ac_cpp='$CPP $CPPFLAGS'
31868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31876 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
31877 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
31879 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31881 for ac_func in _hypotl
31883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31884 echo "$as_me:$LINENO: checking for $ac_func" >&5
31885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31886 if eval "test \"\${$as_ac_var+set}\" = set"; then
31887 echo $ECHO_N "(cached) $ECHO_C" >&6
31888 else
31889 if test x$gcc_no_link = xyes; then
31890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31892 { (exit 1); exit 1; }; }
31894 cat >conftest.$ac_ext <<_ACEOF
31895 /* confdefs.h. */
31896 _ACEOF
31897 cat confdefs.h >>conftest.$ac_ext
31898 cat >>conftest.$ac_ext <<_ACEOF
31899 /* end confdefs.h. */
31900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31902 #define $ac_func innocuous_$ac_func
31904 /* System header to define __stub macros and hopefully few prototypes,
31905 which can conflict with char $ac_func (); below.
31906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31907 <limits.h> exists even on freestanding compilers. */
31909 #ifdef __STDC__
31910 # include <limits.h>
31911 #else
31912 # include <assert.h>
31913 #endif
31915 #undef $ac_func
31917 /* Override any gcc2 internal prototype to avoid an error. */
31918 #ifdef __cplusplus
31919 extern "C"
31921 #endif
31922 /* We use char because int might match the return type of a gcc2
31923 builtin and then its argument prototype would still apply. */
31924 char $ac_func ();
31925 /* The GNU C library defines this for functions which it implements
31926 to always fail with ENOSYS. Some functions are actually named
31927 something starting with __ and the normal name is an alias. */
31928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31929 choke me
31930 #else
31931 char (*f) () = $ac_func;
31932 #endif
31933 #ifdef __cplusplus
31935 #endif
31938 main ()
31940 return f != $ac_func;
31942 return 0;
31944 _ACEOF
31945 rm -f conftest.$ac_objext conftest$ac_exeext
31946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31947 (eval $ac_link) 2>conftest.er1
31948 ac_status=$?
31949 grep -v '^ *+' conftest.er1 >conftest.err
31950 rm -f conftest.er1
31951 cat conftest.err >&5
31952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31953 (exit $ac_status); } &&
31954 { ac_try='test -z "$ac_c_werror_flag"
31955 || test ! -s conftest.err'
31956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31957 (eval $ac_try) 2>&5
31958 ac_status=$?
31959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31960 (exit $ac_status); }; } &&
31961 { ac_try='test -s conftest$ac_exeext'
31962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31963 (eval $ac_try) 2>&5
31964 ac_status=$?
31965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31966 (exit $ac_status); }; }; then
31967 eval "$as_ac_var=yes"
31968 else
31969 echo "$as_me: failed program was:" >&5
31970 sed 's/^/| /' conftest.$ac_ext >&5
31972 eval "$as_ac_var=no"
31974 rm -f conftest.err conftest.$ac_objext \
31975 conftest$ac_exeext conftest.$ac_ext
31977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31979 if test `eval echo '${'$as_ac_var'}'` = yes; then
31980 cat >>confdefs.h <<_ACEOF
31981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31982 _ACEOF
31985 done
31995 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
31996 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
31997 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31998 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
31999 echo $ECHO_N "(cached) $ECHO_C" >&6
32000 else
32004 ac_ext=cc
32005 ac_cpp='$CXXCPP $CPPFLAGS'
32006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32010 cat >conftest.$ac_ext <<_ACEOF
32011 /* confdefs.h. */
32012 _ACEOF
32013 cat confdefs.h >>conftest.$ac_ext
32014 cat >>conftest.$ac_ext <<_ACEOF
32015 /* end confdefs.h. */
32016 #include <math.h>
32018 main ()
32020 ldexpl(0, 0);
32022 return 0;
32024 _ACEOF
32025 rm -f conftest.$ac_objext
32026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32027 (eval $ac_compile) 2>conftest.er1
32028 ac_status=$?
32029 grep -v '^ *+' conftest.er1 >conftest.err
32030 rm -f conftest.er1
32031 cat conftest.err >&5
32032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32033 (exit $ac_status); } &&
32034 { ac_try='test -z "$ac_cxx_werror_flag"
32035 || test ! -s conftest.err'
32036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32037 (eval $ac_try) 2>&5
32038 ac_status=$?
32039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32040 (exit $ac_status); }; } &&
32041 { ac_try='test -s conftest.$ac_objext'
32042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32043 (eval $ac_try) 2>&5
32044 ac_status=$?
32045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32046 (exit $ac_status); }; }; then
32047 glibcxx_cv_func_ldexpl_use=yes
32048 else
32049 echo "$as_me: failed program was:" >&5
32050 sed 's/^/| /' conftest.$ac_ext >&5
32052 glibcxx_cv_func_ldexpl_use=no
32054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32055 ac_ext=c
32056 ac_cpp='$CPP $CPPFLAGS'
32057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32065 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
32066 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
32068 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32070 for ac_func in ldexpl
32072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32073 echo "$as_me:$LINENO: checking for $ac_func" >&5
32074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32075 if eval "test \"\${$as_ac_var+set}\" = set"; then
32076 echo $ECHO_N "(cached) $ECHO_C" >&6
32077 else
32078 if test x$gcc_no_link = xyes; then
32079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32081 { (exit 1); exit 1; }; }
32083 cat >conftest.$ac_ext <<_ACEOF
32084 /* confdefs.h. */
32085 _ACEOF
32086 cat confdefs.h >>conftest.$ac_ext
32087 cat >>conftest.$ac_ext <<_ACEOF
32088 /* end confdefs.h. */
32089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32091 #define $ac_func innocuous_$ac_func
32093 /* System header to define __stub macros and hopefully few prototypes,
32094 which can conflict with char $ac_func (); below.
32095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32096 <limits.h> exists even on freestanding compilers. */
32098 #ifdef __STDC__
32099 # include <limits.h>
32100 #else
32101 # include <assert.h>
32102 #endif
32104 #undef $ac_func
32106 /* Override any gcc2 internal prototype to avoid an error. */
32107 #ifdef __cplusplus
32108 extern "C"
32110 #endif
32111 /* We use char because int might match the return type of a gcc2
32112 builtin and then its argument prototype would still apply. */
32113 char $ac_func ();
32114 /* The GNU C library defines this for functions which it implements
32115 to always fail with ENOSYS. Some functions are actually named
32116 something starting with __ and the normal name is an alias. */
32117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32118 choke me
32119 #else
32120 char (*f) () = $ac_func;
32121 #endif
32122 #ifdef __cplusplus
32124 #endif
32127 main ()
32129 return f != $ac_func;
32131 return 0;
32133 _ACEOF
32134 rm -f conftest.$ac_objext conftest$ac_exeext
32135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32136 (eval $ac_link) 2>conftest.er1
32137 ac_status=$?
32138 grep -v '^ *+' conftest.er1 >conftest.err
32139 rm -f conftest.er1
32140 cat conftest.err >&5
32141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32142 (exit $ac_status); } &&
32143 { ac_try='test -z "$ac_c_werror_flag"
32144 || test ! -s conftest.err'
32145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32146 (eval $ac_try) 2>&5
32147 ac_status=$?
32148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32149 (exit $ac_status); }; } &&
32150 { ac_try='test -s conftest$ac_exeext'
32151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32152 (eval $ac_try) 2>&5
32153 ac_status=$?
32154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32155 (exit $ac_status); }; }; then
32156 eval "$as_ac_var=yes"
32157 else
32158 echo "$as_me: failed program was:" >&5
32159 sed 's/^/| /' conftest.$ac_ext >&5
32161 eval "$as_ac_var=no"
32163 rm -f conftest.err conftest.$ac_objext \
32164 conftest$ac_exeext conftest.$ac_ext
32166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32168 if test `eval echo '${'$as_ac_var'}'` = yes; then
32169 cat >>confdefs.h <<_ACEOF
32170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32171 _ACEOF
32174 done
32176 else
32178 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
32179 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
32180 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32181 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
32182 echo $ECHO_N "(cached) $ECHO_C" >&6
32183 else
32187 ac_ext=cc
32188 ac_cpp='$CXXCPP $CPPFLAGS'
32189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32193 cat >conftest.$ac_ext <<_ACEOF
32194 /* confdefs.h. */
32195 _ACEOF
32196 cat confdefs.h >>conftest.$ac_ext
32197 cat >>conftest.$ac_ext <<_ACEOF
32198 /* end confdefs.h. */
32199 #include <math.h>
32201 main ()
32203 _ldexpl(0, 0);
32205 return 0;
32207 _ACEOF
32208 rm -f conftest.$ac_objext
32209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32210 (eval $ac_compile) 2>conftest.er1
32211 ac_status=$?
32212 grep -v '^ *+' conftest.er1 >conftest.err
32213 rm -f conftest.er1
32214 cat conftest.err >&5
32215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32216 (exit $ac_status); } &&
32217 { ac_try='test -z "$ac_cxx_werror_flag"
32218 || test ! -s conftest.err'
32219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32220 (eval $ac_try) 2>&5
32221 ac_status=$?
32222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32223 (exit $ac_status); }; } &&
32224 { ac_try='test -s conftest.$ac_objext'
32225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32226 (eval $ac_try) 2>&5
32227 ac_status=$?
32228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32229 (exit $ac_status); }; }; then
32230 glibcxx_cv_func__ldexpl_use=yes
32231 else
32232 echo "$as_me: failed program was:" >&5
32233 sed 's/^/| /' conftest.$ac_ext >&5
32235 glibcxx_cv_func__ldexpl_use=no
32237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32238 ac_ext=c
32239 ac_cpp='$CPP $CPPFLAGS'
32240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32248 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
32249 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
32251 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32253 for ac_func in _ldexpl
32255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32256 echo "$as_me:$LINENO: checking for $ac_func" >&5
32257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32258 if eval "test \"\${$as_ac_var+set}\" = set"; then
32259 echo $ECHO_N "(cached) $ECHO_C" >&6
32260 else
32261 if test x$gcc_no_link = xyes; then
32262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32264 { (exit 1); exit 1; }; }
32266 cat >conftest.$ac_ext <<_ACEOF
32267 /* confdefs.h. */
32268 _ACEOF
32269 cat confdefs.h >>conftest.$ac_ext
32270 cat >>conftest.$ac_ext <<_ACEOF
32271 /* end confdefs.h. */
32272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32274 #define $ac_func innocuous_$ac_func
32276 /* System header to define __stub macros and hopefully few prototypes,
32277 which can conflict with char $ac_func (); below.
32278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32279 <limits.h> exists even on freestanding compilers. */
32281 #ifdef __STDC__
32282 # include <limits.h>
32283 #else
32284 # include <assert.h>
32285 #endif
32287 #undef $ac_func
32289 /* Override any gcc2 internal prototype to avoid an error. */
32290 #ifdef __cplusplus
32291 extern "C"
32293 #endif
32294 /* We use char because int might match the return type of a gcc2
32295 builtin and then its argument prototype would still apply. */
32296 char $ac_func ();
32297 /* The GNU C library defines this for functions which it implements
32298 to always fail with ENOSYS. Some functions are actually named
32299 something starting with __ and the normal name is an alias. */
32300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32301 choke me
32302 #else
32303 char (*f) () = $ac_func;
32304 #endif
32305 #ifdef __cplusplus
32307 #endif
32310 main ()
32312 return f != $ac_func;
32314 return 0;
32316 _ACEOF
32317 rm -f conftest.$ac_objext conftest$ac_exeext
32318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32319 (eval $ac_link) 2>conftest.er1
32320 ac_status=$?
32321 grep -v '^ *+' conftest.er1 >conftest.err
32322 rm -f conftest.er1
32323 cat conftest.err >&5
32324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32325 (exit $ac_status); } &&
32326 { ac_try='test -z "$ac_c_werror_flag"
32327 || test ! -s conftest.err'
32328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32329 (eval $ac_try) 2>&5
32330 ac_status=$?
32331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32332 (exit $ac_status); }; } &&
32333 { ac_try='test -s conftest$ac_exeext'
32334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32335 (eval $ac_try) 2>&5
32336 ac_status=$?
32337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32338 (exit $ac_status); }; }; then
32339 eval "$as_ac_var=yes"
32340 else
32341 echo "$as_me: failed program was:" >&5
32342 sed 's/^/| /' conftest.$ac_ext >&5
32344 eval "$as_ac_var=no"
32346 rm -f conftest.err conftest.$ac_objext \
32347 conftest$ac_exeext conftest.$ac_ext
32349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32351 if test `eval echo '${'$as_ac_var'}'` = yes; then
32352 cat >>confdefs.h <<_ACEOF
32353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32354 _ACEOF
32357 done
32367 echo "$as_me:$LINENO: checking for logl declaration" >&5
32368 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
32369 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32370 if test "${glibcxx_cv_func_logl_use+set}" = set; then
32371 echo $ECHO_N "(cached) $ECHO_C" >&6
32372 else
32376 ac_ext=cc
32377 ac_cpp='$CXXCPP $CPPFLAGS'
32378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32382 cat >conftest.$ac_ext <<_ACEOF
32383 /* confdefs.h. */
32384 _ACEOF
32385 cat confdefs.h >>conftest.$ac_ext
32386 cat >>conftest.$ac_ext <<_ACEOF
32387 /* end confdefs.h. */
32388 #include <math.h>
32389 #ifdef HAVE_IEEEFP_H
32390 #include <ieeefp.h>
32391 #endif
32394 main ()
32396 logl(0);
32398 return 0;
32400 _ACEOF
32401 rm -f conftest.$ac_objext
32402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32403 (eval $ac_compile) 2>conftest.er1
32404 ac_status=$?
32405 grep -v '^ *+' conftest.er1 >conftest.err
32406 rm -f conftest.er1
32407 cat conftest.err >&5
32408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32409 (exit $ac_status); } &&
32410 { ac_try='test -z "$ac_cxx_werror_flag"
32411 || test ! -s conftest.err'
32412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32413 (eval $ac_try) 2>&5
32414 ac_status=$?
32415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32416 (exit $ac_status); }; } &&
32417 { ac_try='test -s conftest.$ac_objext'
32418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32419 (eval $ac_try) 2>&5
32420 ac_status=$?
32421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32422 (exit $ac_status); }; }; then
32423 glibcxx_cv_func_logl_use=yes
32424 else
32425 echo "$as_me: failed program was:" >&5
32426 sed 's/^/| /' conftest.$ac_ext >&5
32428 glibcxx_cv_func_logl_use=no
32430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32431 ac_ext=c
32432 ac_cpp='$CPP $CPPFLAGS'
32433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32441 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
32442 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
32444 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32446 for ac_func in logl
32448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32449 echo "$as_me:$LINENO: checking for $ac_func" >&5
32450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32451 if eval "test \"\${$as_ac_var+set}\" = set"; then
32452 echo $ECHO_N "(cached) $ECHO_C" >&6
32453 else
32454 if test x$gcc_no_link = xyes; then
32455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32457 { (exit 1); exit 1; }; }
32459 cat >conftest.$ac_ext <<_ACEOF
32460 /* confdefs.h. */
32461 _ACEOF
32462 cat confdefs.h >>conftest.$ac_ext
32463 cat >>conftest.$ac_ext <<_ACEOF
32464 /* end confdefs.h. */
32465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32467 #define $ac_func innocuous_$ac_func
32469 /* System header to define __stub macros and hopefully few prototypes,
32470 which can conflict with char $ac_func (); below.
32471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32472 <limits.h> exists even on freestanding compilers. */
32474 #ifdef __STDC__
32475 # include <limits.h>
32476 #else
32477 # include <assert.h>
32478 #endif
32480 #undef $ac_func
32482 /* Override any gcc2 internal prototype to avoid an error. */
32483 #ifdef __cplusplus
32484 extern "C"
32486 #endif
32487 /* We use char because int might match the return type of a gcc2
32488 builtin and then its argument prototype would still apply. */
32489 char $ac_func ();
32490 /* The GNU C library defines this for functions which it implements
32491 to always fail with ENOSYS. Some functions are actually named
32492 something starting with __ and the normal name is an alias. */
32493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32494 choke me
32495 #else
32496 char (*f) () = $ac_func;
32497 #endif
32498 #ifdef __cplusplus
32500 #endif
32503 main ()
32505 return f != $ac_func;
32507 return 0;
32509 _ACEOF
32510 rm -f conftest.$ac_objext conftest$ac_exeext
32511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32512 (eval $ac_link) 2>conftest.er1
32513 ac_status=$?
32514 grep -v '^ *+' conftest.er1 >conftest.err
32515 rm -f conftest.er1
32516 cat conftest.err >&5
32517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32518 (exit $ac_status); } &&
32519 { ac_try='test -z "$ac_c_werror_flag"
32520 || test ! -s conftest.err'
32521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32522 (eval $ac_try) 2>&5
32523 ac_status=$?
32524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32525 (exit $ac_status); }; } &&
32526 { ac_try='test -s conftest$ac_exeext'
32527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32528 (eval $ac_try) 2>&5
32529 ac_status=$?
32530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32531 (exit $ac_status); }; }; then
32532 eval "$as_ac_var=yes"
32533 else
32534 echo "$as_me: failed program was:" >&5
32535 sed 's/^/| /' conftest.$ac_ext >&5
32537 eval "$as_ac_var=no"
32539 rm -f conftest.err conftest.$ac_objext \
32540 conftest$ac_exeext conftest.$ac_ext
32542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32544 if test `eval echo '${'$as_ac_var'}'` = yes; then
32545 cat >>confdefs.h <<_ACEOF
32546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32547 _ACEOF
32550 done
32552 else
32554 echo "$as_me:$LINENO: checking for _logl declaration" >&5
32555 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
32556 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32557 if test "${glibcxx_cv_func__logl_use+set}" = set; then
32558 echo $ECHO_N "(cached) $ECHO_C" >&6
32559 else
32563 ac_ext=cc
32564 ac_cpp='$CXXCPP $CPPFLAGS'
32565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32569 cat >conftest.$ac_ext <<_ACEOF
32570 /* confdefs.h. */
32571 _ACEOF
32572 cat confdefs.h >>conftest.$ac_ext
32573 cat >>conftest.$ac_ext <<_ACEOF
32574 /* end confdefs.h. */
32575 #include <math.h>
32576 #ifdef HAVE_IEEEFP_H
32577 #include <ieeefp.h>
32578 #endif
32581 main ()
32583 _logl(0);
32585 return 0;
32587 _ACEOF
32588 rm -f conftest.$ac_objext
32589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32590 (eval $ac_compile) 2>conftest.er1
32591 ac_status=$?
32592 grep -v '^ *+' conftest.er1 >conftest.err
32593 rm -f conftest.er1
32594 cat conftest.err >&5
32595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32596 (exit $ac_status); } &&
32597 { ac_try='test -z "$ac_cxx_werror_flag"
32598 || test ! -s conftest.err'
32599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32600 (eval $ac_try) 2>&5
32601 ac_status=$?
32602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32603 (exit $ac_status); }; } &&
32604 { ac_try='test -s conftest.$ac_objext'
32605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32606 (eval $ac_try) 2>&5
32607 ac_status=$?
32608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32609 (exit $ac_status); }; }; then
32610 glibcxx_cv_func__logl_use=yes
32611 else
32612 echo "$as_me: failed program was:" >&5
32613 sed 's/^/| /' conftest.$ac_ext >&5
32615 glibcxx_cv_func__logl_use=no
32617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32618 ac_ext=c
32619 ac_cpp='$CPP $CPPFLAGS'
32620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32628 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
32629 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
32631 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32633 for ac_func in _logl
32635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32636 echo "$as_me:$LINENO: checking for $ac_func" >&5
32637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32638 if eval "test \"\${$as_ac_var+set}\" = set"; then
32639 echo $ECHO_N "(cached) $ECHO_C" >&6
32640 else
32641 if test x$gcc_no_link = xyes; then
32642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32644 { (exit 1); exit 1; }; }
32646 cat >conftest.$ac_ext <<_ACEOF
32647 /* confdefs.h. */
32648 _ACEOF
32649 cat confdefs.h >>conftest.$ac_ext
32650 cat >>conftest.$ac_ext <<_ACEOF
32651 /* end confdefs.h. */
32652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32654 #define $ac_func innocuous_$ac_func
32656 /* System header to define __stub macros and hopefully few prototypes,
32657 which can conflict with char $ac_func (); below.
32658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32659 <limits.h> exists even on freestanding compilers. */
32661 #ifdef __STDC__
32662 # include <limits.h>
32663 #else
32664 # include <assert.h>
32665 #endif
32667 #undef $ac_func
32669 /* Override any gcc2 internal prototype to avoid an error. */
32670 #ifdef __cplusplus
32671 extern "C"
32673 #endif
32674 /* We use char because int might match the return type of a gcc2
32675 builtin and then its argument prototype would still apply. */
32676 char $ac_func ();
32677 /* The GNU C library defines this for functions which it implements
32678 to always fail with ENOSYS. Some functions are actually named
32679 something starting with __ and the normal name is an alias. */
32680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32681 choke me
32682 #else
32683 char (*f) () = $ac_func;
32684 #endif
32685 #ifdef __cplusplus
32687 #endif
32690 main ()
32692 return f != $ac_func;
32694 return 0;
32696 _ACEOF
32697 rm -f conftest.$ac_objext conftest$ac_exeext
32698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32699 (eval $ac_link) 2>conftest.er1
32700 ac_status=$?
32701 grep -v '^ *+' conftest.er1 >conftest.err
32702 rm -f conftest.er1
32703 cat conftest.err >&5
32704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32705 (exit $ac_status); } &&
32706 { ac_try='test -z "$ac_c_werror_flag"
32707 || test ! -s conftest.err'
32708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32709 (eval $ac_try) 2>&5
32710 ac_status=$?
32711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32712 (exit $ac_status); }; } &&
32713 { ac_try='test -s conftest$ac_exeext'
32714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32715 (eval $ac_try) 2>&5
32716 ac_status=$?
32717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32718 (exit $ac_status); }; }; then
32719 eval "$as_ac_var=yes"
32720 else
32721 echo "$as_me: failed program was:" >&5
32722 sed 's/^/| /' conftest.$ac_ext >&5
32724 eval "$as_ac_var=no"
32726 rm -f conftest.err conftest.$ac_objext \
32727 conftest$ac_exeext conftest.$ac_ext
32729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32731 if test `eval echo '${'$as_ac_var'}'` = yes; then
32732 cat >>confdefs.h <<_ACEOF
32733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32734 _ACEOF
32737 done
32747 echo "$as_me:$LINENO: checking for log10l declaration" >&5
32748 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
32749 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32750 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
32751 echo $ECHO_N "(cached) $ECHO_C" >&6
32752 else
32756 ac_ext=cc
32757 ac_cpp='$CXXCPP $CPPFLAGS'
32758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32762 cat >conftest.$ac_ext <<_ACEOF
32763 /* confdefs.h. */
32764 _ACEOF
32765 cat confdefs.h >>conftest.$ac_ext
32766 cat >>conftest.$ac_ext <<_ACEOF
32767 /* end confdefs.h. */
32768 #include <math.h>
32769 #ifdef HAVE_IEEEFP_H
32770 #include <ieeefp.h>
32771 #endif
32774 main ()
32776 log10l(0);
32778 return 0;
32780 _ACEOF
32781 rm -f conftest.$ac_objext
32782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32783 (eval $ac_compile) 2>conftest.er1
32784 ac_status=$?
32785 grep -v '^ *+' conftest.er1 >conftest.err
32786 rm -f conftest.er1
32787 cat conftest.err >&5
32788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32789 (exit $ac_status); } &&
32790 { ac_try='test -z "$ac_cxx_werror_flag"
32791 || test ! -s conftest.err'
32792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32793 (eval $ac_try) 2>&5
32794 ac_status=$?
32795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32796 (exit $ac_status); }; } &&
32797 { ac_try='test -s conftest.$ac_objext'
32798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32799 (eval $ac_try) 2>&5
32800 ac_status=$?
32801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32802 (exit $ac_status); }; }; then
32803 glibcxx_cv_func_log10l_use=yes
32804 else
32805 echo "$as_me: failed program was:" >&5
32806 sed 's/^/| /' conftest.$ac_ext >&5
32808 glibcxx_cv_func_log10l_use=no
32810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32811 ac_ext=c
32812 ac_cpp='$CPP $CPPFLAGS'
32813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32821 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
32822 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
32824 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32826 for ac_func in log10l
32828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32829 echo "$as_me:$LINENO: checking for $ac_func" >&5
32830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32831 if eval "test \"\${$as_ac_var+set}\" = set"; then
32832 echo $ECHO_N "(cached) $ECHO_C" >&6
32833 else
32834 if test x$gcc_no_link = xyes; then
32835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32837 { (exit 1); exit 1; }; }
32839 cat >conftest.$ac_ext <<_ACEOF
32840 /* confdefs.h. */
32841 _ACEOF
32842 cat confdefs.h >>conftest.$ac_ext
32843 cat >>conftest.$ac_ext <<_ACEOF
32844 /* end confdefs.h. */
32845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32847 #define $ac_func innocuous_$ac_func
32849 /* System header to define __stub macros and hopefully few prototypes,
32850 which can conflict with char $ac_func (); below.
32851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32852 <limits.h> exists even on freestanding compilers. */
32854 #ifdef __STDC__
32855 # include <limits.h>
32856 #else
32857 # include <assert.h>
32858 #endif
32860 #undef $ac_func
32862 /* Override any gcc2 internal prototype to avoid an error. */
32863 #ifdef __cplusplus
32864 extern "C"
32866 #endif
32867 /* We use char because int might match the return type of a gcc2
32868 builtin and then its argument prototype would still apply. */
32869 char $ac_func ();
32870 /* The GNU C library defines this for functions which it implements
32871 to always fail with ENOSYS. Some functions are actually named
32872 something starting with __ and the normal name is an alias. */
32873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32874 choke me
32875 #else
32876 char (*f) () = $ac_func;
32877 #endif
32878 #ifdef __cplusplus
32880 #endif
32883 main ()
32885 return f != $ac_func;
32887 return 0;
32889 _ACEOF
32890 rm -f conftest.$ac_objext conftest$ac_exeext
32891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32892 (eval $ac_link) 2>conftest.er1
32893 ac_status=$?
32894 grep -v '^ *+' conftest.er1 >conftest.err
32895 rm -f conftest.er1
32896 cat conftest.err >&5
32897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32898 (exit $ac_status); } &&
32899 { ac_try='test -z "$ac_c_werror_flag"
32900 || test ! -s conftest.err'
32901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32902 (eval $ac_try) 2>&5
32903 ac_status=$?
32904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32905 (exit $ac_status); }; } &&
32906 { ac_try='test -s conftest$ac_exeext'
32907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32908 (eval $ac_try) 2>&5
32909 ac_status=$?
32910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32911 (exit $ac_status); }; }; then
32912 eval "$as_ac_var=yes"
32913 else
32914 echo "$as_me: failed program was:" >&5
32915 sed 's/^/| /' conftest.$ac_ext >&5
32917 eval "$as_ac_var=no"
32919 rm -f conftest.err conftest.$ac_objext \
32920 conftest$ac_exeext conftest.$ac_ext
32922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32924 if test `eval echo '${'$as_ac_var'}'` = yes; then
32925 cat >>confdefs.h <<_ACEOF
32926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32927 _ACEOF
32930 done
32932 else
32934 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
32935 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
32936 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32937 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
32938 echo $ECHO_N "(cached) $ECHO_C" >&6
32939 else
32943 ac_ext=cc
32944 ac_cpp='$CXXCPP $CPPFLAGS'
32945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32949 cat >conftest.$ac_ext <<_ACEOF
32950 /* confdefs.h. */
32951 _ACEOF
32952 cat confdefs.h >>conftest.$ac_ext
32953 cat >>conftest.$ac_ext <<_ACEOF
32954 /* end confdefs.h. */
32955 #include <math.h>
32956 #ifdef HAVE_IEEEFP_H
32957 #include <ieeefp.h>
32958 #endif
32961 main ()
32963 _log10l(0);
32965 return 0;
32967 _ACEOF
32968 rm -f conftest.$ac_objext
32969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32970 (eval $ac_compile) 2>conftest.er1
32971 ac_status=$?
32972 grep -v '^ *+' conftest.er1 >conftest.err
32973 rm -f conftest.er1
32974 cat conftest.err >&5
32975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32976 (exit $ac_status); } &&
32977 { ac_try='test -z "$ac_cxx_werror_flag"
32978 || test ! -s conftest.err'
32979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32980 (eval $ac_try) 2>&5
32981 ac_status=$?
32982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32983 (exit $ac_status); }; } &&
32984 { ac_try='test -s conftest.$ac_objext'
32985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32986 (eval $ac_try) 2>&5
32987 ac_status=$?
32988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32989 (exit $ac_status); }; }; then
32990 glibcxx_cv_func__log10l_use=yes
32991 else
32992 echo "$as_me: failed program was:" >&5
32993 sed 's/^/| /' conftest.$ac_ext >&5
32995 glibcxx_cv_func__log10l_use=no
32997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32998 ac_ext=c
32999 ac_cpp='$CPP $CPPFLAGS'
33000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33008 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
33009 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
33011 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
33013 for ac_func in _log10l
33015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33016 echo "$as_me:$LINENO: checking for $ac_func" >&5
33017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33018 if eval "test \"\${$as_ac_var+set}\" = set"; then
33019 echo $ECHO_N "(cached) $ECHO_C" >&6
33020 else
33021 if test x$gcc_no_link = xyes; then
33022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33024 { (exit 1); exit 1; }; }
33026 cat >conftest.$ac_ext <<_ACEOF
33027 /* confdefs.h. */
33028 _ACEOF
33029 cat confdefs.h >>conftest.$ac_ext
33030 cat >>conftest.$ac_ext <<_ACEOF
33031 /* end confdefs.h. */
33032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33034 #define $ac_func innocuous_$ac_func
33036 /* System header to define __stub macros and hopefully few prototypes,
33037 which can conflict with char $ac_func (); below.
33038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33039 <limits.h> exists even on freestanding compilers. */
33041 #ifdef __STDC__
33042 # include <limits.h>
33043 #else
33044 # include <assert.h>
33045 #endif
33047 #undef $ac_func
33049 /* Override any gcc2 internal prototype to avoid an error. */
33050 #ifdef __cplusplus
33051 extern "C"
33053 #endif
33054 /* We use char because int might match the return type of a gcc2
33055 builtin and then its argument prototype would still apply. */
33056 char $ac_func ();
33057 /* The GNU C library defines this for functions which it implements
33058 to always fail with ENOSYS. Some functions are actually named
33059 something starting with __ and the normal name is an alias. */
33060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33061 choke me
33062 #else
33063 char (*f) () = $ac_func;
33064 #endif
33065 #ifdef __cplusplus
33067 #endif
33070 main ()
33072 return f != $ac_func;
33074 return 0;
33076 _ACEOF
33077 rm -f conftest.$ac_objext conftest$ac_exeext
33078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33079 (eval $ac_link) 2>conftest.er1
33080 ac_status=$?
33081 grep -v '^ *+' conftest.er1 >conftest.err
33082 rm -f conftest.er1
33083 cat conftest.err >&5
33084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33085 (exit $ac_status); } &&
33086 { ac_try='test -z "$ac_c_werror_flag"
33087 || test ! -s conftest.err'
33088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33089 (eval $ac_try) 2>&5
33090 ac_status=$?
33091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33092 (exit $ac_status); }; } &&
33093 { ac_try='test -s conftest$ac_exeext'
33094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33095 (eval $ac_try) 2>&5
33096 ac_status=$?
33097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33098 (exit $ac_status); }; }; then
33099 eval "$as_ac_var=yes"
33100 else
33101 echo "$as_me: failed program was:" >&5
33102 sed 's/^/| /' conftest.$ac_ext >&5
33104 eval "$as_ac_var=no"
33106 rm -f conftest.err conftest.$ac_objext \
33107 conftest$ac_exeext conftest.$ac_ext
33109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33111 if test `eval echo '${'$as_ac_var'}'` = yes; then
33112 cat >>confdefs.h <<_ACEOF
33113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33114 _ACEOF
33117 done
33127 echo "$as_me:$LINENO: checking for modfl declaration" >&5
33128 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
33129 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
33130 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
33131 echo $ECHO_N "(cached) $ECHO_C" >&6
33132 else
33136 ac_ext=cc
33137 ac_cpp='$CXXCPP $CPPFLAGS'
33138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33142 cat >conftest.$ac_ext <<_ACEOF
33143 /* confdefs.h. */
33144 _ACEOF
33145 cat confdefs.h >>conftest.$ac_ext
33146 cat >>conftest.$ac_ext <<_ACEOF
33147 /* end confdefs.h. */
33148 #include <math.h>
33150 main ()
33152 modfl(0, 0);
33154 return 0;
33156 _ACEOF
33157 rm -f conftest.$ac_objext
33158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33159 (eval $ac_compile) 2>conftest.er1
33160 ac_status=$?
33161 grep -v '^ *+' conftest.er1 >conftest.err
33162 rm -f conftest.er1
33163 cat conftest.err >&5
33164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33165 (exit $ac_status); } &&
33166 { ac_try='test -z "$ac_cxx_werror_flag"
33167 || test ! -s conftest.err'
33168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33169 (eval $ac_try) 2>&5
33170 ac_status=$?
33171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33172 (exit $ac_status); }; } &&
33173 { ac_try='test -s conftest.$ac_objext'
33174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33175 (eval $ac_try) 2>&5
33176 ac_status=$?
33177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33178 (exit $ac_status); }; }; then
33179 glibcxx_cv_func_modfl_use=yes
33180 else
33181 echo "$as_me: failed program was:" >&5
33182 sed 's/^/| /' conftest.$ac_ext >&5
33184 glibcxx_cv_func_modfl_use=no
33186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33187 ac_ext=c
33188 ac_cpp='$CPP $CPPFLAGS'
33189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33197 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
33198 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
33200 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33202 for ac_func in modfl
33204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33205 echo "$as_me:$LINENO: checking for $ac_func" >&5
33206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33207 if eval "test \"\${$as_ac_var+set}\" = set"; then
33208 echo $ECHO_N "(cached) $ECHO_C" >&6
33209 else
33210 if test x$gcc_no_link = xyes; then
33211 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33212 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33213 { (exit 1); exit 1; }; }
33215 cat >conftest.$ac_ext <<_ACEOF
33216 /* confdefs.h. */
33217 _ACEOF
33218 cat confdefs.h >>conftest.$ac_ext
33219 cat >>conftest.$ac_ext <<_ACEOF
33220 /* end confdefs.h. */
33221 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33222 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33223 #define $ac_func innocuous_$ac_func
33225 /* System header to define __stub macros and hopefully few prototypes,
33226 which can conflict with char $ac_func (); below.
33227 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33228 <limits.h> exists even on freestanding compilers. */
33230 #ifdef __STDC__
33231 # include <limits.h>
33232 #else
33233 # include <assert.h>
33234 #endif
33236 #undef $ac_func
33238 /* Override any gcc2 internal prototype to avoid an error. */
33239 #ifdef __cplusplus
33240 extern "C"
33242 #endif
33243 /* We use char because int might match the return type of a gcc2
33244 builtin and then its argument prototype would still apply. */
33245 char $ac_func ();
33246 /* The GNU C library defines this for functions which it implements
33247 to always fail with ENOSYS. Some functions are actually named
33248 something starting with __ and the normal name is an alias. */
33249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33250 choke me
33251 #else
33252 char (*f) () = $ac_func;
33253 #endif
33254 #ifdef __cplusplus
33256 #endif
33259 main ()
33261 return f != $ac_func;
33263 return 0;
33265 _ACEOF
33266 rm -f conftest.$ac_objext conftest$ac_exeext
33267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33268 (eval $ac_link) 2>conftest.er1
33269 ac_status=$?
33270 grep -v '^ *+' conftest.er1 >conftest.err
33271 rm -f conftest.er1
33272 cat conftest.err >&5
33273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33274 (exit $ac_status); } &&
33275 { ac_try='test -z "$ac_c_werror_flag"
33276 || test ! -s conftest.err'
33277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33278 (eval $ac_try) 2>&5
33279 ac_status=$?
33280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33281 (exit $ac_status); }; } &&
33282 { ac_try='test -s conftest$ac_exeext'
33283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33284 (eval $ac_try) 2>&5
33285 ac_status=$?
33286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33287 (exit $ac_status); }; }; then
33288 eval "$as_ac_var=yes"
33289 else
33290 echo "$as_me: failed program was:" >&5
33291 sed 's/^/| /' conftest.$ac_ext >&5
33293 eval "$as_ac_var=no"
33295 rm -f conftest.err conftest.$ac_objext \
33296 conftest$ac_exeext conftest.$ac_ext
33298 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33299 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33300 if test `eval echo '${'$as_ac_var'}'` = yes; then
33301 cat >>confdefs.h <<_ACEOF
33302 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33303 _ACEOF
33306 done
33308 else
33310 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
33311 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
33312 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33313 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
33314 echo $ECHO_N "(cached) $ECHO_C" >&6
33315 else
33319 ac_ext=cc
33320 ac_cpp='$CXXCPP $CPPFLAGS'
33321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33325 cat >conftest.$ac_ext <<_ACEOF
33326 /* confdefs.h. */
33327 _ACEOF
33328 cat confdefs.h >>conftest.$ac_ext
33329 cat >>conftest.$ac_ext <<_ACEOF
33330 /* end confdefs.h. */
33331 #include <math.h>
33333 main ()
33335 _modfl(0, 0);
33337 return 0;
33339 _ACEOF
33340 rm -f conftest.$ac_objext
33341 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33342 (eval $ac_compile) 2>conftest.er1
33343 ac_status=$?
33344 grep -v '^ *+' conftest.er1 >conftest.err
33345 rm -f conftest.er1
33346 cat conftest.err >&5
33347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33348 (exit $ac_status); } &&
33349 { ac_try='test -z "$ac_cxx_werror_flag"
33350 || test ! -s conftest.err'
33351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33352 (eval $ac_try) 2>&5
33353 ac_status=$?
33354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33355 (exit $ac_status); }; } &&
33356 { ac_try='test -s conftest.$ac_objext'
33357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33358 (eval $ac_try) 2>&5
33359 ac_status=$?
33360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33361 (exit $ac_status); }; }; then
33362 glibcxx_cv_func__modfl_use=yes
33363 else
33364 echo "$as_me: failed program was:" >&5
33365 sed 's/^/| /' conftest.$ac_ext >&5
33367 glibcxx_cv_func__modfl_use=no
33369 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33370 ac_ext=c
33371 ac_cpp='$CPP $CPPFLAGS'
33372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33380 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
33381 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
33383 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33385 for ac_func in _modfl
33387 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33388 echo "$as_me:$LINENO: checking for $ac_func" >&5
33389 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33390 if eval "test \"\${$as_ac_var+set}\" = set"; then
33391 echo $ECHO_N "(cached) $ECHO_C" >&6
33392 else
33393 if test x$gcc_no_link = xyes; then
33394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33396 { (exit 1); exit 1; }; }
33398 cat >conftest.$ac_ext <<_ACEOF
33399 /* confdefs.h. */
33400 _ACEOF
33401 cat confdefs.h >>conftest.$ac_ext
33402 cat >>conftest.$ac_ext <<_ACEOF
33403 /* end confdefs.h. */
33404 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33405 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33406 #define $ac_func innocuous_$ac_func
33408 /* System header to define __stub macros and hopefully few prototypes,
33409 which can conflict with char $ac_func (); below.
33410 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33411 <limits.h> exists even on freestanding compilers. */
33413 #ifdef __STDC__
33414 # include <limits.h>
33415 #else
33416 # include <assert.h>
33417 #endif
33419 #undef $ac_func
33421 /* Override any gcc2 internal prototype to avoid an error. */
33422 #ifdef __cplusplus
33423 extern "C"
33425 #endif
33426 /* We use char because int might match the return type of a gcc2
33427 builtin and then its argument prototype would still apply. */
33428 char $ac_func ();
33429 /* The GNU C library defines this for functions which it implements
33430 to always fail with ENOSYS. Some functions are actually named
33431 something starting with __ and the normal name is an alias. */
33432 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33433 choke me
33434 #else
33435 char (*f) () = $ac_func;
33436 #endif
33437 #ifdef __cplusplus
33439 #endif
33442 main ()
33444 return f != $ac_func;
33446 return 0;
33448 _ACEOF
33449 rm -f conftest.$ac_objext conftest$ac_exeext
33450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33451 (eval $ac_link) 2>conftest.er1
33452 ac_status=$?
33453 grep -v '^ *+' conftest.er1 >conftest.err
33454 rm -f conftest.er1
33455 cat conftest.err >&5
33456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33457 (exit $ac_status); } &&
33458 { ac_try='test -z "$ac_c_werror_flag"
33459 || test ! -s conftest.err'
33460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33461 (eval $ac_try) 2>&5
33462 ac_status=$?
33463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33464 (exit $ac_status); }; } &&
33465 { ac_try='test -s conftest$ac_exeext'
33466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33467 (eval $ac_try) 2>&5
33468 ac_status=$?
33469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33470 (exit $ac_status); }; }; then
33471 eval "$as_ac_var=yes"
33472 else
33473 echo "$as_me: failed program was:" >&5
33474 sed 's/^/| /' conftest.$ac_ext >&5
33476 eval "$as_ac_var=no"
33478 rm -f conftest.err conftest.$ac_objext \
33479 conftest$ac_exeext conftest.$ac_ext
33481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33482 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33483 if test `eval echo '${'$as_ac_var'}'` = yes; then
33484 cat >>confdefs.h <<_ACEOF
33485 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33486 _ACEOF
33489 done
33499 echo "$as_me:$LINENO: checking for powl declaration" >&5
33500 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
33501 if test x${glibcxx_cv_func_powl_use+set} != xset; then
33502 if test "${glibcxx_cv_func_powl_use+set}" = set; then
33503 echo $ECHO_N "(cached) $ECHO_C" >&6
33504 else
33508 ac_ext=cc
33509 ac_cpp='$CXXCPP $CPPFLAGS'
33510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33514 cat >conftest.$ac_ext <<_ACEOF
33515 /* confdefs.h. */
33516 _ACEOF
33517 cat confdefs.h >>conftest.$ac_ext
33518 cat >>conftest.$ac_ext <<_ACEOF
33519 /* end confdefs.h. */
33520 #include <math.h>
33522 main ()
33524 powl(0, 0);
33526 return 0;
33528 _ACEOF
33529 rm -f conftest.$ac_objext
33530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33531 (eval $ac_compile) 2>conftest.er1
33532 ac_status=$?
33533 grep -v '^ *+' conftest.er1 >conftest.err
33534 rm -f conftest.er1
33535 cat conftest.err >&5
33536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33537 (exit $ac_status); } &&
33538 { ac_try='test -z "$ac_cxx_werror_flag"
33539 || test ! -s conftest.err'
33540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33541 (eval $ac_try) 2>&5
33542 ac_status=$?
33543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33544 (exit $ac_status); }; } &&
33545 { ac_try='test -s conftest.$ac_objext'
33546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33547 (eval $ac_try) 2>&5
33548 ac_status=$?
33549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33550 (exit $ac_status); }; }; then
33551 glibcxx_cv_func_powl_use=yes
33552 else
33553 echo "$as_me: failed program was:" >&5
33554 sed 's/^/| /' conftest.$ac_ext >&5
33556 glibcxx_cv_func_powl_use=no
33558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33559 ac_ext=c
33560 ac_cpp='$CPP $CPPFLAGS'
33561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33569 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
33570 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
33572 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33574 for ac_func in powl
33576 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33577 echo "$as_me:$LINENO: checking for $ac_func" >&5
33578 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33579 if eval "test \"\${$as_ac_var+set}\" = set"; then
33580 echo $ECHO_N "(cached) $ECHO_C" >&6
33581 else
33582 if test x$gcc_no_link = xyes; then
33583 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33584 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33585 { (exit 1); exit 1; }; }
33587 cat >conftest.$ac_ext <<_ACEOF
33588 /* confdefs.h. */
33589 _ACEOF
33590 cat confdefs.h >>conftest.$ac_ext
33591 cat >>conftest.$ac_ext <<_ACEOF
33592 /* end confdefs.h. */
33593 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33594 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33595 #define $ac_func innocuous_$ac_func
33597 /* System header to define __stub macros and hopefully few prototypes,
33598 which can conflict with char $ac_func (); below.
33599 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33600 <limits.h> exists even on freestanding compilers. */
33602 #ifdef __STDC__
33603 # include <limits.h>
33604 #else
33605 # include <assert.h>
33606 #endif
33608 #undef $ac_func
33610 /* Override any gcc2 internal prototype to avoid an error. */
33611 #ifdef __cplusplus
33612 extern "C"
33614 #endif
33615 /* We use char because int might match the return type of a gcc2
33616 builtin and then its argument prototype would still apply. */
33617 char $ac_func ();
33618 /* The GNU C library defines this for functions which it implements
33619 to always fail with ENOSYS. Some functions are actually named
33620 something starting with __ and the normal name is an alias. */
33621 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33622 choke me
33623 #else
33624 char (*f) () = $ac_func;
33625 #endif
33626 #ifdef __cplusplus
33628 #endif
33631 main ()
33633 return f != $ac_func;
33635 return 0;
33637 _ACEOF
33638 rm -f conftest.$ac_objext conftest$ac_exeext
33639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33640 (eval $ac_link) 2>conftest.er1
33641 ac_status=$?
33642 grep -v '^ *+' conftest.er1 >conftest.err
33643 rm -f conftest.er1
33644 cat conftest.err >&5
33645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33646 (exit $ac_status); } &&
33647 { ac_try='test -z "$ac_c_werror_flag"
33648 || test ! -s conftest.err'
33649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33650 (eval $ac_try) 2>&5
33651 ac_status=$?
33652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33653 (exit $ac_status); }; } &&
33654 { ac_try='test -s conftest$ac_exeext'
33655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33656 (eval $ac_try) 2>&5
33657 ac_status=$?
33658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33659 (exit $ac_status); }; }; then
33660 eval "$as_ac_var=yes"
33661 else
33662 echo "$as_me: failed program was:" >&5
33663 sed 's/^/| /' conftest.$ac_ext >&5
33665 eval "$as_ac_var=no"
33667 rm -f conftest.err conftest.$ac_objext \
33668 conftest$ac_exeext conftest.$ac_ext
33670 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33671 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33672 if test `eval echo '${'$as_ac_var'}'` = yes; then
33673 cat >>confdefs.h <<_ACEOF
33674 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33675 _ACEOF
33678 done
33680 else
33682 echo "$as_me:$LINENO: checking for _powl declaration" >&5
33683 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
33684 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33685 if test "${glibcxx_cv_func__powl_use+set}" = set; then
33686 echo $ECHO_N "(cached) $ECHO_C" >&6
33687 else
33691 ac_ext=cc
33692 ac_cpp='$CXXCPP $CPPFLAGS'
33693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33697 cat >conftest.$ac_ext <<_ACEOF
33698 /* confdefs.h. */
33699 _ACEOF
33700 cat confdefs.h >>conftest.$ac_ext
33701 cat >>conftest.$ac_ext <<_ACEOF
33702 /* end confdefs.h. */
33703 #include <math.h>
33705 main ()
33707 _powl(0, 0);
33709 return 0;
33711 _ACEOF
33712 rm -f conftest.$ac_objext
33713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33714 (eval $ac_compile) 2>conftest.er1
33715 ac_status=$?
33716 grep -v '^ *+' conftest.er1 >conftest.err
33717 rm -f conftest.er1
33718 cat conftest.err >&5
33719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33720 (exit $ac_status); } &&
33721 { ac_try='test -z "$ac_cxx_werror_flag"
33722 || test ! -s conftest.err'
33723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33724 (eval $ac_try) 2>&5
33725 ac_status=$?
33726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33727 (exit $ac_status); }; } &&
33728 { ac_try='test -s conftest.$ac_objext'
33729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33730 (eval $ac_try) 2>&5
33731 ac_status=$?
33732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33733 (exit $ac_status); }; }; then
33734 glibcxx_cv_func__powl_use=yes
33735 else
33736 echo "$as_me: failed program was:" >&5
33737 sed 's/^/| /' conftest.$ac_ext >&5
33739 glibcxx_cv_func__powl_use=no
33741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33742 ac_ext=c
33743 ac_cpp='$CPP $CPPFLAGS'
33744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33752 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
33753 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
33755 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33757 for ac_func in _powl
33759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33760 echo "$as_me:$LINENO: checking for $ac_func" >&5
33761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33762 if eval "test \"\${$as_ac_var+set}\" = set"; then
33763 echo $ECHO_N "(cached) $ECHO_C" >&6
33764 else
33765 if test x$gcc_no_link = xyes; then
33766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33768 { (exit 1); exit 1; }; }
33770 cat >conftest.$ac_ext <<_ACEOF
33771 /* confdefs.h. */
33772 _ACEOF
33773 cat confdefs.h >>conftest.$ac_ext
33774 cat >>conftest.$ac_ext <<_ACEOF
33775 /* end confdefs.h. */
33776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33778 #define $ac_func innocuous_$ac_func
33780 /* System header to define __stub macros and hopefully few prototypes,
33781 which can conflict with char $ac_func (); below.
33782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33783 <limits.h> exists even on freestanding compilers. */
33785 #ifdef __STDC__
33786 # include <limits.h>
33787 #else
33788 # include <assert.h>
33789 #endif
33791 #undef $ac_func
33793 /* Override any gcc2 internal prototype to avoid an error. */
33794 #ifdef __cplusplus
33795 extern "C"
33797 #endif
33798 /* We use char because int might match the return type of a gcc2
33799 builtin and then its argument prototype would still apply. */
33800 char $ac_func ();
33801 /* The GNU C library defines this for functions which it implements
33802 to always fail with ENOSYS. Some functions are actually named
33803 something starting with __ and the normal name is an alias. */
33804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33805 choke me
33806 #else
33807 char (*f) () = $ac_func;
33808 #endif
33809 #ifdef __cplusplus
33811 #endif
33814 main ()
33816 return f != $ac_func;
33818 return 0;
33820 _ACEOF
33821 rm -f conftest.$ac_objext conftest$ac_exeext
33822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33823 (eval $ac_link) 2>conftest.er1
33824 ac_status=$?
33825 grep -v '^ *+' conftest.er1 >conftest.err
33826 rm -f conftest.er1
33827 cat conftest.err >&5
33828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33829 (exit $ac_status); } &&
33830 { ac_try='test -z "$ac_c_werror_flag"
33831 || test ! -s conftest.err'
33832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33833 (eval $ac_try) 2>&5
33834 ac_status=$?
33835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33836 (exit $ac_status); }; } &&
33837 { ac_try='test -s conftest$ac_exeext'
33838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33839 (eval $ac_try) 2>&5
33840 ac_status=$?
33841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33842 (exit $ac_status); }; }; then
33843 eval "$as_ac_var=yes"
33844 else
33845 echo "$as_me: failed program was:" >&5
33846 sed 's/^/| /' conftest.$ac_ext >&5
33848 eval "$as_ac_var=no"
33850 rm -f conftest.err conftest.$ac_objext \
33851 conftest$ac_exeext conftest.$ac_ext
33853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33855 if test `eval echo '${'$as_ac_var'}'` = yes; then
33856 cat >>confdefs.h <<_ACEOF
33857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33858 _ACEOF
33861 done
33871 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
33872 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
33873 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33874 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
33875 echo $ECHO_N "(cached) $ECHO_C" >&6
33876 else
33880 ac_ext=cc
33881 ac_cpp='$CXXCPP $CPPFLAGS'
33882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33886 cat >conftest.$ac_ext <<_ACEOF
33887 /* confdefs.h. */
33888 _ACEOF
33889 cat confdefs.h >>conftest.$ac_ext
33890 cat >>conftest.$ac_ext <<_ACEOF
33891 /* end confdefs.h. */
33892 #include <math.h>
33893 #ifdef HAVE_IEEEFP_H
33894 #include <ieeefp.h>
33895 #endif
33898 main ()
33900 sqrtl(0);
33902 return 0;
33904 _ACEOF
33905 rm -f conftest.$ac_objext
33906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33907 (eval $ac_compile) 2>conftest.er1
33908 ac_status=$?
33909 grep -v '^ *+' conftest.er1 >conftest.err
33910 rm -f conftest.er1
33911 cat conftest.err >&5
33912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33913 (exit $ac_status); } &&
33914 { ac_try='test -z "$ac_cxx_werror_flag"
33915 || test ! -s conftest.err'
33916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33917 (eval $ac_try) 2>&5
33918 ac_status=$?
33919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33920 (exit $ac_status); }; } &&
33921 { ac_try='test -s conftest.$ac_objext'
33922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33923 (eval $ac_try) 2>&5
33924 ac_status=$?
33925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33926 (exit $ac_status); }; }; then
33927 glibcxx_cv_func_sqrtl_use=yes
33928 else
33929 echo "$as_me: failed program was:" >&5
33930 sed 's/^/| /' conftest.$ac_ext >&5
33932 glibcxx_cv_func_sqrtl_use=no
33934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33935 ac_ext=c
33936 ac_cpp='$CPP $CPPFLAGS'
33937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33945 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
33946 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
33948 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33950 for ac_func in sqrtl
33952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33953 echo "$as_me:$LINENO: checking for $ac_func" >&5
33954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33955 if eval "test \"\${$as_ac_var+set}\" = set"; then
33956 echo $ECHO_N "(cached) $ECHO_C" >&6
33957 else
33958 if test x$gcc_no_link = xyes; then
33959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33961 { (exit 1); exit 1; }; }
33963 cat >conftest.$ac_ext <<_ACEOF
33964 /* confdefs.h. */
33965 _ACEOF
33966 cat confdefs.h >>conftest.$ac_ext
33967 cat >>conftest.$ac_ext <<_ACEOF
33968 /* end confdefs.h. */
33969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33971 #define $ac_func innocuous_$ac_func
33973 /* System header to define __stub macros and hopefully few prototypes,
33974 which can conflict with char $ac_func (); below.
33975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33976 <limits.h> exists even on freestanding compilers. */
33978 #ifdef __STDC__
33979 # include <limits.h>
33980 #else
33981 # include <assert.h>
33982 #endif
33984 #undef $ac_func
33986 /* Override any gcc2 internal prototype to avoid an error. */
33987 #ifdef __cplusplus
33988 extern "C"
33990 #endif
33991 /* We use char because int might match the return type of a gcc2
33992 builtin and then its argument prototype would still apply. */
33993 char $ac_func ();
33994 /* The GNU C library defines this for functions which it implements
33995 to always fail with ENOSYS. Some functions are actually named
33996 something starting with __ and the normal name is an alias. */
33997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33998 choke me
33999 #else
34000 char (*f) () = $ac_func;
34001 #endif
34002 #ifdef __cplusplus
34004 #endif
34007 main ()
34009 return f != $ac_func;
34011 return 0;
34013 _ACEOF
34014 rm -f conftest.$ac_objext conftest$ac_exeext
34015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34016 (eval $ac_link) 2>conftest.er1
34017 ac_status=$?
34018 grep -v '^ *+' conftest.er1 >conftest.err
34019 rm -f conftest.er1
34020 cat conftest.err >&5
34021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34022 (exit $ac_status); } &&
34023 { ac_try='test -z "$ac_c_werror_flag"
34024 || test ! -s conftest.err'
34025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34026 (eval $ac_try) 2>&5
34027 ac_status=$?
34028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34029 (exit $ac_status); }; } &&
34030 { ac_try='test -s conftest$ac_exeext'
34031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34032 (eval $ac_try) 2>&5
34033 ac_status=$?
34034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34035 (exit $ac_status); }; }; then
34036 eval "$as_ac_var=yes"
34037 else
34038 echo "$as_me: failed program was:" >&5
34039 sed 's/^/| /' conftest.$ac_ext >&5
34041 eval "$as_ac_var=no"
34043 rm -f conftest.err conftest.$ac_objext \
34044 conftest$ac_exeext conftest.$ac_ext
34046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34048 if test `eval echo '${'$as_ac_var'}'` = yes; then
34049 cat >>confdefs.h <<_ACEOF
34050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34051 _ACEOF
34054 done
34056 else
34058 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
34059 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
34060 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34061 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
34062 echo $ECHO_N "(cached) $ECHO_C" >&6
34063 else
34067 ac_ext=cc
34068 ac_cpp='$CXXCPP $CPPFLAGS'
34069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34073 cat >conftest.$ac_ext <<_ACEOF
34074 /* confdefs.h. */
34075 _ACEOF
34076 cat confdefs.h >>conftest.$ac_ext
34077 cat >>conftest.$ac_ext <<_ACEOF
34078 /* end confdefs.h. */
34079 #include <math.h>
34080 #ifdef HAVE_IEEEFP_H
34081 #include <ieeefp.h>
34082 #endif
34085 main ()
34087 _sqrtl(0);
34089 return 0;
34091 _ACEOF
34092 rm -f conftest.$ac_objext
34093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34094 (eval $ac_compile) 2>conftest.er1
34095 ac_status=$?
34096 grep -v '^ *+' conftest.er1 >conftest.err
34097 rm -f conftest.er1
34098 cat conftest.err >&5
34099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34100 (exit $ac_status); } &&
34101 { ac_try='test -z "$ac_cxx_werror_flag"
34102 || test ! -s conftest.err'
34103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34104 (eval $ac_try) 2>&5
34105 ac_status=$?
34106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34107 (exit $ac_status); }; } &&
34108 { ac_try='test -s conftest.$ac_objext'
34109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34110 (eval $ac_try) 2>&5
34111 ac_status=$?
34112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34113 (exit $ac_status); }; }; then
34114 glibcxx_cv_func__sqrtl_use=yes
34115 else
34116 echo "$as_me: failed program was:" >&5
34117 sed 's/^/| /' conftest.$ac_ext >&5
34119 glibcxx_cv_func__sqrtl_use=no
34121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34122 ac_ext=c
34123 ac_cpp='$CPP $CPPFLAGS'
34124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34132 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
34133 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
34135 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34137 for ac_func in _sqrtl
34139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34140 echo "$as_me:$LINENO: checking for $ac_func" >&5
34141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34142 if eval "test \"\${$as_ac_var+set}\" = set"; then
34143 echo $ECHO_N "(cached) $ECHO_C" >&6
34144 else
34145 if test x$gcc_no_link = xyes; then
34146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34148 { (exit 1); exit 1; }; }
34150 cat >conftest.$ac_ext <<_ACEOF
34151 /* confdefs.h. */
34152 _ACEOF
34153 cat confdefs.h >>conftest.$ac_ext
34154 cat >>conftest.$ac_ext <<_ACEOF
34155 /* end confdefs.h. */
34156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34158 #define $ac_func innocuous_$ac_func
34160 /* System header to define __stub macros and hopefully few prototypes,
34161 which can conflict with char $ac_func (); below.
34162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34163 <limits.h> exists even on freestanding compilers. */
34165 #ifdef __STDC__
34166 # include <limits.h>
34167 #else
34168 # include <assert.h>
34169 #endif
34171 #undef $ac_func
34173 /* Override any gcc2 internal prototype to avoid an error. */
34174 #ifdef __cplusplus
34175 extern "C"
34177 #endif
34178 /* We use char because int might match the return type of a gcc2
34179 builtin and then its argument prototype would still apply. */
34180 char $ac_func ();
34181 /* The GNU C library defines this for functions which it implements
34182 to always fail with ENOSYS. Some functions are actually named
34183 something starting with __ and the normal name is an alias. */
34184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34185 choke me
34186 #else
34187 char (*f) () = $ac_func;
34188 #endif
34189 #ifdef __cplusplus
34191 #endif
34194 main ()
34196 return f != $ac_func;
34198 return 0;
34200 _ACEOF
34201 rm -f conftest.$ac_objext conftest$ac_exeext
34202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34203 (eval $ac_link) 2>conftest.er1
34204 ac_status=$?
34205 grep -v '^ *+' conftest.er1 >conftest.err
34206 rm -f conftest.er1
34207 cat conftest.err >&5
34208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34209 (exit $ac_status); } &&
34210 { ac_try='test -z "$ac_c_werror_flag"
34211 || test ! -s conftest.err'
34212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34213 (eval $ac_try) 2>&5
34214 ac_status=$?
34215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34216 (exit $ac_status); }; } &&
34217 { ac_try='test -s conftest$ac_exeext'
34218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34219 (eval $ac_try) 2>&5
34220 ac_status=$?
34221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34222 (exit $ac_status); }; }; then
34223 eval "$as_ac_var=yes"
34224 else
34225 echo "$as_me: failed program was:" >&5
34226 sed 's/^/| /' conftest.$ac_ext >&5
34228 eval "$as_ac_var=no"
34230 rm -f conftest.err conftest.$ac_objext \
34231 conftest$ac_exeext conftest.$ac_ext
34233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34235 if test `eval echo '${'$as_ac_var'}'` = yes; then
34236 cat >>confdefs.h <<_ACEOF
34237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34238 _ACEOF
34241 done
34251 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
34252 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
34253 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34254 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
34255 echo $ECHO_N "(cached) $ECHO_C" >&6
34256 else
34260 ac_ext=cc
34261 ac_cpp='$CXXCPP $CPPFLAGS'
34262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34266 cat >conftest.$ac_ext <<_ACEOF
34267 /* confdefs.h. */
34268 _ACEOF
34269 cat confdefs.h >>conftest.$ac_ext
34270 cat >>conftest.$ac_ext <<_ACEOF
34271 /* end confdefs.h. */
34272 #include <math.h>
34274 main ()
34276 sincosl(0, 0, 0);
34278 return 0;
34280 _ACEOF
34281 rm -f conftest.$ac_objext
34282 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34283 (eval $ac_compile) 2>conftest.er1
34284 ac_status=$?
34285 grep -v '^ *+' conftest.er1 >conftest.err
34286 rm -f conftest.er1
34287 cat conftest.err >&5
34288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34289 (exit $ac_status); } &&
34290 { ac_try='test -z "$ac_cxx_werror_flag"
34291 || test ! -s conftest.err'
34292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34293 (eval $ac_try) 2>&5
34294 ac_status=$?
34295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34296 (exit $ac_status); }; } &&
34297 { ac_try='test -s conftest.$ac_objext'
34298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34299 (eval $ac_try) 2>&5
34300 ac_status=$?
34301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34302 (exit $ac_status); }; }; then
34303 glibcxx_cv_func_sincosl_use=yes
34304 else
34305 echo "$as_me: failed program was:" >&5
34306 sed 's/^/| /' conftest.$ac_ext >&5
34308 glibcxx_cv_func_sincosl_use=no
34310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34311 ac_ext=c
34312 ac_cpp='$CPP $CPPFLAGS'
34313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34321 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
34322 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
34324 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34326 for ac_func in sincosl
34328 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34329 echo "$as_me:$LINENO: checking for $ac_func" >&5
34330 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34331 if eval "test \"\${$as_ac_var+set}\" = set"; then
34332 echo $ECHO_N "(cached) $ECHO_C" >&6
34333 else
34334 if test x$gcc_no_link = xyes; then
34335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34337 { (exit 1); exit 1; }; }
34339 cat >conftest.$ac_ext <<_ACEOF
34340 /* confdefs.h. */
34341 _ACEOF
34342 cat confdefs.h >>conftest.$ac_ext
34343 cat >>conftest.$ac_ext <<_ACEOF
34344 /* end confdefs.h. */
34345 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34347 #define $ac_func innocuous_$ac_func
34349 /* System header to define __stub macros and hopefully few prototypes,
34350 which can conflict with char $ac_func (); below.
34351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34352 <limits.h> exists even on freestanding compilers. */
34354 #ifdef __STDC__
34355 # include <limits.h>
34356 #else
34357 # include <assert.h>
34358 #endif
34360 #undef $ac_func
34362 /* Override any gcc2 internal prototype to avoid an error. */
34363 #ifdef __cplusplus
34364 extern "C"
34366 #endif
34367 /* We use char because int might match the return type of a gcc2
34368 builtin and then its argument prototype would still apply. */
34369 char $ac_func ();
34370 /* The GNU C library defines this for functions which it implements
34371 to always fail with ENOSYS. Some functions are actually named
34372 something starting with __ and the normal name is an alias. */
34373 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34374 choke me
34375 #else
34376 char (*f) () = $ac_func;
34377 #endif
34378 #ifdef __cplusplus
34380 #endif
34383 main ()
34385 return f != $ac_func;
34387 return 0;
34389 _ACEOF
34390 rm -f conftest.$ac_objext conftest$ac_exeext
34391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34392 (eval $ac_link) 2>conftest.er1
34393 ac_status=$?
34394 grep -v '^ *+' conftest.er1 >conftest.err
34395 rm -f conftest.er1
34396 cat conftest.err >&5
34397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34398 (exit $ac_status); } &&
34399 { ac_try='test -z "$ac_c_werror_flag"
34400 || test ! -s conftest.err'
34401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34402 (eval $ac_try) 2>&5
34403 ac_status=$?
34404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34405 (exit $ac_status); }; } &&
34406 { ac_try='test -s conftest$ac_exeext'
34407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34408 (eval $ac_try) 2>&5
34409 ac_status=$?
34410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34411 (exit $ac_status); }; }; then
34412 eval "$as_ac_var=yes"
34413 else
34414 echo "$as_me: failed program was:" >&5
34415 sed 's/^/| /' conftest.$ac_ext >&5
34417 eval "$as_ac_var=no"
34419 rm -f conftest.err conftest.$ac_objext \
34420 conftest$ac_exeext conftest.$ac_ext
34422 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34423 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34424 if test `eval echo '${'$as_ac_var'}'` = yes; then
34425 cat >>confdefs.h <<_ACEOF
34426 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34427 _ACEOF
34430 done
34432 else
34434 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
34435 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
34436 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34437 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
34438 echo $ECHO_N "(cached) $ECHO_C" >&6
34439 else
34443 ac_ext=cc
34444 ac_cpp='$CXXCPP $CPPFLAGS'
34445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34449 cat >conftest.$ac_ext <<_ACEOF
34450 /* confdefs.h. */
34451 _ACEOF
34452 cat confdefs.h >>conftest.$ac_ext
34453 cat >>conftest.$ac_ext <<_ACEOF
34454 /* end confdefs.h. */
34455 #include <math.h>
34457 main ()
34459 _sincosl(0, 0, 0);
34461 return 0;
34463 _ACEOF
34464 rm -f conftest.$ac_objext
34465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34466 (eval $ac_compile) 2>conftest.er1
34467 ac_status=$?
34468 grep -v '^ *+' conftest.er1 >conftest.err
34469 rm -f conftest.er1
34470 cat conftest.err >&5
34471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34472 (exit $ac_status); } &&
34473 { ac_try='test -z "$ac_cxx_werror_flag"
34474 || test ! -s conftest.err'
34475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34476 (eval $ac_try) 2>&5
34477 ac_status=$?
34478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34479 (exit $ac_status); }; } &&
34480 { ac_try='test -s conftest.$ac_objext'
34481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34482 (eval $ac_try) 2>&5
34483 ac_status=$?
34484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34485 (exit $ac_status); }; }; then
34486 glibcxx_cv_func__sincosl_use=yes
34487 else
34488 echo "$as_me: failed program was:" >&5
34489 sed 's/^/| /' conftest.$ac_ext >&5
34491 glibcxx_cv_func__sincosl_use=no
34493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34494 ac_ext=c
34495 ac_cpp='$CPP $CPPFLAGS'
34496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34504 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
34505 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
34507 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34509 for ac_func in _sincosl
34511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34512 echo "$as_me:$LINENO: checking for $ac_func" >&5
34513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34514 if eval "test \"\${$as_ac_var+set}\" = set"; then
34515 echo $ECHO_N "(cached) $ECHO_C" >&6
34516 else
34517 if test x$gcc_no_link = xyes; then
34518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34520 { (exit 1); exit 1; }; }
34522 cat >conftest.$ac_ext <<_ACEOF
34523 /* confdefs.h. */
34524 _ACEOF
34525 cat confdefs.h >>conftest.$ac_ext
34526 cat >>conftest.$ac_ext <<_ACEOF
34527 /* end confdefs.h. */
34528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34530 #define $ac_func innocuous_$ac_func
34532 /* System header to define __stub macros and hopefully few prototypes,
34533 which can conflict with char $ac_func (); below.
34534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34535 <limits.h> exists even on freestanding compilers. */
34537 #ifdef __STDC__
34538 # include <limits.h>
34539 #else
34540 # include <assert.h>
34541 #endif
34543 #undef $ac_func
34545 /* Override any gcc2 internal prototype to avoid an error. */
34546 #ifdef __cplusplus
34547 extern "C"
34549 #endif
34550 /* We use char because int might match the return type of a gcc2
34551 builtin and then its argument prototype would still apply. */
34552 char $ac_func ();
34553 /* The GNU C library defines this for functions which it implements
34554 to always fail with ENOSYS. Some functions are actually named
34555 something starting with __ and the normal name is an alias. */
34556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34557 choke me
34558 #else
34559 char (*f) () = $ac_func;
34560 #endif
34561 #ifdef __cplusplus
34563 #endif
34566 main ()
34568 return f != $ac_func;
34570 return 0;
34572 _ACEOF
34573 rm -f conftest.$ac_objext conftest$ac_exeext
34574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34575 (eval $ac_link) 2>conftest.er1
34576 ac_status=$?
34577 grep -v '^ *+' conftest.er1 >conftest.err
34578 rm -f conftest.er1
34579 cat conftest.err >&5
34580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34581 (exit $ac_status); } &&
34582 { ac_try='test -z "$ac_c_werror_flag"
34583 || test ! -s conftest.err'
34584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34585 (eval $ac_try) 2>&5
34586 ac_status=$?
34587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34588 (exit $ac_status); }; } &&
34589 { ac_try='test -s conftest$ac_exeext'
34590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34591 (eval $ac_try) 2>&5
34592 ac_status=$?
34593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34594 (exit $ac_status); }; }; then
34595 eval "$as_ac_var=yes"
34596 else
34597 echo "$as_me: failed program was:" >&5
34598 sed 's/^/| /' conftest.$ac_ext >&5
34600 eval "$as_ac_var=no"
34602 rm -f conftest.err conftest.$ac_objext \
34603 conftest$ac_exeext conftest.$ac_ext
34605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34607 if test `eval echo '${'$as_ac_var'}'` = yes; then
34608 cat >>confdefs.h <<_ACEOF
34609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34610 _ACEOF
34613 done
34623 echo "$as_me:$LINENO: checking for finitel declaration" >&5
34624 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
34625 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34626 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
34627 echo $ECHO_N "(cached) $ECHO_C" >&6
34628 else
34632 ac_ext=cc
34633 ac_cpp='$CXXCPP $CPPFLAGS'
34634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34638 cat >conftest.$ac_ext <<_ACEOF
34639 /* confdefs.h. */
34640 _ACEOF
34641 cat confdefs.h >>conftest.$ac_ext
34642 cat >>conftest.$ac_ext <<_ACEOF
34643 /* end confdefs.h. */
34644 #include <math.h>
34645 #ifdef HAVE_IEEEFP_H
34646 #include <ieeefp.h>
34647 #endif
34650 main ()
34652 finitel(0);
34654 return 0;
34656 _ACEOF
34657 rm -f conftest.$ac_objext
34658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34659 (eval $ac_compile) 2>conftest.er1
34660 ac_status=$?
34661 grep -v '^ *+' conftest.er1 >conftest.err
34662 rm -f conftest.er1
34663 cat conftest.err >&5
34664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34665 (exit $ac_status); } &&
34666 { ac_try='test -z "$ac_cxx_werror_flag"
34667 || test ! -s conftest.err'
34668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34669 (eval $ac_try) 2>&5
34670 ac_status=$?
34671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34672 (exit $ac_status); }; } &&
34673 { ac_try='test -s conftest.$ac_objext'
34674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34675 (eval $ac_try) 2>&5
34676 ac_status=$?
34677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34678 (exit $ac_status); }; }; then
34679 glibcxx_cv_func_finitel_use=yes
34680 else
34681 echo "$as_me: failed program was:" >&5
34682 sed 's/^/| /' conftest.$ac_ext >&5
34684 glibcxx_cv_func_finitel_use=no
34686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34687 ac_ext=c
34688 ac_cpp='$CPP $CPPFLAGS'
34689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34697 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
34698 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
34700 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34702 for ac_func in finitel
34704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34705 echo "$as_me:$LINENO: checking for $ac_func" >&5
34706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34707 if eval "test \"\${$as_ac_var+set}\" = set"; then
34708 echo $ECHO_N "(cached) $ECHO_C" >&6
34709 else
34710 if test x$gcc_no_link = xyes; then
34711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34713 { (exit 1); exit 1; }; }
34715 cat >conftest.$ac_ext <<_ACEOF
34716 /* confdefs.h. */
34717 _ACEOF
34718 cat confdefs.h >>conftest.$ac_ext
34719 cat >>conftest.$ac_ext <<_ACEOF
34720 /* end confdefs.h. */
34721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34723 #define $ac_func innocuous_$ac_func
34725 /* System header to define __stub macros and hopefully few prototypes,
34726 which can conflict with char $ac_func (); below.
34727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34728 <limits.h> exists even on freestanding compilers. */
34730 #ifdef __STDC__
34731 # include <limits.h>
34732 #else
34733 # include <assert.h>
34734 #endif
34736 #undef $ac_func
34738 /* Override any gcc2 internal prototype to avoid an error. */
34739 #ifdef __cplusplus
34740 extern "C"
34742 #endif
34743 /* We use char because int might match the return type of a gcc2
34744 builtin and then its argument prototype would still apply. */
34745 char $ac_func ();
34746 /* The GNU C library defines this for functions which it implements
34747 to always fail with ENOSYS. Some functions are actually named
34748 something starting with __ and the normal name is an alias. */
34749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34750 choke me
34751 #else
34752 char (*f) () = $ac_func;
34753 #endif
34754 #ifdef __cplusplus
34756 #endif
34759 main ()
34761 return f != $ac_func;
34763 return 0;
34765 _ACEOF
34766 rm -f conftest.$ac_objext conftest$ac_exeext
34767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34768 (eval $ac_link) 2>conftest.er1
34769 ac_status=$?
34770 grep -v '^ *+' conftest.er1 >conftest.err
34771 rm -f conftest.er1
34772 cat conftest.err >&5
34773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34774 (exit $ac_status); } &&
34775 { ac_try='test -z "$ac_c_werror_flag"
34776 || test ! -s conftest.err'
34777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34778 (eval $ac_try) 2>&5
34779 ac_status=$?
34780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34781 (exit $ac_status); }; } &&
34782 { ac_try='test -s conftest$ac_exeext'
34783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34784 (eval $ac_try) 2>&5
34785 ac_status=$?
34786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34787 (exit $ac_status); }; }; then
34788 eval "$as_ac_var=yes"
34789 else
34790 echo "$as_me: failed program was:" >&5
34791 sed 's/^/| /' conftest.$ac_ext >&5
34793 eval "$as_ac_var=no"
34795 rm -f conftest.err conftest.$ac_objext \
34796 conftest$ac_exeext conftest.$ac_ext
34798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34800 if test `eval echo '${'$as_ac_var'}'` = yes; then
34801 cat >>confdefs.h <<_ACEOF
34802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34803 _ACEOF
34806 done
34808 else
34810 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
34811 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
34812 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34813 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
34814 echo $ECHO_N "(cached) $ECHO_C" >&6
34815 else
34819 ac_ext=cc
34820 ac_cpp='$CXXCPP $CPPFLAGS'
34821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34825 cat >conftest.$ac_ext <<_ACEOF
34826 /* confdefs.h. */
34827 _ACEOF
34828 cat confdefs.h >>conftest.$ac_ext
34829 cat >>conftest.$ac_ext <<_ACEOF
34830 /* end confdefs.h. */
34831 #include <math.h>
34832 #ifdef HAVE_IEEEFP_H
34833 #include <ieeefp.h>
34834 #endif
34837 main ()
34839 _finitel(0);
34841 return 0;
34843 _ACEOF
34844 rm -f conftest.$ac_objext
34845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34846 (eval $ac_compile) 2>conftest.er1
34847 ac_status=$?
34848 grep -v '^ *+' conftest.er1 >conftest.err
34849 rm -f conftest.er1
34850 cat conftest.err >&5
34851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34852 (exit $ac_status); } &&
34853 { ac_try='test -z "$ac_cxx_werror_flag"
34854 || test ! -s conftest.err'
34855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34856 (eval $ac_try) 2>&5
34857 ac_status=$?
34858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34859 (exit $ac_status); }; } &&
34860 { ac_try='test -s conftest.$ac_objext'
34861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34862 (eval $ac_try) 2>&5
34863 ac_status=$?
34864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34865 (exit $ac_status); }; }; then
34866 glibcxx_cv_func__finitel_use=yes
34867 else
34868 echo "$as_me: failed program was:" >&5
34869 sed 's/^/| /' conftest.$ac_ext >&5
34871 glibcxx_cv_func__finitel_use=no
34873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34874 ac_ext=c
34875 ac_cpp='$CPP $CPPFLAGS'
34876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34884 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
34885 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
34887 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34889 for ac_func in _finitel
34891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34892 echo "$as_me:$LINENO: checking for $ac_func" >&5
34893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34894 if eval "test \"\${$as_ac_var+set}\" = set"; then
34895 echo $ECHO_N "(cached) $ECHO_C" >&6
34896 else
34897 if test x$gcc_no_link = xyes; then
34898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34900 { (exit 1); exit 1; }; }
34902 cat >conftest.$ac_ext <<_ACEOF
34903 /* confdefs.h. */
34904 _ACEOF
34905 cat confdefs.h >>conftest.$ac_ext
34906 cat >>conftest.$ac_ext <<_ACEOF
34907 /* end confdefs.h. */
34908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34910 #define $ac_func innocuous_$ac_func
34912 /* System header to define __stub macros and hopefully few prototypes,
34913 which can conflict with char $ac_func (); below.
34914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34915 <limits.h> exists even on freestanding compilers. */
34917 #ifdef __STDC__
34918 # include <limits.h>
34919 #else
34920 # include <assert.h>
34921 #endif
34923 #undef $ac_func
34925 /* Override any gcc2 internal prototype to avoid an error. */
34926 #ifdef __cplusplus
34927 extern "C"
34929 #endif
34930 /* We use char because int might match the return type of a gcc2
34931 builtin and then its argument prototype would still apply. */
34932 char $ac_func ();
34933 /* The GNU C library defines this for functions which it implements
34934 to always fail with ENOSYS. Some functions are actually named
34935 something starting with __ and the normal name is an alias. */
34936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34937 choke me
34938 #else
34939 char (*f) () = $ac_func;
34940 #endif
34941 #ifdef __cplusplus
34943 #endif
34946 main ()
34948 return f != $ac_func;
34950 return 0;
34952 _ACEOF
34953 rm -f conftest.$ac_objext conftest$ac_exeext
34954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34955 (eval $ac_link) 2>conftest.er1
34956 ac_status=$?
34957 grep -v '^ *+' conftest.er1 >conftest.err
34958 rm -f conftest.er1
34959 cat conftest.err >&5
34960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34961 (exit $ac_status); } &&
34962 { ac_try='test -z "$ac_c_werror_flag"
34963 || test ! -s conftest.err'
34964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34965 (eval $ac_try) 2>&5
34966 ac_status=$?
34967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34968 (exit $ac_status); }; } &&
34969 { ac_try='test -s conftest$ac_exeext'
34970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34971 (eval $ac_try) 2>&5
34972 ac_status=$?
34973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34974 (exit $ac_status); }; }; then
34975 eval "$as_ac_var=yes"
34976 else
34977 echo "$as_me: failed program was:" >&5
34978 sed 's/^/| /' conftest.$ac_ext >&5
34980 eval "$as_ac_var=no"
34982 rm -f conftest.err conftest.$ac_objext \
34983 conftest$ac_exeext conftest.$ac_ext
34985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34987 if test `eval echo '${'$as_ac_var'}'` = yes; then
34988 cat >>confdefs.h <<_ACEOF
34989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34990 _ACEOF
34993 done
35002 LIBS="$ac_save_LIBS"
35003 CXXFLAGS="$ac_save_CXXFLAGS"
35007 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
35008 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
35009 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
35010 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
35011 echo $ECHO_N "(cached) $ECHO_C" >&6
35012 else
35016 ac_ext=cc
35017 ac_cpp='$CXXCPP $CPPFLAGS'
35018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35022 cat >conftest.$ac_ext <<_ACEOF
35023 /* confdefs.h. */
35024 _ACEOF
35025 cat confdefs.h >>conftest.$ac_ext
35026 cat >>conftest.$ac_ext <<_ACEOF
35027 /* end confdefs.h. */
35028 #include <math.h>
35030 main ()
35032 __builtin_abs(0);
35034 return 0;
35036 _ACEOF
35037 rm -f conftest.$ac_objext
35038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35039 (eval $ac_compile) 2>conftest.er1
35040 ac_status=$?
35041 grep -v '^ *+' conftest.er1 >conftest.err
35042 rm -f conftest.er1
35043 cat conftest.err >&5
35044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35045 (exit $ac_status); } &&
35046 { ac_try='test -z "$ac_cxx_werror_flag"
35047 || test ! -s conftest.err'
35048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35049 (eval $ac_try) 2>&5
35050 ac_status=$?
35051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35052 (exit $ac_status); }; } &&
35053 { ac_try='test -s conftest.$ac_objext'
35054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35055 (eval $ac_try) 2>&5
35056 ac_status=$?
35057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35058 (exit $ac_status); }; }; then
35059 glibcxx_cv_func___builtin_abs_use=yes
35060 else
35061 echo "$as_me: failed program was:" >&5
35062 sed 's/^/| /' conftest.$ac_ext >&5
35064 glibcxx_cv_func___builtin_abs_use=no
35066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35067 ac_ext=c
35068 ac_cpp='$CPP $CPPFLAGS'
35069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35077 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
35078 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
35079 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
35080 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
35081 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
35082 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
35083 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
35084 echo $ECHO_N "(cached) $ECHO_C" >&6
35085 else
35087 if test x$gcc_no_link = xyes; then
35088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35090 { (exit 1); exit 1; }; }
35092 cat >conftest.$ac_ext <<_ACEOF
35093 /* confdefs.h. */
35094 _ACEOF
35095 cat confdefs.h >>conftest.$ac_ext
35096 cat >>conftest.$ac_ext <<_ACEOF
35097 /* end confdefs.h. */
35098 #include <math.h>
35100 main ()
35102 __builtin_abs(0);
35104 return 0;
35106 _ACEOF
35107 rm -f conftest.$ac_objext conftest$ac_exeext
35108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35109 (eval $ac_link) 2>conftest.er1
35110 ac_status=$?
35111 grep -v '^ *+' conftest.er1 >conftest.err
35112 rm -f conftest.er1
35113 cat conftest.err >&5
35114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35115 (exit $ac_status); } &&
35116 { ac_try='test -z "$ac_c_werror_flag"
35117 || test ! -s conftest.err'
35118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35119 (eval $ac_try) 2>&5
35120 ac_status=$?
35121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35122 (exit $ac_status); }; } &&
35123 { ac_try='test -s conftest$ac_exeext'
35124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35125 (eval $ac_try) 2>&5
35126 ac_status=$?
35127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35128 (exit $ac_status); }; }; then
35129 glibcxx_cv_func___builtin_abs_link=yes
35130 else
35131 echo "$as_me: failed program was:" >&5
35132 sed 's/^/| /' conftest.$ac_ext >&5
35134 glibcxx_cv_func___builtin_abs_link=no
35136 rm -f conftest.err conftest.$ac_objext \
35137 conftest$ac_exeext conftest.$ac_ext
35142 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
35143 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
35145 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
35147 cat >>confdefs.h <<\_ACEOF
35148 #define HAVE___BUILTIN_ABS 1
35149 _ACEOF
35156 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
35157 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
35158 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
35159 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
35160 echo $ECHO_N "(cached) $ECHO_C" >&6
35161 else
35165 ac_ext=cc
35166 ac_cpp='$CXXCPP $CPPFLAGS'
35167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35171 cat >conftest.$ac_ext <<_ACEOF
35172 /* confdefs.h. */
35173 _ACEOF
35174 cat confdefs.h >>conftest.$ac_ext
35175 cat >>conftest.$ac_ext <<_ACEOF
35176 /* end confdefs.h. */
35177 #include <math.h>
35179 main ()
35181 __builtin_fabsf(0);
35183 return 0;
35185 _ACEOF
35186 rm -f conftest.$ac_objext
35187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35188 (eval $ac_compile) 2>conftest.er1
35189 ac_status=$?
35190 grep -v '^ *+' conftest.er1 >conftest.err
35191 rm -f conftest.er1
35192 cat conftest.err >&5
35193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35194 (exit $ac_status); } &&
35195 { ac_try='test -z "$ac_cxx_werror_flag"
35196 || test ! -s conftest.err'
35197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35198 (eval $ac_try) 2>&5
35199 ac_status=$?
35200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35201 (exit $ac_status); }; } &&
35202 { ac_try='test -s conftest.$ac_objext'
35203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35204 (eval $ac_try) 2>&5
35205 ac_status=$?
35206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35207 (exit $ac_status); }; }; then
35208 glibcxx_cv_func___builtin_fabsf_use=yes
35209 else
35210 echo "$as_me: failed program was:" >&5
35211 sed 's/^/| /' conftest.$ac_ext >&5
35213 glibcxx_cv_func___builtin_fabsf_use=no
35215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35216 ac_ext=c
35217 ac_cpp='$CPP $CPPFLAGS'
35218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35226 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
35227 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
35228 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
35229 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
35230 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
35231 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
35232 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
35233 echo $ECHO_N "(cached) $ECHO_C" >&6
35234 else
35236 if test x$gcc_no_link = xyes; then
35237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35239 { (exit 1); exit 1; }; }
35241 cat >conftest.$ac_ext <<_ACEOF
35242 /* confdefs.h. */
35243 _ACEOF
35244 cat confdefs.h >>conftest.$ac_ext
35245 cat >>conftest.$ac_ext <<_ACEOF
35246 /* end confdefs.h. */
35247 #include <math.h>
35249 main ()
35251 __builtin_fabsf(0);
35253 return 0;
35255 _ACEOF
35256 rm -f conftest.$ac_objext conftest$ac_exeext
35257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35258 (eval $ac_link) 2>conftest.er1
35259 ac_status=$?
35260 grep -v '^ *+' conftest.er1 >conftest.err
35261 rm -f conftest.er1
35262 cat conftest.err >&5
35263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35264 (exit $ac_status); } &&
35265 { ac_try='test -z "$ac_c_werror_flag"
35266 || test ! -s conftest.err'
35267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35268 (eval $ac_try) 2>&5
35269 ac_status=$?
35270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35271 (exit $ac_status); }; } &&
35272 { ac_try='test -s conftest$ac_exeext'
35273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35274 (eval $ac_try) 2>&5
35275 ac_status=$?
35276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35277 (exit $ac_status); }; }; then
35278 glibcxx_cv_func___builtin_fabsf_link=yes
35279 else
35280 echo "$as_me: failed program was:" >&5
35281 sed 's/^/| /' conftest.$ac_ext >&5
35283 glibcxx_cv_func___builtin_fabsf_link=no
35285 rm -f conftest.err conftest.$ac_objext \
35286 conftest$ac_exeext conftest.$ac_ext
35291 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
35292 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
35294 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
35296 cat >>confdefs.h <<\_ACEOF
35297 #define HAVE___BUILTIN_FABSF 1
35298 _ACEOF
35305 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
35306 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
35307 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
35308 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
35309 echo $ECHO_N "(cached) $ECHO_C" >&6
35310 else
35314 ac_ext=cc
35315 ac_cpp='$CXXCPP $CPPFLAGS'
35316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35320 cat >conftest.$ac_ext <<_ACEOF
35321 /* confdefs.h. */
35322 _ACEOF
35323 cat confdefs.h >>conftest.$ac_ext
35324 cat >>conftest.$ac_ext <<_ACEOF
35325 /* end confdefs.h. */
35326 #include <math.h>
35328 main ()
35330 __builtin_fabs(0);
35332 return 0;
35334 _ACEOF
35335 rm -f conftest.$ac_objext
35336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35337 (eval $ac_compile) 2>conftest.er1
35338 ac_status=$?
35339 grep -v '^ *+' conftest.er1 >conftest.err
35340 rm -f conftest.er1
35341 cat conftest.err >&5
35342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35343 (exit $ac_status); } &&
35344 { ac_try='test -z "$ac_cxx_werror_flag"
35345 || test ! -s conftest.err'
35346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35347 (eval $ac_try) 2>&5
35348 ac_status=$?
35349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35350 (exit $ac_status); }; } &&
35351 { ac_try='test -s conftest.$ac_objext'
35352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35353 (eval $ac_try) 2>&5
35354 ac_status=$?
35355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35356 (exit $ac_status); }; }; then
35357 glibcxx_cv_func___builtin_fabs_use=yes
35358 else
35359 echo "$as_me: failed program was:" >&5
35360 sed 's/^/| /' conftest.$ac_ext >&5
35362 glibcxx_cv_func___builtin_fabs_use=no
35364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35365 ac_ext=c
35366 ac_cpp='$CPP $CPPFLAGS'
35367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35375 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
35376 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
35377 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
35378 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
35379 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
35380 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
35381 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
35382 echo $ECHO_N "(cached) $ECHO_C" >&6
35383 else
35385 if test x$gcc_no_link = xyes; then
35386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35388 { (exit 1); exit 1; }; }
35390 cat >conftest.$ac_ext <<_ACEOF
35391 /* confdefs.h. */
35392 _ACEOF
35393 cat confdefs.h >>conftest.$ac_ext
35394 cat >>conftest.$ac_ext <<_ACEOF
35395 /* end confdefs.h. */
35396 #include <math.h>
35398 main ()
35400 __builtin_fabs(0);
35402 return 0;
35404 _ACEOF
35405 rm -f conftest.$ac_objext conftest$ac_exeext
35406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35407 (eval $ac_link) 2>conftest.er1
35408 ac_status=$?
35409 grep -v '^ *+' conftest.er1 >conftest.err
35410 rm -f conftest.er1
35411 cat conftest.err >&5
35412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35413 (exit $ac_status); } &&
35414 { ac_try='test -z "$ac_c_werror_flag"
35415 || test ! -s conftest.err'
35416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35417 (eval $ac_try) 2>&5
35418 ac_status=$?
35419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35420 (exit $ac_status); }; } &&
35421 { ac_try='test -s conftest$ac_exeext'
35422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35423 (eval $ac_try) 2>&5
35424 ac_status=$?
35425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35426 (exit $ac_status); }; }; then
35427 glibcxx_cv_func___builtin_fabs_link=yes
35428 else
35429 echo "$as_me: failed program was:" >&5
35430 sed 's/^/| /' conftest.$ac_ext >&5
35432 glibcxx_cv_func___builtin_fabs_link=no
35434 rm -f conftest.err conftest.$ac_objext \
35435 conftest$ac_exeext conftest.$ac_ext
35440 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
35441 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
35443 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
35445 cat >>confdefs.h <<\_ACEOF
35446 #define HAVE___BUILTIN_FABS 1
35447 _ACEOF
35454 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
35455 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
35456 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
35457 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
35458 echo $ECHO_N "(cached) $ECHO_C" >&6
35459 else
35463 ac_ext=cc
35464 ac_cpp='$CXXCPP $CPPFLAGS'
35465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35469 cat >conftest.$ac_ext <<_ACEOF
35470 /* confdefs.h. */
35471 _ACEOF
35472 cat confdefs.h >>conftest.$ac_ext
35473 cat >>conftest.$ac_ext <<_ACEOF
35474 /* end confdefs.h. */
35475 #include <math.h>
35477 main ()
35479 __builtin_fabsl(0);
35481 return 0;
35483 _ACEOF
35484 rm -f conftest.$ac_objext
35485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35486 (eval $ac_compile) 2>conftest.er1
35487 ac_status=$?
35488 grep -v '^ *+' conftest.er1 >conftest.err
35489 rm -f conftest.er1
35490 cat conftest.err >&5
35491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35492 (exit $ac_status); } &&
35493 { ac_try='test -z "$ac_cxx_werror_flag"
35494 || test ! -s conftest.err'
35495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35496 (eval $ac_try) 2>&5
35497 ac_status=$?
35498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35499 (exit $ac_status); }; } &&
35500 { ac_try='test -s conftest.$ac_objext'
35501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35502 (eval $ac_try) 2>&5
35503 ac_status=$?
35504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35505 (exit $ac_status); }; }; then
35506 glibcxx_cv_func___builtin_fabsl_use=yes
35507 else
35508 echo "$as_me: failed program was:" >&5
35509 sed 's/^/| /' conftest.$ac_ext >&5
35511 glibcxx_cv_func___builtin_fabsl_use=no
35513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35514 ac_ext=c
35515 ac_cpp='$CPP $CPPFLAGS'
35516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35524 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
35525 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
35526 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
35527 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
35528 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
35529 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
35530 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
35531 echo $ECHO_N "(cached) $ECHO_C" >&6
35532 else
35534 if test x$gcc_no_link = xyes; then
35535 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35536 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35537 { (exit 1); exit 1; }; }
35539 cat >conftest.$ac_ext <<_ACEOF
35540 /* confdefs.h. */
35541 _ACEOF
35542 cat confdefs.h >>conftest.$ac_ext
35543 cat >>conftest.$ac_ext <<_ACEOF
35544 /* end confdefs.h. */
35545 #include <math.h>
35547 main ()
35549 __builtin_fabsl(0);
35551 return 0;
35553 _ACEOF
35554 rm -f conftest.$ac_objext conftest$ac_exeext
35555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35556 (eval $ac_link) 2>conftest.er1
35557 ac_status=$?
35558 grep -v '^ *+' conftest.er1 >conftest.err
35559 rm -f conftest.er1
35560 cat conftest.err >&5
35561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35562 (exit $ac_status); } &&
35563 { ac_try='test -z "$ac_c_werror_flag"
35564 || test ! -s conftest.err'
35565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35566 (eval $ac_try) 2>&5
35567 ac_status=$?
35568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35569 (exit $ac_status); }; } &&
35570 { ac_try='test -s conftest$ac_exeext'
35571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35572 (eval $ac_try) 2>&5
35573 ac_status=$?
35574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35575 (exit $ac_status); }; }; then
35576 glibcxx_cv_func___builtin_fabsl_link=yes
35577 else
35578 echo "$as_me: failed program was:" >&5
35579 sed 's/^/| /' conftest.$ac_ext >&5
35581 glibcxx_cv_func___builtin_fabsl_link=no
35583 rm -f conftest.err conftest.$ac_objext \
35584 conftest$ac_exeext conftest.$ac_ext
35589 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
35590 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
35592 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
35594 cat >>confdefs.h <<\_ACEOF
35595 #define HAVE___BUILTIN_FABSL 1
35596 _ACEOF
35603 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
35604 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
35605 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
35606 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
35607 echo $ECHO_N "(cached) $ECHO_C" >&6
35608 else
35612 ac_ext=cc
35613 ac_cpp='$CXXCPP $CPPFLAGS'
35614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35618 cat >conftest.$ac_ext <<_ACEOF
35619 /* confdefs.h. */
35620 _ACEOF
35621 cat confdefs.h >>conftest.$ac_ext
35622 cat >>conftest.$ac_ext <<_ACEOF
35623 /* end confdefs.h. */
35624 #include <math.h>
35626 main ()
35628 __builtin_labs(0);
35630 return 0;
35632 _ACEOF
35633 rm -f conftest.$ac_objext
35634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35635 (eval $ac_compile) 2>conftest.er1
35636 ac_status=$?
35637 grep -v '^ *+' conftest.er1 >conftest.err
35638 rm -f conftest.er1
35639 cat conftest.err >&5
35640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35641 (exit $ac_status); } &&
35642 { ac_try='test -z "$ac_cxx_werror_flag"
35643 || test ! -s conftest.err'
35644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35645 (eval $ac_try) 2>&5
35646 ac_status=$?
35647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35648 (exit $ac_status); }; } &&
35649 { ac_try='test -s conftest.$ac_objext'
35650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35651 (eval $ac_try) 2>&5
35652 ac_status=$?
35653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35654 (exit $ac_status); }; }; then
35655 glibcxx_cv_func___builtin_labs_use=yes
35656 else
35657 echo "$as_me: failed program was:" >&5
35658 sed 's/^/| /' conftest.$ac_ext >&5
35660 glibcxx_cv_func___builtin_labs_use=no
35662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35663 ac_ext=c
35664 ac_cpp='$CPP $CPPFLAGS'
35665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35673 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
35674 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
35675 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
35676 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
35677 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
35678 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
35679 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
35680 echo $ECHO_N "(cached) $ECHO_C" >&6
35681 else
35683 if test x$gcc_no_link = xyes; then
35684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35686 { (exit 1); exit 1; }; }
35688 cat >conftest.$ac_ext <<_ACEOF
35689 /* confdefs.h. */
35690 _ACEOF
35691 cat confdefs.h >>conftest.$ac_ext
35692 cat >>conftest.$ac_ext <<_ACEOF
35693 /* end confdefs.h. */
35694 #include <math.h>
35696 main ()
35698 __builtin_labs(0);
35700 return 0;
35702 _ACEOF
35703 rm -f conftest.$ac_objext conftest$ac_exeext
35704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35705 (eval $ac_link) 2>conftest.er1
35706 ac_status=$?
35707 grep -v '^ *+' conftest.er1 >conftest.err
35708 rm -f conftest.er1
35709 cat conftest.err >&5
35710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35711 (exit $ac_status); } &&
35712 { ac_try='test -z "$ac_c_werror_flag"
35713 || test ! -s conftest.err'
35714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35715 (eval $ac_try) 2>&5
35716 ac_status=$?
35717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35718 (exit $ac_status); }; } &&
35719 { ac_try='test -s conftest$ac_exeext'
35720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35721 (eval $ac_try) 2>&5
35722 ac_status=$?
35723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35724 (exit $ac_status); }; }; then
35725 glibcxx_cv_func___builtin_labs_link=yes
35726 else
35727 echo "$as_me: failed program was:" >&5
35728 sed 's/^/| /' conftest.$ac_ext >&5
35730 glibcxx_cv_func___builtin_labs_link=no
35732 rm -f conftest.err conftest.$ac_objext \
35733 conftest$ac_exeext conftest.$ac_ext
35738 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
35739 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
35741 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
35743 cat >>confdefs.h <<\_ACEOF
35744 #define HAVE___BUILTIN_LABS 1
35745 _ACEOF
35753 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
35754 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
35755 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
35756 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
35757 echo $ECHO_N "(cached) $ECHO_C" >&6
35758 else
35762 ac_ext=cc
35763 ac_cpp='$CXXCPP $CPPFLAGS'
35764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35768 cat >conftest.$ac_ext <<_ACEOF
35769 /* confdefs.h. */
35770 _ACEOF
35771 cat confdefs.h >>conftest.$ac_ext
35772 cat >>conftest.$ac_ext <<_ACEOF
35773 /* end confdefs.h. */
35774 #include <math.h>
35776 main ()
35778 __builtin_sqrtf(0);
35780 return 0;
35782 _ACEOF
35783 rm -f conftest.$ac_objext
35784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35785 (eval $ac_compile) 2>conftest.er1
35786 ac_status=$?
35787 grep -v '^ *+' conftest.er1 >conftest.err
35788 rm -f conftest.er1
35789 cat conftest.err >&5
35790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35791 (exit $ac_status); } &&
35792 { ac_try='test -z "$ac_cxx_werror_flag"
35793 || test ! -s conftest.err'
35794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35795 (eval $ac_try) 2>&5
35796 ac_status=$?
35797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35798 (exit $ac_status); }; } &&
35799 { ac_try='test -s conftest.$ac_objext'
35800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35801 (eval $ac_try) 2>&5
35802 ac_status=$?
35803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35804 (exit $ac_status); }; }; then
35805 glibcxx_cv_func___builtin_sqrtf_use=yes
35806 else
35807 echo "$as_me: failed program was:" >&5
35808 sed 's/^/| /' conftest.$ac_ext >&5
35810 glibcxx_cv_func___builtin_sqrtf_use=no
35812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35813 ac_ext=c
35814 ac_cpp='$CPP $CPPFLAGS'
35815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35823 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
35824 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
35825 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
35826 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
35827 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
35828 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
35829 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
35830 echo $ECHO_N "(cached) $ECHO_C" >&6
35831 else
35833 if test x$gcc_no_link = xyes; then
35834 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35835 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35836 { (exit 1); exit 1; }; }
35838 cat >conftest.$ac_ext <<_ACEOF
35839 /* confdefs.h. */
35840 _ACEOF
35841 cat confdefs.h >>conftest.$ac_ext
35842 cat >>conftest.$ac_ext <<_ACEOF
35843 /* end confdefs.h. */
35844 #include <math.h>
35846 main ()
35848 __builtin_sqrtf(0);
35850 return 0;
35852 _ACEOF
35853 rm -f conftest.$ac_objext conftest$ac_exeext
35854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35855 (eval $ac_link) 2>conftest.er1
35856 ac_status=$?
35857 grep -v '^ *+' conftest.er1 >conftest.err
35858 rm -f conftest.er1
35859 cat conftest.err >&5
35860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35861 (exit $ac_status); } &&
35862 { ac_try='test -z "$ac_c_werror_flag"
35863 || test ! -s conftest.err'
35864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35865 (eval $ac_try) 2>&5
35866 ac_status=$?
35867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35868 (exit $ac_status); }; } &&
35869 { ac_try='test -s conftest$ac_exeext'
35870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35871 (eval $ac_try) 2>&5
35872 ac_status=$?
35873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35874 (exit $ac_status); }; }; then
35875 glibcxx_cv_func___builtin_sqrtf_link=yes
35876 else
35877 echo "$as_me: failed program was:" >&5
35878 sed 's/^/| /' conftest.$ac_ext >&5
35880 glibcxx_cv_func___builtin_sqrtf_link=no
35882 rm -f conftest.err conftest.$ac_objext \
35883 conftest$ac_exeext conftest.$ac_ext
35888 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
35889 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
35891 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
35893 cat >>confdefs.h <<\_ACEOF
35894 #define HAVE___BUILTIN_SQRTF 1
35895 _ACEOF
35902 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
35903 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
35904 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
35905 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
35906 echo $ECHO_N "(cached) $ECHO_C" >&6
35907 else
35911 ac_ext=cc
35912 ac_cpp='$CXXCPP $CPPFLAGS'
35913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35917 cat >conftest.$ac_ext <<_ACEOF
35918 /* confdefs.h. */
35919 _ACEOF
35920 cat confdefs.h >>conftest.$ac_ext
35921 cat >>conftest.$ac_ext <<_ACEOF
35922 /* end confdefs.h. */
35923 #include <math.h>
35925 main ()
35927 __builtin_sqrt(0);
35929 return 0;
35931 _ACEOF
35932 rm -f conftest.$ac_objext
35933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35934 (eval $ac_compile) 2>conftest.er1
35935 ac_status=$?
35936 grep -v '^ *+' conftest.er1 >conftest.err
35937 rm -f conftest.er1
35938 cat conftest.err >&5
35939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35940 (exit $ac_status); } &&
35941 { ac_try='test -z "$ac_cxx_werror_flag"
35942 || test ! -s conftest.err'
35943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35944 (eval $ac_try) 2>&5
35945 ac_status=$?
35946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35947 (exit $ac_status); }; } &&
35948 { ac_try='test -s conftest.$ac_objext'
35949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35950 (eval $ac_try) 2>&5
35951 ac_status=$?
35952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35953 (exit $ac_status); }; }; then
35954 glibcxx_cv_func___builtin_sqrt_use=yes
35955 else
35956 echo "$as_me: failed program was:" >&5
35957 sed 's/^/| /' conftest.$ac_ext >&5
35959 glibcxx_cv_func___builtin_sqrt_use=no
35961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35962 ac_ext=c
35963 ac_cpp='$CPP $CPPFLAGS'
35964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35972 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
35973 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
35974 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
35975 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
35976 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
35977 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
35978 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
35979 echo $ECHO_N "(cached) $ECHO_C" >&6
35980 else
35982 if test x$gcc_no_link = xyes; then
35983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35985 { (exit 1); exit 1; }; }
35987 cat >conftest.$ac_ext <<_ACEOF
35988 /* confdefs.h. */
35989 _ACEOF
35990 cat confdefs.h >>conftest.$ac_ext
35991 cat >>conftest.$ac_ext <<_ACEOF
35992 /* end confdefs.h. */
35993 #include <math.h>
35995 main ()
35997 __builtin_sqrt(0);
35999 return 0;
36001 _ACEOF
36002 rm -f conftest.$ac_objext conftest$ac_exeext
36003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36004 (eval $ac_link) 2>conftest.er1
36005 ac_status=$?
36006 grep -v '^ *+' conftest.er1 >conftest.err
36007 rm -f conftest.er1
36008 cat conftest.err >&5
36009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36010 (exit $ac_status); } &&
36011 { ac_try='test -z "$ac_c_werror_flag"
36012 || test ! -s conftest.err'
36013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36014 (eval $ac_try) 2>&5
36015 ac_status=$?
36016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36017 (exit $ac_status); }; } &&
36018 { ac_try='test -s conftest$ac_exeext'
36019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36020 (eval $ac_try) 2>&5
36021 ac_status=$?
36022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36023 (exit $ac_status); }; }; then
36024 glibcxx_cv_func___builtin_sqrt_link=yes
36025 else
36026 echo "$as_me: failed program was:" >&5
36027 sed 's/^/| /' conftest.$ac_ext >&5
36029 glibcxx_cv_func___builtin_sqrt_link=no
36031 rm -f conftest.err conftest.$ac_objext \
36032 conftest$ac_exeext conftest.$ac_ext
36037 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
36038 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
36040 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
36042 cat >>confdefs.h <<\_ACEOF
36043 #define HAVE___BUILTIN_SQRT 1
36044 _ACEOF
36051 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
36052 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
36053 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
36054 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
36055 echo $ECHO_N "(cached) $ECHO_C" >&6
36056 else
36060 ac_ext=cc
36061 ac_cpp='$CXXCPP $CPPFLAGS'
36062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36066 cat >conftest.$ac_ext <<_ACEOF
36067 /* confdefs.h. */
36068 _ACEOF
36069 cat confdefs.h >>conftest.$ac_ext
36070 cat >>conftest.$ac_ext <<_ACEOF
36071 /* end confdefs.h. */
36072 #include <math.h>
36074 main ()
36076 __builtin_sqrtl(0);
36078 return 0;
36080 _ACEOF
36081 rm -f conftest.$ac_objext
36082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36083 (eval $ac_compile) 2>conftest.er1
36084 ac_status=$?
36085 grep -v '^ *+' conftest.er1 >conftest.err
36086 rm -f conftest.er1
36087 cat conftest.err >&5
36088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36089 (exit $ac_status); } &&
36090 { ac_try='test -z "$ac_cxx_werror_flag"
36091 || test ! -s conftest.err'
36092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36093 (eval $ac_try) 2>&5
36094 ac_status=$?
36095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36096 (exit $ac_status); }; } &&
36097 { ac_try='test -s conftest.$ac_objext'
36098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36099 (eval $ac_try) 2>&5
36100 ac_status=$?
36101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36102 (exit $ac_status); }; }; then
36103 glibcxx_cv_func___builtin_sqrtl_use=yes
36104 else
36105 echo "$as_me: failed program was:" >&5
36106 sed 's/^/| /' conftest.$ac_ext >&5
36108 glibcxx_cv_func___builtin_sqrtl_use=no
36110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36111 ac_ext=c
36112 ac_cpp='$CPP $CPPFLAGS'
36113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36121 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
36122 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
36123 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
36124 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
36125 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
36126 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
36127 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
36128 echo $ECHO_N "(cached) $ECHO_C" >&6
36129 else
36131 if test x$gcc_no_link = xyes; then
36132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36134 { (exit 1); exit 1; }; }
36136 cat >conftest.$ac_ext <<_ACEOF
36137 /* confdefs.h. */
36138 _ACEOF
36139 cat confdefs.h >>conftest.$ac_ext
36140 cat >>conftest.$ac_ext <<_ACEOF
36141 /* end confdefs.h. */
36142 #include <math.h>
36144 main ()
36146 __builtin_sqrtl(0);
36148 return 0;
36150 _ACEOF
36151 rm -f conftest.$ac_objext conftest$ac_exeext
36152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36153 (eval $ac_link) 2>conftest.er1
36154 ac_status=$?
36155 grep -v '^ *+' conftest.er1 >conftest.err
36156 rm -f conftest.er1
36157 cat conftest.err >&5
36158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36159 (exit $ac_status); } &&
36160 { ac_try='test -z "$ac_c_werror_flag"
36161 || test ! -s conftest.err'
36162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36163 (eval $ac_try) 2>&5
36164 ac_status=$?
36165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36166 (exit $ac_status); }; } &&
36167 { ac_try='test -s conftest$ac_exeext'
36168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36169 (eval $ac_try) 2>&5
36170 ac_status=$?
36171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36172 (exit $ac_status); }; }; then
36173 glibcxx_cv_func___builtin_sqrtl_link=yes
36174 else
36175 echo "$as_me: failed program was:" >&5
36176 sed 's/^/| /' conftest.$ac_ext >&5
36178 glibcxx_cv_func___builtin_sqrtl_link=no
36180 rm -f conftest.err conftest.$ac_objext \
36181 conftest$ac_exeext conftest.$ac_ext
36186 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
36187 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
36189 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
36191 cat >>confdefs.h <<\_ACEOF
36192 #define HAVE___BUILTIN_SQRTL 1
36193 _ACEOF
36201 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
36202 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
36203 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
36204 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
36205 echo $ECHO_N "(cached) $ECHO_C" >&6
36206 else
36210 ac_ext=cc
36211 ac_cpp='$CXXCPP $CPPFLAGS'
36212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36216 cat >conftest.$ac_ext <<_ACEOF
36217 /* confdefs.h. */
36218 _ACEOF
36219 cat confdefs.h >>conftest.$ac_ext
36220 cat >>conftest.$ac_ext <<_ACEOF
36221 /* end confdefs.h. */
36222 #include <math.h>
36224 main ()
36226 __builtin_sinf(0);
36228 return 0;
36230 _ACEOF
36231 rm -f conftest.$ac_objext
36232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36233 (eval $ac_compile) 2>conftest.er1
36234 ac_status=$?
36235 grep -v '^ *+' conftest.er1 >conftest.err
36236 rm -f conftest.er1
36237 cat conftest.err >&5
36238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36239 (exit $ac_status); } &&
36240 { ac_try='test -z "$ac_cxx_werror_flag"
36241 || test ! -s conftest.err'
36242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36243 (eval $ac_try) 2>&5
36244 ac_status=$?
36245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36246 (exit $ac_status); }; } &&
36247 { ac_try='test -s conftest.$ac_objext'
36248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36249 (eval $ac_try) 2>&5
36250 ac_status=$?
36251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36252 (exit $ac_status); }; }; then
36253 glibcxx_cv_func___builtin_sinf_use=yes
36254 else
36255 echo "$as_me: failed program was:" >&5
36256 sed 's/^/| /' conftest.$ac_ext >&5
36258 glibcxx_cv_func___builtin_sinf_use=no
36260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36261 ac_ext=c
36262 ac_cpp='$CPP $CPPFLAGS'
36263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36271 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
36272 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
36273 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
36274 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
36275 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
36276 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
36277 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
36278 echo $ECHO_N "(cached) $ECHO_C" >&6
36279 else
36281 if test x$gcc_no_link = xyes; then
36282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36284 { (exit 1); exit 1; }; }
36286 cat >conftest.$ac_ext <<_ACEOF
36287 /* confdefs.h. */
36288 _ACEOF
36289 cat confdefs.h >>conftest.$ac_ext
36290 cat >>conftest.$ac_ext <<_ACEOF
36291 /* end confdefs.h. */
36292 #include <math.h>
36294 main ()
36296 __builtin_sinf(0);
36298 return 0;
36300 _ACEOF
36301 rm -f conftest.$ac_objext conftest$ac_exeext
36302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36303 (eval $ac_link) 2>conftest.er1
36304 ac_status=$?
36305 grep -v '^ *+' conftest.er1 >conftest.err
36306 rm -f conftest.er1
36307 cat conftest.err >&5
36308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36309 (exit $ac_status); } &&
36310 { ac_try='test -z "$ac_c_werror_flag"
36311 || test ! -s conftest.err'
36312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36313 (eval $ac_try) 2>&5
36314 ac_status=$?
36315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36316 (exit $ac_status); }; } &&
36317 { ac_try='test -s conftest$ac_exeext'
36318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36319 (eval $ac_try) 2>&5
36320 ac_status=$?
36321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36322 (exit $ac_status); }; }; then
36323 glibcxx_cv_func___builtin_sinf_link=yes
36324 else
36325 echo "$as_me: failed program was:" >&5
36326 sed 's/^/| /' conftest.$ac_ext >&5
36328 glibcxx_cv_func___builtin_sinf_link=no
36330 rm -f conftest.err conftest.$ac_objext \
36331 conftest$ac_exeext conftest.$ac_ext
36336 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
36337 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
36339 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
36341 cat >>confdefs.h <<\_ACEOF
36342 #define HAVE___BUILTIN_SINF 1
36343 _ACEOF
36350 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
36351 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
36352 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
36353 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
36354 echo $ECHO_N "(cached) $ECHO_C" >&6
36355 else
36359 ac_ext=cc
36360 ac_cpp='$CXXCPP $CPPFLAGS'
36361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36365 cat >conftest.$ac_ext <<_ACEOF
36366 /* confdefs.h. */
36367 _ACEOF
36368 cat confdefs.h >>conftest.$ac_ext
36369 cat >>conftest.$ac_ext <<_ACEOF
36370 /* end confdefs.h. */
36371 #include <math.h>
36373 main ()
36375 __builtin_sin(0);
36377 return 0;
36379 _ACEOF
36380 rm -f conftest.$ac_objext
36381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36382 (eval $ac_compile) 2>conftest.er1
36383 ac_status=$?
36384 grep -v '^ *+' conftest.er1 >conftest.err
36385 rm -f conftest.er1
36386 cat conftest.err >&5
36387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36388 (exit $ac_status); } &&
36389 { ac_try='test -z "$ac_cxx_werror_flag"
36390 || test ! -s conftest.err'
36391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36392 (eval $ac_try) 2>&5
36393 ac_status=$?
36394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36395 (exit $ac_status); }; } &&
36396 { ac_try='test -s conftest.$ac_objext'
36397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36398 (eval $ac_try) 2>&5
36399 ac_status=$?
36400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36401 (exit $ac_status); }; }; then
36402 glibcxx_cv_func___builtin_sin_use=yes
36403 else
36404 echo "$as_me: failed program was:" >&5
36405 sed 's/^/| /' conftest.$ac_ext >&5
36407 glibcxx_cv_func___builtin_sin_use=no
36409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36410 ac_ext=c
36411 ac_cpp='$CPP $CPPFLAGS'
36412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36420 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
36421 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
36422 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
36423 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
36424 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
36425 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
36426 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
36427 echo $ECHO_N "(cached) $ECHO_C" >&6
36428 else
36430 if test x$gcc_no_link = xyes; then
36431 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36432 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36433 { (exit 1); exit 1; }; }
36435 cat >conftest.$ac_ext <<_ACEOF
36436 /* confdefs.h. */
36437 _ACEOF
36438 cat confdefs.h >>conftest.$ac_ext
36439 cat >>conftest.$ac_ext <<_ACEOF
36440 /* end confdefs.h. */
36441 #include <math.h>
36443 main ()
36445 __builtin_sin(0);
36447 return 0;
36449 _ACEOF
36450 rm -f conftest.$ac_objext conftest$ac_exeext
36451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36452 (eval $ac_link) 2>conftest.er1
36453 ac_status=$?
36454 grep -v '^ *+' conftest.er1 >conftest.err
36455 rm -f conftest.er1
36456 cat conftest.err >&5
36457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36458 (exit $ac_status); } &&
36459 { ac_try='test -z "$ac_c_werror_flag"
36460 || test ! -s conftest.err'
36461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36462 (eval $ac_try) 2>&5
36463 ac_status=$?
36464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36465 (exit $ac_status); }; } &&
36466 { ac_try='test -s conftest$ac_exeext'
36467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36468 (eval $ac_try) 2>&5
36469 ac_status=$?
36470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36471 (exit $ac_status); }; }; then
36472 glibcxx_cv_func___builtin_sin_link=yes
36473 else
36474 echo "$as_me: failed program was:" >&5
36475 sed 's/^/| /' conftest.$ac_ext >&5
36477 glibcxx_cv_func___builtin_sin_link=no
36479 rm -f conftest.err conftest.$ac_objext \
36480 conftest$ac_exeext conftest.$ac_ext
36485 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
36486 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
36488 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
36490 cat >>confdefs.h <<\_ACEOF
36491 #define HAVE___BUILTIN_SIN 1
36492 _ACEOF
36499 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
36500 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
36501 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
36502 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
36503 echo $ECHO_N "(cached) $ECHO_C" >&6
36504 else
36508 ac_ext=cc
36509 ac_cpp='$CXXCPP $CPPFLAGS'
36510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36514 cat >conftest.$ac_ext <<_ACEOF
36515 /* confdefs.h. */
36516 _ACEOF
36517 cat confdefs.h >>conftest.$ac_ext
36518 cat >>conftest.$ac_ext <<_ACEOF
36519 /* end confdefs.h. */
36520 #include <math.h>
36522 main ()
36524 __builtin_sinl(0);
36526 return 0;
36528 _ACEOF
36529 rm -f conftest.$ac_objext
36530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36531 (eval $ac_compile) 2>conftest.er1
36532 ac_status=$?
36533 grep -v '^ *+' conftest.er1 >conftest.err
36534 rm -f conftest.er1
36535 cat conftest.err >&5
36536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36537 (exit $ac_status); } &&
36538 { ac_try='test -z "$ac_cxx_werror_flag"
36539 || test ! -s conftest.err'
36540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36541 (eval $ac_try) 2>&5
36542 ac_status=$?
36543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36544 (exit $ac_status); }; } &&
36545 { ac_try='test -s conftest.$ac_objext'
36546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36547 (eval $ac_try) 2>&5
36548 ac_status=$?
36549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36550 (exit $ac_status); }; }; then
36551 glibcxx_cv_func___builtin_sinl_use=yes
36552 else
36553 echo "$as_me: failed program was:" >&5
36554 sed 's/^/| /' conftest.$ac_ext >&5
36556 glibcxx_cv_func___builtin_sinl_use=no
36558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36559 ac_ext=c
36560 ac_cpp='$CPP $CPPFLAGS'
36561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36569 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
36570 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
36571 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
36572 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
36573 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
36574 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
36575 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
36576 echo $ECHO_N "(cached) $ECHO_C" >&6
36577 else
36579 if test x$gcc_no_link = xyes; then
36580 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36581 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36582 { (exit 1); exit 1; }; }
36584 cat >conftest.$ac_ext <<_ACEOF
36585 /* confdefs.h. */
36586 _ACEOF
36587 cat confdefs.h >>conftest.$ac_ext
36588 cat >>conftest.$ac_ext <<_ACEOF
36589 /* end confdefs.h. */
36590 #include <math.h>
36592 main ()
36594 __builtin_sinl(0);
36596 return 0;
36598 _ACEOF
36599 rm -f conftest.$ac_objext conftest$ac_exeext
36600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36601 (eval $ac_link) 2>conftest.er1
36602 ac_status=$?
36603 grep -v '^ *+' conftest.er1 >conftest.err
36604 rm -f conftest.er1
36605 cat conftest.err >&5
36606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36607 (exit $ac_status); } &&
36608 { ac_try='test -z "$ac_c_werror_flag"
36609 || test ! -s conftest.err'
36610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36611 (eval $ac_try) 2>&5
36612 ac_status=$?
36613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36614 (exit $ac_status); }; } &&
36615 { ac_try='test -s conftest$ac_exeext'
36616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36617 (eval $ac_try) 2>&5
36618 ac_status=$?
36619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36620 (exit $ac_status); }; }; then
36621 glibcxx_cv_func___builtin_sinl_link=yes
36622 else
36623 echo "$as_me: failed program was:" >&5
36624 sed 's/^/| /' conftest.$ac_ext >&5
36626 glibcxx_cv_func___builtin_sinl_link=no
36628 rm -f conftest.err conftest.$ac_objext \
36629 conftest$ac_exeext conftest.$ac_ext
36634 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
36635 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
36637 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
36639 cat >>confdefs.h <<\_ACEOF
36640 #define HAVE___BUILTIN_SINL 1
36641 _ACEOF
36649 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
36650 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
36651 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
36652 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
36653 echo $ECHO_N "(cached) $ECHO_C" >&6
36654 else
36658 ac_ext=cc
36659 ac_cpp='$CXXCPP $CPPFLAGS'
36660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36664 cat >conftest.$ac_ext <<_ACEOF
36665 /* confdefs.h. */
36666 _ACEOF
36667 cat confdefs.h >>conftest.$ac_ext
36668 cat >>conftest.$ac_ext <<_ACEOF
36669 /* end confdefs.h. */
36670 #include <math.h>
36672 main ()
36674 __builtin_cosf(0);
36676 return 0;
36678 _ACEOF
36679 rm -f conftest.$ac_objext
36680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36681 (eval $ac_compile) 2>conftest.er1
36682 ac_status=$?
36683 grep -v '^ *+' conftest.er1 >conftest.err
36684 rm -f conftest.er1
36685 cat conftest.err >&5
36686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36687 (exit $ac_status); } &&
36688 { ac_try='test -z "$ac_cxx_werror_flag"
36689 || test ! -s conftest.err'
36690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36691 (eval $ac_try) 2>&5
36692 ac_status=$?
36693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36694 (exit $ac_status); }; } &&
36695 { ac_try='test -s conftest.$ac_objext'
36696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36697 (eval $ac_try) 2>&5
36698 ac_status=$?
36699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36700 (exit $ac_status); }; }; then
36701 glibcxx_cv_func___builtin_cosf_use=yes
36702 else
36703 echo "$as_me: failed program was:" >&5
36704 sed 's/^/| /' conftest.$ac_ext >&5
36706 glibcxx_cv_func___builtin_cosf_use=no
36708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36709 ac_ext=c
36710 ac_cpp='$CPP $CPPFLAGS'
36711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36719 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
36720 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
36721 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
36722 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
36723 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
36724 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
36725 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
36726 echo $ECHO_N "(cached) $ECHO_C" >&6
36727 else
36729 if test x$gcc_no_link = xyes; then
36730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36732 { (exit 1); exit 1; }; }
36734 cat >conftest.$ac_ext <<_ACEOF
36735 /* confdefs.h. */
36736 _ACEOF
36737 cat confdefs.h >>conftest.$ac_ext
36738 cat >>conftest.$ac_ext <<_ACEOF
36739 /* end confdefs.h. */
36740 #include <math.h>
36742 main ()
36744 __builtin_cosf(0);
36746 return 0;
36748 _ACEOF
36749 rm -f conftest.$ac_objext conftest$ac_exeext
36750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36751 (eval $ac_link) 2>conftest.er1
36752 ac_status=$?
36753 grep -v '^ *+' conftest.er1 >conftest.err
36754 rm -f conftest.er1
36755 cat conftest.err >&5
36756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36757 (exit $ac_status); } &&
36758 { ac_try='test -z "$ac_c_werror_flag"
36759 || test ! -s conftest.err'
36760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36761 (eval $ac_try) 2>&5
36762 ac_status=$?
36763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36764 (exit $ac_status); }; } &&
36765 { ac_try='test -s conftest$ac_exeext'
36766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36767 (eval $ac_try) 2>&5
36768 ac_status=$?
36769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36770 (exit $ac_status); }; }; then
36771 glibcxx_cv_func___builtin_cosf_link=yes
36772 else
36773 echo "$as_me: failed program was:" >&5
36774 sed 's/^/| /' conftest.$ac_ext >&5
36776 glibcxx_cv_func___builtin_cosf_link=no
36778 rm -f conftest.err conftest.$ac_objext \
36779 conftest$ac_exeext conftest.$ac_ext
36784 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
36785 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
36787 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
36789 cat >>confdefs.h <<\_ACEOF
36790 #define HAVE___BUILTIN_COSF 1
36791 _ACEOF
36798 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
36799 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
36800 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
36801 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
36802 echo $ECHO_N "(cached) $ECHO_C" >&6
36803 else
36807 ac_ext=cc
36808 ac_cpp='$CXXCPP $CPPFLAGS'
36809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36813 cat >conftest.$ac_ext <<_ACEOF
36814 /* confdefs.h. */
36815 _ACEOF
36816 cat confdefs.h >>conftest.$ac_ext
36817 cat >>conftest.$ac_ext <<_ACEOF
36818 /* end confdefs.h. */
36819 #include <math.h>
36821 main ()
36823 __builtin_cos(0);
36825 return 0;
36827 _ACEOF
36828 rm -f conftest.$ac_objext
36829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36830 (eval $ac_compile) 2>conftest.er1
36831 ac_status=$?
36832 grep -v '^ *+' conftest.er1 >conftest.err
36833 rm -f conftest.er1
36834 cat conftest.err >&5
36835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36836 (exit $ac_status); } &&
36837 { ac_try='test -z "$ac_cxx_werror_flag"
36838 || test ! -s conftest.err'
36839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36840 (eval $ac_try) 2>&5
36841 ac_status=$?
36842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36843 (exit $ac_status); }; } &&
36844 { ac_try='test -s conftest.$ac_objext'
36845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36846 (eval $ac_try) 2>&5
36847 ac_status=$?
36848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36849 (exit $ac_status); }; }; then
36850 glibcxx_cv_func___builtin_cos_use=yes
36851 else
36852 echo "$as_me: failed program was:" >&5
36853 sed 's/^/| /' conftest.$ac_ext >&5
36855 glibcxx_cv_func___builtin_cos_use=no
36857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36858 ac_ext=c
36859 ac_cpp='$CPP $CPPFLAGS'
36860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36868 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
36869 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
36870 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
36871 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
36872 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
36873 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
36874 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
36875 echo $ECHO_N "(cached) $ECHO_C" >&6
36876 else
36878 if test x$gcc_no_link = xyes; then
36879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36881 { (exit 1); exit 1; }; }
36883 cat >conftest.$ac_ext <<_ACEOF
36884 /* confdefs.h. */
36885 _ACEOF
36886 cat confdefs.h >>conftest.$ac_ext
36887 cat >>conftest.$ac_ext <<_ACEOF
36888 /* end confdefs.h. */
36889 #include <math.h>
36891 main ()
36893 __builtin_cos(0);
36895 return 0;
36897 _ACEOF
36898 rm -f conftest.$ac_objext conftest$ac_exeext
36899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36900 (eval $ac_link) 2>conftest.er1
36901 ac_status=$?
36902 grep -v '^ *+' conftest.er1 >conftest.err
36903 rm -f conftest.er1
36904 cat conftest.err >&5
36905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36906 (exit $ac_status); } &&
36907 { ac_try='test -z "$ac_c_werror_flag"
36908 || test ! -s conftest.err'
36909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36910 (eval $ac_try) 2>&5
36911 ac_status=$?
36912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36913 (exit $ac_status); }; } &&
36914 { ac_try='test -s conftest$ac_exeext'
36915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36916 (eval $ac_try) 2>&5
36917 ac_status=$?
36918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36919 (exit $ac_status); }; }; then
36920 glibcxx_cv_func___builtin_cos_link=yes
36921 else
36922 echo "$as_me: failed program was:" >&5
36923 sed 's/^/| /' conftest.$ac_ext >&5
36925 glibcxx_cv_func___builtin_cos_link=no
36927 rm -f conftest.err conftest.$ac_objext \
36928 conftest$ac_exeext conftest.$ac_ext
36933 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
36934 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
36936 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
36938 cat >>confdefs.h <<\_ACEOF
36939 #define HAVE___BUILTIN_COS 1
36940 _ACEOF
36947 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
36948 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
36949 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
36950 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
36951 echo $ECHO_N "(cached) $ECHO_C" >&6
36952 else
36956 ac_ext=cc
36957 ac_cpp='$CXXCPP $CPPFLAGS'
36958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36962 cat >conftest.$ac_ext <<_ACEOF
36963 /* confdefs.h. */
36964 _ACEOF
36965 cat confdefs.h >>conftest.$ac_ext
36966 cat >>conftest.$ac_ext <<_ACEOF
36967 /* end confdefs.h. */
36968 #include <math.h>
36970 main ()
36972 __builtin_cosl(0);
36974 return 0;
36976 _ACEOF
36977 rm -f conftest.$ac_objext
36978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36979 (eval $ac_compile) 2>conftest.er1
36980 ac_status=$?
36981 grep -v '^ *+' conftest.er1 >conftest.err
36982 rm -f conftest.er1
36983 cat conftest.err >&5
36984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36985 (exit $ac_status); } &&
36986 { ac_try='test -z "$ac_cxx_werror_flag"
36987 || test ! -s conftest.err'
36988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36989 (eval $ac_try) 2>&5
36990 ac_status=$?
36991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36992 (exit $ac_status); }; } &&
36993 { ac_try='test -s conftest.$ac_objext'
36994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36995 (eval $ac_try) 2>&5
36996 ac_status=$?
36997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36998 (exit $ac_status); }; }; then
36999 glibcxx_cv_func___builtin_cosl_use=yes
37000 else
37001 echo "$as_me: failed program was:" >&5
37002 sed 's/^/| /' conftest.$ac_ext >&5
37004 glibcxx_cv_func___builtin_cosl_use=no
37006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37007 ac_ext=c
37008 ac_cpp='$CPP $CPPFLAGS'
37009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37017 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
37018 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
37019 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
37020 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
37021 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
37022 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
37023 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
37024 echo $ECHO_N "(cached) $ECHO_C" >&6
37025 else
37027 if test x$gcc_no_link = xyes; then
37028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37030 { (exit 1); exit 1; }; }
37032 cat >conftest.$ac_ext <<_ACEOF
37033 /* confdefs.h. */
37034 _ACEOF
37035 cat confdefs.h >>conftest.$ac_ext
37036 cat >>conftest.$ac_ext <<_ACEOF
37037 /* end confdefs.h. */
37038 #include <math.h>
37040 main ()
37042 __builtin_cosl(0);
37044 return 0;
37046 _ACEOF
37047 rm -f conftest.$ac_objext conftest$ac_exeext
37048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37049 (eval $ac_link) 2>conftest.er1
37050 ac_status=$?
37051 grep -v '^ *+' conftest.er1 >conftest.err
37052 rm -f conftest.er1
37053 cat conftest.err >&5
37054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37055 (exit $ac_status); } &&
37056 { ac_try='test -z "$ac_c_werror_flag"
37057 || test ! -s conftest.err'
37058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37059 (eval $ac_try) 2>&5
37060 ac_status=$?
37061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37062 (exit $ac_status); }; } &&
37063 { ac_try='test -s conftest$ac_exeext'
37064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37065 (eval $ac_try) 2>&5
37066 ac_status=$?
37067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37068 (exit $ac_status); }; }; then
37069 glibcxx_cv_func___builtin_cosl_link=yes
37070 else
37071 echo "$as_me: failed program was:" >&5
37072 sed 's/^/| /' conftest.$ac_ext >&5
37074 glibcxx_cv_func___builtin_cosl_link=no
37076 rm -f conftest.err conftest.$ac_objext \
37077 conftest$ac_exeext conftest.$ac_ext
37082 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
37083 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
37085 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
37087 cat >>confdefs.h <<\_ACEOF
37088 #define HAVE___BUILTIN_COSL 1
37089 _ACEOF
37098 echo "$as_me:$LINENO: checking for main in -lm" >&5
37099 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
37100 if test "${ac_cv_lib_m_main+set}" = set; then
37101 echo $ECHO_N "(cached) $ECHO_C" >&6
37102 else
37103 ac_check_lib_save_LIBS=$LIBS
37104 LIBS="-lm $LIBS"
37105 if test x$gcc_no_link = xyes; then
37106 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37107 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37108 { (exit 1); exit 1; }; }
37110 cat >conftest.$ac_ext <<_ACEOF
37111 /* confdefs.h. */
37112 _ACEOF
37113 cat confdefs.h >>conftest.$ac_ext
37114 cat >>conftest.$ac_ext <<_ACEOF
37115 /* end confdefs.h. */
37119 main ()
37121 main ();
37123 return 0;
37125 _ACEOF
37126 rm -f conftest.$ac_objext conftest$ac_exeext
37127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37128 (eval $ac_link) 2>conftest.er1
37129 ac_status=$?
37130 grep -v '^ *+' conftest.er1 >conftest.err
37131 rm -f conftest.er1
37132 cat conftest.err >&5
37133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37134 (exit $ac_status); } &&
37135 { ac_try='test -z "$ac_c_werror_flag"
37136 || test ! -s conftest.err'
37137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37138 (eval $ac_try) 2>&5
37139 ac_status=$?
37140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37141 (exit $ac_status); }; } &&
37142 { ac_try='test -s conftest$ac_exeext'
37143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37144 (eval $ac_try) 2>&5
37145 ac_status=$?
37146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37147 (exit $ac_status); }; }; then
37148 ac_cv_lib_m_main=yes
37149 else
37150 echo "$as_me: failed program was:" >&5
37151 sed 's/^/| /' conftest.$ac_ext >&5
37153 ac_cv_lib_m_main=no
37155 rm -f conftest.err conftest.$ac_objext \
37156 conftest$ac_exeext conftest.$ac_ext
37157 LIBS=$ac_check_lib_save_LIBS
37159 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
37160 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
37161 if test $ac_cv_lib_m_main = yes; then
37162 cat >>confdefs.h <<_ACEOF
37163 #define HAVE_LIBM 1
37164 _ACEOF
37166 LIBS="-lm $LIBS"
37171 for ac_func in copysignf
37173 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37174 echo "$as_me:$LINENO: checking for $ac_func" >&5
37175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37176 if eval "test \"\${$as_ac_var+set}\" = set"; then
37177 echo $ECHO_N "(cached) $ECHO_C" >&6
37178 else
37179 if test x$gcc_no_link = xyes; then
37180 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37182 { (exit 1); exit 1; }; }
37184 cat >conftest.$ac_ext <<_ACEOF
37185 /* confdefs.h. */
37186 _ACEOF
37187 cat confdefs.h >>conftest.$ac_ext
37188 cat >>conftest.$ac_ext <<_ACEOF
37189 /* end confdefs.h. */
37190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37192 #define $ac_func innocuous_$ac_func
37194 /* System header to define __stub macros and hopefully few prototypes,
37195 which can conflict with char $ac_func (); below.
37196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37197 <limits.h> exists even on freestanding compilers. */
37199 #ifdef __STDC__
37200 # include <limits.h>
37201 #else
37202 # include <assert.h>
37203 #endif
37205 #undef $ac_func
37207 /* Override any gcc2 internal prototype to avoid an error. */
37208 #ifdef __cplusplus
37209 extern "C"
37211 #endif
37212 /* We use char because int might match the return type of a gcc2
37213 builtin and then its argument prototype would still apply. */
37214 char $ac_func ();
37215 /* The GNU C library defines this for functions which it implements
37216 to always fail with ENOSYS. Some functions are actually named
37217 something starting with __ and the normal name is an alias. */
37218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37219 choke me
37220 #else
37221 char (*f) () = $ac_func;
37222 #endif
37223 #ifdef __cplusplus
37225 #endif
37228 main ()
37230 return f != $ac_func;
37232 return 0;
37234 _ACEOF
37235 rm -f conftest.$ac_objext conftest$ac_exeext
37236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37237 (eval $ac_link) 2>conftest.er1
37238 ac_status=$?
37239 grep -v '^ *+' conftest.er1 >conftest.err
37240 rm -f conftest.er1
37241 cat conftest.err >&5
37242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37243 (exit $ac_status); } &&
37244 { ac_try='test -z "$ac_c_werror_flag"
37245 || test ! -s conftest.err'
37246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37247 (eval $ac_try) 2>&5
37248 ac_status=$?
37249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37250 (exit $ac_status); }; } &&
37251 { ac_try='test -s conftest$ac_exeext'
37252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37253 (eval $ac_try) 2>&5
37254 ac_status=$?
37255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37256 (exit $ac_status); }; }; then
37257 eval "$as_ac_var=yes"
37258 else
37259 echo "$as_me: failed program was:" >&5
37260 sed 's/^/| /' conftest.$ac_ext >&5
37262 eval "$as_ac_var=no"
37264 rm -f conftest.err conftest.$ac_objext \
37265 conftest$ac_exeext conftest.$ac_ext
37267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37269 if test `eval echo '${'$as_ac_var'}'` = yes; then
37270 cat >>confdefs.h <<_ACEOF
37271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37272 _ACEOF
37274 else
37275 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
37277 done
37281 for ac_func in __signbit
37283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37284 echo "$as_me:$LINENO: checking for $ac_func" >&5
37285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37286 if eval "test \"\${$as_ac_var+set}\" = set"; then
37287 echo $ECHO_N "(cached) $ECHO_C" >&6
37288 else
37289 if test x$gcc_no_link = xyes; then
37290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37292 { (exit 1); exit 1; }; }
37294 cat >conftest.$ac_ext <<_ACEOF
37295 /* confdefs.h. */
37296 _ACEOF
37297 cat confdefs.h >>conftest.$ac_ext
37298 cat >>conftest.$ac_ext <<_ACEOF
37299 /* end confdefs.h. */
37300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37302 #define $ac_func innocuous_$ac_func
37304 /* System header to define __stub macros and hopefully few prototypes,
37305 which can conflict with char $ac_func (); below.
37306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37307 <limits.h> exists even on freestanding compilers. */
37309 #ifdef __STDC__
37310 # include <limits.h>
37311 #else
37312 # include <assert.h>
37313 #endif
37315 #undef $ac_func
37317 /* Override any gcc2 internal prototype to avoid an error. */
37318 #ifdef __cplusplus
37319 extern "C"
37321 #endif
37322 /* We use char because int might match the return type of a gcc2
37323 builtin and then its argument prototype would still apply. */
37324 char $ac_func ();
37325 /* The GNU C library defines this for functions which it implements
37326 to always fail with ENOSYS. Some functions are actually named
37327 something starting with __ and the normal name is an alias. */
37328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37329 choke me
37330 #else
37331 char (*f) () = $ac_func;
37332 #endif
37333 #ifdef __cplusplus
37335 #endif
37338 main ()
37340 return f != $ac_func;
37342 return 0;
37344 _ACEOF
37345 rm -f conftest.$ac_objext conftest$ac_exeext
37346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37347 (eval $ac_link) 2>conftest.er1
37348 ac_status=$?
37349 grep -v '^ *+' conftest.er1 >conftest.err
37350 rm -f conftest.er1
37351 cat conftest.err >&5
37352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37353 (exit $ac_status); } &&
37354 { ac_try='test -z "$ac_c_werror_flag"
37355 || test ! -s conftest.err'
37356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37357 (eval $ac_try) 2>&5
37358 ac_status=$?
37359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37360 (exit $ac_status); }; } &&
37361 { ac_try='test -s conftest$ac_exeext'
37362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37363 (eval $ac_try) 2>&5
37364 ac_status=$?
37365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37366 (exit $ac_status); }; }; then
37367 eval "$as_ac_var=yes"
37368 else
37369 echo "$as_me: failed program was:" >&5
37370 sed 's/^/| /' conftest.$ac_ext >&5
37372 eval "$as_ac_var=no"
37374 rm -f conftest.err conftest.$ac_objext \
37375 conftest$ac_exeext conftest.$ac_ext
37377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37379 if test `eval echo '${'$as_ac_var'}'` = yes; then
37380 cat >>confdefs.h <<_ACEOF
37381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37382 _ACEOF
37384 else
37385 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
37387 done
37391 for ac_func in __signbitf
37393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37394 echo "$as_me:$LINENO: checking for $ac_func" >&5
37395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37396 if eval "test \"\${$as_ac_var+set}\" = set"; then
37397 echo $ECHO_N "(cached) $ECHO_C" >&6
37398 else
37399 if test x$gcc_no_link = xyes; then
37400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37402 { (exit 1); exit 1; }; }
37404 cat >conftest.$ac_ext <<_ACEOF
37405 /* confdefs.h. */
37406 _ACEOF
37407 cat confdefs.h >>conftest.$ac_ext
37408 cat >>conftest.$ac_ext <<_ACEOF
37409 /* end confdefs.h. */
37410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37412 #define $ac_func innocuous_$ac_func
37414 /* System header to define __stub macros and hopefully few prototypes,
37415 which can conflict with char $ac_func (); below.
37416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37417 <limits.h> exists even on freestanding compilers. */
37419 #ifdef __STDC__
37420 # include <limits.h>
37421 #else
37422 # include <assert.h>
37423 #endif
37425 #undef $ac_func
37427 /* Override any gcc2 internal prototype to avoid an error. */
37428 #ifdef __cplusplus
37429 extern "C"
37431 #endif
37432 /* We use char because int might match the return type of a gcc2
37433 builtin and then its argument prototype would still apply. */
37434 char $ac_func ();
37435 /* The GNU C library defines this for functions which it implements
37436 to always fail with ENOSYS. Some functions are actually named
37437 something starting with __ and the normal name is an alias. */
37438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37439 choke me
37440 #else
37441 char (*f) () = $ac_func;
37442 #endif
37443 #ifdef __cplusplus
37445 #endif
37448 main ()
37450 return f != $ac_func;
37452 return 0;
37454 _ACEOF
37455 rm -f conftest.$ac_objext conftest$ac_exeext
37456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37457 (eval $ac_link) 2>conftest.er1
37458 ac_status=$?
37459 grep -v '^ *+' conftest.er1 >conftest.err
37460 rm -f conftest.er1
37461 cat conftest.err >&5
37462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37463 (exit $ac_status); } &&
37464 { ac_try='test -z "$ac_c_werror_flag"
37465 || test ! -s conftest.err'
37466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37467 (eval $ac_try) 2>&5
37468 ac_status=$?
37469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37470 (exit $ac_status); }; } &&
37471 { ac_try='test -s conftest$ac_exeext'
37472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37473 (eval $ac_try) 2>&5
37474 ac_status=$?
37475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37476 (exit $ac_status); }; }; then
37477 eval "$as_ac_var=yes"
37478 else
37479 echo "$as_me: failed program was:" >&5
37480 sed 's/^/| /' conftest.$ac_ext >&5
37482 eval "$as_ac_var=no"
37484 rm -f conftest.err conftest.$ac_objext \
37485 conftest$ac_exeext conftest.$ac_ext
37487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37489 if test `eval echo '${'$as_ac_var'}'` = yes; then
37490 cat >>confdefs.h <<_ACEOF
37491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37492 _ACEOF
37494 else
37495 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
37497 done
37500 if test x$ac_cv_func_copysignl = x"yes"; then
37502 for ac_func in __signbitl
37504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37505 echo "$as_me:$LINENO: checking for $ac_func" >&5
37506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37507 if eval "test \"\${$as_ac_var+set}\" = set"; then
37508 echo $ECHO_N "(cached) $ECHO_C" >&6
37509 else
37510 if test x$gcc_no_link = xyes; then
37511 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37513 { (exit 1); exit 1; }; }
37515 cat >conftest.$ac_ext <<_ACEOF
37516 /* confdefs.h. */
37517 _ACEOF
37518 cat confdefs.h >>conftest.$ac_ext
37519 cat >>conftest.$ac_ext <<_ACEOF
37520 /* end confdefs.h. */
37521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37523 #define $ac_func innocuous_$ac_func
37525 /* System header to define __stub macros and hopefully few prototypes,
37526 which can conflict with char $ac_func (); below.
37527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37528 <limits.h> exists even on freestanding compilers. */
37530 #ifdef __STDC__
37531 # include <limits.h>
37532 #else
37533 # include <assert.h>
37534 #endif
37536 #undef $ac_func
37538 /* Override any gcc2 internal prototype to avoid an error. */
37539 #ifdef __cplusplus
37540 extern "C"
37542 #endif
37543 /* We use char because int might match the return type of a gcc2
37544 builtin and then its argument prototype would still apply. */
37545 char $ac_func ();
37546 /* The GNU C library defines this for functions which it implements
37547 to always fail with ENOSYS. Some functions are actually named
37548 something starting with __ and the normal name is an alias. */
37549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37550 choke me
37551 #else
37552 char (*f) () = $ac_func;
37553 #endif
37554 #ifdef __cplusplus
37556 #endif
37559 main ()
37561 return f != $ac_func;
37563 return 0;
37565 _ACEOF
37566 rm -f conftest.$ac_objext conftest$ac_exeext
37567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37568 (eval $ac_link) 2>conftest.er1
37569 ac_status=$?
37570 grep -v '^ *+' conftest.er1 >conftest.err
37571 rm -f conftest.er1
37572 cat conftest.err >&5
37573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37574 (exit $ac_status); } &&
37575 { ac_try='test -z "$ac_c_werror_flag"
37576 || test ! -s conftest.err'
37577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37578 (eval $ac_try) 2>&5
37579 ac_status=$?
37580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37581 (exit $ac_status); }; } &&
37582 { ac_try='test -s conftest$ac_exeext'
37583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37584 (eval $ac_try) 2>&5
37585 ac_status=$?
37586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37587 (exit $ac_status); }; }; then
37588 eval "$as_ac_var=yes"
37589 else
37590 echo "$as_me: failed program was:" >&5
37591 sed 's/^/| /' conftest.$ac_ext >&5
37593 eval "$as_ac_var=no"
37595 rm -f conftest.err conftest.$ac_objext \
37596 conftest$ac_exeext conftest.$ac_ext
37598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37600 if test `eval echo '${'$as_ac_var'}'` = yes; then
37601 cat >>confdefs.h <<_ACEOF
37602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37603 _ACEOF
37605 else
37606 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
37608 done
37612 # Used in libmath/Makefile.am.
37613 if test -n "$LIBMATHOBJS"; then
37614 need_libmath=yes
37619 ac_test_CXXFLAGS="${CXXFLAGS+set}"
37620 ac_save_CXXFLAGS="$CXXFLAGS"
37621 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
37624 echo "$as_me:$LINENO: checking for strtold declaration" >&5
37625 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
37626 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
37627 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
37628 echo $ECHO_N "(cached) $ECHO_C" >&6
37629 else
37633 ac_ext=cc
37634 ac_cpp='$CXXCPP $CPPFLAGS'
37635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37639 cat >conftest.$ac_ext <<_ACEOF
37640 /* confdefs.h. */
37641 _ACEOF
37642 cat confdefs.h >>conftest.$ac_ext
37643 cat >>conftest.$ac_ext <<_ACEOF
37644 /* end confdefs.h. */
37645 #include <stdlib.h>
37647 main ()
37649 strtold(0, 0);
37651 return 0;
37653 _ACEOF
37654 rm -f conftest.$ac_objext
37655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37656 (eval $ac_compile) 2>conftest.er1
37657 ac_status=$?
37658 grep -v '^ *+' conftest.er1 >conftest.err
37659 rm -f conftest.er1
37660 cat conftest.err >&5
37661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37662 (exit $ac_status); } &&
37663 { ac_try='test -z "$ac_cxx_werror_flag"
37664 || test ! -s conftest.err'
37665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37666 (eval $ac_try) 2>&5
37667 ac_status=$?
37668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37669 (exit $ac_status); }; } &&
37670 { ac_try='test -s conftest.$ac_objext'
37671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37672 (eval $ac_try) 2>&5
37673 ac_status=$?
37674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37675 (exit $ac_status); }; }; then
37676 glibcxx_cv_func_strtold_use=yes
37677 else
37678 echo "$as_me: failed program was:" >&5
37679 sed 's/^/| /' conftest.$ac_ext >&5
37681 glibcxx_cv_func_strtold_use=no
37683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37684 ac_ext=c
37685 ac_cpp='$CPP $CPPFLAGS'
37686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37694 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
37695 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
37696 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
37698 for ac_func in strtold
37700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37701 echo "$as_me:$LINENO: checking for $ac_func" >&5
37702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37703 if eval "test \"\${$as_ac_var+set}\" = set"; then
37704 echo $ECHO_N "(cached) $ECHO_C" >&6
37705 else
37706 if test x$gcc_no_link = xyes; then
37707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37709 { (exit 1); exit 1; }; }
37711 cat >conftest.$ac_ext <<_ACEOF
37712 /* confdefs.h. */
37713 _ACEOF
37714 cat confdefs.h >>conftest.$ac_ext
37715 cat >>conftest.$ac_ext <<_ACEOF
37716 /* end confdefs.h. */
37717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37719 #define $ac_func innocuous_$ac_func
37721 /* System header to define __stub macros and hopefully few prototypes,
37722 which can conflict with char $ac_func (); below.
37723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37724 <limits.h> exists even on freestanding compilers. */
37726 #ifdef __STDC__
37727 # include <limits.h>
37728 #else
37729 # include <assert.h>
37730 #endif
37732 #undef $ac_func
37734 /* Override any gcc2 internal prototype to avoid an error. */
37735 #ifdef __cplusplus
37736 extern "C"
37738 #endif
37739 /* We use char because int might match the return type of a gcc2
37740 builtin and then its argument prototype would still apply. */
37741 char $ac_func ();
37742 /* The GNU C library defines this for functions which it implements
37743 to always fail with ENOSYS. Some functions are actually named
37744 something starting with __ and the normal name is an alias. */
37745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37746 choke me
37747 #else
37748 char (*f) () = $ac_func;
37749 #endif
37750 #ifdef __cplusplus
37752 #endif
37755 main ()
37757 return f != $ac_func;
37759 return 0;
37761 _ACEOF
37762 rm -f conftest.$ac_objext conftest$ac_exeext
37763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37764 (eval $ac_link) 2>conftest.er1
37765 ac_status=$?
37766 grep -v '^ *+' conftest.er1 >conftest.err
37767 rm -f conftest.er1
37768 cat conftest.err >&5
37769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37770 (exit $ac_status); } &&
37771 { ac_try='test -z "$ac_c_werror_flag"
37772 || test ! -s conftest.err'
37773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37774 (eval $ac_try) 2>&5
37775 ac_status=$?
37776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37777 (exit $ac_status); }; } &&
37778 { ac_try='test -s conftest$ac_exeext'
37779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37780 (eval $ac_try) 2>&5
37781 ac_status=$?
37782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37783 (exit $ac_status); }; }; then
37784 eval "$as_ac_var=yes"
37785 else
37786 echo "$as_me: failed program was:" >&5
37787 sed 's/^/| /' conftest.$ac_ext >&5
37789 eval "$as_ac_var=no"
37791 rm -f conftest.err conftest.$ac_objext \
37792 conftest$ac_exeext conftest.$ac_ext
37794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37796 if test `eval echo '${'$as_ac_var'}'` = yes; then
37797 cat >>confdefs.h <<_ACEOF
37798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37799 _ACEOF
37802 done
37810 echo "$as_me:$LINENO: checking for strtof declaration" >&5
37811 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
37812 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
37813 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
37814 echo $ECHO_N "(cached) $ECHO_C" >&6
37815 else
37819 ac_ext=cc
37820 ac_cpp='$CXXCPP $CPPFLAGS'
37821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37825 cat >conftest.$ac_ext <<_ACEOF
37826 /* confdefs.h. */
37827 _ACEOF
37828 cat confdefs.h >>conftest.$ac_ext
37829 cat >>conftest.$ac_ext <<_ACEOF
37830 /* end confdefs.h. */
37831 #include <stdlib.h>
37833 main ()
37835 strtof(0, 0);
37837 return 0;
37839 _ACEOF
37840 rm -f conftest.$ac_objext
37841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37842 (eval $ac_compile) 2>conftest.er1
37843 ac_status=$?
37844 grep -v '^ *+' conftest.er1 >conftest.err
37845 rm -f conftest.er1
37846 cat conftest.err >&5
37847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37848 (exit $ac_status); } &&
37849 { ac_try='test -z "$ac_cxx_werror_flag"
37850 || test ! -s conftest.err'
37851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37852 (eval $ac_try) 2>&5
37853 ac_status=$?
37854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37855 (exit $ac_status); }; } &&
37856 { ac_try='test -s conftest.$ac_objext'
37857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37858 (eval $ac_try) 2>&5
37859 ac_status=$?
37860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37861 (exit $ac_status); }; }; then
37862 glibcxx_cv_func_strtof_use=yes
37863 else
37864 echo "$as_me: failed program was:" >&5
37865 sed 's/^/| /' conftest.$ac_ext >&5
37867 glibcxx_cv_func_strtof_use=no
37869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37870 ac_ext=c
37871 ac_cpp='$CPP $CPPFLAGS'
37872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37880 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
37881 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
37882 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
37884 for ac_func in strtof
37886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37887 echo "$as_me:$LINENO: checking for $ac_func" >&5
37888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37889 if eval "test \"\${$as_ac_var+set}\" = set"; then
37890 echo $ECHO_N "(cached) $ECHO_C" >&6
37891 else
37892 if test x$gcc_no_link = xyes; then
37893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37895 { (exit 1); exit 1; }; }
37897 cat >conftest.$ac_ext <<_ACEOF
37898 /* confdefs.h. */
37899 _ACEOF
37900 cat confdefs.h >>conftest.$ac_ext
37901 cat >>conftest.$ac_ext <<_ACEOF
37902 /* end confdefs.h. */
37903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37905 #define $ac_func innocuous_$ac_func
37907 /* System header to define __stub macros and hopefully few prototypes,
37908 which can conflict with char $ac_func (); below.
37909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37910 <limits.h> exists even on freestanding compilers. */
37912 #ifdef __STDC__
37913 # include <limits.h>
37914 #else
37915 # include <assert.h>
37916 #endif
37918 #undef $ac_func
37920 /* Override any gcc2 internal prototype to avoid an error. */
37921 #ifdef __cplusplus
37922 extern "C"
37924 #endif
37925 /* We use char because int might match the return type of a gcc2
37926 builtin and then its argument prototype would still apply. */
37927 char $ac_func ();
37928 /* The GNU C library defines this for functions which it implements
37929 to always fail with ENOSYS. Some functions are actually named
37930 something starting with __ and the normal name is an alias. */
37931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37932 choke me
37933 #else
37934 char (*f) () = $ac_func;
37935 #endif
37936 #ifdef __cplusplus
37938 #endif
37941 main ()
37943 return f != $ac_func;
37945 return 0;
37947 _ACEOF
37948 rm -f conftest.$ac_objext conftest$ac_exeext
37949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37950 (eval $ac_link) 2>conftest.er1
37951 ac_status=$?
37952 grep -v '^ *+' conftest.er1 >conftest.err
37953 rm -f conftest.er1
37954 cat conftest.err >&5
37955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37956 (exit $ac_status); } &&
37957 { ac_try='test -z "$ac_c_werror_flag"
37958 || test ! -s conftest.err'
37959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37960 (eval $ac_try) 2>&5
37961 ac_status=$?
37962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37963 (exit $ac_status); }; } &&
37964 { ac_try='test -s conftest$ac_exeext'
37965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37966 (eval $ac_try) 2>&5
37967 ac_status=$?
37968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37969 (exit $ac_status); }; }; then
37970 eval "$as_ac_var=yes"
37971 else
37972 echo "$as_me: failed program was:" >&5
37973 sed 's/^/| /' conftest.$ac_ext >&5
37975 eval "$as_ac_var=no"
37977 rm -f conftest.err conftest.$ac_objext \
37978 conftest$ac_exeext conftest.$ac_ext
37980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37982 if test `eval echo '${'$as_ac_var'}'` = yes; then
37983 cat >>confdefs.h <<_ACEOF
37984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37985 _ACEOF
37988 done
37996 CXXFLAGS="$ac_save_CXXFLAGS"
37999 # For showmanyc_helper().
38002 for ac_header in sys/ioctl.h sys/filio.h
38004 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38005 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38006 echo "$as_me:$LINENO: checking for $ac_header" >&5
38007 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38008 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38009 echo $ECHO_N "(cached) $ECHO_C" >&6
38011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38012 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38013 else
38014 # Is the header compilable?
38015 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38016 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38017 cat >conftest.$ac_ext <<_ACEOF
38018 /* confdefs.h. */
38019 _ACEOF
38020 cat confdefs.h >>conftest.$ac_ext
38021 cat >>conftest.$ac_ext <<_ACEOF
38022 /* end confdefs.h. */
38023 $ac_includes_default
38024 #include <$ac_header>
38025 _ACEOF
38026 rm -f conftest.$ac_objext
38027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38028 (eval $ac_compile) 2>conftest.er1
38029 ac_status=$?
38030 grep -v '^ *+' conftest.er1 >conftest.err
38031 rm -f conftest.er1
38032 cat conftest.err >&5
38033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38034 (exit $ac_status); } &&
38035 { ac_try='test -z "$ac_c_werror_flag"
38036 || test ! -s conftest.err'
38037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38038 (eval $ac_try) 2>&5
38039 ac_status=$?
38040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38041 (exit $ac_status); }; } &&
38042 { ac_try='test -s conftest.$ac_objext'
38043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38044 (eval $ac_try) 2>&5
38045 ac_status=$?
38046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38047 (exit $ac_status); }; }; then
38048 ac_header_compiler=yes
38049 else
38050 echo "$as_me: failed program was:" >&5
38051 sed 's/^/| /' conftest.$ac_ext >&5
38053 ac_header_compiler=no
38055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38056 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38057 echo "${ECHO_T}$ac_header_compiler" >&6
38059 # Is the header present?
38060 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38061 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38062 cat >conftest.$ac_ext <<_ACEOF
38063 /* confdefs.h. */
38064 _ACEOF
38065 cat confdefs.h >>conftest.$ac_ext
38066 cat >>conftest.$ac_ext <<_ACEOF
38067 /* end confdefs.h. */
38068 #include <$ac_header>
38069 _ACEOF
38070 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38071 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38072 ac_status=$?
38073 grep -v '^ *+' conftest.er1 >conftest.err
38074 rm -f conftest.er1
38075 cat conftest.err >&5
38076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38077 (exit $ac_status); } >/dev/null; then
38078 if test -s conftest.err; then
38079 ac_cpp_err=$ac_c_preproc_warn_flag
38080 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38081 else
38082 ac_cpp_err=
38084 else
38085 ac_cpp_err=yes
38087 if test -z "$ac_cpp_err"; then
38088 ac_header_preproc=yes
38089 else
38090 echo "$as_me: failed program was:" >&5
38091 sed 's/^/| /' conftest.$ac_ext >&5
38093 ac_header_preproc=no
38095 rm -f conftest.err conftest.$ac_ext
38096 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38097 echo "${ECHO_T}$ac_header_preproc" >&6
38099 # So? What about this header?
38100 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38101 yes:no: )
38102 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38103 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38104 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38105 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38106 ac_header_preproc=yes
38108 no:yes:* )
38109 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38110 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38111 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38112 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38113 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38114 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38115 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38116 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38117 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38118 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38119 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38120 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38122 cat <<\_ASBOX
38123 ## ----------------------------------------- ##
38124 ## Report this to the package-unused lists. ##
38125 ## ----------------------------------------- ##
38126 _ASBOX
38128 sed "s/^/$as_me: WARNING: /" >&2
38130 esac
38131 echo "$as_me:$LINENO: checking for $ac_header" >&5
38132 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38134 echo $ECHO_N "(cached) $ECHO_C" >&6
38135 else
38136 eval "$as_ac_Header=\$ac_header_preproc"
38138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38139 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38142 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38143 cat >>confdefs.h <<_ACEOF
38144 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38145 _ACEOF
38149 done
38152 echo "$as_me:$LINENO: checking for poll" >&5
38153 echo $ECHO_N "checking for poll... $ECHO_C" >&6
38154 if test "${glibcxx_cv_POLL+set}" = set; then
38155 echo $ECHO_N "(cached) $ECHO_C" >&6
38156 else
38158 if test x$gcc_no_link = xyes; then
38159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38161 { (exit 1); exit 1; }; }
38163 cat >conftest.$ac_ext <<_ACEOF
38164 /* confdefs.h. */
38165 _ACEOF
38166 cat confdefs.h >>conftest.$ac_ext
38167 cat >>conftest.$ac_ext <<_ACEOF
38168 /* end confdefs.h. */
38169 #include <poll.h>
38171 main ()
38173 struct pollfd pfd[1];
38174 pfd[0].events = POLLIN;
38175 poll(pfd, 1, 0);
38177 return 0;
38179 _ACEOF
38180 rm -f conftest.$ac_objext conftest$ac_exeext
38181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38182 (eval $ac_link) 2>conftest.er1
38183 ac_status=$?
38184 grep -v '^ *+' conftest.er1 >conftest.err
38185 rm -f conftest.er1
38186 cat conftest.err >&5
38187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38188 (exit $ac_status); } &&
38189 { ac_try='test -z "$ac_c_werror_flag"
38190 || test ! -s conftest.err'
38191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38192 (eval $ac_try) 2>&5
38193 ac_status=$?
38194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38195 (exit $ac_status); }; } &&
38196 { ac_try='test -s conftest$ac_exeext'
38197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38198 (eval $ac_try) 2>&5
38199 ac_status=$?
38200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38201 (exit $ac_status); }; }; then
38202 glibcxx_cv_POLL=yes
38203 else
38204 echo "$as_me: failed program was:" >&5
38205 sed 's/^/| /' conftest.$ac_ext >&5
38207 glibcxx_cv_POLL=no
38209 rm -f conftest.err conftest.$ac_objext \
38210 conftest$ac_exeext conftest.$ac_ext
38214 if test $glibcxx_cv_POLL = yes; then
38216 cat >>confdefs.h <<\_ACEOF
38217 #define HAVE_POLL 1
38218 _ACEOF
38221 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
38222 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
38225 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
38226 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
38227 if test "${glibcxx_cv_S_ISREG+set}" = set; then
38228 echo $ECHO_N "(cached) $ECHO_C" >&6
38229 else
38231 if test x$gcc_no_link = xyes; then
38232 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38234 { (exit 1); exit 1; }; }
38236 cat >conftest.$ac_ext <<_ACEOF
38237 /* confdefs.h. */
38238 _ACEOF
38239 cat confdefs.h >>conftest.$ac_ext
38240 cat >>conftest.$ac_ext <<_ACEOF
38241 /* end confdefs.h. */
38242 #include <sys/stat.h>
38244 main ()
38246 struct stat buffer;
38247 fstat(0, &buffer);
38248 S_ISREG(buffer.st_mode);
38250 return 0;
38252 _ACEOF
38253 rm -f conftest.$ac_objext conftest$ac_exeext
38254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38255 (eval $ac_link) 2>conftest.er1
38256 ac_status=$?
38257 grep -v '^ *+' conftest.er1 >conftest.err
38258 rm -f conftest.er1
38259 cat conftest.err >&5
38260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38261 (exit $ac_status); } &&
38262 { ac_try='test -z "$ac_c_werror_flag"
38263 || test ! -s conftest.err'
38264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38265 (eval $ac_try) 2>&5
38266 ac_status=$?
38267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38268 (exit $ac_status); }; } &&
38269 { ac_try='test -s conftest$ac_exeext'
38270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38271 (eval $ac_try) 2>&5
38272 ac_status=$?
38273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38274 (exit $ac_status); }; }; then
38275 glibcxx_cv_S_ISREG=yes
38276 else
38277 echo "$as_me: failed program was:" >&5
38278 sed 's/^/| /' conftest.$ac_ext >&5
38280 glibcxx_cv_S_ISREG=no
38282 rm -f conftest.err conftest.$ac_objext \
38283 conftest$ac_exeext conftest.$ac_ext
38287 if test "${glibcxx_cv_S_IFREG+set}" = set; then
38288 echo $ECHO_N "(cached) $ECHO_C" >&6
38289 else
38291 if test x$gcc_no_link = xyes; then
38292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38294 { (exit 1); exit 1; }; }
38296 cat >conftest.$ac_ext <<_ACEOF
38297 /* confdefs.h. */
38298 _ACEOF
38299 cat confdefs.h >>conftest.$ac_ext
38300 cat >>conftest.$ac_ext <<_ACEOF
38301 /* end confdefs.h. */
38302 #include <sys/stat.h>
38304 main ()
38306 struct stat buffer;
38307 fstat(0, &buffer);
38308 S_IFREG & buffer.st_mode;
38310 return 0;
38312 _ACEOF
38313 rm -f conftest.$ac_objext conftest$ac_exeext
38314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38315 (eval $ac_link) 2>conftest.er1
38316 ac_status=$?
38317 grep -v '^ *+' conftest.er1 >conftest.err
38318 rm -f conftest.er1
38319 cat conftest.err >&5
38320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38321 (exit $ac_status); } &&
38322 { ac_try='test -z "$ac_c_werror_flag"
38323 || test ! -s conftest.err'
38324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38325 (eval $ac_try) 2>&5
38326 ac_status=$?
38327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38328 (exit $ac_status); }; } &&
38329 { ac_try='test -s conftest$ac_exeext'
38330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38331 (eval $ac_try) 2>&5
38332 ac_status=$?
38333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38334 (exit $ac_status); }; }; then
38335 glibcxx_cv_S_IFREG=yes
38336 else
38337 echo "$as_me: failed program was:" >&5
38338 sed 's/^/| /' conftest.$ac_ext >&5
38340 glibcxx_cv_S_IFREG=no
38342 rm -f conftest.err conftest.$ac_objext \
38343 conftest$ac_exeext conftest.$ac_ext
38347 res=no
38348 if test $glibcxx_cv_S_ISREG = yes; then
38350 cat >>confdefs.h <<\_ACEOF
38351 #define HAVE_S_ISREG 1
38352 _ACEOF
38354 res=S_ISREG
38355 elif test $glibcxx_cv_S_IFREG = yes; then
38357 cat >>confdefs.h <<\_ACEOF
38358 #define HAVE_S_IFREG 1
38359 _ACEOF
38361 res=S_IFREG
38363 echo "$as_me:$LINENO: result: $res" >&5
38364 echo "${ECHO_T}$res" >&6
38367 # For xsputn_2().
38369 for ac_header in sys/uio.h
38371 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38373 echo "$as_me:$LINENO: checking for $ac_header" >&5
38374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38376 echo $ECHO_N "(cached) $ECHO_C" >&6
38378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38379 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38380 else
38381 # Is the header compilable?
38382 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38383 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38384 cat >conftest.$ac_ext <<_ACEOF
38385 /* confdefs.h. */
38386 _ACEOF
38387 cat confdefs.h >>conftest.$ac_ext
38388 cat >>conftest.$ac_ext <<_ACEOF
38389 /* end confdefs.h. */
38390 $ac_includes_default
38391 #include <$ac_header>
38392 _ACEOF
38393 rm -f conftest.$ac_objext
38394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38395 (eval $ac_compile) 2>conftest.er1
38396 ac_status=$?
38397 grep -v '^ *+' conftest.er1 >conftest.err
38398 rm -f conftest.er1
38399 cat conftest.err >&5
38400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38401 (exit $ac_status); } &&
38402 { ac_try='test -z "$ac_c_werror_flag"
38403 || test ! -s conftest.err'
38404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38405 (eval $ac_try) 2>&5
38406 ac_status=$?
38407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38408 (exit $ac_status); }; } &&
38409 { ac_try='test -s conftest.$ac_objext'
38410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38411 (eval $ac_try) 2>&5
38412 ac_status=$?
38413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38414 (exit $ac_status); }; }; then
38415 ac_header_compiler=yes
38416 else
38417 echo "$as_me: failed program was:" >&5
38418 sed 's/^/| /' conftest.$ac_ext >&5
38420 ac_header_compiler=no
38422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38423 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38424 echo "${ECHO_T}$ac_header_compiler" >&6
38426 # Is the header present?
38427 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38428 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38429 cat >conftest.$ac_ext <<_ACEOF
38430 /* confdefs.h. */
38431 _ACEOF
38432 cat confdefs.h >>conftest.$ac_ext
38433 cat >>conftest.$ac_ext <<_ACEOF
38434 /* end confdefs.h. */
38435 #include <$ac_header>
38436 _ACEOF
38437 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38438 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38439 ac_status=$?
38440 grep -v '^ *+' conftest.er1 >conftest.err
38441 rm -f conftest.er1
38442 cat conftest.err >&5
38443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38444 (exit $ac_status); } >/dev/null; then
38445 if test -s conftest.err; then
38446 ac_cpp_err=$ac_c_preproc_warn_flag
38447 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
38448 else
38449 ac_cpp_err=
38451 else
38452 ac_cpp_err=yes
38454 if test -z "$ac_cpp_err"; then
38455 ac_header_preproc=yes
38456 else
38457 echo "$as_me: failed program was:" >&5
38458 sed 's/^/| /' conftest.$ac_ext >&5
38460 ac_header_preproc=no
38462 rm -f conftest.err conftest.$ac_ext
38463 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38464 echo "${ECHO_T}$ac_header_preproc" >&6
38466 # So? What about this header?
38467 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
38468 yes:no: )
38469 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38470 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38471 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38472 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38473 ac_header_preproc=yes
38475 no:yes:* )
38476 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38477 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38478 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38479 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38480 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38481 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38482 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38483 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38485 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38486 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38487 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38489 cat <<\_ASBOX
38490 ## ----------------------------------------- ##
38491 ## Report this to the package-unused lists. ##
38492 ## ----------------------------------------- ##
38493 _ASBOX
38495 sed "s/^/$as_me: WARNING: /" >&2
38497 esac
38498 echo "$as_me:$LINENO: checking for $ac_header" >&5
38499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38501 echo $ECHO_N "(cached) $ECHO_C" >&6
38502 else
38503 eval "$as_ac_Header=\$ac_header_preproc"
38505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38506 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38509 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38510 cat >>confdefs.h <<_ACEOF
38511 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38512 _ACEOF
38516 done
38519 echo "$as_me:$LINENO: checking for writev" >&5
38520 echo $ECHO_N "checking for writev... $ECHO_C" >&6
38521 if test "${glibcxx_cv_WRITEV+set}" = set; then
38522 echo $ECHO_N "(cached) $ECHO_C" >&6
38523 else
38525 if test x$gcc_no_link = xyes; then
38526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38528 { (exit 1); exit 1; }; }
38530 cat >conftest.$ac_ext <<_ACEOF
38531 /* confdefs.h. */
38532 _ACEOF
38533 cat confdefs.h >>conftest.$ac_ext
38534 cat >>conftest.$ac_ext <<_ACEOF
38535 /* end confdefs.h. */
38536 #include <sys/uio.h>
38538 main ()
38540 struct iovec iov[2];
38541 writev(0, iov, 0);
38543 return 0;
38545 _ACEOF
38546 rm -f conftest.$ac_objext conftest$ac_exeext
38547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38548 (eval $ac_link) 2>conftest.er1
38549 ac_status=$?
38550 grep -v '^ *+' conftest.er1 >conftest.err
38551 rm -f conftest.er1
38552 cat conftest.err >&5
38553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38554 (exit $ac_status); } &&
38555 { ac_try='test -z "$ac_c_werror_flag"
38556 || test ! -s conftest.err'
38557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38558 (eval $ac_try) 2>&5
38559 ac_status=$?
38560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38561 (exit $ac_status); }; } &&
38562 { ac_try='test -s conftest$ac_exeext'
38563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38564 (eval $ac_try) 2>&5
38565 ac_status=$?
38566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38567 (exit $ac_status); }; }; then
38568 glibcxx_cv_WRITEV=yes
38569 else
38570 echo "$as_me: failed program was:" >&5
38571 sed 's/^/| /' conftest.$ac_ext >&5
38573 glibcxx_cv_WRITEV=no
38575 rm -f conftest.err conftest.$ac_objext \
38576 conftest$ac_exeext conftest.$ac_ext
38580 if test $glibcxx_cv_WRITEV = yes; then
38582 cat >>confdefs.h <<\_ACEOF
38583 #define HAVE_WRITEV 1
38584 _ACEOF
38587 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
38588 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
38591 # For the __streamoff_base_type typedef.
38593 echo "$as_me:$LINENO: checking for int64_t" >&5
38594 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
38595 if test "${glibcxx_cv_INT64_T+set}" = set; then
38596 echo $ECHO_N "(cached) $ECHO_C" >&6
38597 else
38599 cat >conftest.$ac_ext <<_ACEOF
38600 /* confdefs.h. */
38601 _ACEOF
38602 cat confdefs.h >>conftest.$ac_ext
38603 cat >>conftest.$ac_ext <<_ACEOF
38604 /* end confdefs.h. */
38605 #include <stdint.h>
38607 main ()
38609 int64_t var;
38611 return 0;
38613 _ACEOF
38614 rm -f conftest.$ac_objext
38615 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38616 (eval $ac_compile) 2>conftest.er1
38617 ac_status=$?
38618 grep -v '^ *+' conftest.er1 >conftest.err
38619 rm -f conftest.er1
38620 cat conftest.err >&5
38621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38622 (exit $ac_status); } &&
38623 { ac_try='test -z "$ac_c_werror_flag"
38624 || test ! -s conftest.err'
38625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38626 (eval $ac_try) 2>&5
38627 ac_status=$?
38628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38629 (exit $ac_status); }; } &&
38630 { ac_try='test -s conftest.$ac_objext'
38631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38632 (eval $ac_try) 2>&5
38633 ac_status=$?
38634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38635 (exit $ac_status); }; }; then
38636 glibcxx_cv_INT64_T=yes
38637 else
38638 echo "$as_me: failed program was:" >&5
38639 sed 's/^/| /' conftest.$ac_ext >&5
38641 glibcxx_cv_INT64_T=no
38643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38647 if test $glibcxx_cv_INT64_T = yes; then
38649 cat >>confdefs.h <<\_ACEOF
38650 #define HAVE_INT64_T 1
38651 _ACEOF
38654 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
38655 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
38658 # For LFS support.
38662 ac_ext=cc
38663 ac_cpp='$CXXCPP $CPPFLAGS'
38664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38668 ac_save_CXXFLAGS="$CXXFLAGS"
38669 CXXFLAGS="$CXXFLAGS -fno-exceptions"
38670 echo "$as_me:$LINENO: checking for LFS support" >&5
38671 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
38672 if test "${glibcxx_cv_LFS+set}" = set; then
38673 echo $ECHO_N "(cached) $ECHO_C" >&6
38674 else
38676 if test x$gcc_no_link = xyes; then
38677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38679 { (exit 1); exit 1; }; }
38681 cat >conftest.$ac_ext <<_ACEOF
38682 /* confdefs.h. */
38683 _ACEOF
38684 cat confdefs.h >>conftest.$ac_ext
38685 cat >>conftest.$ac_ext <<_ACEOF
38686 /* end confdefs.h. */
38687 #include <unistd.h>
38688 #include <stdio.h>
38689 #include <sys/stat.h>
38692 main ()
38694 FILE* fp;
38695 fopen64("t", "w");
38696 fseeko64(fp, 0, SEEK_CUR);
38697 ftello64(fp);
38698 lseek64(1, 0, SEEK_CUR);
38699 struct stat64 buf;
38700 fstat64(1, &buf);
38702 return 0;
38704 _ACEOF
38705 rm -f conftest.$ac_objext conftest$ac_exeext
38706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38707 (eval $ac_link) 2>conftest.er1
38708 ac_status=$?
38709 grep -v '^ *+' conftest.er1 >conftest.err
38710 rm -f conftest.er1
38711 cat conftest.err >&5
38712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38713 (exit $ac_status); } &&
38714 { ac_try='test -z "$ac_cxx_werror_flag"
38715 || test ! -s conftest.err'
38716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38717 (eval $ac_try) 2>&5
38718 ac_status=$?
38719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38720 (exit $ac_status); }; } &&
38721 { ac_try='test -s conftest$ac_exeext'
38722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38723 (eval $ac_try) 2>&5
38724 ac_status=$?
38725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38726 (exit $ac_status); }; }; then
38727 glibcxx_cv_LFS=yes
38728 else
38729 echo "$as_me: failed program was:" >&5
38730 sed 's/^/| /' conftest.$ac_ext >&5
38732 glibcxx_cv_LFS=no
38734 rm -f conftest.err conftest.$ac_objext \
38735 conftest$ac_exeext conftest.$ac_ext
38739 if test $glibcxx_cv_LFS = yes; then
38741 cat >>confdefs.h <<\_ACEOF
38742 #define _GLIBCXX_USE_LFS 1
38743 _ACEOF
38746 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
38747 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
38748 CXXFLAGS="$ac_save_CXXFLAGS"
38749 ac_ext=c
38750 ac_cpp='$CPP $CPPFLAGS'
38751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38757 # For C99 support to TR1.
38762 ac_ext=cc
38763 ac_cpp='$CXXCPP $CPPFLAGS'
38764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38769 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
38770 # undefined and fake C99 facilities may be spuriously enabled.
38771 ac_save_CXXFLAGS="$CXXFLAGS"
38772 CXXFLAGS="$CXXFLAGS -std=c++98"
38774 # Check for the existence of <complex.h> complex math functions used
38775 # by tr1/complex.
38777 for ac_header in complex.h
38779 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38781 echo "$as_me:$LINENO: checking for $ac_header" >&5
38782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38784 echo $ECHO_N "(cached) $ECHO_C" >&6
38786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38787 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38788 else
38789 # Is the header compilable?
38790 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38791 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38792 cat >conftest.$ac_ext <<_ACEOF
38793 /* confdefs.h. */
38794 _ACEOF
38795 cat confdefs.h >>conftest.$ac_ext
38796 cat >>conftest.$ac_ext <<_ACEOF
38797 /* end confdefs.h. */
38798 $ac_includes_default
38799 #include <$ac_header>
38800 _ACEOF
38801 rm -f conftest.$ac_objext
38802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38803 (eval $ac_compile) 2>conftest.er1
38804 ac_status=$?
38805 grep -v '^ *+' conftest.er1 >conftest.err
38806 rm -f conftest.er1
38807 cat conftest.err >&5
38808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38809 (exit $ac_status); } &&
38810 { ac_try='test -z "$ac_cxx_werror_flag"
38811 || test ! -s conftest.err'
38812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38813 (eval $ac_try) 2>&5
38814 ac_status=$?
38815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38816 (exit $ac_status); }; } &&
38817 { ac_try='test -s conftest.$ac_objext'
38818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38819 (eval $ac_try) 2>&5
38820 ac_status=$?
38821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38822 (exit $ac_status); }; }; then
38823 ac_header_compiler=yes
38824 else
38825 echo "$as_me: failed program was:" >&5
38826 sed 's/^/| /' conftest.$ac_ext >&5
38828 ac_header_compiler=no
38830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38831 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38832 echo "${ECHO_T}$ac_header_compiler" >&6
38834 # Is the header present?
38835 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38836 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38837 cat >conftest.$ac_ext <<_ACEOF
38838 /* confdefs.h. */
38839 _ACEOF
38840 cat confdefs.h >>conftest.$ac_ext
38841 cat >>conftest.$ac_ext <<_ACEOF
38842 /* end confdefs.h. */
38843 #include <$ac_header>
38844 _ACEOF
38845 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38846 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38847 ac_status=$?
38848 grep -v '^ *+' conftest.er1 >conftest.err
38849 rm -f conftest.er1
38850 cat conftest.err >&5
38851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38852 (exit $ac_status); } >/dev/null; then
38853 if test -s conftest.err; then
38854 ac_cpp_err=$ac_cxx_preproc_warn_flag
38855 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
38856 else
38857 ac_cpp_err=
38859 else
38860 ac_cpp_err=yes
38862 if test -z "$ac_cpp_err"; then
38863 ac_header_preproc=yes
38864 else
38865 echo "$as_me: failed program was:" >&5
38866 sed 's/^/| /' conftest.$ac_ext >&5
38868 ac_header_preproc=no
38870 rm -f conftest.err conftest.$ac_ext
38871 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38872 echo "${ECHO_T}$ac_header_preproc" >&6
38874 # So? What about this header?
38875 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38876 yes:no: )
38877 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38878 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38879 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38880 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38881 ac_header_preproc=yes
38883 no:yes:* )
38884 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38885 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38886 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38887 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38888 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38889 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38890 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38891 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38892 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38893 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38894 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38895 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38897 cat <<\_ASBOX
38898 ## ----------------------------------------- ##
38899 ## Report this to the package-unused lists. ##
38900 ## ----------------------------------------- ##
38901 _ASBOX
38903 sed "s/^/$as_me: WARNING: /" >&2
38905 esac
38906 echo "$as_me:$LINENO: checking for $ac_header" >&5
38907 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38908 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38909 echo $ECHO_N "(cached) $ECHO_C" >&6
38910 else
38911 eval "$as_ac_Header=\$ac_header_preproc"
38913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38914 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38917 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38918 cat >>confdefs.h <<_ACEOF
38919 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38920 _ACEOF
38921 ac_has_complex_h=yes
38922 else
38923 ac_has_complex_h=no
38926 done
38928 ac_c99_complex_tr1=no;
38929 if test x"$ac_has_complex_h" = x"yes"; then
38930 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
38931 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
38932 cat >conftest.$ac_ext <<_ACEOF
38933 /* confdefs.h. */
38934 _ACEOF
38935 cat confdefs.h >>conftest.$ac_ext
38936 cat >>conftest.$ac_ext <<_ACEOF
38937 /* end confdefs.h. */
38938 #include <complex.h>
38940 main ()
38942 typedef __complex__ float float_type; float_type tmpf;
38943 cacosf(tmpf);
38944 casinf(tmpf);
38945 catanf(tmpf);
38946 cacoshf(tmpf);
38947 casinhf(tmpf);
38948 catanhf(tmpf);
38949 typedef __complex__ double double_type; double_type tmpd;
38950 cacos(tmpd);
38951 casin(tmpd);
38952 catan(tmpd);
38953 cacosh(tmpd);
38954 casinh(tmpd);
38955 catanh(tmpd);
38956 typedef __complex__ long double ld_type; ld_type tmpld;
38957 cacosl(tmpld);
38958 casinl(tmpld);
38959 catanl(tmpld);
38960 cacoshl(tmpld);
38961 casinhl(tmpld);
38962 catanhl(tmpld);
38965 return 0;
38967 _ACEOF
38968 rm -f conftest.$ac_objext
38969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38970 (eval $ac_compile) 2>conftest.er1
38971 ac_status=$?
38972 grep -v '^ *+' conftest.er1 >conftest.err
38973 rm -f conftest.er1
38974 cat conftest.err >&5
38975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38976 (exit $ac_status); } &&
38977 { ac_try='test -z "$ac_cxx_werror_flag"
38978 || test ! -s conftest.err'
38979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38980 (eval $ac_try) 2>&5
38981 ac_status=$?
38982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38983 (exit $ac_status); }; } &&
38984 { ac_try='test -s conftest.$ac_objext'
38985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38986 (eval $ac_try) 2>&5
38987 ac_status=$?
38988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38989 (exit $ac_status); }; }; then
38990 ac_c99_complex_tr1=yes
38991 else
38992 echo "$as_me: failed program was:" >&5
38993 sed 's/^/| /' conftest.$ac_ext >&5
38995 ac_c99_complex_tr1=no
38997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38999 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
39000 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
39001 if test x"$ac_c99_complex_tr1" = x"yes"; then
39003 cat >>confdefs.h <<\_ACEOF
39004 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
39005 _ACEOF
39009 # Check for the existence of <ctype.h> functions.
39010 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
39011 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
39012 if test "${ac_c99_ctype_tr1+set}" = set; then
39013 echo $ECHO_N "(cached) $ECHO_C" >&6
39014 else
39016 cat >conftest.$ac_ext <<_ACEOF
39017 /* confdefs.h. */
39018 _ACEOF
39019 cat confdefs.h >>conftest.$ac_ext
39020 cat >>conftest.$ac_ext <<_ACEOF
39021 /* end confdefs.h. */
39022 #include <ctype.h>
39024 main ()
39026 int ch;
39027 int ret;
39028 ret = isblank(ch);
39031 return 0;
39033 _ACEOF
39034 rm -f conftest.$ac_objext
39035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39036 (eval $ac_compile) 2>conftest.er1
39037 ac_status=$?
39038 grep -v '^ *+' conftest.er1 >conftest.err
39039 rm -f conftest.er1
39040 cat conftest.err >&5
39041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39042 (exit $ac_status); } &&
39043 { ac_try='test -z "$ac_cxx_werror_flag"
39044 || test ! -s conftest.err'
39045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39046 (eval $ac_try) 2>&5
39047 ac_status=$?
39048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39049 (exit $ac_status); }; } &&
39050 { ac_try='test -s conftest.$ac_objext'
39051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39052 (eval $ac_try) 2>&5
39053 ac_status=$?
39054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39055 (exit $ac_status); }; }; then
39056 ac_c99_ctype_tr1=yes
39057 else
39058 echo "$as_me: failed program was:" >&5
39059 sed 's/^/| /' conftest.$ac_ext >&5
39061 ac_c99_ctype_tr1=no
39063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39067 echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
39068 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
39069 if test x"$ac_c99_ctype_tr1" = x"yes"; then
39071 cat >>confdefs.h <<\_ACEOF
39072 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
39073 _ACEOF
39077 # Check for the existence of <fenv.h> functions.
39079 for ac_header in fenv.h
39081 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39083 echo "$as_me:$LINENO: checking for $ac_header" >&5
39084 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39086 echo $ECHO_N "(cached) $ECHO_C" >&6
39088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39089 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39090 else
39091 # Is the header compilable?
39092 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39093 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39094 cat >conftest.$ac_ext <<_ACEOF
39095 /* confdefs.h. */
39096 _ACEOF
39097 cat confdefs.h >>conftest.$ac_ext
39098 cat >>conftest.$ac_ext <<_ACEOF
39099 /* end confdefs.h. */
39100 $ac_includes_default
39101 #include <$ac_header>
39102 _ACEOF
39103 rm -f conftest.$ac_objext
39104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39105 (eval $ac_compile) 2>conftest.er1
39106 ac_status=$?
39107 grep -v '^ *+' conftest.er1 >conftest.err
39108 rm -f conftest.er1
39109 cat conftest.err >&5
39110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39111 (exit $ac_status); } &&
39112 { ac_try='test -z "$ac_cxx_werror_flag"
39113 || test ! -s conftest.err'
39114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39115 (eval $ac_try) 2>&5
39116 ac_status=$?
39117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39118 (exit $ac_status); }; } &&
39119 { ac_try='test -s conftest.$ac_objext'
39120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39121 (eval $ac_try) 2>&5
39122 ac_status=$?
39123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39124 (exit $ac_status); }; }; then
39125 ac_header_compiler=yes
39126 else
39127 echo "$as_me: failed program was:" >&5
39128 sed 's/^/| /' conftest.$ac_ext >&5
39130 ac_header_compiler=no
39132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39133 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39134 echo "${ECHO_T}$ac_header_compiler" >&6
39136 # Is the header present?
39137 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39138 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39139 cat >conftest.$ac_ext <<_ACEOF
39140 /* confdefs.h. */
39141 _ACEOF
39142 cat confdefs.h >>conftest.$ac_ext
39143 cat >>conftest.$ac_ext <<_ACEOF
39144 /* end confdefs.h. */
39145 #include <$ac_header>
39146 _ACEOF
39147 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39148 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39149 ac_status=$?
39150 grep -v '^ *+' conftest.er1 >conftest.err
39151 rm -f conftest.er1
39152 cat conftest.err >&5
39153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39154 (exit $ac_status); } >/dev/null; then
39155 if test -s conftest.err; then
39156 ac_cpp_err=$ac_cxx_preproc_warn_flag
39157 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39158 else
39159 ac_cpp_err=
39161 else
39162 ac_cpp_err=yes
39164 if test -z "$ac_cpp_err"; then
39165 ac_header_preproc=yes
39166 else
39167 echo "$as_me: failed program was:" >&5
39168 sed 's/^/| /' conftest.$ac_ext >&5
39170 ac_header_preproc=no
39172 rm -f conftest.err conftest.$ac_ext
39173 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39174 echo "${ECHO_T}$ac_header_preproc" >&6
39176 # So? What about this header?
39177 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39178 yes:no: )
39179 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39180 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39181 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39182 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39183 ac_header_preproc=yes
39185 no:yes:* )
39186 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39187 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39188 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39189 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39190 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39191 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39192 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39193 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39194 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39195 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39196 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39197 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39199 cat <<\_ASBOX
39200 ## ----------------------------------------- ##
39201 ## Report this to the package-unused lists. ##
39202 ## ----------------------------------------- ##
39203 _ASBOX
39205 sed "s/^/$as_me: WARNING: /" >&2
39207 esac
39208 echo "$as_me:$LINENO: checking for $ac_header" >&5
39209 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39210 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39211 echo $ECHO_N "(cached) $ECHO_C" >&6
39212 else
39213 eval "$as_ac_Header=\$ac_header_preproc"
39215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39216 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39219 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39220 cat >>confdefs.h <<_ACEOF
39221 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39222 _ACEOF
39223 ac_has_fenv_h=yes
39224 else
39225 ac_has_fenv_h=no
39228 done
39230 ac_c99_fenv_tr1=no;
39231 if test x"$ac_has_fenv_h" = x"yes"; then
39232 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
39233 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
39234 cat >conftest.$ac_ext <<_ACEOF
39235 /* confdefs.h. */
39236 _ACEOF
39237 cat confdefs.h >>conftest.$ac_ext
39238 cat >>conftest.$ac_ext <<_ACEOF
39239 /* end confdefs.h. */
39240 #include <fenv.h>
39242 main ()
39244 int except, mode;
39245 fexcept_t* pflag;
39246 fenv_t* penv;
39247 int ret;
39248 ret = feclearexcept(except);
39249 ret = fegetexceptflag(pflag, except);
39250 ret = feraiseexcept(except);
39251 ret = fesetexceptflag(pflag, except);
39252 ret = fetestexcept(except);
39253 ret = fegetround();
39254 ret = fesetround(mode);
39255 ret = fegetenv(penv);
39256 ret = feholdexcept(penv);
39257 ret = fesetenv(penv);
39258 ret = feupdateenv(penv);
39261 return 0;
39263 _ACEOF
39264 rm -f conftest.$ac_objext
39265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39266 (eval $ac_compile) 2>conftest.er1
39267 ac_status=$?
39268 grep -v '^ *+' conftest.er1 >conftest.err
39269 rm -f conftest.er1
39270 cat conftest.err >&5
39271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39272 (exit $ac_status); } &&
39273 { ac_try='test -z "$ac_cxx_werror_flag"
39274 || test ! -s conftest.err'
39275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39276 (eval $ac_try) 2>&5
39277 ac_status=$?
39278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39279 (exit $ac_status); }; } &&
39280 { ac_try='test -s conftest.$ac_objext'
39281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39282 (eval $ac_try) 2>&5
39283 ac_status=$?
39284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39285 (exit $ac_status); }; }; then
39286 ac_c99_fenv_tr1=yes
39287 else
39288 echo "$as_me: failed program was:" >&5
39289 sed 's/^/| /' conftest.$ac_ext >&5
39291 ac_c99_fenv_tr1=no
39293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39295 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
39296 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
39297 if test x"$ac_c99_fenv_tr1" = x"yes"; then
39299 cat >>confdefs.h <<\_ACEOF
39300 #define _GLIBCXX_USE_C99_FENV_TR1 1
39301 _ACEOF
39305 # Check for the existence of <stdint.h> types.
39306 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
39307 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
39308 if test "${ac_c99_stdint_tr1+set}" = set; then
39309 echo $ECHO_N "(cached) $ECHO_C" >&6
39310 else
39312 cat >conftest.$ac_ext <<_ACEOF
39313 /* confdefs.h. */
39314 _ACEOF
39315 cat confdefs.h >>conftest.$ac_ext
39316 cat >>conftest.$ac_ext <<_ACEOF
39317 /* end confdefs.h. */
39318 #include <stdint.h>
39320 main ()
39322 typedef int8_t my_int8_t;
39323 typedef int16_t my_int16_t;
39324 typedef int32_t my_int32_t;
39325 typedef int64_t my_int64_t;
39326 typedef int_fast8_t my_int_fast8_t;
39327 typedef int_fast16_t my_int_fast16_t;
39328 typedef int_fast32_t my_int_fast32_t;
39329 typedef int_fast64_t my_int_fast64_t;
39330 typedef int_least8_t my_int_least8_t;
39331 typedef int_least16_t my_int_least16_t;
39332 typedef int_least32_t my_int_least32_t;
39333 typedef int_least64_t my_int_least64_t;
39334 typedef intmax_t my_intmax_t;
39335 typedef intptr_t my_intptr_t;
39336 typedef uint8_t my_uint8_t;
39337 typedef uint16_t my_uint16_t;
39338 typedef uint32_t my_uint32_t;
39339 typedef uint64_t my_uint64_t;
39340 typedef uint_fast8_t my_uint_fast8_t;
39341 typedef uint_fast16_t my_uint_fast16_t;
39342 typedef uint_fast32_t my_uint_fast32_t;
39343 typedef uint_fast64_t my_uint_fast64_t;
39344 typedef uint_least8_t my_uint_least8_t;
39345 typedef uint_least16_t my_uint_least16_t;
39346 typedef uint_least32_t my_uint_least32_t;
39347 typedef uint_least64_t my_uint_least64_t;
39348 typedef uintmax_t my_uintmax_t;
39349 typedef uintptr_t my_uintptr_t;
39352 return 0;
39354 _ACEOF
39355 rm -f conftest.$ac_objext
39356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39357 (eval $ac_compile) 2>conftest.er1
39358 ac_status=$?
39359 grep -v '^ *+' conftest.er1 >conftest.err
39360 rm -f conftest.er1
39361 cat conftest.err >&5
39362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39363 (exit $ac_status); } &&
39364 { ac_try='test -z "$ac_cxx_werror_flag"
39365 || test ! -s conftest.err'
39366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39367 (eval $ac_try) 2>&5
39368 ac_status=$?
39369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39370 (exit $ac_status); }; } &&
39371 { ac_try='test -s conftest.$ac_objext'
39372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39373 (eval $ac_try) 2>&5
39374 ac_status=$?
39375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39376 (exit $ac_status); }; }; then
39377 ac_c99_stdint_tr1=yes
39378 else
39379 echo "$as_me: failed program was:" >&5
39380 sed 's/^/| /' conftest.$ac_ext >&5
39382 ac_c99_stdint_tr1=no
39384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39388 echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
39389 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
39390 if test x"$ac_c99_stdint_tr1" = x"yes"; then
39392 cat >>confdefs.h <<\_ACEOF
39393 #define _GLIBCXX_USE_C99_STDINT_TR1 1
39394 _ACEOF
39398 # Check for the existence of <math.h> functions.
39399 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
39400 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
39401 if test "${ac_c99_math_tr1+set}" = set; then
39402 echo $ECHO_N "(cached) $ECHO_C" >&6
39403 else
39405 cat >conftest.$ac_ext <<_ACEOF
39406 /* confdefs.h. */
39407 _ACEOF
39408 cat confdefs.h >>conftest.$ac_ext
39409 cat >>conftest.$ac_ext <<_ACEOF
39410 /* end confdefs.h. */
39411 #include <math.h>
39413 main ()
39415 typedef double_t my_double_t;
39416 typedef float_t my_float_t;
39417 acosh(0.0);
39418 acoshf(0.0f);
39419 acoshl(0.0l);
39420 asinh(0.0);
39421 asinhf(0.0f);
39422 asinhl(0.0l);
39423 atanh(0.0);
39424 atanhf(0.0f);
39425 atanhl(0.0l);
39426 cbrt(0.0);
39427 cbrtf(0.0f);
39428 cbrtl(0.0l);
39429 copysign(0.0, 0.0);
39430 copysignf(0.0f, 0.0f);
39431 copysignl(0.0l, 0.0l);
39432 erf(0.0);
39433 erff(0.0f);
39434 erfl(0.0l);
39435 erfc(0.0);
39436 erfcf(0.0f);
39437 erfcl(0.0l);
39438 exp2(0.0);
39439 exp2f(0.0f);
39440 exp2l(0.0l);
39441 expm1(0.0);
39442 expm1f(0.0f);
39443 expm1l(0.0l);
39444 fdim(0.0, 0.0);
39445 fdimf(0.0f, 0.0f);
39446 fdiml(0.0l, 0.0l);
39447 fma(0.0, 0.0, 0.0);
39448 fmaf(0.0f, 0.0f, 0.0f);
39449 fmal(0.0l, 0.0l, 0.0l);
39450 fmax(0.0, 0.0);
39451 fmaxf(0.0f, 0.0f);
39452 fmaxl(0.0l, 0.0l);
39453 fmin(0.0, 0.0);
39454 fminf(0.0f, 0.0f);
39455 fminl(0.0l, 0.0l);
39456 hypot(0.0, 0.0);
39457 hypotf(0.0f, 0.0f);
39458 hypotl(0.0l, 0.0l);
39459 ilogb(0.0);
39460 ilogbf(0.0f);
39461 ilogbl(0.0l);
39462 lgamma(0.0);
39463 lgammaf(0.0f);
39464 lgammal(0.0l);
39465 llrint(0.0);
39466 llrintf(0.0f);
39467 llrintl(0.0l);
39468 llround(0.0);
39469 llroundf(0.0f);
39470 llroundl(0.0l);
39471 log1p(0.0);
39472 log1pf(0.0f);
39473 log1pl(0.0l);
39474 log2(0.0);
39475 log2f(0.0f);
39476 log2l(0.0l);
39477 logb(0.0);
39478 logbf(0.0f);
39479 logbl(0.0l);
39480 lrint(0.0);
39481 lrintf(0.0f);
39482 lrintl(0.0l);
39483 lround(0.0);
39484 lroundf(0.0f);
39485 lroundl(0.0l);
39486 nan(0);
39487 nanf(0);
39488 nanl(0);
39489 nearbyint(0.0);
39490 nearbyintf(0.0f);
39491 nearbyintl(0.0l);
39492 nextafter(0.0, 0.0);
39493 nextafterf(0.0f, 0.0f);
39494 nextafterl(0.0l, 0.0l);
39495 nexttoward(0.0, 0.0);
39496 nexttowardf(0.0f, 0.0f);
39497 nexttowardl(0.0l, 0.0l);
39498 remainder(0.0, 0.0);
39499 remainderf(0.0f, 0.0f);
39500 remainderl(0.0l, 0.0l);
39501 remquo(0.0, 0.0, 0);
39502 remquo(0.0f, 0.0f, 0);
39503 remquo(0.0l, 0.0l, 0);
39504 rint(0.0);
39505 rintf(0.0f);
39506 rintl(0.0l);
39507 round(0.0);
39508 roundf(0.0f);
39509 roundl(0.0l);
39510 scalbln(0.0, 0l);
39511 scalblnf(0.0f, 0l);
39512 scalblnl(0.0l, 0l);
39513 scalbn(0.0, 0);
39514 scalbnf(0.0f, 0);
39515 scalbnl(0.0l, 0);
39516 tgamma(0.0);
39517 tgammaf(0.0f);
39518 tgammal(0.0l);
39519 trunc(0.0);
39520 truncf(0.0f);
39521 truncl(0.0l);
39524 return 0;
39526 _ACEOF
39527 rm -f conftest.$ac_objext
39528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39529 (eval $ac_compile) 2>conftest.er1
39530 ac_status=$?
39531 grep -v '^ *+' conftest.er1 >conftest.err
39532 rm -f conftest.er1
39533 cat conftest.err >&5
39534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39535 (exit $ac_status); } &&
39536 { ac_try='test -z "$ac_cxx_werror_flag"
39537 || test ! -s conftest.err'
39538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39539 (eval $ac_try) 2>&5
39540 ac_status=$?
39541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39542 (exit $ac_status); }; } &&
39543 { ac_try='test -s conftest.$ac_objext'
39544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39545 (eval $ac_try) 2>&5
39546 ac_status=$?
39547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39548 (exit $ac_status); }; }; then
39549 ac_c99_math_tr1=yes
39550 else
39551 echo "$as_me: failed program was:" >&5
39552 sed 's/^/| /' conftest.$ac_ext >&5
39554 ac_c99_math_tr1=no
39556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39560 echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
39561 echo "${ECHO_T}$ac_c99_math_tr1" >&6
39562 if test x"$ac_c99_math_tr1" = x"yes"; then
39564 cat >>confdefs.h <<\_ACEOF
39565 #define _GLIBCXX_USE_C99_MATH_TR1 1
39566 _ACEOF
39570 # Check for the existence of <inttypes.h> functions (NB: doesn't make
39571 # sense if the previous check fails, per C99, 7.8/1).
39572 ac_c99_inttypes_tr1=no;
39573 if test x"$ac_c99_stdint_tr1" = x"yes"; then
39574 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
39575 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
39576 cat >conftest.$ac_ext <<_ACEOF
39577 /* confdefs.h. */
39578 _ACEOF
39579 cat confdefs.h >>conftest.$ac_ext
39580 cat >>conftest.$ac_ext <<_ACEOF
39581 /* end confdefs.h. */
39582 #include <inttypes.h>
39584 main ()
39586 intmax_t i, numer, denom, base;
39587 const char* s;
39588 char** endptr;
39589 intmax_t ret = imaxabs(i);
39590 imaxdiv_t dret = imaxdiv(numer, denom);
39591 ret = strtoimax(s, endptr, base);
39592 uintmax_t uret = strtoumax(s, endptr, base);
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_cxx_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 ac_c99_inttypes_tr1=yes
39621 else
39622 echo "$as_me: failed program was:" >&5
39623 sed 's/^/| /' conftest.$ac_ext >&5
39625 ac_c99_inttypes_tr1=no
39627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39629 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
39630 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
39631 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
39633 cat >>confdefs.h <<\_ACEOF
39634 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
39635 _ACEOF
39639 # Check for the existence of the <stdbool.h> header.
39641 for ac_header in stdbool.h
39643 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39645 echo "$as_me:$LINENO: checking for $ac_header" >&5
39646 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39647 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39648 echo $ECHO_N "(cached) $ECHO_C" >&6
39650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39651 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39652 else
39653 # Is the header compilable?
39654 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39655 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39656 cat >conftest.$ac_ext <<_ACEOF
39657 /* confdefs.h. */
39658 _ACEOF
39659 cat confdefs.h >>conftest.$ac_ext
39660 cat >>conftest.$ac_ext <<_ACEOF
39661 /* end confdefs.h. */
39662 $ac_includes_default
39663 #include <$ac_header>
39664 _ACEOF
39665 rm -f conftest.$ac_objext
39666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39667 (eval $ac_compile) 2>conftest.er1
39668 ac_status=$?
39669 grep -v '^ *+' conftest.er1 >conftest.err
39670 rm -f conftest.er1
39671 cat conftest.err >&5
39672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39673 (exit $ac_status); } &&
39674 { ac_try='test -z "$ac_cxx_werror_flag"
39675 || test ! -s conftest.err'
39676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39677 (eval $ac_try) 2>&5
39678 ac_status=$?
39679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39680 (exit $ac_status); }; } &&
39681 { ac_try='test -s conftest.$ac_objext'
39682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39683 (eval $ac_try) 2>&5
39684 ac_status=$?
39685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39686 (exit $ac_status); }; }; then
39687 ac_header_compiler=yes
39688 else
39689 echo "$as_me: failed program was:" >&5
39690 sed 's/^/| /' conftest.$ac_ext >&5
39692 ac_header_compiler=no
39694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39695 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39696 echo "${ECHO_T}$ac_header_compiler" >&6
39698 # Is the header present?
39699 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39700 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39701 cat >conftest.$ac_ext <<_ACEOF
39702 /* confdefs.h. */
39703 _ACEOF
39704 cat confdefs.h >>conftest.$ac_ext
39705 cat >>conftest.$ac_ext <<_ACEOF
39706 /* end confdefs.h. */
39707 #include <$ac_header>
39708 _ACEOF
39709 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39710 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39711 ac_status=$?
39712 grep -v '^ *+' conftest.er1 >conftest.err
39713 rm -f conftest.er1
39714 cat conftest.err >&5
39715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39716 (exit $ac_status); } >/dev/null; then
39717 if test -s conftest.err; then
39718 ac_cpp_err=$ac_cxx_preproc_warn_flag
39719 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39720 else
39721 ac_cpp_err=
39723 else
39724 ac_cpp_err=yes
39726 if test -z "$ac_cpp_err"; then
39727 ac_header_preproc=yes
39728 else
39729 echo "$as_me: failed program was:" >&5
39730 sed 's/^/| /' conftest.$ac_ext >&5
39732 ac_header_preproc=no
39734 rm -f conftest.err conftest.$ac_ext
39735 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39736 echo "${ECHO_T}$ac_header_preproc" >&6
39738 # So? What about this header?
39739 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39740 yes:no: )
39741 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39742 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39743 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39744 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39745 ac_header_preproc=yes
39747 no:yes:* )
39748 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39749 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39750 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39751 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39752 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39753 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39754 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39755 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39756 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39757 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39758 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39759 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39761 cat <<\_ASBOX
39762 ## ----------------------------------------- ##
39763 ## Report this to the package-unused lists. ##
39764 ## ----------------------------------------- ##
39765 _ASBOX
39767 sed "s/^/$as_me: WARNING: /" >&2
39769 esac
39770 echo "$as_me:$LINENO: checking for $ac_header" >&5
39771 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39772 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39773 echo $ECHO_N "(cached) $ECHO_C" >&6
39774 else
39775 eval "$as_ac_Header=\$ac_header_preproc"
39777 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39778 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39781 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39782 cat >>confdefs.h <<_ACEOF
39783 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39784 _ACEOF
39788 done
39791 CXXFLAGS="$ac_save_CXXFLAGS"
39792 ac_ext=c
39793 ac_cpp='$CPP $CPPFLAGS'
39794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39800 # For dev/random and dev/urandom for TR1.
39803 echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
39804 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
39805 if test "${ac_random_tr1+set}" = set; then
39806 echo $ECHO_N "(cached) $ECHO_C" >&6
39807 else
39809 if test "$cross_compiling" = yes; then
39810 ac_random_tr1=no
39811 else
39812 cat >conftest.$ac_ext <<_ACEOF
39813 /* confdefs.h. */
39814 _ACEOF
39815 cat confdefs.h >>conftest.$ac_ext
39816 cat >>conftest.$ac_ext <<_ACEOF
39817 /* end confdefs.h. */
39818 #include <stdio.h>
39819 int main()
39821 return !(fopen("/dev/random", "r")
39822 && fopen("/dev/urandom", "r"));
39825 _ACEOF
39826 rm -f conftest$ac_exeext
39827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39828 (eval $ac_link) 2>&5
39829 ac_status=$?
39830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39831 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39833 (eval $ac_try) 2>&5
39834 ac_status=$?
39835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39836 (exit $ac_status); }; }; then
39837 ac_random_tr1=yes
39838 else
39839 echo "$as_me: program exited with status $ac_status" >&5
39840 echo "$as_me: failed program was:" >&5
39841 sed 's/^/| /' conftest.$ac_ext >&5
39843 ( exit $ac_status )
39844 ac_random_tr1=no
39846 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
39851 echo "$as_me:$LINENO: result: $ac_random_tr1" >&5
39852 echo "${ECHO_T}$ac_random_tr1" >&6
39853 if test x"$ac_random_tr1" = x"yes"; then
39855 cat >>confdefs.h <<\_ACEOF
39856 #define _GLIBCXX_USE_RANDOM_TR1 1
39857 _ACEOF
39863 # For TLS support.
39865 # Check whether --enable-tls or --disable-tls was given.
39866 if test "${enable_tls+set}" = set; then
39867 enableval="$enable_tls"
39869 case "$enableval" in
39870 yes|no) ;;
39871 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
39872 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
39873 { (exit 1); exit 1; }; } ;;
39874 esac
39876 else
39877 enable_tls=yes
39880 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
39881 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
39882 if test "${gcc_cv_have_tls+set}" = set; then
39883 echo $ECHO_N "(cached) $ECHO_C" >&6
39884 else
39886 if test "$cross_compiling" = yes; then
39887 if test x$gcc_no_link = xyes; then
39888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39890 { (exit 1); exit 1; }; }
39892 cat >conftest.$ac_ext <<_ACEOF
39893 __thread int a; int b; int main() { return a = b; }
39894 _ACEOF
39895 rm -f conftest.$ac_objext conftest$ac_exeext
39896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39897 (eval $ac_link) 2>conftest.er1
39898 ac_status=$?
39899 grep -v '^ *+' conftest.er1 >conftest.err
39900 rm -f conftest.er1
39901 cat conftest.err >&5
39902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39903 (exit $ac_status); } &&
39904 { ac_try='test -z "$ac_c_werror_flag"
39905 || test ! -s conftest.err'
39906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39907 (eval $ac_try) 2>&5
39908 ac_status=$?
39909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39910 (exit $ac_status); }; } &&
39911 { ac_try='test -s conftest$ac_exeext'
39912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39913 (eval $ac_try) 2>&5
39914 ac_status=$?
39915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39916 (exit $ac_status); }; }; then
39917 gcc_cv_have_tls=yes
39918 else
39919 echo "$as_me: failed program was:" >&5
39920 sed 's/^/| /' conftest.$ac_ext >&5
39922 gcc_cv_have_tls=no
39924 rm -f conftest.err conftest.$ac_objext \
39925 conftest$ac_exeext conftest.$ac_ext
39928 else
39929 cat >conftest.$ac_ext <<_ACEOF
39930 __thread int a; int b; int main() { return a = b; }
39931 _ACEOF
39932 rm -f conftest$ac_exeext
39933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39934 (eval $ac_link) 2>&5
39935 ac_status=$?
39936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39937 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39939 (eval $ac_try) 2>&5
39940 ac_status=$?
39941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39942 (exit $ac_status); }; }; then
39943 chktls_save_LDFLAGS="$LDFLAGS"
39944 LDFLAGS="-static $LDFLAGS"
39945 if test x$gcc_no_link = xyes; then
39946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39948 { (exit 1); exit 1; }; }
39950 cat >conftest.$ac_ext <<_ACEOF
39951 int main() { return 0; }
39952 _ACEOF
39953 rm -f conftest.$ac_objext conftest$ac_exeext
39954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39955 (eval $ac_link) 2>conftest.er1
39956 ac_status=$?
39957 grep -v '^ *+' conftest.er1 >conftest.err
39958 rm -f conftest.er1
39959 cat conftest.err >&5
39960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39961 (exit $ac_status); } &&
39962 { ac_try='test -z "$ac_c_werror_flag"
39963 || test ! -s conftest.err'
39964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39965 (eval $ac_try) 2>&5
39966 ac_status=$?
39967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39968 (exit $ac_status); }; } &&
39969 { ac_try='test -s conftest$ac_exeext'
39970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39971 (eval $ac_try) 2>&5
39972 ac_status=$?
39973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39974 (exit $ac_status); }; }; then
39975 if test "$cross_compiling" = yes; then
39976 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
39977 See \`config.log' for more details." >&5
39978 echo "$as_me: error: cannot run test program while cross compiling
39979 See \`config.log' for more details." >&2;}
39980 { (exit 1); exit 1; }; }
39981 else
39982 cat >conftest.$ac_ext <<_ACEOF
39983 __thread int a; int b; int main() { return a = b; }
39984 _ACEOF
39985 rm -f conftest$ac_exeext
39986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39987 (eval $ac_link) 2>&5
39988 ac_status=$?
39989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39990 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
39991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39992 (eval $ac_try) 2>&5
39993 ac_status=$?
39994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39995 (exit $ac_status); }; }; then
39996 gcc_cv_have_tls=yes
39997 else
39998 echo "$as_me: program exited with status $ac_status" >&5
39999 echo "$as_me: failed program was:" >&5
40000 sed 's/^/| /' conftest.$ac_ext >&5
40002 ( exit $ac_status )
40003 gcc_cv_have_tls=no
40005 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40007 else
40008 echo "$as_me: failed program was:" >&5
40009 sed 's/^/| /' conftest.$ac_ext >&5
40011 gcc_cv_have_tls=yes
40013 rm -f conftest.err conftest.$ac_objext \
40014 conftest$ac_exeext conftest.$ac_ext
40015 LDFLAGS="$chktls_save_LDFLAGS"
40016 if test $gcc_cv_have_tls = yes; then
40017 chktls_save_CFLAGS="$CFLAGS"
40018 thread_CFLAGS=failed
40019 for flag in '' '-pthread' '-lpthread'; do
40020 CFLAGS="$flag $chktls_save_CFLAGS"
40021 if test x$gcc_no_link = xyes; then
40022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40024 { (exit 1); exit 1; }; }
40026 cat >conftest.$ac_ext <<_ACEOF
40027 /* confdefs.h. */
40028 _ACEOF
40029 cat confdefs.h >>conftest.$ac_ext
40030 cat >>conftest.$ac_ext <<_ACEOF
40031 /* end confdefs.h. */
40032 #include <pthread.h>
40033 void *g(void *d) { return NULL; }
40035 main ()
40037 pthread_t t; pthread_create(&t,NULL,g,NULL);
40039 return 0;
40041 _ACEOF
40042 rm -f conftest.$ac_objext conftest$ac_exeext
40043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40044 (eval $ac_link) 2>conftest.er1
40045 ac_status=$?
40046 grep -v '^ *+' conftest.er1 >conftest.err
40047 rm -f conftest.er1
40048 cat conftest.err >&5
40049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40050 (exit $ac_status); } &&
40051 { ac_try='test -z "$ac_c_werror_flag"
40052 || test ! -s conftest.err'
40053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40054 (eval $ac_try) 2>&5
40055 ac_status=$?
40056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40057 (exit $ac_status); }; } &&
40058 { ac_try='test -s conftest$ac_exeext'
40059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40060 (eval $ac_try) 2>&5
40061 ac_status=$?
40062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40063 (exit $ac_status); }; }; then
40064 thread_CFLAGS="$flag"
40065 else
40066 echo "$as_me: failed program was:" >&5
40067 sed 's/^/| /' conftest.$ac_ext >&5
40070 rm -f conftest.err conftest.$ac_objext \
40071 conftest$ac_exeext conftest.$ac_ext
40072 if test "X$thread_CFLAGS" != Xfailed; then
40073 break
40075 done
40076 CFLAGS="$chktls_save_CFLAGS"
40077 if test "X$thread_CFLAGS" != Xfailed; then
40078 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
40079 if test "$cross_compiling" = yes; then
40080 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
40081 See \`config.log' for more details." >&5
40082 echo "$as_me: error: cannot run test program while cross compiling
40083 See \`config.log' for more details." >&2;}
40084 { (exit 1); exit 1; }; }
40085 else
40086 cat >conftest.$ac_ext <<_ACEOF
40087 /* confdefs.h. */
40088 _ACEOF
40089 cat confdefs.h >>conftest.$ac_ext
40090 cat >>conftest.$ac_ext <<_ACEOF
40091 /* end confdefs.h. */
40092 #include <pthread.h>
40093 __thread int a;
40094 static int *a_in_other_thread;
40095 static void *
40096 thread_func (void *arg)
40098 a_in_other_thread = &a;
40099 return (void *)0;
40102 main ()
40104 pthread_t thread;
40105 void *thread_retval;
40106 int *a_in_main_thread;
40107 if (pthread_create (&thread, (pthread_attr_t *)0,
40108 thread_func, (void *)0))
40109 return 0;
40110 a_in_main_thread = &a;
40111 if (pthread_join (thread, &thread_retval))
40112 return 0;
40113 return (a_in_other_thread == a_in_main_thread);
40115 return 0;
40117 _ACEOF
40118 rm -f conftest$ac_exeext
40119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40120 (eval $ac_link) 2>&5
40121 ac_status=$?
40122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40123 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40125 (eval $ac_try) 2>&5
40126 ac_status=$?
40127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40128 (exit $ac_status); }; }; then
40129 gcc_cv_have_tls=yes
40130 else
40131 echo "$as_me: program exited with status $ac_status" >&5
40132 echo "$as_me: failed program was:" >&5
40133 sed 's/^/| /' conftest.$ac_ext >&5
40135 ( exit $ac_status )
40136 gcc_cv_have_tls=no
40138 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40140 CFLAGS="$chktls_save_CFLAGS"
40143 else
40144 echo "$as_me: program exited with status $ac_status" >&5
40145 echo "$as_me: failed program was:" >&5
40146 sed 's/^/| /' conftest.$ac_ext >&5
40148 ( exit $ac_status )
40149 gcc_cv_have_tls=no
40151 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40154 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
40155 echo "${ECHO_T}$gcc_cv_have_tls" >&6
40156 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
40158 cat >>confdefs.h <<\_ACEOF
40159 #define HAVE_TLS 1
40160 _ACEOF
40164 # For _Unwind_GetIPInfo.
40168 ac_ext=cc
40169 ac_cpp='$CXXCPP $CPPFLAGS'
40170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40174 ac_save_CXXFLAGS="$CXXFLAGS"
40175 CXXFLAGS="$CXXFLAGS -fno-exceptions"
40176 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
40177 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
40178 if test "${gcc_cv_getipinfo+set}" = set; then
40179 echo $ECHO_N "(cached) $ECHO_C" >&6
40180 else
40182 if test x$gcc_no_link = xyes; then
40183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40185 { (exit 1); exit 1; }; }
40187 cat >conftest.$ac_ext <<_ACEOF
40188 /* confdefs.h. */
40189 _ACEOF
40190 cat confdefs.h >>conftest.$ac_ext
40191 cat >>conftest.$ac_ext <<_ACEOF
40192 /* end confdefs.h. */
40193 extern "C" { extern void _Unwind_GetIPInfo(); }
40195 main ()
40197 _Unwind_GetIPInfo();
40199 return 0;
40201 _ACEOF
40202 rm -f conftest.$ac_objext conftest$ac_exeext
40203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40204 (eval $ac_link) 2>conftest.er1
40205 ac_status=$?
40206 grep -v '^ *+' conftest.er1 >conftest.err
40207 rm -f conftest.er1
40208 cat conftest.err >&5
40209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40210 (exit $ac_status); } &&
40211 { ac_try='test -z "$ac_cxx_werror_flag"
40212 || test ! -s conftest.err'
40213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40214 (eval $ac_try) 2>&5
40215 ac_status=$?
40216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40217 (exit $ac_status); }; } &&
40218 { ac_try='test -s conftest$ac_exeext'
40219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40220 (eval $ac_try) 2>&5
40221 ac_status=$?
40222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40223 (exit $ac_status); }; }; then
40224 gcc_cv_getipinfo=yes
40225 else
40226 echo "$as_me: failed program was:" >&5
40227 sed 's/^/| /' conftest.$ac_ext >&5
40229 gcc_cv_getipinfo=no
40231 rm -f conftest.err conftest.$ac_objext \
40232 conftest$ac_exeext conftest.$ac_ext
40236 if test $gcc_cv_getipinfo = yes; then
40238 cat >>confdefs.h <<\_ACEOF
40239 #define HAVE_GETIPINFO 1
40240 _ACEOF
40243 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
40244 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
40245 CXXFLAGS="$ac_save_CXXFLAGS"
40246 ac_ext=c
40247 ac_cpp='$CPP $CPPFLAGS'
40248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40255 if test "${ac_cv_header_locale_h+set}" = set; then
40256 echo "$as_me:$LINENO: checking for locale.h" >&5
40257 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
40258 if test "${ac_cv_header_locale_h+set}" = set; then
40259 echo $ECHO_N "(cached) $ECHO_C" >&6
40261 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
40262 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
40263 else
40264 # Is the header compilable?
40265 echo "$as_me:$LINENO: checking locale.h usability" >&5
40266 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
40267 cat >conftest.$ac_ext <<_ACEOF
40268 /* confdefs.h. */
40269 _ACEOF
40270 cat confdefs.h >>conftest.$ac_ext
40271 cat >>conftest.$ac_ext <<_ACEOF
40272 /* end confdefs.h. */
40273 $ac_includes_default
40274 #include <locale.h>
40275 _ACEOF
40276 rm -f conftest.$ac_objext
40277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40278 (eval $ac_compile) 2>conftest.er1
40279 ac_status=$?
40280 grep -v '^ *+' conftest.er1 >conftest.err
40281 rm -f conftest.er1
40282 cat conftest.err >&5
40283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40284 (exit $ac_status); } &&
40285 { ac_try='test -z "$ac_c_werror_flag"
40286 || test ! -s conftest.err'
40287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40288 (eval $ac_try) 2>&5
40289 ac_status=$?
40290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40291 (exit $ac_status); }; } &&
40292 { ac_try='test -s conftest.$ac_objext'
40293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40294 (eval $ac_try) 2>&5
40295 ac_status=$?
40296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40297 (exit $ac_status); }; }; then
40298 ac_header_compiler=yes
40299 else
40300 echo "$as_me: failed program was:" >&5
40301 sed 's/^/| /' conftest.$ac_ext >&5
40303 ac_header_compiler=no
40305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40306 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40307 echo "${ECHO_T}$ac_header_compiler" >&6
40309 # Is the header present?
40310 echo "$as_me:$LINENO: checking locale.h presence" >&5
40311 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
40312 cat >conftest.$ac_ext <<_ACEOF
40313 /* confdefs.h. */
40314 _ACEOF
40315 cat confdefs.h >>conftest.$ac_ext
40316 cat >>conftest.$ac_ext <<_ACEOF
40317 /* end confdefs.h. */
40318 #include <locale.h>
40319 _ACEOF
40320 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40321 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40322 ac_status=$?
40323 grep -v '^ *+' conftest.er1 >conftest.err
40324 rm -f conftest.er1
40325 cat conftest.err >&5
40326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40327 (exit $ac_status); } >/dev/null; then
40328 if test -s conftest.err; then
40329 ac_cpp_err=$ac_c_preproc_warn_flag
40330 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
40331 else
40332 ac_cpp_err=
40334 else
40335 ac_cpp_err=yes
40337 if test -z "$ac_cpp_err"; then
40338 ac_header_preproc=yes
40339 else
40340 echo "$as_me: failed program was:" >&5
40341 sed 's/^/| /' conftest.$ac_ext >&5
40343 ac_header_preproc=no
40345 rm -f conftest.err conftest.$ac_ext
40346 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40347 echo "${ECHO_T}$ac_header_preproc" >&6
40349 # So? What about this header?
40350 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40351 yes:no: )
40352 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
40353 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
40354 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
40355 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
40356 ac_header_preproc=yes
40358 no:yes:* )
40359 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
40360 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
40361 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
40362 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
40363 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
40364 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
40365 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
40366 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
40367 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
40368 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
40369 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
40370 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
40372 cat <<\_ASBOX
40373 ## ----------------------------------------- ##
40374 ## Report this to the package-unused lists. ##
40375 ## ----------------------------------------- ##
40376 _ASBOX
40378 sed "s/^/$as_me: WARNING: /" >&2
40380 esac
40381 echo "$as_me:$LINENO: checking for locale.h" >&5
40382 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
40383 if test "${ac_cv_header_locale_h+set}" = set; then
40384 echo $ECHO_N "(cached) $ECHO_C" >&6
40385 else
40386 ac_cv_header_locale_h=$ac_header_preproc
40388 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
40389 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
40392 if test $ac_cv_header_locale_h = yes; then
40394 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
40395 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
40396 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
40397 echo $ECHO_N "(cached) $ECHO_C" >&6
40398 else
40399 if test x$gcc_no_link = xyes; then
40400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40402 { (exit 1); exit 1; }; }
40404 cat >conftest.$ac_ext <<_ACEOF
40405 /* confdefs.h. */
40406 _ACEOF
40407 cat confdefs.h >>conftest.$ac_ext
40408 cat >>conftest.$ac_ext <<_ACEOF
40409 /* end confdefs.h. */
40410 #include <locale.h>
40412 main ()
40414 return LC_MESSAGES
40416 return 0;
40418 _ACEOF
40419 rm -f conftest.$ac_objext conftest$ac_exeext
40420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40421 (eval $ac_link) 2>conftest.er1
40422 ac_status=$?
40423 grep -v '^ *+' conftest.er1 >conftest.err
40424 rm -f conftest.er1
40425 cat conftest.err >&5
40426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40427 (exit $ac_status); } &&
40428 { ac_try='test -z "$ac_c_werror_flag"
40429 || test ! -s conftest.err'
40430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40431 (eval $ac_try) 2>&5
40432 ac_status=$?
40433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40434 (exit $ac_status); }; } &&
40435 { ac_try='test -s conftest$ac_exeext'
40436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40437 (eval $ac_try) 2>&5
40438 ac_status=$?
40439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40440 (exit $ac_status); }; }; then
40441 ac_cv_val_LC_MESSAGES=yes
40442 else
40443 echo "$as_me: failed program was:" >&5
40444 sed 's/^/| /' conftest.$ac_ext >&5
40446 ac_cv_val_LC_MESSAGES=no
40448 rm -f conftest.err conftest.$ac_objext \
40449 conftest$ac_exeext conftest.$ac_ext
40451 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
40452 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
40453 if test $ac_cv_val_LC_MESSAGES = yes; then
40455 cat >>confdefs.h <<\_ACEOF
40456 #define HAVE_LC_MESSAGES 1
40457 _ACEOF
40466 cat >conftest.$ac_ext <<_ACEOF
40467 /* confdefs.h. */
40468 _ACEOF
40469 cat confdefs.h >>conftest.$ac_ext
40470 cat >>conftest.$ac_ext <<_ACEOF
40471 /* end confdefs.h. */
40472 #include <setjmp.h>
40474 main ()
40476 sigjmp_buf env;
40477 while (! sigsetjmp (env, 1))
40478 siglongjmp (env, 1);
40481 return 0;
40483 _ACEOF
40484 rm -f conftest.$ac_objext
40485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40486 (eval $ac_compile) 2>conftest.er1
40487 ac_status=$?
40488 grep -v '^ *+' conftest.er1 >conftest.err
40489 rm -f conftest.er1
40490 cat conftest.err >&5
40491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40492 (exit $ac_status); } &&
40493 { ac_try='test -z "$ac_c_werror_flag"
40494 || test ! -s conftest.err'
40495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40496 (eval $ac_try) 2>&5
40497 ac_status=$?
40498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40499 (exit $ac_status); }; } &&
40500 { ac_try='test -s conftest.$ac_objext'
40501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40502 (eval $ac_try) 2>&5
40503 ac_status=$?
40504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40505 (exit $ac_status); }; }; then
40507 cat >>confdefs.h <<\_ACEOF
40508 #define HAVE_SIGSETJMP 1
40509 _ACEOF
40511 else
40512 echo "$as_me: failed program was:" >&5
40513 sed 's/^/| /' conftest.$ac_ext >&5
40516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40518 if test x$gcc_no_link = xyes; then
40519 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
40520 ac_cv_func_mmap_fixed_mapped=no
40523 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
40526 for ac_header in stdlib.h unistd.h
40528 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40529 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40530 echo "$as_me:$LINENO: checking for $ac_header" >&5
40531 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40532 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40533 echo $ECHO_N "(cached) $ECHO_C" >&6
40535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40536 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40537 else
40538 # Is the header compilable?
40539 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40540 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40541 cat >conftest.$ac_ext <<_ACEOF
40542 /* confdefs.h. */
40543 _ACEOF
40544 cat confdefs.h >>conftest.$ac_ext
40545 cat >>conftest.$ac_ext <<_ACEOF
40546 /* end confdefs.h. */
40547 $ac_includes_default
40548 #include <$ac_header>
40549 _ACEOF
40550 rm -f conftest.$ac_objext
40551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40552 (eval $ac_compile) 2>conftest.er1
40553 ac_status=$?
40554 grep -v '^ *+' conftest.er1 >conftest.err
40555 rm -f conftest.er1
40556 cat conftest.err >&5
40557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40558 (exit $ac_status); } &&
40559 { ac_try='test -z "$ac_c_werror_flag"
40560 || test ! -s conftest.err'
40561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40562 (eval $ac_try) 2>&5
40563 ac_status=$?
40564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40565 (exit $ac_status); }; } &&
40566 { ac_try='test -s conftest.$ac_objext'
40567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40568 (eval $ac_try) 2>&5
40569 ac_status=$?
40570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40571 (exit $ac_status); }; }; then
40572 ac_header_compiler=yes
40573 else
40574 echo "$as_me: failed program was:" >&5
40575 sed 's/^/| /' conftest.$ac_ext >&5
40577 ac_header_compiler=no
40579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40580 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40581 echo "${ECHO_T}$ac_header_compiler" >&6
40583 # Is the header present?
40584 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40585 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40586 cat >conftest.$ac_ext <<_ACEOF
40587 /* confdefs.h. */
40588 _ACEOF
40589 cat confdefs.h >>conftest.$ac_ext
40590 cat >>conftest.$ac_ext <<_ACEOF
40591 /* end confdefs.h. */
40592 #include <$ac_header>
40593 _ACEOF
40594 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40595 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40596 ac_status=$?
40597 grep -v '^ *+' conftest.er1 >conftest.err
40598 rm -f conftest.er1
40599 cat conftest.err >&5
40600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40601 (exit $ac_status); } >/dev/null; then
40602 if test -s conftest.err; then
40603 ac_cpp_err=$ac_c_preproc_warn_flag
40604 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
40605 else
40606 ac_cpp_err=
40608 else
40609 ac_cpp_err=yes
40611 if test -z "$ac_cpp_err"; then
40612 ac_header_preproc=yes
40613 else
40614 echo "$as_me: failed program was:" >&5
40615 sed 's/^/| /' conftest.$ac_ext >&5
40617 ac_header_preproc=no
40619 rm -f conftest.err conftest.$ac_ext
40620 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40621 echo "${ECHO_T}$ac_header_preproc" >&6
40623 # So? What about this header?
40624 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
40625 yes:no: )
40626 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40627 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40628 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40629 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40630 ac_header_preproc=yes
40632 no:yes:* )
40633 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40634 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40635 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40636 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40637 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40638 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40639 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40640 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40641 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40642 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40643 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40644 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40646 cat <<\_ASBOX
40647 ## ----------------------------------------- ##
40648 ## Report this to the package-unused lists. ##
40649 ## ----------------------------------------- ##
40650 _ASBOX
40652 sed "s/^/$as_me: WARNING: /" >&2
40654 esac
40655 echo "$as_me:$LINENO: checking for $ac_header" >&5
40656 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40657 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40658 echo $ECHO_N "(cached) $ECHO_C" >&6
40659 else
40660 eval "$as_ac_Header=\$ac_header_preproc"
40662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40663 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40666 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40667 cat >>confdefs.h <<_ACEOF
40668 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40669 _ACEOF
40673 done
40676 for ac_func in getpagesize
40678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40679 echo "$as_me:$LINENO: checking for $ac_func" >&5
40680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40681 if eval "test \"\${$as_ac_var+set}\" = set"; then
40682 echo $ECHO_N "(cached) $ECHO_C" >&6
40683 else
40684 if test x$gcc_no_link = xyes; then
40685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40687 { (exit 1); exit 1; }; }
40689 cat >conftest.$ac_ext <<_ACEOF
40690 /* confdefs.h. */
40691 _ACEOF
40692 cat confdefs.h >>conftest.$ac_ext
40693 cat >>conftest.$ac_ext <<_ACEOF
40694 /* end confdefs.h. */
40695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40697 #define $ac_func innocuous_$ac_func
40699 /* System header to define __stub macros and hopefully few prototypes,
40700 which can conflict with char $ac_func (); below.
40701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40702 <limits.h> exists even on freestanding compilers. */
40704 #ifdef __STDC__
40705 # include <limits.h>
40706 #else
40707 # include <assert.h>
40708 #endif
40710 #undef $ac_func
40712 /* Override any gcc2 internal prototype to avoid an error. */
40713 #ifdef __cplusplus
40714 extern "C"
40716 #endif
40717 /* We use char because int might match the return type of a gcc2
40718 builtin and then its argument prototype would still apply. */
40719 char $ac_func ();
40720 /* The GNU C library defines this for functions which it implements
40721 to always fail with ENOSYS. Some functions are actually named
40722 something starting with __ and the normal name is an alias. */
40723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40724 choke me
40725 #else
40726 char (*f) () = $ac_func;
40727 #endif
40728 #ifdef __cplusplus
40730 #endif
40733 main ()
40735 return f != $ac_func;
40737 return 0;
40739 _ACEOF
40740 rm -f conftest.$ac_objext conftest$ac_exeext
40741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40742 (eval $ac_link) 2>conftest.er1
40743 ac_status=$?
40744 grep -v '^ *+' conftest.er1 >conftest.err
40745 rm -f conftest.er1
40746 cat conftest.err >&5
40747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40748 (exit $ac_status); } &&
40749 { ac_try='test -z "$ac_c_werror_flag"
40750 || test ! -s conftest.err'
40751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40752 (eval $ac_try) 2>&5
40753 ac_status=$?
40754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40755 (exit $ac_status); }; } &&
40756 { ac_try='test -s conftest$ac_exeext'
40757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40758 (eval $ac_try) 2>&5
40759 ac_status=$?
40760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40761 (exit $ac_status); }; }; then
40762 eval "$as_ac_var=yes"
40763 else
40764 echo "$as_me: failed program was:" >&5
40765 sed 's/^/| /' conftest.$ac_ext >&5
40767 eval "$as_ac_var=no"
40769 rm -f conftest.err conftest.$ac_objext \
40770 conftest$ac_exeext conftest.$ac_ext
40772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40774 if test `eval echo '${'$as_ac_var'}'` = yes; then
40775 cat >>confdefs.h <<_ACEOF
40776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40777 _ACEOF
40780 done
40782 echo "$as_me:$LINENO: checking for working mmap" >&5
40783 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
40784 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
40785 echo $ECHO_N "(cached) $ECHO_C" >&6
40786 else
40787 if test "$cross_compiling" = yes; then
40788 ac_cv_func_mmap_fixed_mapped=no
40789 else
40790 cat >conftest.$ac_ext <<_ACEOF
40791 /* confdefs.h. */
40792 _ACEOF
40793 cat confdefs.h >>conftest.$ac_ext
40794 cat >>conftest.$ac_ext <<_ACEOF
40795 /* end confdefs.h. */
40796 $ac_includes_default
40797 /* malloc might have been renamed as rpl_malloc. */
40798 #undef malloc
40800 /* Thanks to Mike Haertel and Jim Avera for this test.
40801 Here is a matrix of mmap possibilities:
40802 mmap private not fixed
40803 mmap private fixed at somewhere currently unmapped
40804 mmap private fixed at somewhere already mapped
40805 mmap shared not fixed
40806 mmap shared fixed at somewhere currently unmapped
40807 mmap shared fixed at somewhere already mapped
40808 For private mappings, we should verify that changes cannot be read()
40809 back from the file, nor mmap's back from the file at a different
40810 address. (There have been systems where private was not correctly
40811 implemented like the infamous i386 svr4.0, and systems where the
40812 VM page cache was not coherent with the file system buffer cache
40813 like early versions of FreeBSD and possibly contemporary NetBSD.)
40814 For shared mappings, we should conversely verify that changes get
40815 propagated back to all the places they're supposed to be.
40817 Grep wants private fixed already mapped.
40818 The main things grep needs to know about mmap are:
40819 * does it exist and is it safe to write into the mmap'd area
40820 * how to use it (BSD variants) */
40822 #include <fcntl.h>
40823 #include <sys/mman.h>
40825 #if !STDC_HEADERS && !HAVE_STDLIB_H
40826 char *malloc ();
40827 #endif
40829 /* This mess was copied from the GNU getpagesize.h. */
40830 #if !HAVE_GETPAGESIZE
40831 /* Assume that all systems that can run configure have sys/param.h. */
40832 # if !HAVE_SYS_PARAM_H
40833 # define HAVE_SYS_PARAM_H 1
40834 # endif
40836 # ifdef _SC_PAGESIZE
40837 # define getpagesize() sysconf(_SC_PAGESIZE)
40838 # else /* no _SC_PAGESIZE */
40839 # if HAVE_SYS_PARAM_H
40840 # include <sys/param.h>
40841 # ifdef EXEC_PAGESIZE
40842 # define getpagesize() EXEC_PAGESIZE
40843 # else /* no EXEC_PAGESIZE */
40844 # ifdef NBPG
40845 # define getpagesize() NBPG * CLSIZE
40846 # ifndef CLSIZE
40847 # define CLSIZE 1
40848 # endif /* no CLSIZE */
40849 # else /* no NBPG */
40850 # ifdef NBPC
40851 # define getpagesize() NBPC
40852 # else /* no NBPC */
40853 # ifdef PAGESIZE
40854 # define getpagesize() PAGESIZE
40855 # endif /* PAGESIZE */
40856 # endif /* no NBPC */
40857 # endif /* no NBPG */
40858 # endif /* no EXEC_PAGESIZE */
40859 # else /* no HAVE_SYS_PARAM_H */
40860 # define getpagesize() 8192 /* punt totally */
40861 # endif /* no HAVE_SYS_PARAM_H */
40862 # endif /* no _SC_PAGESIZE */
40864 #endif /* no HAVE_GETPAGESIZE */
40867 main ()
40869 char *data, *data2, *data3;
40870 int i, pagesize;
40871 int fd;
40873 pagesize = getpagesize ();
40875 /* First, make a file with some known garbage in it. */
40876 data = (char *) malloc (pagesize);
40877 if (!data)
40878 exit (1);
40879 for (i = 0; i < pagesize; ++i)
40880 *(data + i) = rand ();
40881 umask (0);
40882 fd = creat ("conftest.mmap", 0600);
40883 if (fd < 0)
40884 exit (1);
40885 if (write (fd, data, pagesize) != pagesize)
40886 exit (1);
40887 close (fd);
40889 /* Next, try to mmap the file at a fixed address which already has
40890 something else allocated at it. If we can, also make sure that
40891 we see the same garbage. */
40892 fd = open ("conftest.mmap", O_RDWR);
40893 if (fd < 0)
40894 exit (1);
40895 data2 = (char *) malloc (2 * pagesize);
40896 if (!data2)
40897 exit (1);
40898 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
40899 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
40900 MAP_PRIVATE | MAP_FIXED, fd, 0L))
40901 exit (1);
40902 for (i = 0; i < pagesize; ++i)
40903 if (*(data + i) != *(data2 + i))
40904 exit (1);
40906 /* Finally, make sure that changes to the mapped area do not
40907 percolate back to the file as seen by read(). (This is a bug on
40908 some variants of i386 svr4.0.) */
40909 for (i = 0; i < pagesize; ++i)
40910 *(data2 + i) = *(data2 + i) + 1;
40911 data3 = (char *) malloc (pagesize);
40912 if (!data3)
40913 exit (1);
40914 if (read (fd, data3, pagesize) != pagesize)
40915 exit (1);
40916 for (i = 0; i < pagesize; ++i)
40917 if (*(data + i) != *(data3 + i))
40918 exit (1);
40919 close (fd);
40920 exit (0);
40922 _ACEOF
40923 rm -f conftest$ac_exeext
40924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40925 (eval $ac_link) 2>&5
40926 ac_status=$?
40927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40928 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
40929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40930 (eval $ac_try) 2>&5
40931 ac_status=$?
40932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40933 (exit $ac_status); }; }; then
40934 ac_cv_func_mmap_fixed_mapped=yes
40935 else
40936 echo "$as_me: program exited with status $ac_status" >&5
40937 echo "$as_me: failed program was:" >&5
40938 sed 's/^/| /' conftest.$ac_ext >&5
40940 ( exit $ac_status )
40941 ac_cv_func_mmap_fixed_mapped=no
40943 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
40946 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
40947 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
40948 if test $ac_cv_func_mmap_fixed_mapped = yes; then
40950 cat >>confdefs.h <<\_ACEOF
40951 #define HAVE_MMAP 1
40952 _ACEOF
40955 rm -f conftest.mmap
40959 # For iconv support.
40961 if test "X$prefix" = "XNONE"; then
40962 acl_final_prefix="$ac_default_prefix"
40963 else
40964 acl_final_prefix="$prefix"
40966 if test "X$exec_prefix" = "XNONE"; then
40967 acl_final_exec_prefix='${prefix}'
40968 else
40969 acl_final_exec_prefix="$exec_prefix"
40971 acl_save_prefix="$prefix"
40972 prefix="$acl_final_prefix"
40973 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
40974 prefix="$acl_save_prefix"
40977 # Check whether --with-gnu-ld or --without-gnu-ld was given.
40978 if test "${with_gnu_ld+set}" = set; then
40979 withval="$with_gnu_ld"
40980 test "$withval" = no || with_gnu_ld=yes
40981 else
40982 with_gnu_ld=no
40984 # Prepare PATH_SEPARATOR.
40985 # The user is always right.
40986 if test "${PATH_SEPARATOR+set}" != set; then
40987 echo "#! /bin/sh" >conf$$.sh
40988 echo "exit 0" >>conf$$.sh
40989 chmod +x conf$$.sh
40990 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
40991 PATH_SEPARATOR=';'
40992 else
40993 PATH_SEPARATOR=:
40995 rm -f conf$$.sh
40997 ac_prog=ld
40998 if test "$GCC" = yes; then
40999 # Check if gcc -print-prog-name=ld gives a path.
41000 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
41001 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
41002 case $host in
41003 *-*-mingw*)
41004 # gcc leaves a trailing carriage return which upsets mingw
41005 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
41007 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
41008 esac
41009 case $ac_prog in
41010 # Accept absolute paths.
41011 [\\/]* | [A-Za-z]:[\\/]*)
41012 re_direlt='/[^/][^/]*/\.\./'
41013 # Canonicalize the path of ld
41014 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
41015 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
41016 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
41017 done
41018 test -z "$LD" && LD="$ac_prog"
41021 # If it fails, then pretend we aren't using GCC.
41022 ac_prog=ld
41025 # If it is relative, then search for the first ld in PATH.
41026 with_gnu_ld=unknown
41028 esac
41029 elif test "$with_gnu_ld" = yes; then
41030 echo "$as_me:$LINENO: checking for GNU ld" >&5
41031 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
41032 else
41033 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
41034 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
41036 if test "${acl_cv_path_LD+set}" = set; then
41037 echo $ECHO_N "(cached) $ECHO_C" >&6
41038 else
41039 if test -z "$LD"; then
41040 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
41041 for ac_dir in $PATH; do
41042 test -z "$ac_dir" && ac_dir=.
41043 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
41044 acl_cv_path_LD="$ac_dir/$ac_prog"
41045 # Check to see if the program is GNU ld. I'd rather use --version,
41046 # but apparently some GNU ld's only accept -v.
41047 # Break only if it was the GNU/non-GNU ld that we prefer.
41048 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
41049 test "$with_gnu_ld" != no && break
41050 else
41051 test "$with_gnu_ld" != yes && break
41054 done
41055 IFS="$ac_save_ifs"
41056 else
41057 acl_cv_path_LD="$LD" # Let the user override the test with a path.
41061 LD="$acl_cv_path_LD"
41062 if test -n "$LD"; then
41063 echo "$as_me:$LINENO: result: $LD" >&5
41064 echo "${ECHO_T}$LD" >&6
41065 else
41066 echo "$as_me:$LINENO: result: no" >&5
41067 echo "${ECHO_T}no" >&6
41069 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
41070 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
41071 { (exit 1); exit 1; }; }
41072 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
41073 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
41074 if test "${acl_cv_prog_gnu_ld+set}" = set; then
41075 echo $ECHO_N "(cached) $ECHO_C" >&6
41076 else
41077 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
41078 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
41079 acl_cv_prog_gnu_ld=yes
41080 else
41081 acl_cv_prog_gnu_ld=no
41084 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
41085 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
41086 with_gnu_ld=$acl_cv_prog_gnu_ld
41090 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
41091 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
41092 if test "${acl_cv_rpath+set}" = set; then
41093 echo $ECHO_N "(cached) $ECHO_C" >&6
41094 else
41096 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
41097 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
41098 . ./conftest.sh
41099 rm -f ./conftest.sh
41100 acl_cv_rpath=done
41103 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
41104 echo "${ECHO_T}$acl_cv_rpath" >&6
41105 wl="$acl_cv_wl"
41106 libext="$acl_cv_libext"
41107 shlibext="$acl_cv_shlibext"
41108 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
41109 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
41110 hardcode_direct="$acl_cv_hardcode_direct"
41111 hardcode_minus_L="$acl_cv_hardcode_minus_L"
41112 # Check whether --enable-rpath or --disable-rpath was given.
41113 if test "${enable_rpath+set}" = set; then
41114 enableval="$enable_rpath"
41116 else
41117 enable_rpath=yes
41126 use_additional=yes
41128 acl_save_prefix="$prefix"
41129 prefix="$acl_final_prefix"
41130 acl_save_exec_prefix="$exec_prefix"
41131 exec_prefix="$acl_final_exec_prefix"
41133 eval additional_includedir=\"$includedir\"
41134 eval additional_libdir=\"$libdir\"
41136 exec_prefix="$acl_save_exec_prefix"
41137 prefix="$acl_save_prefix"
41140 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
41141 if test "${with_libiconv_prefix+set}" = set; then
41142 withval="$with_libiconv_prefix"
41144 if test "X$withval" = "Xno"; then
41145 use_additional=no
41146 else
41147 if test "X$withval" = "X"; then
41149 acl_save_prefix="$prefix"
41150 prefix="$acl_final_prefix"
41151 acl_save_exec_prefix="$exec_prefix"
41152 exec_prefix="$acl_final_exec_prefix"
41154 eval additional_includedir=\"$includedir\"
41155 eval additional_libdir=\"$libdir\"
41157 exec_prefix="$acl_save_exec_prefix"
41158 prefix="$acl_save_prefix"
41160 else
41161 additional_includedir="$withval/include"
41162 additional_libdir="$withval/lib"
41167 LIBICONV=
41168 LTLIBICONV=
41169 INCICONV=
41170 rpathdirs=
41171 ltrpathdirs=
41172 names_already_handled=
41173 names_next_round='iconv '
41174 while test -n "$names_next_round"; do
41175 names_this_round="$names_next_round"
41176 names_next_round=
41177 for name in $names_this_round; do
41178 already_handled=
41179 for n in $names_already_handled; do
41180 if test "$n" = "$name"; then
41181 already_handled=yes
41182 break
41184 done
41185 if test -z "$already_handled"; then
41186 names_already_handled="$names_already_handled $name"
41187 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
41188 eval value=\"\$HAVE_LIB$uppername\"
41189 if test -n "$value"; then
41190 if test "$value" = yes; then
41191 eval value=\"\$LIB$uppername\"
41192 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
41193 eval value=\"\$LTLIB$uppername\"
41194 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
41195 else
41198 else
41199 found_dir=
41200 found_la=
41201 found_so=
41202 found_a=
41203 if test $use_additional = yes; then
41204 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
41205 found_dir="$additional_libdir"
41206 found_so="$additional_libdir/lib$name.$shlibext"
41207 if test -f "$additional_libdir/lib$name.la"; then
41208 found_la="$additional_libdir/lib$name.la"
41210 else
41211 if test -f "$additional_libdir/lib$name.$libext"; then
41212 found_dir="$additional_libdir"
41213 found_a="$additional_libdir/lib$name.$libext"
41214 if test -f "$additional_libdir/lib$name.la"; then
41215 found_la="$additional_libdir/lib$name.la"
41220 if test "X$found_dir" = "X"; then
41221 for x in $LDFLAGS $LTLIBICONV; do
41223 acl_save_prefix="$prefix"
41224 prefix="$acl_final_prefix"
41225 acl_save_exec_prefix="$exec_prefix"
41226 exec_prefix="$acl_final_exec_prefix"
41227 eval x=\"$x\"
41228 exec_prefix="$acl_save_exec_prefix"
41229 prefix="$acl_save_prefix"
41231 case "$x" in
41232 -L*)
41233 dir=`echo "X$x" | sed -e 's/^X-L//'`
41234 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
41235 found_dir="$dir"
41236 found_so="$dir/lib$name.$shlibext"
41237 if test -f "$dir/lib$name.la"; then
41238 found_la="$dir/lib$name.la"
41240 else
41241 if test -f "$dir/lib$name.$libext"; then
41242 found_dir="$dir"
41243 found_a="$dir/lib$name.$libext"
41244 if test -f "$dir/lib$name.la"; then
41245 found_la="$dir/lib$name.la"
41250 esac
41251 if test "X$found_dir" != "X"; then
41252 break
41254 done
41256 if test "X$found_dir" != "X"; then
41257 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
41258 if test "X$found_so" != "X"; then
41259 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
41260 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41261 else
41262 haveit=
41263 for x in $ltrpathdirs; do
41264 if test "X$x" = "X$found_dir"; then
41265 haveit=yes
41266 break
41268 done
41269 if test -z "$haveit"; then
41270 ltrpathdirs="$ltrpathdirs $found_dir"
41272 if test "$hardcode_direct" = yes; then
41273 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41274 else
41275 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
41276 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41277 haveit=
41278 for x in $rpathdirs; do
41279 if test "X$x" = "X$found_dir"; then
41280 haveit=yes
41281 break
41283 done
41284 if test -z "$haveit"; then
41285 rpathdirs="$rpathdirs $found_dir"
41287 else
41288 haveit=
41289 for x in $LDFLAGS $LIBICONV; do
41291 acl_save_prefix="$prefix"
41292 prefix="$acl_final_prefix"
41293 acl_save_exec_prefix="$exec_prefix"
41294 exec_prefix="$acl_final_exec_prefix"
41295 eval x=\"$x\"
41296 exec_prefix="$acl_save_exec_prefix"
41297 prefix="$acl_save_prefix"
41299 if test "X$x" = "X-L$found_dir"; then
41300 haveit=yes
41301 break
41303 done
41304 if test -z "$haveit"; then
41305 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
41307 if test "$hardcode_minus_L" != no; then
41308 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41309 else
41310 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
41315 else
41316 if test "X$found_a" != "X"; then
41317 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
41318 else
41319 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
41322 additional_includedir=
41323 case "$found_dir" in
41324 */lib | */lib/)
41325 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
41326 additional_includedir="$basedir/include"
41328 esac
41329 if test "X$additional_includedir" != "X"; then
41330 if test "X$additional_includedir" != "X/usr/include"; then
41331 haveit=
41332 if test "X$additional_includedir" = "X/usr/local/include"; then
41333 if test -n "$GCC"; then
41334 case $host_os in
41335 linux*) haveit=yes;;
41336 esac
41339 if test -z "$haveit"; then
41340 for x in $CPPFLAGS $INCICONV; do
41342 acl_save_prefix="$prefix"
41343 prefix="$acl_final_prefix"
41344 acl_save_exec_prefix="$exec_prefix"
41345 exec_prefix="$acl_final_exec_prefix"
41346 eval x=\"$x\"
41347 exec_prefix="$acl_save_exec_prefix"
41348 prefix="$acl_save_prefix"
41350 if test "X$x" = "X-I$additional_includedir"; then
41351 haveit=yes
41352 break
41354 done
41355 if test -z "$haveit"; then
41356 if test -d "$additional_includedir"; then
41357 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
41363 if test -n "$found_la"; then
41364 save_libdir="$libdir"
41365 case "$found_la" in
41366 */* | *\\*) . "$found_la" ;;
41367 *) . "./$found_la" ;;
41368 esac
41369 libdir="$save_libdir"
41370 for dep in $dependency_libs; do
41371 case "$dep" in
41372 -L*)
41373 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
41374 if test "X$additional_libdir" != "X/usr/lib"; then
41375 haveit=
41376 if test "X$additional_libdir" = "X/usr/local/lib"; then
41377 if test -n "$GCC"; then
41378 case $host_os in
41379 linux*) haveit=yes;;
41380 esac
41383 if test -z "$haveit"; then
41384 haveit=
41385 for x in $LDFLAGS $LIBICONV; do
41387 acl_save_prefix="$prefix"
41388 prefix="$acl_final_prefix"
41389 acl_save_exec_prefix="$exec_prefix"
41390 exec_prefix="$acl_final_exec_prefix"
41391 eval x=\"$x\"
41392 exec_prefix="$acl_save_exec_prefix"
41393 prefix="$acl_save_prefix"
41395 if test "X$x" = "X-L$additional_libdir"; then
41396 haveit=yes
41397 break
41399 done
41400 if test -z "$haveit"; then
41401 if test -d "$additional_libdir"; then
41402 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
41405 haveit=
41406 for x in $LDFLAGS $LTLIBICONV; do
41408 acl_save_prefix="$prefix"
41409 prefix="$acl_final_prefix"
41410 acl_save_exec_prefix="$exec_prefix"
41411 exec_prefix="$acl_final_exec_prefix"
41412 eval x=\"$x\"
41413 exec_prefix="$acl_save_exec_prefix"
41414 prefix="$acl_save_prefix"
41416 if test "X$x" = "X-L$additional_libdir"; then
41417 haveit=yes
41418 break
41420 done
41421 if test -z "$haveit"; then
41422 if test -d "$additional_libdir"; then
41423 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
41429 -R*)
41430 dir=`echo "X$dep" | sed -e 's/^X-R//'`
41431 if test "$enable_rpath" != no; then
41432 haveit=
41433 for x in $rpathdirs; do
41434 if test "X$x" = "X$dir"; then
41435 haveit=yes
41436 break
41438 done
41439 if test -z "$haveit"; then
41440 rpathdirs="$rpathdirs $dir"
41442 haveit=
41443 for x in $ltrpathdirs; do
41444 if test "X$x" = "X$dir"; then
41445 haveit=yes
41446 break
41448 done
41449 if test -z "$haveit"; then
41450 ltrpathdirs="$ltrpathdirs $dir"
41454 -l*)
41455 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
41457 *.la)
41458 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
41461 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
41462 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
41464 esac
41465 done
41467 else
41468 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
41469 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
41473 done
41474 done
41475 if test "X$rpathdirs" != "X"; then
41476 if test -n "$hardcode_libdir_separator"; then
41477 alldirs=
41478 for found_dir in $rpathdirs; do
41479 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
41480 done
41481 acl_save_libdir="$libdir"
41482 libdir="$alldirs"
41483 eval flag=\"$hardcode_libdir_flag_spec\"
41484 libdir="$acl_save_libdir"
41485 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
41486 else
41487 for found_dir in $rpathdirs; do
41488 acl_save_libdir="$libdir"
41489 libdir="$found_dir"
41490 eval flag=\"$hardcode_libdir_flag_spec\"
41491 libdir="$acl_save_libdir"
41492 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
41493 done
41496 if test "X$ltrpathdirs" != "X"; then
41497 for found_dir in $ltrpathdirs; do
41498 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
41499 done
41508 am_save_CPPFLAGS="$CPPFLAGS"
41510 for element in $INCICONV; do
41511 haveit=
41512 for x in $CPPFLAGS; do
41514 acl_save_prefix="$prefix"
41515 prefix="$acl_final_prefix"
41516 acl_save_exec_prefix="$exec_prefix"
41517 exec_prefix="$acl_final_exec_prefix"
41518 eval x=\"$x\"
41519 exec_prefix="$acl_save_exec_prefix"
41520 prefix="$acl_save_prefix"
41522 if test "X$x" = "X$element"; then
41523 haveit=yes
41524 break
41526 done
41527 if test -z "$haveit"; then
41528 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41530 done
41533 echo "$as_me:$LINENO: checking for iconv" >&5
41534 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
41535 if test "${am_cv_func_iconv+set}" = set; then
41536 echo $ECHO_N "(cached) $ECHO_C" >&6
41537 else
41539 am_cv_func_iconv="no, consider installing GNU libiconv"
41540 am_cv_lib_iconv=no
41541 if test x$gcc_no_link = xyes; then
41542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41544 { (exit 1); exit 1; }; }
41546 cat >conftest.$ac_ext <<_ACEOF
41547 /* confdefs.h. */
41548 _ACEOF
41549 cat confdefs.h >>conftest.$ac_ext
41550 cat >>conftest.$ac_ext <<_ACEOF
41551 /* end confdefs.h. */
41552 #include <stdlib.h>
41553 #include <iconv.h>
41555 main ()
41557 iconv_t cd = iconv_open("","");
41558 iconv(cd,NULL,NULL,NULL,NULL);
41559 iconv_close(cd);
41561 return 0;
41563 _ACEOF
41564 rm -f conftest.$ac_objext conftest$ac_exeext
41565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41566 (eval $ac_link) 2>conftest.er1
41567 ac_status=$?
41568 grep -v '^ *+' conftest.er1 >conftest.err
41569 rm -f conftest.er1
41570 cat conftest.err >&5
41571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41572 (exit $ac_status); } &&
41573 { ac_try='test -z "$ac_c_werror_flag"
41574 || test ! -s conftest.err'
41575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41576 (eval $ac_try) 2>&5
41577 ac_status=$?
41578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41579 (exit $ac_status); }; } &&
41580 { ac_try='test -s conftest$ac_exeext'
41581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41582 (eval $ac_try) 2>&5
41583 ac_status=$?
41584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41585 (exit $ac_status); }; }; then
41586 am_cv_func_iconv=yes
41587 else
41588 echo "$as_me: failed program was:" >&5
41589 sed 's/^/| /' conftest.$ac_ext >&5
41592 rm -f conftest.err conftest.$ac_objext \
41593 conftest$ac_exeext conftest.$ac_ext
41594 if test "$am_cv_func_iconv" != yes; then
41595 am_save_LIBS="$LIBS"
41596 LIBS="$LIBS $LIBICONV"
41597 if test x$gcc_no_link = xyes; then
41598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41600 { (exit 1); exit 1; }; }
41602 cat >conftest.$ac_ext <<_ACEOF
41603 /* confdefs.h. */
41604 _ACEOF
41605 cat confdefs.h >>conftest.$ac_ext
41606 cat >>conftest.$ac_ext <<_ACEOF
41607 /* end confdefs.h. */
41608 #include <stdlib.h>
41609 #include <iconv.h>
41611 main ()
41613 iconv_t cd = iconv_open("","");
41614 iconv(cd,NULL,NULL,NULL,NULL);
41615 iconv_close(cd);
41617 return 0;
41619 _ACEOF
41620 rm -f conftest.$ac_objext conftest$ac_exeext
41621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41622 (eval $ac_link) 2>conftest.er1
41623 ac_status=$?
41624 grep -v '^ *+' conftest.er1 >conftest.err
41625 rm -f conftest.er1
41626 cat conftest.err >&5
41627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41628 (exit $ac_status); } &&
41629 { ac_try='test -z "$ac_c_werror_flag"
41630 || test ! -s conftest.err'
41631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41632 (eval $ac_try) 2>&5
41633 ac_status=$?
41634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41635 (exit $ac_status); }; } &&
41636 { ac_try='test -s conftest$ac_exeext'
41637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41638 (eval $ac_try) 2>&5
41639 ac_status=$?
41640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41641 (exit $ac_status); }; }; then
41642 am_cv_lib_iconv=yes
41643 am_cv_func_iconv=yes
41644 else
41645 echo "$as_me: failed program was:" >&5
41646 sed 's/^/| /' conftest.$ac_ext >&5
41649 rm -f conftest.err conftest.$ac_objext \
41650 conftest$ac_exeext conftest.$ac_ext
41651 LIBS="$am_save_LIBS"
41655 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
41656 echo "${ECHO_T}$am_cv_func_iconv" >&6
41657 if test "$am_cv_func_iconv" = yes; then
41659 cat >>confdefs.h <<\_ACEOF
41660 #define HAVE_ICONV 1
41661 _ACEOF
41664 if test "$am_cv_lib_iconv" = yes; then
41665 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
41666 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
41667 echo "$as_me:$LINENO: result: $LIBICONV" >&5
41668 echo "${ECHO_T}$LIBICONV" >&6
41669 else
41670 CPPFLAGS="$am_save_CPPFLAGS"
41671 LIBICONV=
41672 LTLIBICONV=
41677 if test "$am_cv_func_iconv" = yes; then
41678 echo "$as_me:$LINENO: checking for iconv declaration" >&5
41679 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
41680 if test "${am_cv_proto_iconv+set}" = set; then
41681 echo $ECHO_N "(cached) $ECHO_C" >&6
41682 else
41684 cat >conftest.$ac_ext <<_ACEOF
41685 /* confdefs.h. */
41686 _ACEOF
41687 cat confdefs.h >>conftest.$ac_ext
41688 cat >>conftest.$ac_ext <<_ACEOF
41689 /* end confdefs.h. */
41691 #include <stdlib.h>
41692 #include <iconv.h>
41693 extern
41694 #ifdef __cplusplus
41696 #endif
41697 #if defined(__STDC__) || defined(__cplusplus)
41698 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41699 #else
41700 size_t iconv();
41701 #endif
41704 main ()
41708 return 0;
41710 _ACEOF
41711 rm -f conftest.$ac_objext
41712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41713 (eval $ac_compile) 2>conftest.er1
41714 ac_status=$?
41715 grep -v '^ *+' conftest.er1 >conftest.err
41716 rm -f conftest.er1
41717 cat conftest.err >&5
41718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41719 (exit $ac_status); } &&
41720 { ac_try='test -z "$ac_c_werror_flag"
41721 || test ! -s conftest.err'
41722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41723 (eval $ac_try) 2>&5
41724 ac_status=$?
41725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41726 (exit $ac_status); }; } &&
41727 { ac_try='test -s conftest.$ac_objext'
41728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41729 (eval $ac_try) 2>&5
41730 ac_status=$?
41731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41732 (exit $ac_status); }; }; then
41733 am_cv_proto_iconv_arg1=""
41734 else
41735 echo "$as_me: failed program was:" >&5
41736 sed 's/^/| /' conftest.$ac_ext >&5
41738 am_cv_proto_iconv_arg1="const"
41740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41741 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);"
41744 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41745 echo "$as_me:$LINENO: result: ${ac_t:-
41746 }$am_cv_proto_iconv" >&5
41747 echo "${ECHO_T}${ac_t:-
41748 }$am_cv_proto_iconv" >&6
41750 cat >>confdefs.h <<_ACEOF
41751 #define ICONV_CONST $am_cv_proto_iconv_arg1
41752 _ACEOF
41757 else
41759 # This lets us hard-code the functionality we know we'll have in the cross
41760 # target environment. "Let" is a sugar-coated word placed on an especially
41761 # dull and tedious hack, actually.
41763 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
41764 # that involve linking, can't be used:
41765 # "cannot open sim-crt0.o"
41766 # "cannot open crt0.o"
41767 # etc. All this is because there currently exists no unified, consistent
41768 # way for top level CC information to be passed down to target directories:
41769 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
41770 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
41771 # crosses can be removed.
41773 # If Canadian cross, then don't pick up tools from the build directory.
41774 # Used only in GLIBCXX_EXPORT_INCLUDES.
41775 if test -n "$with_cross_host" &&
41776 test x"$build_alias" != x"$with_cross_host" &&
41777 test x"$build" != x"$target";
41778 then
41779 CANADIAN=yes
41780 else
41781 CANADIAN=no
41784 # Construct crosses by hand, eliminating bits that need ld...
41785 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
41786 # GLIBCXX_CHECK_MATH_SUPPORT
41788 # First, test for "known" system libraries. We may be using newlib even
41789 # on a hosted environment.
41790 if test "x${with_newlib}" = "xyes"; then
41791 os_include_dir="os/newlib"
41792 cat >>confdefs.h <<\_ACEOF
41793 #define HAVE_HYPOT 1
41794 _ACEOF
41797 # GLIBCXX_CHECK_STDLIB_SUPPORT
41798 cat >>confdefs.h <<\_ACEOF
41799 #define HAVE_STRTOF 1
41800 _ACEOF
41802 # AC_FUNC_MMAP
41803 cat >>confdefs.h <<\_ACEOF
41804 #define HAVE_MMAP 1
41805 _ACEOF
41808 cat >>confdefs.h <<\_ACEOF
41809 #define HAVE_ACOSF 1
41810 _ACEOF
41812 cat >>confdefs.h <<\_ACEOF
41813 #define HAVE_ASINF 1
41814 _ACEOF
41816 cat >>confdefs.h <<\_ACEOF
41817 #define HAVE_ATAN2F 1
41818 _ACEOF
41820 cat >>confdefs.h <<\_ACEOF
41821 #define HAVE_ATANF 1
41822 _ACEOF
41824 cat >>confdefs.h <<\_ACEOF
41825 #define HAVE_CEILF 1
41826 _ACEOF
41828 cat >>confdefs.h <<\_ACEOF
41829 #define HAVE_COPYSIGN 1
41830 _ACEOF
41832 cat >>confdefs.h <<\_ACEOF
41833 #define HAVE_COPYSIGNF 1
41834 _ACEOF
41836 cat >>confdefs.h <<\_ACEOF
41837 #define HAVE_COSF 1
41838 _ACEOF
41840 cat >>confdefs.h <<\_ACEOF
41841 #define HAVE_COSHF 1
41842 _ACEOF
41844 cat >>confdefs.h <<\_ACEOF
41845 #define HAVE_EXPF 1
41846 _ACEOF
41848 cat >>confdefs.h <<\_ACEOF
41849 #define HAVE_FABSF 1
41850 _ACEOF
41852 cat >>confdefs.h <<\_ACEOF
41853 #define HAVE_FLOORF 1
41854 _ACEOF
41856 cat >>confdefs.h <<\_ACEOF
41857 #define HAVE_FMODF 1
41858 _ACEOF
41860 cat >>confdefs.h <<\_ACEOF
41861 #define HAVE_FREXPF 1
41862 _ACEOF
41864 cat >>confdefs.h <<\_ACEOF
41865 #define HAVE_LDEXPF 1
41866 _ACEOF
41868 cat >>confdefs.h <<\_ACEOF
41869 #define HAVE_LOG10F 1
41870 _ACEOF
41872 cat >>confdefs.h <<\_ACEOF
41873 #define HAVE_LOGF 1
41874 _ACEOF
41876 cat >>confdefs.h <<\_ACEOF
41877 #define HAVE_MODFF 1
41878 _ACEOF
41880 cat >>confdefs.h <<\_ACEOF
41881 #define HAVE_POWF 1
41882 _ACEOF
41884 cat >>confdefs.h <<\_ACEOF
41885 #define HAVE_SINF 1
41886 _ACEOF
41888 cat >>confdefs.h <<\_ACEOF
41889 #define HAVE_SINHF 1
41890 _ACEOF
41892 cat >>confdefs.h <<\_ACEOF
41893 #define HAVE_SQRTF 1
41894 _ACEOF
41896 cat >>confdefs.h <<\_ACEOF
41897 #define HAVE_TANF 1
41898 _ACEOF
41900 cat >>confdefs.h <<\_ACEOF
41901 #define HAVE_TANHF 1
41902 _ACEOF
41905 cat >>confdefs.h <<\_ACEOF
41906 #define HAVE_S_ISREG 1
41907 _ACEOF
41909 cat >>confdefs.h <<\_ACEOF
41910 #define HAVE_S_IFREG 1
41911 _ACEOF
41914 cat >>confdefs.h <<\_ACEOF
41915 #define HAVE_ICONV 1
41916 _ACEOF
41918 else
41920 # Base decisions on target environment.
41921 case "${host}" in
41922 arm*-*-symbianelf*)
41923 # This is a freestanding configuration; there is nothing to do here.
41926 mips*-sde-elf*)
41927 # These definitions are for the SDE C library rather than newlib.
41943 for ac_header in float.h inttypes.h locale.h \
41944 stdint.h stdlib.h string.h unistd.h wchar.h \
41945 machine/endian.h sys/ioctl.h sys/resource.h \
41946 sys/stat.h sys/time.h sys/types.h sys/uio.h
41948 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41950 echo "$as_me:$LINENO: checking for $ac_header" >&5
41951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41953 echo $ECHO_N "(cached) $ECHO_C" >&6
41955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41956 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41957 else
41958 # Is the header compilable?
41959 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41960 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41961 cat >conftest.$ac_ext <<_ACEOF
41962 /* confdefs.h. */
41963 _ACEOF
41964 cat confdefs.h >>conftest.$ac_ext
41965 cat >>conftest.$ac_ext <<_ACEOF
41966 /* end confdefs.h. */
41967 $ac_includes_default
41968 #include <$ac_header>
41969 _ACEOF
41970 rm -f conftest.$ac_objext
41971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41972 (eval $ac_compile) 2>conftest.er1
41973 ac_status=$?
41974 grep -v '^ *+' conftest.er1 >conftest.err
41975 rm -f conftest.er1
41976 cat conftest.err >&5
41977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41978 (exit $ac_status); } &&
41979 { ac_try='test -z "$ac_c_werror_flag"
41980 || test ! -s conftest.err'
41981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41982 (eval $ac_try) 2>&5
41983 ac_status=$?
41984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41985 (exit $ac_status); }; } &&
41986 { ac_try='test -s conftest.$ac_objext'
41987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41988 (eval $ac_try) 2>&5
41989 ac_status=$?
41990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41991 (exit $ac_status); }; }; then
41992 ac_header_compiler=yes
41993 else
41994 echo "$as_me: failed program was:" >&5
41995 sed 's/^/| /' conftest.$ac_ext >&5
41997 ac_header_compiler=no
41999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42000 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42001 echo "${ECHO_T}$ac_header_compiler" >&6
42003 # Is the header present?
42004 echo "$as_me:$LINENO: checking $ac_header presence" >&5
42005 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
42006 cat >conftest.$ac_ext <<_ACEOF
42007 /* confdefs.h. */
42008 _ACEOF
42009 cat confdefs.h >>conftest.$ac_ext
42010 cat >>conftest.$ac_ext <<_ACEOF
42011 /* end confdefs.h. */
42012 #include <$ac_header>
42013 _ACEOF
42014 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
42015 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
42016 ac_status=$?
42017 grep -v '^ *+' conftest.er1 >conftest.err
42018 rm -f conftest.er1
42019 cat conftest.err >&5
42020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42021 (exit $ac_status); } >/dev/null; then
42022 if test -s conftest.err; then
42023 ac_cpp_err=$ac_c_preproc_warn_flag
42024 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
42025 else
42026 ac_cpp_err=
42028 else
42029 ac_cpp_err=yes
42031 if test -z "$ac_cpp_err"; then
42032 ac_header_preproc=yes
42033 else
42034 echo "$as_me: failed program was:" >&5
42035 sed 's/^/| /' conftest.$ac_ext >&5
42037 ac_header_preproc=no
42039 rm -f conftest.err conftest.$ac_ext
42040 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
42041 echo "${ECHO_T}$ac_header_preproc" >&6
42043 # So? What about this header?
42044 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
42045 yes:no: )
42046 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
42047 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
42048 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
42049 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
42050 ac_header_preproc=yes
42052 no:yes:* )
42053 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
42054 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
42055 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
42056 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
42057 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
42058 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
42059 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
42060 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
42061 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
42062 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
42063 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
42064 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
42066 cat <<\_ASBOX
42067 ## ----------------------------------------- ##
42068 ## Report this to the package-unused lists. ##
42069 ## ----------------------------------------- ##
42070 _ASBOX
42072 sed "s/^/$as_me: WARNING: /" >&2
42074 esac
42075 echo "$as_me:$LINENO: checking for $ac_header" >&5
42076 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42077 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42078 echo $ECHO_N "(cached) $ECHO_C" >&6
42079 else
42080 eval "$as_ac_Header=\$ac_header_preproc"
42082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42083 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42086 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42087 cat >>confdefs.h <<_ACEOF
42088 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42089 _ACEOF
42093 done
42095 SECTION_FLAGS='-ffunction-sections -fdata-sections'
42098 # All these tests are for C++; save the language and the compiler flags.
42099 # The CXXFLAGS thing is suspicious, but based on similar bits previously
42100 # found in GLIBCXX_CONFIGURE.
42103 ac_ext=cc
42104 ac_cpp='$CXXCPP $CPPFLAGS'
42105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42109 ac_test_CXXFLAGS="${CXXFLAGS+set}"
42110 ac_save_CXXFLAGS="$CXXFLAGS"
42112 # Check for maintainer-mode bits.
42113 if test x"$USE_MAINTAINER_MODE" = xno; then
42114 WERROR=''
42115 else
42116 WERROR='-Werror'
42119 # Check for -ffunction-sections -fdata-sections
42120 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
42121 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
42122 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
42123 cat >conftest.$ac_ext <<_ACEOF
42124 /* confdefs.h. */
42125 _ACEOF
42126 cat confdefs.h >>conftest.$ac_ext
42127 cat >>conftest.$ac_ext <<_ACEOF
42128 /* end confdefs.h. */
42129 int foo; void bar() { };
42131 main ()
42135 return 0;
42137 _ACEOF
42138 rm -f conftest.$ac_objext
42139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42140 (eval $ac_compile) 2>conftest.er1
42141 ac_status=$?
42142 grep -v '^ *+' conftest.er1 >conftest.err
42143 rm -f conftest.er1
42144 cat conftest.err >&5
42145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42146 (exit $ac_status); } &&
42147 { ac_try='test -z "$ac_cxx_werror_flag"
42148 || test ! -s conftest.err'
42149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42150 (eval $ac_try) 2>&5
42151 ac_status=$?
42152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42153 (exit $ac_status); }; } &&
42154 { ac_try='test -s conftest.$ac_objext'
42155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42156 (eval $ac_try) 2>&5
42157 ac_status=$?
42158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42159 (exit $ac_status); }; }; then
42160 ac_fdsections=yes
42161 else
42162 echo "$as_me: failed program was:" >&5
42163 sed 's/^/| /' conftest.$ac_ext >&5
42165 ac_fdsections=no
42167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42168 if test "$ac_test_CXXFLAGS" = set; then
42169 CXXFLAGS="$ac_save_CXXFLAGS"
42170 else
42171 # this is the suspicious part
42172 CXXFLAGS=''
42174 if test x"$ac_fdsections" = x"yes"; then
42175 SECTION_FLAGS='-ffunction-sections -fdata-sections'
42177 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
42178 echo "${ECHO_T}$ac_fdsections" >&6
42180 ac_ext=c
42181 ac_cpp='$CPP $CPPFLAGS'
42182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42190 # If we're not using GNU ld, then there's no point in even trying these
42191 # tests. Check for that first. We should have already tested for gld
42192 # by now (in libtool), but require it now just to be safe...
42193 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
42194 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
42198 # The name set by libtool depends on the version of libtool. Shame on us
42199 # for depending on an impl detail, but c'est la vie. Older versions used
42200 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
42201 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
42202 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
42203 # set (hence we're using an older libtool), then set it.
42204 if test x${with_gnu_ld+set} != xset; then
42205 if test x${ac_cv_prog_gnu_ld+set} != xset; then
42206 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
42207 with_gnu_ld=no
42208 else
42209 with_gnu_ld=$ac_cv_prog_gnu_ld
42213 # Start by getting the version number. I think the libtool test already
42214 # does some of this, but throws away the result.
42215 if test x"$with_gnu_ld" = x"yes"; then
42216 echo "$as_me:$LINENO: checking for ld version" >&5
42217 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
42219 ldver=`$LD --version 2>/dev/null | head -1 | \
42220 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
42222 glibcxx_gnu_ld_version=`echo $ldver | \
42223 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
42224 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
42225 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
42228 # Set --gc-sections.
42229 glibcxx_gcsections_min_ld=21602
42230 if test x"$with_gnu_ld" = x"yes" &&
42231 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
42233 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
42234 # NB: This flag only works reliably after 2.16.1. Configure tests
42235 # for this are difficult, so hard wire a value that should work.
42237 ac_test_CFLAGS="${CFLAGS+set}"
42238 ac_save_CFLAGS="$CFLAGS"
42239 CFLAGS='-Wl,--gc-sections'
42241 # Check for -Wl,--gc-sections
42242 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
42243 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
42244 if test x$gcc_no_link = xyes; then
42245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42247 { (exit 1); exit 1; }; }
42249 cat >conftest.$ac_ext <<_ACEOF
42250 /* confdefs.h. */
42251 _ACEOF
42252 cat confdefs.h >>conftest.$ac_ext
42253 cat >>conftest.$ac_ext <<_ACEOF
42254 /* end confdefs.h. */
42255 int one(void) { return 1; }
42256 int two(void) { return 2; }
42259 main ()
42261 two();
42263 return 0;
42265 _ACEOF
42266 rm -f conftest.$ac_objext conftest$ac_exeext
42267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42268 (eval $ac_link) 2>conftest.er1
42269 ac_status=$?
42270 grep -v '^ *+' conftest.er1 >conftest.err
42271 rm -f conftest.er1
42272 cat conftest.err >&5
42273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42274 (exit $ac_status); } &&
42275 { ac_try='test -z "$ac_c_werror_flag"
42276 || test ! -s conftest.err'
42277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42278 (eval $ac_try) 2>&5
42279 ac_status=$?
42280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42281 (exit $ac_status); }; } &&
42282 { ac_try='test -s conftest$ac_exeext'
42283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42284 (eval $ac_try) 2>&5
42285 ac_status=$?
42286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42287 (exit $ac_status); }; }; then
42288 ac_gcsections=yes
42289 else
42290 echo "$as_me: failed program was:" >&5
42291 sed 's/^/| /' conftest.$ac_ext >&5
42293 ac_gcsections=no
42295 rm -f conftest.err conftest.$ac_objext \
42296 conftest$ac_exeext conftest.$ac_ext
42297 if test "$ac_gcsections" = "yes"; then
42298 rm -f conftest.c
42299 touch conftest.c
42300 if $CC -c conftest.c; then
42301 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
42302 grep "Warning: gc-sections option ignored" > /dev/null; then
42303 ac_gcsections=no
42306 rm -f conftest.c conftest.o conftest
42308 if test "$ac_gcsections" = "yes"; then
42309 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
42311 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
42312 echo "${ECHO_T}$ac_gcsections" >&6
42314 if test "$ac_test_CFLAGS" = set; then
42315 CFLAGS="$ac_save_CFLAGS"
42316 else
42317 # this is the suspicious part
42318 CFLAGS=''
42322 # Set -z,relro.
42323 # Note this is only for shared objects.
42324 ac_ld_relro=no
42325 if test x"$with_gnu_ld" = x"yes"; then
42326 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
42327 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
42328 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
42329 if test -n "$cxx_z_relo"; then
42330 OPT_LDFLAGS="-Wl,-z,relro"
42331 ac_ld_relro=yes
42333 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
42334 echo "${ECHO_T}$ac_ld_relro" >&6
42337 # Set linker optimization flags.
42338 if test x"$with_gnu_ld" = x"yes"; then
42339 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
42346 ac_test_CXXFLAGS="${CXXFLAGS+set}"
42347 ac_save_CXXFLAGS="$CXXFLAGS"
42348 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
42350 echo "$as_me:$LINENO: checking for sin in -lm" >&5
42351 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
42352 if test "${ac_cv_lib_m_sin+set}" = set; then
42353 echo $ECHO_N "(cached) $ECHO_C" >&6
42354 else
42355 ac_check_lib_save_LIBS=$LIBS
42356 LIBS="-lm $LIBS"
42357 if test x$gcc_no_link = xyes; then
42358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42360 { (exit 1); exit 1; }; }
42362 cat >conftest.$ac_ext <<_ACEOF
42363 /* confdefs.h. */
42364 _ACEOF
42365 cat confdefs.h >>conftest.$ac_ext
42366 cat >>conftest.$ac_ext <<_ACEOF
42367 /* end confdefs.h. */
42369 /* Override any gcc2 internal prototype to avoid an error. */
42370 #ifdef __cplusplus
42371 extern "C"
42372 #endif
42373 /* We use char because int might match the return type of a gcc2
42374 builtin and then its argument prototype would still apply. */
42375 char sin ();
42377 main ()
42379 sin ();
42381 return 0;
42383 _ACEOF
42384 rm -f conftest.$ac_objext conftest$ac_exeext
42385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42386 (eval $ac_link) 2>conftest.er1
42387 ac_status=$?
42388 grep -v '^ *+' conftest.er1 >conftest.err
42389 rm -f conftest.er1
42390 cat conftest.err >&5
42391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42392 (exit $ac_status); } &&
42393 { ac_try='test -z "$ac_c_werror_flag"
42394 || test ! -s conftest.err'
42395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42396 (eval $ac_try) 2>&5
42397 ac_status=$?
42398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42399 (exit $ac_status); }; } &&
42400 { ac_try='test -s conftest$ac_exeext'
42401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42402 (eval $ac_try) 2>&5
42403 ac_status=$?
42404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42405 (exit $ac_status); }; }; then
42406 ac_cv_lib_m_sin=yes
42407 else
42408 echo "$as_me: failed program was:" >&5
42409 sed 's/^/| /' conftest.$ac_ext >&5
42411 ac_cv_lib_m_sin=no
42413 rm -f conftest.err conftest.$ac_objext \
42414 conftest$ac_exeext conftest.$ac_ext
42415 LIBS=$ac_check_lib_save_LIBS
42417 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
42418 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
42419 if test $ac_cv_lib_m_sin = yes; then
42420 libm="-lm"
42423 ac_save_LIBS="$LIBS"
42424 LIBS="$LIBS $libm"
42428 echo "$as_me:$LINENO: checking for isinf declaration" >&5
42429 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
42430 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
42431 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
42432 echo $ECHO_N "(cached) $ECHO_C" >&6
42433 else
42437 ac_ext=cc
42438 ac_cpp='$CXXCPP $CPPFLAGS'
42439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42443 cat >conftest.$ac_ext <<_ACEOF
42444 /* confdefs.h. */
42445 _ACEOF
42446 cat confdefs.h >>conftest.$ac_ext
42447 cat >>conftest.$ac_ext <<_ACEOF
42448 /* end confdefs.h. */
42449 #include <math.h>
42450 #ifdef HAVE_IEEEFP_H
42451 #include <ieeefp.h>
42452 #endif
42455 main ()
42457 isinf(0);
42459 return 0;
42461 _ACEOF
42462 rm -f conftest.$ac_objext
42463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42464 (eval $ac_compile) 2>conftest.er1
42465 ac_status=$?
42466 grep -v '^ *+' conftest.er1 >conftest.err
42467 rm -f conftest.er1
42468 cat conftest.err >&5
42469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42470 (exit $ac_status); } &&
42471 { ac_try='test -z "$ac_cxx_werror_flag"
42472 || test ! -s conftest.err'
42473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42474 (eval $ac_try) 2>&5
42475 ac_status=$?
42476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42477 (exit $ac_status); }; } &&
42478 { ac_try='test -s conftest.$ac_objext'
42479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42480 (eval $ac_try) 2>&5
42481 ac_status=$?
42482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42483 (exit $ac_status); }; }; then
42484 glibcxx_cv_func_isinf_use=yes
42485 else
42486 echo "$as_me: failed program was:" >&5
42487 sed 's/^/| /' conftest.$ac_ext >&5
42489 glibcxx_cv_func_isinf_use=no
42491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42492 ac_ext=c
42493 ac_cpp='$CPP $CPPFLAGS'
42494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42502 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
42503 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
42505 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
42507 for ac_func in isinf
42509 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42510 echo "$as_me:$LINENO: checking for $ac_func" >&5
42511 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42512 if eval "test \"\${$as_ac_var+set}\" = set"; then
42513 echo $ECHO_N "(cached) $ECHO_C" >&6
42514 else
42515 if test x$gcc_no_link = xyes; then
42516 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42517 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42518 { (exit 1); exit 1; }; }
42520 cat >conftest.$ac_ext <<_ACEOF
42521 /* confdefs.h. */
42522 _ACEOF
42523 cat confdefs.h >>conftest.$ac_ext
42524 cat >>conftest.$ac_ext <<_ACEOF
42525 /* end confdefs.h. */
42526 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42528 #define $ac_func innocuous_$ac_func
42530 /* System header to define __stub macros and hopefully few prototypes,
42531 which can conflict with char $ac_func (); below.
42532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42533 <limits.h> exists even on freestanding compilers. */
42535 #ifdef __STDC__
42536 # include <limits.h>
42537 #else
42538 # include <assert.h>
42539 #endif
42541 #undef $ac_func
42543 /* Override any gcc2 internal prototype to avoid an error. */
42544 #ifdef __cplusplus
42545 extern "C"
42547 #endif
42548 /* We use char because int might match the return type of a gcc2
42549 builtin and then its argument prototype would still apply. */
42550 char $ac_func ();
42551 /* The GNU C library defines this for functions which it implements
42552 to always fail with ENOSYS. Some functions are actually named
42553 something starting with __ and the normal name is an alias. */
42554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42555 choke me
42556 #else
42557 char (*f) () = $ac_func;
42558 #endif
42559 #ifdef __cplusplus
42561 #endif
42564 main ()
42566 return f != $ac_func;
42568 return 0;
42570 _ACEOF
42571 rm -f conftest.$ac_objext conftest$ac_exeext
42572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42573 (eval $ac_link) 2>conftest.er1
42574 ac_status=$?
42575 grep -v '^ *+' conftest.er1 >conftest.err
42576 rm -f conftest.er1
42577 cat conftest.err >&5
42578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42579 (exit $ac_status); } &&
42580 { ac_try='test -z "$ac_c_werror_flag"
42581 || test ! -s conftest.err'
42582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42583 (eval $ac_try) 2>&5
42584 ac_status=$?
42585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42586 (exit $ac_status); }; } &&
42587 { ac_try='test -s conftest$ac_exeext'
42588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42589 (eval $ac_try) 2>&5
42590 ac_status=$?
42591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42592 (exit $ac_status); }; }; then
42593 eval "$as_ac_var=yes"
42594 else
42595 echo "$as_me: failed program was:" >&5
42596 sed 's/^/| /' conftest.$ac_ext >&5
42598 eval "$as_ac_var=no"
42600 rm -f conftest.err conftest.$ac_objext \
42601 conftest$ac_exeext conftest.$ac_ext
42603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42605 if test `eval echo '${'$as_ac_var'}'` = yes; then
42606 cat >>confdefs.h <<_ACEOF
42607 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42608 _ACEOF
42611 done
42613 else
42615 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
42616 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
42617 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
42618 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
42619 echo $ECHO_N "(cached) $ECHO_C" >&6
42620 else
42624 ac_ext=cc
42625 ac_cpp='$CXXCPP $CPPFLAGS'
42626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42630 cat >conftest.$ac_ext <<_ACEOF
42631 /* confdefs.h. */
42632 _ACEOF
42633 cat confdefs.h >>conftest.$ac_ext
42634 cat >>conftest.$ac_ext <<_ACEOF
42635 /* end confdefs.h. */
42636 #include <math.h>
42637 #ifdef HAVE_IEEEFP_H
42638 #include <ieeefp.h>
42639 #endif
42642 main ()
42644 _isinf(0);
42646 return 0;
42648 _ACEOF
42649 rm -f conftest.$ac_objext
42650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42651 (eval $ac_compile) 2>conftest.er1
42652 ac_status=$?
42653 grep -v '^ *+' conftest.er1 >conftest.err
42654 rm -f conftest.er1
42655 cat conftest.err >&5
42656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42657 (exit $ac_status); } &&
42658 { ac_try='test -z "$ac_cxx_werror_flag"
42659 || test ! -s conftest.err'
42660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42661 (eval $ac_try) 2>&5
42662 ac_status=$?
42663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42664 (exit $ac_status); }; } &&
42665 { ac_try='test -s conftest.$ac_objext'
42666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42667 (eval $ac_try) 2>&5
42668 ac_status=$?
42669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42670 (exit $ac_status); }; }; then
42671 glibcxx_cv_func__isinf_use=yes
42672 else
42673 echo "$as_me: failed program was:" >&5
42674 sed 's/^/| /' conftest.$ac_ext >&5
42676 glibcxx_cv_func__isinf_use=no
42678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42679 ac_ext=c
42680 ac_cpp='$CPP $CPPFLAGS'
42681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42689 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
42690 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
42692 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
42694 for ac_func in _isinf
42696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42697 echo "$as_me:$LINENO: checking for $ac_func" >&5
42698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42699 if eval "test \"\${$as_ac_var+set}\" = set"; then
42700 echo $ECHO_N "(cached) $ECHO_C" >&6
42701 else
42702 if test x$gcc_no_link = xyes; then
42703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42705 { (exit 1); exit 1; }; }
42707 cat >conftest.$ac_ext <<_ACEOF
42708 /* confdefs.h. */
42709 _ACEOF
42710 cat confdefs.h >>conftest.$ac_ext
42711 cat >>conftest.$ac_ext <<_ACEOF
42712 /* end confdefs.h. */
42713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42715 #define $ac_func innocuous_$ac_func
42717 /* System header to define __stub macros and hopefully few prototypes,
42718 which can conflict with char $ac_func (); below.
42719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42720 <limits.h> exists even on freestanding compilers. */
42722 #ifdef __STDC__
42723 # include <limits.h>
42724 #else
42725 # include <assert.h>
42726 #endif
42728 #undef $ac_func
42730 /* Override any gcc2 internal prototype to avoid an error. */
42731 #ifdef __cplusplus
42732 extern "C"
42734 #endif
42735 /* We use char because int might match the return type of a gcc2
42736 builtin and then its argument prototype would still apply. */
42737 char $ac_func ();
42738 /* The GNU C library defines this for functions which it implements
42739 to always fail with ENOSYS. Some functions are actually named
42740 something starting with __ and the normal name is an alias. */
42741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42742 choke me
42743 #else
42744 char (*f) () = $ac_func;
42745 #endif
42746 #ifdef __cplusplus
42748 #endif
42751 main ()
42753 return f != $ac_func;
42755 return 0;
42757 _ACEOF
42758 rm -f conftest.$ac_objext conftest$ac_exeext
42759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42760 (eval $ac_link) 2>conftest.er1
42761 ac_status=$?
42762 grep -v '^ *+' conftest.er1 >conftest.err
42763 rm -f conftest.er1
42764 cat conftest.err >&5
42765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42766 (exit $ac_status); } &&
42767 { ac_try='test -z "$ac_c_werror_flag"
42768 || test ! -s conftest.err'
42769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42770 (eval $ac_try) 2>&5
42771 ac_status=$?
42772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42773 (exit $ac_status); }; } &&
42774 { ac_try='test -s conftest$ac_exeext'
42775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42776 (eval $ac_try) 2>&5
42777 ac_status=$?
42778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42779 (exit $ac_status); }; }; then
42780 eval "$as_ac_var=yes"
42781 else
42782 echo "$as_me: failed program was:" >&5
42783 sed 's/^/| /' conftest.$ac_ext >&5
42785 eval "$as_ac_var=no"
42787 rm -f conftest.err conftest.$ac_objext \
42788 conftest$ac_exeext conftest.$ac_ext
42790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42792 if test `eval echo '${'$as_ac_var'}'` = yes; then
42793 cat >>confdefs.h <<_ACEOF
42794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42795 _ACEOF
42798 done
42808 echo "$as_me:$LINENO: checking for isnan declaration" >&5
42809 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
42810 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
42811 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
42812 echo $ECHO_N "(cached) $ECHO_C" >&6
42813 else
42817 ac_ext=cc
42818 ac_cpp='$CXXCPP $CPPFLAGS'
42819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42823 cat >conftest.$ac_ext <<_ACEOF
42824 /* confdefs.h. */
42825 _ACEOF
42826 cat confdefs.h >>conftest.$ac_ext
42827 cat >>conftest.$ac_ext <<_ACEOF
42828 /* end confdefs.h. */
42829 #include <math.h>
42830 #ifdef HAVE_IEEEFP_H
42831 #include <ieeefp.h>
42832 #endif
42835 main ()
42837 isnan(0);
42839 return 0;
42841 _ACEOF
42842 rm -f conftest.$ac_objext
42843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42844 (eval $ac_compile) 2>conftest.er1
42845 ac_status=$?
42846 grep -v '^ *+' conftest.er1 >conftest.err
42847 rm -f conftest.er1
42848 cat conftest.err >&5
42849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42850 (exit $ac_status); } &&
42851 { ac_try='test -z "$ac_cxx_werror_flag"
42852 || test ! -s conftest.err'
42853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42854 (eval $ac_try) 2>&5
42855 ac_status=$?
42856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42857 (exit $ac_status); }; } &&
42858 { ac_try='test -s conftest.$ac_objext'
42859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42860 (eval $ac_try) 2>&5
42861 ac_status=$?
42862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42863 (exit $ac_status); }; }; then
42864 glibcxx_cv_func_isnan_use=yes
42865 else
42866 echo "$as_me: failed program was:" >&5
42867 sed 's/^/| /' conftest.$ac_ext >&5
42869 glibcxx_cv_func_isnan_use=no
42871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42872 ac_ext=c
42873 ac_cpp='$CPP $CPPFLAGS'
42874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42882 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
42883 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
42885 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
42887 for ac_func in isnan
42889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42890 echo "$as_me:$LINENO: checking for $ac_func" >&5
42891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42892 if eval "test \"\${$as_ac_var+set}\" = set"; then
42893 echo $ECHO_N "(cached) $ECHO_C" >&6
42894 else
42895 if test x$gcc_no_link = xyes; then
42896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42898 { (exit 1); exit 1; }; }
42900 cat >conftest.$ac_ext <<_ACEOF
42901 /* confdefs.h. */
42902 _ACEOF
42903 cat confdefs.h >>conftest.$ac_ext
42904 cat >>conftest.$ac_ext <<_ACEOF
42905 /* end confdefs.h. */
42906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42908 #define $ac_func innocuous_$ac_func
42910 /* System header to define __stub macros and hopefully few prototypes,
42911 which can conflict with char $ac_func (); below.
42912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42913 <limits.h> exists even on freestanding compilers. */
42915 #ifdef __STDC__
42916 # include <limits.h>
42917 #else
42918 # include <assert.h>
42919 #endif
42921 #undef $ac_func
42923 /* Override any gcc2 internal prototype to avoid an error. */
42924 #ifdef __cplusplus
42925 extern "C"
42927 #endif
42928 /* We use char because int might match the return type of a gcc2
42929 builtin and then its argument prototype would still apply. */
42930 char $ac_func ();
42931 /* The GNU C library defines this for functions which it implements
42932 to always fail with ENOSYS. Some functions are actually named
42933 something starting with __ and the normal name is an alias. */
42934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42935 choke me
42936 #else
42937 char (*f) () = $ac_func;
42938 #endif
42939 #ifdef __cplusplus
42941 #endif
42944 main ()
42946 return f != $ac_func;
42948 return 0;
42950 _ACEOF
42951 rm -f conftest.$ac_objext conftest$ac_exeext
42952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42953 (eval $ac_link) 2>conftest.er1
42954 ac_status=$?
42955 grep -v '^ *+' conftest.er1 >conftest.err
42956 rm -f conftest.er1
42957 cat conftest.err >&5
42958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42959 (exit $ac_status); } &&
42960 { ac_try='test -z "$ac_c_werror_flag"
42961 || test ! -s conftest.err'
42962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42963 (eval $ac_try) 2>&5
42964 ac_status=$?
42965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42966 (exit $ac_status); }; } &&
42967 { ac_try='test -s conftest$ac_exeext'
42968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42969 (eval $ac_try) 2>&5
42970 ac_status=$?
42971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42972 (exit $ac_status); }; }; then
42973 eval "$as_ac_var=yes"
42974 else
42975 echo "$as_me: failed program was:" >&5
42976 sed 's/^/| /' conftest.$ac_ext >&5
42978 eval "$as_ac_var=no"
42980 rm -f conftest.err conftest.$ac_objext \
42981 conftest$ac_exeext conftest.$ac_ext
42983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42985 if test `eval echo '${'$as_ac_var'}'` = yes; then
42986 cat >>confdefs.h <<_ACEOF
42987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42988 _ACEOF
42991 done
42993 else
42995 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
42996 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
42997 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
42998 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
42999 echo $ECHO_N "(cached) $ECHO_C" >&6
43000 else
43004 ac_ext=cc
43005 ac_cpp='$CXXCPP $CPPFLAGS'
43006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43010 cat >conftest.$ac_ext <<_ACEOF
43011 /* confdefs.h. */
43012 _ACEOF
43013 cat confdefs.h >>conftest.$ac_ext
43014 cat >>conftest.$ac_ext <<_ACEOF
43015 /* end confdefs.h. */
43016 #include <math.h>
43017 #ifdef HAVE_IEEEFP_H
43018 #include <ieeefp.h>
43019 #endif
43022 main ()
43024 _isnan(0);
43026 return 0;
43028 _ACEOF
43029 rm -f conftest.$ac_objext
43030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43031 (eval $ac_compile) 2>conftest.er1
43032 ac_status=$?
43033 grep -v '^ *+' conftest.er1 >conftest.err
43034 rm -f conftest.er1
43035 cat conftest.err >&5
43036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43037 (exit $ac_status); } &&
43038 { ac_try='test -z "$ac_cxx_werror_flag"
43039 || test ! -s conftest.err'
43040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43041 (eval $ac_try) 2>&5
43042 ac_status=$?
43043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43044 (exit $ac_status); }; } &&
43045 { ac_try='test -s conftest.$ac_objext'
43046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43047 (eval $ac_try) 2>&5
43048 ac_status=$?
43049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43050 (exit $ac_status); }; }; then
43051 glibcxx_cv_func__isnan_use=yes
43052 else
43053 echo "$as_me: failed program was:" >&5
43054 sed 's/^/| /' conftest.$ac_ext >&5
43056 glibcxx_cv_func__isnan_use=no
43058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43059 ac_ext=c
43060 ac_cpp='$CPP $CPPFLAGS'
43061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43069 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
43070 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
43072 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
43074 for ac_func in _isnan
43076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43077 echo "$as_me:$LINENO: checking for $ac_func" >&5
43078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43079 if eval "test \"\${$as_ac_var+set}\" = set"; then
43080 echo $ECHO_N "(cached) $ECHO_C" >&6
43081 else
43082 if test x$gcc_no_link = xyes; then
43083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43085 { (exit 1); exit 1; }; }
43087 cat >conftest.$ac_ext <<_ACEOF
43088 /* confdefs.h. */
43089 _ACEOF
43090 cat confdefs.h >>conftest.$ac_ext
43091 cat >>conftest.$ac_ext <<_ACEOF
43092 /* end confdefs.h. */
43093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43095 #define $ac_func innocuous_$ac_func
43097 /* System header to define __stub macros and hopefully few prototypes,
43098 which can conflict with char $ac_func (); below.
43099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43100 <limits.h> exists even on freestanding compilers. */
43102 #ifdef __STDC__
43103 # include <limits.h>
43104 #else
43105 # include <assert.h>
43106 #endif
43108 #undef $ac_func
43110 /* Override any gcc2 internal prototype to avoid an error. */
43111 #ifdef __cplusplus
43112 extern "C"
43114 #endif
43115 /* We use char because int might match the return type of a gcc2
43116 builtin and then its argument prototype would still apply. */
43117 char $ac_func ();
43118 /* The GNU C library defines this for functions which it implements
43119 to always fail with ENOSYS. Some functions are actually named
43120 something starting with __ and the normal name is an alias. */
43121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43122 choke me
43123 #else
43124 char (*f) () = $ac_func;
43125 #endif
43126 #ifdef __cplusplus
43128 #endif
43131 main ()
43133 return f != $ac_func;
43135 return 0;
43137 _ACEOF
43138 rm -f conftest.$ac_objext conftest$ac_exeext
43139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43140 (eval $ac_link) 2>conftest.er1
43141 ac_status=$?
43142 grep -v '^ *+' conftest.er1 >conftest.err
43143 rm -f conftest.er1
43144 cat conftest.err >&5
43145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43146 (exit $ac_status); } &&
43147 { ac_try='test -z "$ac_c_werror_flag"
43148 || test ! -s conftest.err'
43149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43150 (eval $ac_try) 2>&5
43151 ac_status=$?
43152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43153 (exit $ac_status); }; } &&
43154 { ac_try='test -s conftest$ac_exeext'
43155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43156 (eval $ac_try) 2>&5
43157 ac_status=$?
43158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43159 (exit $ac_status); }; }; then
43160 eval "$as_ac_var=yes"
43161 else
43162 echo "$as_me: failed program was:" >&5
43163 sed 's/^/| /' conftest.$ac_ext >&5
43165 eval "$as_ac_var=no"
43167 rm -f conftest.err conftest.$ac_objext \
43168 conftest$ac_exeext conftest.$ac_ext
43170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43172 if test `eval echo '${'$as_ac_var'}'` = yes; then
43173 cat >>confdefs.h <<_ACEOF
43174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43175 _ACEOF
43178 done
43188 echo "$as_me:$LINENO: checking for finite declaration" >&5
43189 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
43190 if test x${glibcxx_cv_func_finite_use+set} != xset; then
43191 if test "${glibcxx_cv_func_finite_use+set}" = set; then
43192 echo $ECHO_N "(cached) $ECHO_C" >&6
43193 else
43197 ac_ext=cc
43198 ac_cpp='$CXXCPP $CPPFLAGS'
43199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43203 cat >conftest.$ac_ext <<_ACEOF
43204 /* confdefs.h. */
43205 _ACEOF
43206 cat confdefs.h >>conftest.$ac_ext
43207 cat >>conftest.$ac_ext <<_ACEOF
43208 /* end confdefs.h. */
43209 #include <math.h>
43210 #ifdef HAVE_IEEEFP_H
43211 #include <ieeefp.h>
43212 #endif
43215 main ()
43217 finite(0);
43219 return 0;
43221 _ACEOF
43222 rm -f conftest.$ac_objext
43223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43224 (eval $ac_compile) 2>conftest.er1
43225 ac_status=$?
43226 grep -v '^ *+' conftest.er1 >conftest.err
43227 rm -f conftest.er1
43228 cat conftest.err >&5
43229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43230 (exit $ac_status); } &&
43231 { ac_try='test -z "$ac_cxx_werror_flag"
43232 || test ! -s conftest.err'
43233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43234 (eval $ac_try) 2>&5
43235 ac_status=$?
43236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43237 (exit $ac_status); }; } &&
43238 { ac_try='test -s conftest.$ac_objext'
43239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43240 (eval $ac_try) 2>&5
43241 ac_status=$?
43242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43243 (exit $ac_status); }; }; then
43244 glibcxx_cv_func_finite_use=yes
43245 else
43246 echo "$as_me: failed program was:" >&5
43247 sed 's/^/| /' conftest.$ac_ext >&5
43249 glibcxx_cv_func_finite_use=no
43251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43252 ac_ext=c
43253 ac_cpp='$CPP $CPPFLAGS'
43254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43262 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
43263 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
43265 if test x$glibcxx_cv_func_finite_use = x"yes"; then
43267 for ac_func in finite
43269 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43270 echo "$as_me:$LINENO: checking for $ac_func" >&5
43271 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43272 if eval "test \"\${$as_ac_var+set}\" = set"; then
43273 echo $ECHO_N "(cached) $ECHO_C" >&6
43274 else
43275 if test x$gcc_no_link = xyes; then
43276 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43277 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43278 { (exit 1); exit 1; }; }
43280 cat >conftest.$ac_ext <<_ACEOF
43281 /* confdefs.h. */
43282 _ACEOF
43283 cat confdefs.h >>conftest.$ac_ext
43284 cat >>conftest.$ac_ext <<_ACEOF
43285 /* end confdefs.h. */
43286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43288 #define $ac_func innocuous_$ac_func
43290 /* System header to define __stub macros and hopefully few prototypes,
43291 which can conflict with char $ac_func (); below.
43292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43293 <limits.h> exists even on freestanding compilers. */
43295 #ifdef __STDC__
43296 # include <limits.h>
43297 #else
43298 # include <assert.h>
43299 #endif
43301 #undef $ac_func
43303 /* Override any gcc2 internal prototype to avoid an error. */
43304 #ifdef __cplusplus
43305 extern "C"
43307 #endif
43308 /* We use char because int might match the return type of a gcc2
43309 builtin and then its argument prototype would still apply. */
43310 char $ac_func ();
43311 /* The GNU C library defines this for functions which it implements
43312 to always fail with ENOSYS. Some functions are actually named
43313 something starting with __ and the normal name is an alias. */
43314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43315 choke me
43316 #else
43317 char (*f) () = $ac_func;
43318 #endif
43319 #ifdef __cplusplus
43321 #endif
43324 main ()
43326 return f != $ac_func;
43328 return 0;
43330 _ACEOF
43331 rm -f conftest.$ac_objext conftest$ac_exeext
43332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43333 (eval $ac_link) 2>conftest.er1
43334 ac_status=$?
43335 grep -v '^ *+' conftest.er1 >conftest.err
43336 rm -f conftest.er1
43337 cat conftest.err >&5
43338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43339 (exit $ac_status); } &&
43340 { ac_try='test -z "$ac_c_werror_flag"
43341 || test ! -s conftest.err'
43342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43343 (eval $ac_try) 2>&5
43344 ac_status=$?
43345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43346 (exit $ac_status); }; } &&
43347 { ac_try='test -s conftest$ac_exeext'
43348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43349 (eval $ac_try) 2>&5
43350 ac_status=$?
43351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43352 (exit $ac_status); }; }; then
43353 eval "$as_ac_var=yes"
43354 else
43355 echo "$as_me: failed program was:" >&5
43356 sed 's/^/| /' conftest.$ac_ext >&5
43358 eval "$as_ac_var=no"
43360 rm -f conftest.err conftest.$ac_objext \
43361 conftest$ac_exeext conftest.$ac_ext
43363 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43364 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43365 if test `eval echo '${'$as_ac_var'}'` = yes; then
43366 cat >>confdefs.h <<_ACEOF
43367 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43368 _ACEOF
43371 done
43373 else
43375 echo "$as_me:$LINENO: checking for _finite declaration" >&5
43376 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
43377 if test x${glibcxx_cv_func__finite_use+set} != xset; then
43378 if test "${glibcxx_cv_func__finite_use+set}" = set; then
43379 echo $ECHO_N "(cached) $ECHO_C" >&6
43380 else
43384 ac_ext=cc
43385 ac_cpp='$CXXCPP $CPPFLAGS'
43386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43390 cat >conftest.$ac_ext <<_ACEOF
43391 /* confdefs.h. */
43392 _ACEOF
43393 cat confdefs.h >>conftest.$ac_ext
43394 cat >>conftest.$ac_ext <<_ACEOF
43395 /* end confdefs.h. */
43396 #include <math.h>
43397 #ifdef HAVE_IEEEFP_H
43398 #include <ieeefp.h>
43399 #endif
43402 main ()
43404 _finite(0);
43406 return 0;
43408 _ACEOF
43409 rm -f conftest.$ac_objext
43410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43411 (eval $ac_compile) 2>conftest.er1
43412 ac_status=$?
43413 grep -v '^ *+' conftest.er1 >conftest.err
43414 rm -f conftest.er1
43415 cat conftest.err >&5
43416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43417 (exit $ac_status); } &&
43418 { ac_try='test -z "$ac_cxx_werror_flag"
43419 || test ! -s conftest.err'
43420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43421 (eval $ac_try) 2>&5
43422 ac_status=$?
43423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43424 (exit $ac_status); }; } &&
43425 { ac_try='test -s conftest.$ac_objext'
43426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43427 (eval $ac_try) 2>&5
43428 ac_status=$?
43429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43430 (exit $ac_status); }; }; then
43431 glibcxx_cv_func__finite_use=yes
43432 else
43433 echo "$as_me: failed program was:" >&5
43434 sed 's/^/| /' conftest.$ac_ext >&5
43436 glibcxx_cv_func__finite_use=no
43438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43439 ac_ext=c
43440 ac_cpp='$CPP $CPPFLAGS'
43441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43449 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
43450 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
43452 if test x$glibcxx_cv_func__finite_use = x"yes"; then
43454 for ac_func in _finite
43456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43457 echo "$as_me:$LINENO: checking for $ac_func" >&5
43458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43459 if eval "test \"\${$as_ac_var+set}\" = set"; then
43460 echo $ECHO_N "(cached) $ECHO_C" >&6
43461 else
43462 if test x$gcc_no_link = xyes; then
43463 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43465 { (exit 1); exit 1; }; }
43467 cat >conftest.$ac_ext <<_ACEOF
43468 /* confdefs.h. */
43469 _ACEOF
43470 cat confdefs.h >>conftest.$ac_ext
43471 cat >>conftest.$ac_ext <<_ACEOF
43472 /* end confdefs.h. */
43473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43475 #define $ac_func innocuous_$ac_func
43477 /* System header to define __stub macros and hopefully few prototypes,
43478 which can conflict with char $ac_func (); below.
43479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43480 <limits.h> exists even on freestanding compilers. */
43482 #ifdef __STDC__
43483 # include <limits.h>
43484 #else
43485 # include <assert.h>
43486 #endif
43488 #undef $ac_func
43490 /* Override any gcc2 internal prototype to avoid an error. */
43491 #ifdef __cplusplus
43492 extern "C"
43494 #endif
43495 /* We use char because int might match the return type of a gcc2
43496 builtin and then its argument prototype would still apply. */
43497 char $ac_func ();
43498 /* The GNU C library defines this for functions which it implements
43499 to always fail with ENOSYS. Some functions are actually named
43500 something starting with __ and the normal name is an alias. */
43501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43502 choke me
43503 #else
43504 char (*f) () = $ac_func;
43505 #endif
43506 #ifdef __cplusplus
43508 #endif
43511 main ()
43513 return f != $ac_func;
43515 return 0;
43517 _ACEOF
43518 rm -f conftest.$ac_objext conftest$ac_exeext
43519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43520 (eval $ac_link) 2>conftest.er1
43521 ac_status=$?
43522 grep -v '^ *+' conftest.er1 >conftest.err
43523 rm -f conftest.er1
43524 cat conftest.err >&5
43525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43526 (exit $ac_status); } &&
43527 { ac_try='test -z "$ac_c_werror_flag"
43528 || test ! -s conftest.err'
43529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43530 (eval $ac_try) 2>&5
43531 ac_status=$?
43532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43533 (exit $ac_status); }; } &&
43534 { ac_try='test -s conftest$ac_exeext'
43535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43536 (eval $ac_try) 2>&5
43537 ac_status=$?
43538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43539 (exit $ac_status); }; }; then
43540 eval "$as_ac_var=yes"
43541 else
43542 echo "$as_me: failed program was:" >&5
43543 sed 's/^/| /' conftest.$ac_ext >&5
43545 eval "$as_ac_var=no"
43547 rm -f conftest.err conftest.$ac_objext \
43548 conftest$ac_exeext conftest.$ac_ext
43550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43552 if test `eval echo '${'$as_ac_var'}'` = yes; then
43553 cat >>confdefs.h <<_ACEOF
43554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43555 _ACEOF
43558 done
43568 echo "$as_me:$LINENO: checking for copysign declaration" >&5
43569 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
43570 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
43571 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
43572 echo $ECHO_N "(cached) $ECHO_C" >&6
43573 else
43577 ac_ext=cc
43578 ac_cpp='$CXXCPP $CPPFLAGS'
43579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43583 cat >conftest.$ac_ext <<_ACEOF
43584 /* confdefs.h. */
43585 _ACEOF
43586 cat confdefs.h >>conftest.$ac_ext
43587 cat >>conftest.$ac_ext <<_ACEOF
43588 /* end confdefs.h. */
43589 #include <math.h>
43591 main ()
43593 copysign(0, 0);
43595 return 0;
43597 _ACEOF
43598 rm -f conftest.$ac_objext
43599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43600 (eval $ac_compile) 2>conftest.er1
43601 ac_status=$?
43602 grep -v '^ *+' conftest.er1 >conftest.err
43603 rm -f conftest.er1
43604 cat conftest.err >&5
43605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43606 (exit $ac_status); } &&
43607 { ac_try='test -z "$ac_cxx_werror_flag"
43608 || test ! -s conftest.err'
43609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43610 (eval $ac_try) 2>&5
43611 ac_status=$?
43612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43613 (exit $ac_status); }; } &&
43614 { ac_try='test -s conftest.$ac_objext'
43615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43616 (eval $ac_try) 2>&5
43617 ac_status=$?
43618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43619 (exit $ac_status); }; }; then
43620 glibcxx_cv_func_copysign_use=yes
43621 else
43622 echo "$as_me: failed program was:" >&5
43623 sed 's/^/| /' conftest.$ac_ext >&5
43625 glibcxx_cv_func_copysign_use=no
43627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43628 ac_ext=c
43629 ac_cpp='$CPP $CPPFLAGS'
43630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43638 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
43639 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
43641 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
43643 for ac_func in copysign
43645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43646 echo "$as_me:$LINENO: checking for $ac_func" >&5
43647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43648 if eval "test \"\${$as_ac_var+set}\" = set"; then
43649 echo $ECHO_N "(cached) $ECHO_C" >&6
43650 else
43651 if test x$gcc_no_link = xyes; then
43652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43654 { (exit 1); exit 1; }; }
43656 cat >conftest.$ac_ext <<_ACEOF
43657 /* confdefs.h. */
43658 _ACEOF
43659 cat confdefs.h >>conftest.$ac_ext
43660 cat >>conftest.$ac_ext <<_ACEOF
43661 /* end confdefs.h. */
43662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43664 #define $ac_func innocuous_$ac_func
43666 /* System header to define __stub macros and hopefully few prototypes,
43667 which can conflict with char $ac_func (); below.
43668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43669 <limits.h> exists even on freestanding compilers. */
43671 #ifdef __STDC__
43672 # include <limits.h>
43673 #else
43674 # include <assert.h>
43675 #endif
43677 #undef $ac_func
43679 /* Override any gcc2 internal prototype to avoid an error. */
43680 #ifdef __cplusplus
43681 extern "C"
43683 #endif
43684 /* We use char because int might match the return type of a gcc2
43685 builtin and then its argument prototype would still apply. */
43686 char $ac_func ();
43687 /* The GNU C library defines this for functions which it implements
43688 to always fail with ENOSYS. Some functions are actually named
43689 something starting with __ and the normal name is an alias. */
43690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43691 choke me
43692 #else
43693 char (*f) () = $ac_func;
43694 #endif
43695 #ifdef __cplusplus
43697 #endif
43700 main ()
43702 return f != $ac_func;
43704 return 0;
43706 _ACEOF
43707 rm -f conftest.$ac_objext conftest$ac_exeext
43708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43709 (eval $ac_link) 2>conftest.er1
43710 ac_status=$?
43711 grep -v '^ *+' conftest.er1 >conftest.err
43712 rm -f conftest.er1
43713 cat conftest.err >&5
43714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43715 (exit $ac_status); } &&
43716 { ac_try='test -z "$ac_c_werror_flag"
43717 || test ! -s conftest.err'
43718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43719 (eval $ac_try) 2>&5
43720 ac_status=$?
43721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43722 (exit $ac_status); }; } &&
43723 { ac_try='test -s conftest$ac_exeext'
43724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43725 (eval $ac_try) 2>&5
43726 ac_status=$?
43727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43728 (exit $ac_status); }; }; then
43729 eval "$as_ac_var=yes"
43730 else
43731 echo "$as_me: failed program was:" >&5
43732 sed 's/^/| /' conftest.$ac_ext >&5
43734 eval "$as_ac_var=no"
43736 rm -f conftest.err conftest.$ac_objext \
43737 conftest$ac_exeext conftest.$ac_ext
43739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43741 if test `eval echo '${'$as_ac_var'}'` = yes; then
43742 cat >>confdefs.h <<_ACEOF
43743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43744 _ACEOF
43747 done
43749 else
43751 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
43752 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
43753 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
43754 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
43755 echo $ECHO_N "(cached) $ECHO_C" >&6
43756 else
43760 ac_ext=cc
43761 ac_cpp='$CXXCPP $CPPFLAGS'
43762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43766 cat >conftest.$ac_ext <<_ACEOF
43767 /* confdefs.h. */
43768 _ACEOF
43769 cat confdefs.h >>conftest.$ac_ext
43770 cat >>conftest.$ac_ext <<_ACEOF
43771 /* end confdefs.h. */
43772 #include <math.h>
43774 main ()
43776 _copysign(0, 0);
43778 return 0;
43780 _ACEOF
43781 rm -f conftest.$ac_objext
43782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43783 (eval $ac_compile) 2>conftest.er1
43784 ac_status=$?
43785 grep -v '^ *+' conftest.er1 >conftest.err
43786 rm -f conftest.er1
43787 cat conftest.err >&5
43788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43789 (exit $ac_status); } &&
43790 { ac_try='test -z "$ac_cxx_werror_flag"
43791 || test ! -s conftest.err'
43792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43793 (eval $ac_try) 2>&5
43794 ac_status=$?
43795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43796 (exit $ac_status); }; } &&
43797 { ac_try='test -s conftest.$ac_objext'
43798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43799 (eval $ac_try) 2>&5
43800 ac_status=$?
43801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43802 (exit $ac_status); }; }; then
43803 glibcxx_cv_func__copysign_use=yes
43804 else
43805 echo "$as_me: failed program was:" >&5
43806 sed 's/^/| /' conftest.$ac_ext >&5
43808 glibcxx_cv_func__copysign_use=no
43810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43811 ac_ext=c
43812 ac_cpp='$CPP $CPPFLAGS'
43813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43821 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
43822 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
43824 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
43826 for ac_func in _copysign
43828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43829 echo "$as_me:$LINENO: checking for $ac_func" >&5
43830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43831 if eval "test \"\${$as_ac_var+set}\" = set"; then
43832 echo $ECHO_N "(cached) $ECHO_C" >&6
43833 else
43834 if test x$gcc_no_link = xyes; then
43835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43837 { (exit 1); exit 1; }; }
43839 cat >conftest.$ac_ext <<_ACEOF
43840 /* confdefs.h. */
43841 _ACEOF
43842 cat confdefs.h >>conftest.$ac_ext
43843 cat >>conftest.$ac_ext <<_ACEOF
43844 /* end confdefs.h. */
43845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43847 #define $ac_func innocuous_$ac_func
43849 /* System header to define __stub macros and hopefully few prototypes,
43850 which can conflict with char $ac_func (); below.
43851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43852 <limits.h> exists even on freestanding compilers. */
43854 #ifdef __STDC__
43855 # include <limits.h>
43856 #else
43857 # include <assert.h>
43858 #endif
43860 #undef $ac_func
43862 /* Override any gcc2 internal prototype to avoid an error. */
43863 #ifdef __cplusplus
43864 extern "C"
43866 #endif
43867 /* We use char because int might match the return type of a gcc2
43868 builtin and then its argument prototype would still apply. */
43869 char $ac_func ();
43870 /* The GNU C library defines this for functions which it implements
43871 to always fail with ENOSYS. Some functions are actually named
43872 something starting with __ and the normal name is an alias. */
43873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43874 choke me
43875 #else
43876 char (*f) () = $ac_func;
43877 #endif
43878 #ifdef __cplusplus
43880 #endif
43883 main ()
43885 return f != $ac_func;
43887 return 0;
43889 _ACEOF
43890 rm -f conftest.$ac_objext conftest$ac_exeext
43891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43892 (eval $ac_link) 2>conftest.er1
43893 ac_status=$?
43894 grep -v '^ *+' conftest.er1 >conftest.err
43895 rm -f conftest.er1
43896 cat conftest.err >&5
43897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43898 (exit $ac_status); } &&
43899 { ac_try='test -z "$ac_c_werror_flag"
43900 || test ! -s conftest.err'
43901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43902 (eval $ac_try) 2>&5
43903 ac_status=$?
43904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43905 (exit $ac_status); }; } &&
43906 { ac_try='test -s conftest$ac_exeext'
43907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43908 (eval $ac_try) 2>&5
43909 ac_status=$?
43910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43911 (exit $ac_status); }; }; then
43912 eval "$as_ac_var=yes"
43913 else
43914 echo "$as_me: failed program was:" >&5
43915 sed 's/^/| /' conftest.$ac_ext >&5
43917 eval "$as_ac_var=no"
43919 rm -f conftest.err conftest.$ac_objext \
43920 conftest$ac_exeext conftest.$ac_ext
43922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43924 if test `eval echo '${'$as_ac_var'}'` = yes; then
43925 cat >>confdefs.h <<_ACEOF
43926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43927 _ACEOF
43930 done
43940 echo "$as_me:$LINENO: checking for sincos declaration" >&5
43941 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
43942 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
43943 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
43944 echo $ECHO_N "(cached) $ECHO_C" >&6
43945 else
43949 ac_ext=cc
43950 ac_cpp='$CXXCPP $CPPFLAGS'
43951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43955 cat >conftest.$ac_ext <<_ACEOF
43956 /* confdefs.h. */
43957 _ACEOF
43958 cat confdefs.h >>conftest.$ac_ext
43959 cat >>conftest.$ac_ext <<_ACEOF
43960 /* end confdefs.h. */
43961 #include <math.h>
43963 main ()
43965 sincos(0, 0, 0);
43967 return 0;
43969 _ACEOF
43970 rm -f conftest.$ac_objext
43971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43972 (eval $ac_compile) 2>conftest.er1
43973 ac_status=$?
43974 grep -v '^ *+' conftest.er1 >conftest.err
43975 rm -f conftest.er1
43976 cat conftest.err >&5
43977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43978 (exit $ac_status); } &&
43979 { ac_try='test -z "$ac_cxx_werror_flag"
43980 || test ! -s conftest.err'
43981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43982 (eval $ac_try) 2>&5
43983 ac_status=$?
43984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43985 (exit $ac_status); }; } &&
43986 { ac_try='test -s conftest.$ac_objext'
43987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43988 (eval $ac_try) 2>&5
43989 ac_status=$?
43990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43991 (exit $ac_status); }; }; then
43992 glibcxx_cv_func_sincos_use=yes
43993 else
43994 echo "$as_me: failed program was:" >&5
43995 sed 's/^/| /' conftest.$ac_ext >&5
43997 glibcxx_cv_func_sincos_use=no
43999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44000 ac_ext=c
44001 ac_cpp='$CPP $CPPFLAGS'
44002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44010 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
44011 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
44013 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
44015 for ac_func in sincos
44017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44018 echo "$as_me:$LINENO: checking for $ac_func" >&5
44019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44020 if eval "test \"\${$as_ac_var+set}\" = set"; then
44021 echo $ECHO_N "(cached) $ECHO_C" >&6
44022 else
44023 if test x$gcc_no_link = xyes; then
44024 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44026 { (exit 1); exit 1; }; }
44028 cat >conftest.$ac_ext <<_ACEOF
44029 /* confdefs.h. */
44030 _ACEOF
44031 cat confdefs.h >>conftest.$ac_ext
44032 cat >>conftest.$ac_ext <<_ACEOF
44033 /* end confdefs.h. */
44034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44036 #define $ac_func innocuous_$ac_func
44038 /* System header to define __stub macros and hopefully few prototypes,
44039 which can conflict with char $ac_func (); below.
44040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44041 <limits.h> exists even on freestanding compilers. */
44043 #ifdef __STDC__
44044 # include <limits.h>
44045 #else
44046 # include <assert.h>
44047 #endif
44049 #undef $ac_func
44051 /* Override any gcc2 internal prototype to avoid an error. */
44052 #ifdef __cplusplus
44053 extern "C"
44055 #endif
44056 /* We use char because int might match the return type of a gcc2
44057 builtin and then its argument prototype would still apply. */
44058 char $ac_func ();
44059 /* The GNU C library defines this for functions which it implements
44060 to always fail with ENOSYS. Some functions are actually named
44061 something starting with __ and the normal name is an alias. */
44062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44063 choke me
44064 #else
44065 char (*f) () = $ac_func;
44066 #endif
44067 #ifdef __cplusplus
44069 #endif
44072 main ()
44074 return f != $ac_func;
44076 return 0;
44078 _ACEOF
44079 rm -f conftest.$ac_objext conftest$ac_exeext
44080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44081 (eval $ac_link) 2>conftest.er1
44082 ac_status=$?
44083 grep -v '^ *+' conftest.er1 >conftest.err
44084 rm -f conftest.er1
44085 cat conftest.err >&5
44086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44087 (exit $ac_status); } &&
44088 { ac_try='test -z "$ac_c_werror_flag"
44089 || test ! -s conftest.err'
44090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44091 (eval $ac_try) 2>&5
44092 ac_status=$?
44093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44094 (exit $ac_status); }; } &&
44095 { ac_try='test -s conftest$ac_exeext'
44096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44097 (eval $ac_try) 2>&5
44098 ac_status=$?
44099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44100 (exit $ac_status); }; }; then
44101 eval "$as_ac_var=yes"
44102 else
44103 echo "$as_me: failed program was:" >&5
44104 sed 's/^/| /' conftest.$ac_ext >&5
44106 eval "$as_ac_var=no"
44108 rm -f conftest.err conftest.$ac_objext \
44109 conftest$ac_exeext conftest.$ac_ext
44111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44113 if test `eval echo '${'$as_ac_var'}'` = yes; then
44114 cat >>confdefs.h <<_ACEOF
44115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44116 _ACEOF
44119 done
44121 else
44123 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
44124 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
44125 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
44126 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
44127 echo $ECHO_N "(cached) $ECHO_C" >&6
44128 else
44132 ac_ext=cc
44133 ac_cpp='$CXXCPP $CPPFLAGS'
44134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44138 cat >conftest.$ac_ext <<_ACEOF
44139 /* confdefs.h. */
44140 _ACEOF
44141 cat confdefs.h >>conftest.$ac_ext
44142 cat >>conftest.$ac_ext <<_ACEOF
44143 /* end confdefs.h. */
44144 #include <math.h>
44146 main ()
44148 _sincos(0, 0, 0);
44150 return 0;
44152 _ACEOF
44153 rm -f conftest.$ac_objext
44154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44155 (eval $ac_compile) 2>conftest.er1
44156 ac_status=$?
44157 grep -v '^ *+' conftest.er1 >conftest.err
44158 rm -f conftest.er1
44159 cat conftest.err >&5
44160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44161 (exit $ac_status); } &&
44162 { ac_try='test -z "$ac_cxx_werror_flag"
44163 || test ! -s conftest.err'
44164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44165 (eval $ac_try) 2>&5
44166 ac_status=$?
44167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44168 (exit $ac_status); }; } &&
44169 { ac_try='test -s conftest.$ac_objext'
44170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44171 (eval $ac_try) 2>&5
44172 ac_status=$?
44173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44174 (exit $ac_status); }; }; then
44175 glibcxx_cv_func__sincos_use=yes
44176 else
44177 echo "$as_me: failed program was:" >&5
44178 sed 's/^/| /' conftest.$ac_ext >&5
44180 glibcxx_cv_func__sincos_use=no
44182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44183 ac_ext=c
44184 ac_cpp='$CPP $CPPFLAGS'
44185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44193 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
44194 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
44196 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
44198 for ac_func in _sincos
44200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44201 echo "$as_me:$LINENO: checking for $ac_func" >&5
44202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44203 if eval "test \"\${$as_ac_var+set}\" = set"; then
44204 echo $ECHO_N "(cached) $ECHO_C" >&6
44205 else
44206 if test x$gcc_no_link = xyes; then
44207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44209 { (exit 1); exit 1; }; }
44211 cat >conftest.$ac_ext <<_ACEOF
44212 /* confdefs.h. */
44213 _ACEOF
44214 cat confdefs.h >>conftest.$ac_ext
44215 cat >>conftest.$ac_ext <<_ACEOF
44216 /* end confdefs.h. */
44217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44219 #define $ac_func innocuous_$ac_func
44221 /* System header to define __stub macros and hopefully few prototypes,
44222 which can conflict with char $ac_func (); below.
44223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44224 <limits.h> exists even on freestanding compilers. */
44226 #ifdef __STDC__
44227 # include <limits.h>
44228 #else
44229 # include <assert.h>
44230 #endif
44232 #undef $ac_func
44234 /* Override any gcc2 internal prototype to avoid an error. */
44235 #ifdef __cplusplus
44236 extern "C"
44238 #endif
44239 /* We use char because int might match the return type of a gcc2
44240 builtin and then its argument prototype would still apply. */
44241 char $ac_func ();
44242 /* The GNU C library defines this for functions which it implements
44243 to always fail with ENOSYS. Some functions are actually named
44244 something starting with __ and the normal name is an alias. */
44245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44246 choke me
44247 #else
44248 char (*f) () = $ac_func;
44249 #endif
44250 #ifdef __cplusplus
44252 #endif
44255 main ()
44257 return f != $ac_func;
44259 return 0;
44261 _ACEOF
44262 rm -f conftest.$ac_objext conftest$ac_exeext
44263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44264 (eval $ac_link) 2>conftest.er1
44265 ac_status=$?
44266 grep -v '^ *+' conftest.er1 >conftest.err
44267 rm -f conftest.er1
44268 cat conftest.err >&5
44269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44270 (exit $ac_status); } &&
44271 { ac_try='test -z "$ac_c_werror_flag"
44272 || test ! -s conftest.err'
44273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44274 (eval $ac_try) 2>&5
44275 ac_status=$?
44276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44277 (exit $ac_status); }; } &&
44278 { ac_try='test -s conftest$ac_exeext'
44279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44280 (eval $ac_try) 2>&5
44281 ac_status=$?
44282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44283 (exit $ac_status); }; }; then
44284 eval "$as_ac_var=yes"
44285 else
44286 echo "$as_me: failed program was:" >&5
44287 sed 's/^/| /' conftest.$ac_ext >&5
44289 eval "$as_ac_var=no"
44291 rm -f conftest.err conftest.$ac_objext \
44292 conftest$ac_exeext conftest.$ac_ext
44294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44296 if test `eval echo '${'$as_ac_var'}'` = yes; then
44297 cat >>confdefs.h <<_ACEOF
44298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44299 _ACEOF
44302 done
44312 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
44313 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
44314 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
44315 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
44316 echo $ECHO_N "(cached) $ECHO_C" >&6
44317 else
44321 ac_ext=cc
44322 ac_cpp='$CXXCPP $CPPFLAGS'
44323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44327 cat >conftest.$ac_ext <<_ACEOF
44328 /* confdefs.h. */
44329 _ACEOF
44330 cat confdefs.h >>conftest.$ac_ext
44331 cat >>conftest.$ac_ext <<_ACEOF
44332 /* end confdefs.h. */
44333 #include <math.h>
44334 #ifdef HAVE_IEEEFP_H
44335 #include <ieeefp.h>
44336 #endif
44339 main ()
44341 fpclass(0);
44343 return 0;
44345 _ACEOF
44346 rm -f conftest.$ac_objext
44347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44348 (eval $ac_compile) 2>conftest.er1
44349 ac_status=$?
44350 grep -v '^ *+' conftest.er1 >conftest.err
44351 rm -f conftest.er1
44352 cat conftest.err >&5
44353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44354 (exit $ac_status); } &&
44355 { ac_try='test -z "$ac_cxx_werror_flag"
44356 || test ! -s conftest.err'
44357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44358 (eval $ac_try) 2>&5
44359 ac_status=$?
44360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44361 (exit $ac_status); }; } &&
44362 { ac_try='test -s conftest.$ac_objext'
44363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44364 (eval $ac_try) 2>&5
44365 ac_status=$?
44366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44367 (exit $ac_status); }; }; then
44368 glibcxx_cv_func_fpclass_use=yes
44369 else
44370 echo "$as_me: failed program was:" >&5
44371 sed 's/^/| /' conftest.$ac_ext >&5
44373 glibcxx_cv_func_fpclass_use=no
44375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44376 ac_ext=c
44377 ac_cpp='$CPP $CPPFLAGS'
44378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44386 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
44387 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
44389 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
44391 for ac_func in fpclass
44393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44394 echo "$as_me:$LINENO: checking for $ac_func" >&5
44395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44396 if eval "test \"\${$as_ac_var+set}\" = set"; then
44397 echo $ECHO_N "(cached) $ECHO_C" >&6
44398 else
44399 if test x$gcc_no_link = xyes; then
44400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44402 { (exit 1); exit 1; }; }
44404 cat >conftest.$ac_ext <<_ACEOF
44405 /* confdefs.h. */
44406 _ACEOF
44407 cat confdefs.h >>conftest.$ac_ext
44408 cat >>conftest.$ac_ext <<_ACEOF
44409 /* end confdefs.h. */
44410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44412 #define $ac_func innocuous_$ac_func
44414 /* System header to define __stub macros and hopefully few prototypes,
44415 which can conflict with char $ac_func (); below.
44416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44417 <limits.h> exists even on freestanding compilers. */
44419 #ifdef __STDC__
44420 # include <limits.h>
44421 #else
44422 # include <assert.h>
44423 #endif
44425 #undef $ac_func
44427 /* Override any gcc2 internal prototype to avoid an error. */
44428 #ifdef __cplusplus
44429 extern "C"
44431 #endif
44432 /* We use char because int might match the return type of a gcc2
44433 builtin and then its argument prototype would still apply. */
44434 char $ac_func ();
44435 /* The GNU C library defines this for functions which it implements
44436 to always fail with ENOSYS. Some functions are actually named
44437 something starting with __ and the normal name is an alias. */
44438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44439 choke me
44440 #else
44441 char (*f) () = $ac_func;
44442 #endif
44443 #ifdef __cplusplus
44445 #endif
44448 main ()
44450 return f != $ac_func;
44452 return 0;
44454 _ACEOF
44455 rm -f conftest.$ac_objext conftest$ac_exeext
44456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44457 (eval $ac_link) 2>conftest.er1
44458 ac_status=$?
44459 grep -v '^ *+' conftest.er1 >conftest.err
44460 rm -f conftest.er1
44461 cat conftest.err >&5
44462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44463 (exit $ac_status); } &&
44464 { ac_try='test -z "$ac_c_werror_flag"
44465 || test ! -s conftest.err'
44466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44467 (eval $ac_try) 2>&5
44468 ac_status=$?
44469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44470 (exit $ac_status); }; } &&
44471 { ac_try='test -s conftest$ac_exeext'
44472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44473 (eval $ac_try) 2>&5
44474 ac_status=$?
44475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44476 (exit $ac_status); }; }; then
44477 eval "$as_ac_var=yes"
44478 else
44479 echo "$as_me: failed program was:" >&5
44480 sed 's/^/| /' conftest.$ac_ext >&5
44482 eval "$as_ac_var=no"
44484 rm -f conftest.err conftest.$ac_objext \
44485 conftest$ac_exeext conftest.$ac_ext
44487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44489 if test `eval echo '${'$as_ac_var'}'` = yes; then
44490 cat >>confdefs.h <<_ACEOF
44491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44492 _ACEOF
44495 done
44497 else
44499 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
44500 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
44501 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
44502 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
44503 echo $ECHO_N "(cached) $ECHO_C" >&6
44504 else
44508 ac_ext=cc
44509 ac_cpp='$CXXCPP $CPPFLAGS'
44510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44514 cat >conftest.$ac_ext <<_ACEOF
44515 /* confdefs.h. */
44516 _ACEOF
44517 cat confdefs.h >>conftest.$ac_ext
44518 cat >>conftest.$ac_ext <<_ACEOF
44519 /* end confdefs.h. */
44520 #include <math.h>
44521 #ifdef HAVE_IEEEFP_H
44522 #include <ieeefp.h>
44523 #endif
44526 main ()
44528 _fpclass(0);
44530 return 0;
44532 _ACEOF
44533 rm -f conftest.$ac_objext
44534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44535 (eval $ac_compile) 2>conftest.er1
44536 ac_status=$?
44537 grep -v '^ *+' conftest.er1 >conftest.err
44538 rm -f conftest.er1
44539 cat conftest.err >&5
44540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44541 (exit $ac_status); } &&
44542 { ac_try='test -z "$ac_cxx_werror_flag"
44543 || test ! -s conftest.err'
44544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44545 (eval $ac_try) 2>&5
44546 ac_status=$?
44547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44548 (exit $ac_status); }; } &&
44549 { ac_try='test -s conftest.$ac_objext'
44550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44551 (eval $ac_try) 2>&5
44552 ac_status=$?
44553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44554 (exit $ac_status); }; }; then
44555 glibcxx_cv_func__fpclass_use=yes
44556 else
44557 echo "$as_me: failed program was:" >&5
44558 sed 's/^/| /' conftest.$ac_ext >&5
44560 glibcxx_cv_func__fpclass_use=no
44562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44563 ac_ext=c
44564 ac_cpp='$CPP $CPPFLAGS'
44565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44573 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
44574 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
44576 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
44578 for ac_func in _fpclass
44580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44581 echo "$as_me:$LINENO: checking for $ac_func" >&5
44582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44583 if eval "test \"\${$as_ac_var+set}\" = set"; then
44584 echo $ECHO_N "(cached) $ECHO_C" >&6
44585 else
44586 if test x$gcc_no_link = xyes; then
44587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44589 { (exit 1); exit 1; }; }
44591 cat >conftest.$ac_ext <<_ACEOF
44592 /* confdefs.h. */
44593 _ACEOF
44594 cat confdefs.h >>conftest.$ac_ext
44595 cat >>conftest.$ac_ext <<_ACEOF
44596 /* end confdefs.h. */
44597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44599 #define $ac_func innocuous_$ac_func
44601 /* System header to define __stub macros and hopefully few prototypes,
44602 which can conflict with char $ac_func (); below.
44603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44604 <limits.h> exists even on freestanding compilers. */
44606 #ifdef __STDC__
44607 # include <limits.h>
44608 #else
44609 # include <assert.h>
44610 #endif
44612 #undef $ac_func
44614 /* Override any gcc2 internal prototype to avoid an error. */
44615 #ifdef __cplusplus
44616 extern "C"
44618 #endif
44619 /* We use char because int might match the return type of a gcc2
44620 builtin and then its argument prototype would still apply. */
44621 char $ac_func ();
44622 /* The GNU C library defines this for functions which it implements
44623 to always fail with ENOSYS. Some functions are actually named
44624 something starting with __ and the normal name is an alias. */
44625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44626 choke me
44627 #else
44628 char (*f) () = $ac_func;
44629 #endif
44630 #ifdef __cplusplus
44632 #endif
44635 main ()
44637 return f != $ac_func;
44639 return 0;
44641 _ACEOF
44642 rm -f conftest.$ac_objext conftest$ac_exeext
44643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44644 (eval $ac_link) 2>conftest.er1
44645 ac_status=$?
44646 grep -v '^ *+' conftest.er1 >conftest.err
44647 rm -f conftest.er1
44648 cat conftest.err >&5
44649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44650 (exit $ac_status); } &&
44651 { ac_try='test -z "$ac_c_werror_flag"
44652 || test ! -s conftest.err'
44653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44654 (eval $ac_try) 2>&5
44655 ac_status=$?
44656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44657 (exit $ac_status); }; } &&
44658 { ac_try='test -s conftest$ac_exeext'
44659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44660 (eval $ac_try) 2>&5
44661 ac_status=$?
44662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44663 (exit $ac_status); }; }; then
44664 eval "$as_ac_var=yes"
44665 else
44666 echo "$as_me: failed program was:" >&5
44667 sed 's/^/| /' conftest.$ac_ext >&5
44669 eval "$as_ac_var=no"
44671 rm -f conftest.err conftest.$ac_objext \
44672 conftest$ac_exeext conftest.$ac_ext
44674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44676 if test `eval echo '${'$as_ac_var'}'` = yes; then
44677 cat >>confdefs.h <<_ACEOF
44678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44679 _ACEOF
44682 done
44692 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
44693 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
44694 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
44695 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
44696 echo $ECHO_N "(cached) $ECHO_C" >&6
44697 else
44701 ac_ext=cc
44702 ac_cpp='$CXXCPP $CPPFLAGS'
44703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44707 cat >conftest.$ac_ext <<_ACEOF
44708 /* confdefs.h. */
44709 _ACEOF
44710 cat confdefs.h >>conftest.$ac_ext
44711 cat >>conftest.$ac_ext <<_ACEOF
44712 /* end confdefs.h. */
44713 #include <math.h>
44714 #ifdef HAVE_IEEEFP_H
44715 #include <ieeefp.h>
44716 #endif
44719 main ()
44721 qfpclass(0);
44723 return 0;
44725 _ACEOF
44726 rm -f conftest.$ac_objext
44727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44728 (eval $ac_compile) 2>conftest.er1
44729 ac_status=$?
44730 grep -v '^ *+' conftest.er1 >conftest.err
44731 rm -f conftest.er1
44732 cat conftest.err >&5
44733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44734 (exit $ac_status); } &&
44735 { ac_try='test -z "$ac_cxx_werror_flag"
44736 || test ! -s conftest.err'
44737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44738 (eval $ac_try) 2>&5
44739 ac_status=$?
44740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44741 (exit $ac_status); }; } &&
44742 { ac_try='test -s conftest.$ac_objext'
44743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44744 (eval $ac_try) 2>&5
44745 ac_status=$?
44746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44747 (exit $ac_status); }; }; then
44748 glibcxx_cv_func_qfpclass_use=yes
44749 else
44750 echo "$as_me: failed program was:" >&5
44751 sed 's/^/| /' conftest.$ac_ext >&5
44753 glibcxx_cv_func_qfpclass_use=no
44755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44756 ac_ext=c
44757 ac_cpp='$CPP $CPPFLAGS'
44758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44766 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
44767 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
44769 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
44771 for ac_func in qfpclass
44773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44774 echo "$as_me:$LINENO: checking for $ac_func" >&5
44775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44776 if eval "test \"\${$as_ac_var+set}\" = set"; then
44777 echo $ECHO_N "(cached) $ECHO_C" >&6
44778 else
44779 if test x$gcc_no_link = xyes; then
44780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44782 { (exit 1); exit 1; }; }
44784 cat >conftest.$ac_ext <<_ACEOF
44785 /* confdefs.h. */
44786 _ACEOF
44787 cat confdefs.h >>conftest.$ac_ext
44788 cat >>conftest.$ac_ext <<_ACEOF
44789 /* end confdefs.h. */
44790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44792 #define $ac_func innocuous_$ac_func
44794 /* System header to define __stub macros and hopefully few prototypes,
44795 which can conflict with char $ac_func (); below.
44796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44797 <limits.h> exists even on freestanding compilers. */
44799 #ifdef __STDC__
44800 # include <limits.h>
44801 #else
44802 # include <assert.h>
44803 #endif
44805 #undef $ac_func
44807 /* Override any gcc2 internal prototype to avoid an error. */
44808 #ifdef __cplusplus
44809 extern "C"
44811 #endif
44812 /* We use char because int might match the return type of a gcc2
44813 builtin and then its argument prototype would still apply. */
44814 char $ac_func ();
44815 /* The GNU C library defines this for functions which it implements
44816 to always fail with ENOSYS. Some functions are actually named
44817 something starting with __ and the normal name is an alias. */
44818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44819 choke me
44820 #else
44821 char (*f) () = $ac_func;
44822 #endif
44823 #ifdef __cplusplus
44825 #endif
44828 main ()
44830 return f != $ac_func;
44832 return 0;
44834 _ACEOF
44835 rm -f conftest.$ac_objext conftest$ac_exeext
44836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44837 (eval $ac_link) 2>conftest.er1
44838 ac_status=$?
44839 grep -v '^ *+' conftest.er1 >conftest.err
44840 rm -f conftest.er1
44841 cat conftest.err >&5
44842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44843 (exit $ac_status); } &&
44844 { ac_try='test -z "$ac_c_werror_flag"
44845 || test ! -s conftest.err'
44846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44847 (eval $ac_try) 2>&5
44848 ac_status=$?
44849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44850 (exit $ac_status); }; } &&
44851 { ac_try='test -s conftest$ac_exeext'
44852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44853 (eval $ac_try) 2>&5
44854 ac_status=$?
44855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44856 (exit $ac_status); }; }; then
44857 eval "$as_ac_var=yes"
44858 else
44859 echo "$as_me: failed program was:" >&5
44860 sed 's/^/| /' conftest.$ac_ext >&5
44862 eval "$as_ac_var=no"
44864 rm -f conftest.err conftest.$ac_objext \
44865 conftest$ac_exeext conftest.$ac_ext
44867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44869 if test `eval echo '${'$as_ac_var'}'` = yes; then
44870 cat >>confdefs.h <<_ACEOF
44871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44872 _ACEOF
44875 done
44877 else
44879 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
44880 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
44881 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
44882 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
44883 echo $ECHO_N "(cached) $ECHO_C" >&6
44884 else
44888 ac_ext=cc
44889 ac_cpp='$CXXCPP $CPPFLAGS'
44890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44894 cat >conftest.$ac_ext <<_ACEOF
44895 /* confdefs.h. */
44896 _ACEOF
44897 cat confdefs.h >>conftest.$ac_ext
44898 cat >>conftest.$ac_ext <<_ACEOF
44899 /* end confdefs.h. */
44900 #include <math.h>
44901 #ifdef HAVE_IEEEFP_H
44902 #include <ieeefp.h>
44903 #endif
44906 main ()
44908 _qfpclass(0);
44910 return 0;
44912 _ACEOF
44913 rm -f conftest.$ac_objext
44914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44915 (eval $ac_compile) 2>conftest.er1
44916 ac_status=$?
44917 grep -v '^ *+' conftest.er1 >conftest.err
44918 rm -f conftest.er1
44919 cat conftest.err >&5
44920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44921 (exit $ac_status); } &&
44922 { ac_try='test -z "$ac_cxx_werror_flag"
44923 || test ! -s conftest.err'
44924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44925 (eval $ac_try) 2>&5
44926 ac_status=$?
44927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44928 (exit $ac_status); }; } &&
44929 { ac_try='test -s conftest.$ac_objext'
44930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44931 (eval $ac_try) 2>&5
44932 ac_status=$?
44933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44934 (exit $ac_status); }; }; then
44935 glibcxx_cv_func__qfpclass_use=yes
44936 else
44937 echo "$as_me: failed program was:" >&5
44938 sed 's/^/| /' conftest.$ac_ext >&5
44940 glibcxx_cv_func__qfpclass_use=no
44942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44943 ac_ext=c
44944 ac_cpp='$CPP $CPPFLAGS'
44945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44953 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
44954 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
44956 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
44958 for ac_func in _qfpclass
44960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44961 echo "$as_me:$LINENO: checking for $ac_func" >&5
44962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44963 if eval "test \"\${$as_ac_var+set}\" = set"; then
44964 echo $ECHO_N "(cached) $ECHO_C" >&6
44965 else
44966 if test x$gcc_no_link = xyes; then
44967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44969 { (exit 1); exit 1; }; }
44971 cat >conftest.$ac_ext <<_ACEOF
44972 /* confdefs.h. */
44973 _ACEOF
44974 cat confdefs.h >>conftest.$ac_ext
44975 cat >>conftest.$ac_ext <<_ACEOF
44976 /* end confdefs.h. */
44977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44979 #define $ac_func innocuous_$ac_func
44981 /* System header to define __stub macros and hopefully few prototypes,
44982 which can conflict with char $ac_func (); below.
44983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44984 <limits.h> exists even on freestanding compilers. */
44986 #ifdef __STDC__
44987 # include <limits.h>
44988 #else
44989 # include <assert.h>
44990 #endif
44992 #undef $ac_func
44994 /* Override any gcc2 internal prototype to avoid an error. */
44995 #ifdef __cplusplus
44996 extern "C"
44998 #endif
44999 /* We use char because int might match the return type of a gcc2
45000 builtin and then its argument prototype would still apply. */
45001 char $ac_func ();
45002 /* The GNU C library defines this for functions which it implements
45003 to always fail with ENOSYS. Some functions are actually named
45004 something starting with __ and the normal name is an alias. */
45005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45006 choke me
45007 #else
45008 char (*f) () = $ac_func;
45009 #endif
45010 #ifdef __cplusplus
45012 #endif
45015 main ()
45017 return f != $ac_func;
45019 return 0;
45021 _ACEOF
45022 rm -f conftest.$ac_objext conftest$ac_exeext
45023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45024 (eval $ac_link) 2>conftest.er1
45025 ac_status=$?
45026 grep -v '^ *+' conftest.er1 >conftest.err
45027 rm -f conftest.er1
45028 cat conftest.err >&5
45029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45030 (exit $ac_status); } &&
45031 { ac_try='test -z "$ac_c_werror_flag"
45032 || test ! -s conftest.err'
45033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45034 (eval $ac_try) 2>&5
45035 ac_status=$?
45036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45037 (exit $ac_status); }; } &&
45038 { ac_try='test -s conftest$ac_exeext'
45039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45040 (eval $ac_try) 2>&5
45041 ac_status=$?
45042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45043 (exit $ac_status); }; }; then
45044 eval "$as_ac_var=yes"
45045 else
45046 echo "$as_me: failed program was:" >&5
45047 sed 's/^/| /' conftest.$ac_ext >&5
45049 eval "$as_ac_var=no"
45051 rm -f conftest.err conftest.$ac_objext \
45052 conftest$ac_exeext conftest.$ac_ext
45054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45056 if test `eval echo '${'$as_ac_var'}'` = yes; then
45057 cat >>confdefs.h <<_ACEOF
45058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45059 _ACEOF
45062 done
45072 echo "$as_me:$LINENO: checking for hypot declaration" >&5
45073 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
45074 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45075 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
45076 echo $ECHO_N "(cached) $ECHO_C" >&6
45077 else
45081 ac_ext=cc
45082 ac_cpp='$CXXCPP $CPPFLAGS'
45083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45087 cat >conftest.$ac_ext <<_ACEOF
45088 /* confdefs.h. */
45089 _ACEOF
45090 cat confdefs.h >>conftest.$ac_ext
45091 cat >>conftest.$ac_ext <<_ACEOF
45092 /* end confdefs.h. */
45093 #include <math.h>
45095 main ()
45097 hypot(0, 0);
45099 return 0;
45101 _ACEOF
45102 rm -f conftest.$ac_objext
45103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45104 (eval $ac_compile) 2>conftest.er1
45105 ac_status=$?
45106 grep -v '^ *+' conftest.er1 >conftest.err
45107 rm -f conftest.er1
45108 cat conftest.err >&5
45109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45110 (exit $ac_status); } &&
45111 { ac_try='test -z "$ac_cxx_werror_flag"
45112 || test ! -s conftest.err'
45113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45114 (eval $ac_try) 2>&5
45115 ac_status=$?
45116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45117 (exit $ac_status); }; } &&
45118 { ac_try='test -s conftest.$ac_objext'
45119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45120 (eval $ac_try) 2>&5
45121 ac_status=$?
45122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45123 (exit $ac_status); }; }; then
45124 glibcxx_cv_func_hypot_use=yes
45125 else
45126 echo "$as_me: failed program was:" >&5
45127 sed 's/^/| /' conftest.$ac_ext >&5
45129 glibcxx_cv_func_hypot_use=no
45131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45132 ac_ext=c
45133 ac_cpp='$CPP $CPPFLAGS'
45134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45142 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
45143 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
45145 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45147 for ac_func in hypot
45149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45150 echo "$as_me:$LINENO: checking for $ac_func" >&5
45151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45152 if eval "test \"\${$as_ac_var+set}\" = set"; then
45153 echo $ECHO_N "(cached) $ECHO_C" >&6
45154 else
45155 if test x$gcc_no_link = xyes; then
45156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45158 { (exit 1); exit 1; }; }
45160 cat >conftest.$ac_ext <<_ACEOF
45161 /* confdefs.h. */
45162 _ACEOF
45163 cat confdefs.h >>conftest.$ac_ext
45164 cat >>conftest.$ac_ext <<_ACEOF
45165 /* end confdefs.h. */
45166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45168 #define $ac_func innocuous_$ac_func
45170 /* System header to define __stub macros and hopefully few prototypes,
45171 which can conflict with char $ac_func (); below.
45172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45173 <limits.h> exists even on freestanding compilers. */
45175 #ifdef __STDC__
45176 # include <limits.h>
45177 #else
45178 # include <assert.h>
45179 #endif
45181 #undef $ac_func
45183 /* Override any gcc2 internal prototype to avoid an error. */
45184 #ifdef __cplusplus
45185 extern "C"
45187 #endif
45188 /* We use char because int might match the return type of a gcc2
45189 builtin and then its argument prototype would still apply. */
45190 char $ac_func ();
45191 /* The GNU C library defines this for functions which it implements
45192 to always fail with ENOSYS. Some functions are actually named
45193 something starting with __ and the normal name is an alias. */
45194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45195 choke me
45196 #else
45197 char (*f) () = $ac_func;
45198 #endif
45199 #ifdef __cplusplus
45201 #endif
45204 main ()
45206 return f != $ac_func;
45208 return 0;
45210 _ACEOF
45211 rm -f conftest.$ac_objext conftest$ac_exeext
45212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45213 (eval $ac_link) 2>conftest.er1
45214 ac_status=$?
45215 grep -v '^ *+' conftest.er1 >conftest.err
45216 rm -f conftest.er1
45217 cat conftest.err >&5
45218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45219 (exit $ac_status); } &&
45220 { ac_try='test -z "$ac_c_werror_flag"
45221 || test ! -s conftest.err'
45222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45223 (eval $ac_try) 2>&5
45224 ac_status=$?
45225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45226 (exit $ac_status); }; } &&
45227 { ac_try='test -s conftest$ac_exeext'
45228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45229 (eval $ac_try) 2>&5
45230 ac_status=$?
45231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45232 (exit $ac_status); }; }; then
45233 eval "$as_ac_var=yes"
45234 else
45235 echo "$as_me: failed program was:" >&5
45236 sed 's/^/| /' conftest.$ac_ext >&5
45238 eval "$as_ac_var=no"
45240 rm -f conftest.err conftest.$ac_objext \
45241 conftest$ac_exeext conftest.$ac_ext
45243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45245 if test `eval echo '${'$as_ac_var'}'` = yes; then
45246 cat >>confdefs.h <<_ACEOF
45247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45248 _ACEOF
45251 done
45253 else
45255 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
45256 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
45257 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45258 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
45259 echo $ECHO_N "(cached) $ECHO_C" >&6
45260 else
45264 ac_ext=cc
45265 ac_cpp='$CXXCPP $CPPFLAGS'
45266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45270 cat >conftest.$ac_ext <<_ACEOF
45271 /* confdefs.h. */
45272 _ACEOF
45273 cat confdefs.h >>conftest.$ac_ext
45274 cat >>conftest.$ac_ext <<_ACEOF
45275 /* end confdefs.h. */
45276 #include <math.h>
45278 main ()
45280 _hypot(0, 0);
45282 return 0;
45284 _ACEOF
45285 rm -f conftest.$ac_objext
45286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45287 (eval $ac_compile) 2>conftest.er1
45288 ac_status=$?
45289 grep -v '^ *+' conftest.er1 >conftest.err
45290 rm -f conftest.er1
45291 cat conftest.err >&5
45292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45293 (exit $ac_status); } &&
45294 { ac_try='test -z "$ac_cxx_werror_flag"
45295 || test ! -s conftest.err'
45296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45297 (eval $ac_try) 2>&5
45298 ac_status=$?
45299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45300 (exit $ac_status); }; } &&
45301 { ac_try='test -s conftest.$ac_objext'
45302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45303 (eval $ac_try) 2>&5
45304 ac_status=$?
45305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45306 (exit $ac_status); }; }; then
45307 glibcxx_cv_func__hypot_use=yes
45308 else
45309 echo "$as_me: failed program was:" >&5
45310 sed 's/^/| /' conftest.$ac_ext >&5
45312 glibcxx_cv_func__hypot_use=no
45314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45315 ac_ext=c
45316 ac_cpp='$CPP $CPPFLAGS'
45317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45325 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
45326 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
45328 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45330 for ac_func in _hypot
45332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45333 echo "$as_me:$LINENO: checking for $ac_func" >&5
45334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45335 if eval "test \"\${$as_ac_var+set}\" = set"; then
45336 echo $ECHO_N "(cached) $ECHO_C" >&6
45337 else
45338 if test x$gcc_no_link = xyes; then
45339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45341 { (exit 1); exit 1; }; }
45343 cat >conftest.$ac_ext <<_ACEOF
45344 /* confdefs.h. */
45345 _ACEOF
45346 cat confdefs.h >>conftest.$ac_ext
45347 cat >>conftest.$ac_ext <<_ACEOF
45348 /* end confdefs.h. */
45349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45351 #define $ac_func innocuous_$ac_func
45353 /* System header to define __stub macros and hopefully few prototypes,
45354 which can conflict with char $ac_func (); below.
45355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45356 <limits.h> exists even on freestanding compilers. */
45358 #ifdef __STDC__
45359 # include <limits.h>
45360 #else
45361 # include <assert.h>
45362 #endif
45364 #undef $ac_func
45366 /* Override any gcc2 internal prototype to avoid an error. */
45367 #ifdef __cplusplus
45368 extern "C"
45370 #endif
45371 /* We use char because int might match the return type of a gcc2
45372 builtin and then its argument prototype would still apply. */
45373 char $ac_func ();
45374 /* The GNU C library defines this for functions which it implements
45375 to always fail with ENOSYS. Some functions are actually named
45376 something starting with __ and the normal name is an alias. */
45377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45378 choke me
45379 #else
45380 char (*f) () = $ac_func;
45381 #endif
45382 #ifdef __cplusplus
45384 #endif
45387 main ()
45389 return f != $ac_func;
45391 return 0;
45393 _ACEOF
45394 rm -f conftest.$ac_objext conftest$ac_exeext
45395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45396 (eval $ac_link) 2>conftest.er1
45397 ac_status=$?
45398 grep -v '^ *+' conftest.er1 >conftest.err
45399 rm -f conftest.er1
45400 cat conftest.err >&5
45401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45402 (exit $ac_status); } &&
45403 { ac_try='test -z "$ac_c_werror_flag"
45404 || test ! -s conftest.err'
45405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45406 (eval $ac_try) 2>&5
45407 ac_status=$?
45408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45409 (exit $ac_status); }; } &&
45410 { ac_try='test -s conftest$ac_exeext'
45411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45412 (eval $ac_try) 2>&5
45413 ac_status=$?
45414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45415 (exit $ac_status); }; }; then
45416 eval "$as_ac_var=yes"
45417 else
45418 echo "$as_me: failed program was:" >&5
45419 sed 's/^/| /' conftest.$ac_ext >&5
45421 eval "$as_ac_var=no"
45423 rm -f conftest.err conftest.$ac_objext \
45424 conftest$ac_exeext conftest.$ac_ext
45426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45428 if test `eval echo '${'$as_ac_var'}'` = yes; then
45429 cat >>confdefs.h <<_ACEOF
45430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45431 _ACEOF
45434 done
45444 echo "$as_me:$LINENO: checking for float trig functions" >&5
45445 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
45446 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
45447 echo $ECHO_N "(cached) $ECHO_C" >&6
45448 else
45452 ac_ext=cc
45453 ac_cpp='$CXXCPP $CPPFLAGS'
45454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45458 cat >conftest.$ac_ext <<_ACEOF
45459 /* confdefs.h. */
45460 _ACEOF
45461 cat confdefs.h >>conftest.$ac_ext
45462 cat >>conftest.$ac_ext <<_ACEOF
45463 /* end confdefs.h. */
45464 #include <math.h>
45466 main ()
45468 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45470 return 0;
45472 _ACEOF
45473 rm -f conftest.$ac_objext
45474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45475 (eval $ac_compile) 2>conftest.er1
45476 ac_status=$?
45477 grep -v '^ *+' conftest.er1 >conftest.err
45478 rm -f conftest.er1
45479 cat conftest.err >&5
45480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45481 (exit $ac_status); } &&
45482 { ac_try='test -z "$ac_cxx_werror_flag"
45483 || test ! -s conftest.err'
45484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45485 (eval $ac_try) 2>&5
45486 ac_status=$?
45487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45488 (exit $ac_status); }; } &&
45489 { ac_try='test -s conftest.$ac_objext'
45490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45491 (eval $ac_try) 2>&5
45492 ac_status=$?
45493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45494 (exit $ac_status); }; }; then
45495 glibcxx_cv_func_float_trig_use=yes
45496 else
45497 echo "$as_me: failed program was:" >&5
45498 sed 's/^/| /' conftest.$ac_ext >&5
45500 glibcxx_cv_func_float_trig_use=no
45502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45503 ac_ext=c
45504 ac_cpp='$CPP $CPPFLAGS'
45505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45511 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
45512 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
45513 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45523 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45526 echo "$as_me:$LINENO: checking for $ac_func" >&5
45527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45528 if eval "test \"\${$as_ac_var+set}\" = set"; then
45529 echo $ECHO_N "(cached) $ECHO_C" >&6
45530 else
45531 if test x$gcc_no_link = xyes; then
45532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45534 { (exit 1); exit 1; }; }
45536 cat >conftest.$ac_ext <<_ACEOF
45537 /* confdefs.h. */
45538 _ACEOF
45539 cat confdefs.h >>conftest.$ac_ext
45540 cat >>conftest.$ac_ext <<_ACEOF
45541 /* end confdefs.h. */
45542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45544 #define $ac_func innocuous_$ac_func
45546 /* System header to define __stub macros and hopefully few prototypes,
45547 which can conflict with char $ac_func (); below.
45548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45549 <limits.h> exists even on freestanding compilers. */
45551 #ifdef __STDC__
45552 # include <limits.h>
45553 #else
45554 # include <assert.h>
45555 #endif
45557 #undef $ac_func
45559 /* Override any gcc2 internal prototype to avoid an error. */
45560 #ifdef __cplusplus
45561 extern "C"
45563 #endif
45564 /* We use char because int might match the return type of a gcc2
45565 builtin and then its argument prototype would still apply. */
45566 char $ac_func ();
45567 /* The GNU C library defines this for functions which it implements
45568 to always fail with ENOSYS. Some functions are actually named
45569 something starting with __ and the normal name is an alias. */
45570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45571 choke me
45572 #else
45573 char (*f) () = $ac_func;
45574 #endif
45575 #ifdef __cplusplus
45577 #endif
45580 main ()
45582 return f != $ac_func;
45584 return 0;
45586 _ACEOF
45587 rm -f conftest.$ac_objext conftest$ac_exeext
45588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45589 (eval $ac_link) 2>conftest.er1
45590 ac_status=$?
45591 grep -v '^ *+' conftest.er1 >conftest.err
45592 rm -f conftest.er1
45593 cat conftest.err >&5
45594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45595 (exit $ac_status); } &&
45596 { ac_try='test -z "$ac_c_werror_flag"
45597 || test ! -s conftest.err'
45598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45599 (eval $ac_try) 2>&5
45600 ac_status=$?
45601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45602 (exit $ac_status); }; } &&
45603 { ac_try='test -s conftest$ac_exeext'
45604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45605 (eval $ac_try) 2>&5
45606 ac_status=$?
45607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45608 (exit $ac_status); }; }; then
45609 eval "$as_ac_var=yes"
45610 else
45611 echo "$as_me: failed program was:" >&5
45612 sed 's/^/| /' conftest.$ac_ext >&5
45614 eval "$as_ac_var=no"
45616 rm -f conftest.err conftest.$ac_objext \
45617 conftest$ac_exeext conftest.$ac_ext
45619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45621 if test `eval echo '${'$as_ac_var'}'` = yes; then
45622 cat >>confdefs.h <<_ACEOF
45623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45624 _ACEOF
45627 done
45629 else
45630 echo "$as_me:$LINENO: checking for _float trig functions" >&5
45631 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
45632 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
45633 echo $ECHO_N "(cached) $ECHO_C" >&6
45634 else
45638 ac_ext=cc
45639 ac_cpp='$CXXCPP $CPPFLAGS'
45640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45644 cat >conftest.$ac_ext <<_ACEOF
45645 /* confdefs.h. */
45646 _ACEOF
45647 cat confdefs.h >>conftest.$ac_ext
45648 cat >>conftest.$ac_ext <<_ACEOF
45649 /* end confdefs.h. */
45650 #include <math.h>
45652 main ()
45654 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45656 return 0;
45658 _ACEOF
45659 rm -f conftest.$ac_objext
45660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45661 (eval $ac_compile) 2>conftest.er1
45662 ac_status=$?
45663 grep -v '^ *+' conftest.er1 >conftest.err
45664 rm -f conftest.er1
45665 cat conftest.err >&5
45666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45667 (exit $ac_status); } &&
45668 { ac_try='test -z "$ac_cxx_werror_flag"
45669 || test ! -s conftest.err'
45670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45671 (eval $ac_try) 2>&5
45672 ac_status=$?
45673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45674 (exit $ac_status); }; } &&
45675 { ac_try='test -s conftest.$ac_objext'
45676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45677 (eval $ac_try) 2>&5
45678 ac_status=$?
45679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45680 (exit $ac_status); }; }; then
45681 glibcxx_cv_func__float_trig_use=yes
45682 else
45683 echo "$as_me: failed program was:" >&5
45684 sed 's/^/| /' conftest.$ac_ext >&5
45686 glibcxx_cv_func__float_trig_use=no
45688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45689 ac_ext=c
45690 ac_cpp='$CPP $CPPFLAGS'
45691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45697 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
45698 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
45699 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45709 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45712 echo "$as_me:$LINENO: checking for $ac_func" >&5
45713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45714 if eval "test \"\${$as_ac_var+set}\" = set"; then
45715 echo $ECHO_N "(cached) $ECHO_C" >&6
45716 else
45717 if test x$gcc_no_link = xyes; then
45718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45720 { (exit 1); exit 1; }; }
45722 cat >conftest.$ac_ext <<_ACEOF
45723 /* confdefs.h. */
45724 _ACEOF
45725 cat confdefs.h >>conftest.$ac_ext
45726 cat >>conftest.$ac_ext <<_ACEOF
45727 /* end confdefs.h. */
45728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45730 #define $ac_func innocuous_$ac_func
45732 /* System header to define __stub macros and hopefully few prototypes,
45733 which can conflict with char $ac_func (); below.
45734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45735 <limits.h> exists even on freestanding compilers. */
45737 #ifdef __STDC__
45738 # include <limits.h>
45739 #else
45740 # include <assert.h>
45741 #endif
45743 #undef $ac_func
45745 /* Override any gcc2 internal prototype to avoid an error. */
45746 #ifdef __cplusplus
45747 extern "C"
45749 #endif
45750 /* We use char because int might match the return type of a gcc2
45751 builtin and then its argument prototype would still apply. */
45752 char $ac_func ();
45753 /* The GNU C library defines this for functions which it implements
45754 to always fail with ENOSYS. Some functions are actually named
45755 something starting with __ and the normal name is an alias. */
45756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45757 choke me
45758 #else
45759 char (*f) () = $ac_func;
45760 #endif
45761 #ifdef __cplusplus
45763 #endif
45766 main ()
45768 return f != $ac_func;
45770 return 0;
45772 _ACEOF
45773 rm -f conftest.$ac_objext conftest$ac_exeext
45774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45775 (eval $ac_link) 2>conftest.er1
45776 ac_status=$?
45777 grep -v '^ *+' conftest.er1 >conftest.err
45778 rm -f conftest.er1
45779 cat conftest.err >&5
45780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45781 (exit $ac_status); } &&
45782 { ac_try='test -z "$ac_c_werror_flag"
45783 || test ! -s conftest.err'
45784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45785 (eval $ac_try) 2>&5
45786 ac_status=$?
45787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45788 (exit $ac_status); }; } &&
45789 { ac_try='test -s conftest$ac_exeext'
45790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45791 (eval $ac_try) 2>&5
45792 ac_status=$?
45793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45794 (exit $ac_status); }; }; then
45795 eval "$as_ac_var=yes"
45796 else
45797 echo "$as_me: failed program was:" >&5
45798 sed 's/^/| /' conftest.$ac_ext >&5
45800 eval "$as_ac_var=no"
45802 rm -f conftest.err conftest.$ac_objext \
45803 conftest$ac_exeext conftest.$ac_ext
45805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45807 if test `eval echo '${'$as_ac_var'}'` = yes; then
45808 cat >>confdefs.h <<_ACEOF
45809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45810 _ACEOF
45813 done
45831 echo "$as_me:$LINENO: checking for float round functions" >&5
45832 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
45833 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
45834 echo $ECHO_N "(cached) $ECHO_C" >&6
45835 else
45839 ac_ext=cc
45840 ac_cpp='$CXXCPP $CPPFLAGS'
45841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45845 cat >conftest.$ac_ext <<_ACEOF
45846 /* confdefs.h. */
45847 _ACEOF
45848 cat confdefs.h >>conftest.$ac_ext
45849 cat >>conftest.$ac_ext <<_ACEOF
45850 /* end confdefs.h. */
45851 #include <math.h>
45853 main ()
45855 ceilf (0); floorf (0);
45857 return 0;
45859 _ACEOF
45860 rm -f conftest.$ac_objext
45861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45862 (eval $ac_compile) 2>conftest.er1
45863 ac_status=$?
45864 grep -v '^ *+' conftest.er1 >conftest.err
45865 rm -f conftest.er1
45866 cat conftest.err >&5
45867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45868 (exit $ac_status); } &&
45869 { ac_try='test -z "$ac_cxx_werror_flag"
45870 || test ! -s conftest.err'
45871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45872 (eval $ac_try) 2>&5
45873 ac_status=$?
45874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45875 (exit $ac_status); }; } &&
45876 { ac_try='test -s conftest.$ac_objext'
45877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45878 (eval $ac_try) 2>&5
45879 ac_status=$?
45880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45881 (exit $ac_status); }; }; then
45882 glibcxx_cv_func_float_round_use=yes
45883 else
45884 echo "$as_me: failed program was:" >&5
45885 sed 's/^/| /' conftest.$ac_ext >&5
45887 glibcxx_cv_func_float_round_use=no
45889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45890 ac_ext=c
45891 ac_cpp='$CPP $CPPFLAGS'
45892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45898 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
45899 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
45900 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45903 for ac_func in ceilf floorf
45905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45906 echo "$as_me:$LINENO: checking for $ac_func" >&5
45907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45908 if eval "test \"\${$as_ac_var+set}\" = set"; then
45909 echo $ECHO_N "(cached) $ECHO_C" >&6
45910 else
45911 if test x$gcc_no_link = xyes; then
45912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45914 { (exit 1); exit 1; }; }
45916 cat >conftest.$ac_ext <<_ACEOF
45917 /* confdefs.h. */
45918 _ACEOF
45919 cat confdefs.h >>conftest.$ac_ext
45920 cat >>conftest.$ac_ext <<_ACEOF
45921 /* end confdefs.h. */
45922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45924 #define $ac_func innocuous_$ac_func
45926 /* System header to define __stub macros and hopefully few prototypes,
45927 which can conflict with char $ac_func (); below.
45928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45929 <limits.h> exists even on freestanding compilers. */
45931 #ifdef __STDC__
45932 # include <limits.h>
45933 #else
45934 # include <assert.h>
45935 #endif
45937 #undef $ac_func
45939 /* Override any gcc2 internal prototype to avoid an error. */
45940 #ifdef __cplusplus
45941 extern "C"
45943 #endif
45944 /* We use char because int might match the return type of a gcc2
45945 builtin and then its argument prototype would still apply. */
45946 char $ac_func ();
45947 /* The GNU C library defines this for functions which it implements
45948 to always fail with ENOSYS. Some functions are actually named
45949 something starting with __ and the normal name is an alias. */
45950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45951 choke me
45952 #else
45953 char (*f) () = $ac_func;
45954 #endif
45955 #ifdef __cplusplus
45957 #endif
45960 main ()
45962 return f != $ac_func;
45964 return 0;
45966 _ACEOF
45967 rm -f conftest.$ac_objext conftest$ac_exeext
45968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45969 (eval $ac_link) 2>conftest.er1
45970 ac_status=$?
45971 grep -v '^ *+' conftest.er1 >conftest.err
45972 rm -f conftest.er1
45973 cat conftest.err >&5
45974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45975 (exit $ac_status); } &&
45976 { ac_try='test -z "$ac_c_werror_flag"
45977 || test ! -s conftest.err'
45978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45979 (eval $ac_try) 2>&5
45980 ac_status=$?
45981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45982 (exit $ac_status); }; } &&
45983 { ac_try='test -s conftest$ac_exeext'
45984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45985 (eval $ac_try) 2>&5
45986 ac_status=$?
45987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45988 (exit $ac_status); }; }; then
45989 eval "$as_ac_var=yes"
45990 else
45991 echo "$as_me: failed program was:" >&5
45992 sed 's/^/| /' conftest.$ac_ext >&5
45994 eval "$as_ac_var=no"
45996 rm -f conftest.err conftest.$ac_objext \
45997 conftest$ac_exeext conftest.$ac_ext
45999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46001 if test `eval echo '${'$as_ac_var'}'` = yes; then
46002 cat >>confdefs.h <<_ACEOF
46003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46004 _ACEOF
46007 done
46009 else
46010 echo "$as_me:$LINENO: checking for _float round functions" >&5
46011 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
46012 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
46013 echo $ECHO_N "(cached) $ECHO_C" >&6
46014 else
46018 ac_ext=cc
46019 ac_cpp='$CXXCPP $CPPFLAGS'
46020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46024 cat >conftest.$ac_ext <<_ACEOF
46025 /* confdefs.h. */
46026 _ACEOF
46027 cat confdefs.h >>conftest.$ac_ext
46028 cat >>conftest.$ac_ext <<_ACEOF
46029 /* end confdefs.h. */
46030 #include <math.h>
46032 main ()
46034 _ceilf (0); _floorf (0);
46036 return 0;
46038 _ACEOF
46039 rm -f conftest.$ac_objext
46040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46041 (eval $ac_compile) 2>conftest.er1
46042 ac_status=$?
46043 grep -v '^ *+' conftest.er1 >conftest.err
46044 rm -f conftest.er1
46045 cat conftest.err >&5
46046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46047 (exit $ac_status); } &&
46048 { ac_try='test -z "$ac_cxx_werror_flag"
46049 || test ! -s conftest.err'
46050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46051 (eval $ac_try) 2>&5
46052 ac_status=$?
46053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46054 (exit $ac_status); }; } &&
46055 { ac_try='test -s conftest.$ac_objext'
46056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46057 (eval $ac_try) 2>&5
46058 ac_status=$?
46059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46060 (exit $ac_status); }; }; then
46061 glibcxx_cv_func__float_round_use=yes
46062 else
46063 echo "$as_me: failed program was:" >&5
46064 sed 's/^/| /' conftest.$ac_ext >&5
46066 glibcxx_cv_func__float_round_use=no
46068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46069 ac_ext=c
46070 ac_cpp='$CPP $CPPFLAGS'
46071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46077 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
46078 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
46079 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46082 for ac_func in _ceilf _floorf
46084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46085 echo "$as_me:$LINENO: checking for $ac_func" >&5
46086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46087 if eval "test \"\${$as_ac_var+set}\" = set"; then
46088 echo $ECHO_N "(cached) $ECHO_C" >&6
46089 else
46090 if test x$gcc_no_link = xyes; then
46091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46093 { (exit 1); exit 1; }; }
46095 cat >conftest.$ac_ext <<_ACEOF
46096 /* confdefs.h. */
46097 _ACEOF
46098 cat confdefs.h >>conftest.$ac_ext
46099 cat >>conftest.$ac_ext <<_ACEOF
46100 /* end confdefs.h. */
46101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46103 #define $ac_func innocuous_$ac_func
46105 /* System header to define __stub macros and hopefully few prototypes,
46106 which can conflict with char $ac_func (); below.
46107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46108 <limits.h> exists even on freestanding compilers. */
46110 #ifdef __STDC__
46111 # include <limits.h>
46112 #else
46113 # include <assert.h>
46114 #endif
46116 #undef $ac_func
46118 /* Override any gcc2 internal prototype to avoid an error. */
46119 #ifdef __cplusplus
46120 extern "C"
46122 #endif
46123 /* We use char because int might match the return type of a gcc2
46124 builtin and then its argument prototype would still apply. */
46125 char $ac_func ();
46126 /* The GNU C library defines this for functions which it implements
46127 to always fail with ENOSYS. Some functions are actually named
46128 something starting with __ and the normal name is an alias. */
46129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46130 choke me
46131 #else
46132 char (*f) () = $ac_func;
46133 #endif
46134 #ifdef __cplusplus
46136 #endif
46139 main ()
46141 return f != $ac_func;
46143 return 0;
46145 _ACEOF
46146 rm -f conftest.$ac_objext conftest$ac_exeext
46147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46148 (eval $ac_link) 2>conftest.er1
46149 ac_status=$?
46150 grep -v '^ *+' conftest.er1 >conftest.err
46151 rm -f conftest.er1
46152 cat conftest.err >&5
46153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46154 (exit $ac_status); } &&
46155 { ac_try='test -z "$ac_c_werror_flag"
46156 || test ! -s conftest.err'
46157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46158 (eval $ac_try) 2>&5
46159 ac_status=$?
46160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46161 (exit $ac_status); }; } &&
46162 { ac_try='test -s conftest$ac_exeext'
46163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46164 (eval $ac_try) 2>&5
46165 ac_status=$?
46166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46167 (exit $ac_status); }; }; then
46168 eval "$as_ac_var=yes"
46169 else
46170 echo "$as_me: failed program was:" >&5
46171 sed 's/^/| /' conftest.$ac_ext >&5
46173 eval "$as_ac_var=no"
46175 rm -f conftest.err conftest.$ac_objext \
46176 conftest$ac_exeext conftest.$ac_ext
46178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46180 if test `eval echo '${'$as_ac_var'}'` = yes; then
46181 cat >>confdefs.h <<_ACEOF
46182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46183 _ACEOF
46186 done
46198 echo "$as_me:$LINENO: checking for expf declaration" >&5
46199 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
46200 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46201 if test "${glibcxx_cv_func_expf_use+set}" = set; then
46202 echo $ECHO_N "(cached) $ECHO_C" >&6
46203 else
46207 ac_ext=cc
46208 ac_cpp='$CXXCPP $CPPFLAGS'
46209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46213 cat >conftest.$ac_ext <<_ACEOF
46214 /* confdefs.h. */
46215 _ACEOF
46216 cat confdefs.h >>conftest.$ac_ext
46217 cat >>conftest.$ac_ext <<_ACEOF
46218 /* end confdefs.h. */
46219 #include <math.h>
46220 #ifdef HAVE_IEEEFP_H
46221 #include <ieeefp.h>
46222 #endif
46225 main ()
46227 expf(0);
46229 return 0;
46231 _ACEOF
46232 rm -f conftest.$ac_objext
46233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46234 (eval $ac_compile) 2>conftest.er1
46235 ac_status=$?
46236 grep -v '^ *+' conftest.er1 >conftest.err
46237 rm -f conftest.er1
46238 cat conftest.err >&5
46239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46240 (exit $ac_status); } &&
46241 { ac_try='test -z "$ac_cxx_werror_flag"
46242 || test ! -s conftest.err'
46243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46244 (eval $ac_try) 2>&5
46245 ac_status=$?
46246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46247 (exit $ac_status); }; } &&
46248 { ac_try='test -s conftest.$ac_objext'
46249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46250 (eval $ac_try) 2>&5
46251 ac_status=$?
46252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46253 (exit $ac_status); }; }; then
46254 glibcxx_cv_func_expf_use=yes
46255 else
46256 echo "$as_me: failed program was:" >&5
46257 sed 's/^/| /' conftest.$ac_ext >&5
46259 glibcxx_cv_func_expf_use=no
46261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46262 ac_ext=c
46263 ac_cpp='$CPP $CPPFLAGS'
46264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46272 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
46273 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
46275 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46277 for ac_func in expf
46279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46280 echo "$as_me:$LINENO: checking for $ac_func" >&5
46281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46282 if eval "test \"\${$as_ac_var+set}\" = set"; then
46283 echo $ECHO_N "(cached) $ECHO_C" >&6
46284 else
46285 if test x$gcc_no_link = xyes; then
46286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46288 { (exit 1); exit 1; }; }
46290 cat >conftest.$ac_ext <<_ACEOF
46291 /* confdefs.h. */
46292 _ACEOF
46293 cat confdefs.h >>conftest.$ac_ext
46294 cat >>conftest.$ac_ext <<_ACEOF
46295 /* end confdefs.h. */
46296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46298 #define $ac_func innocuous_$ac_func
46300 /* System header to define __stub macros and hopefully few prototypes,
46301 which can conflict with char $ac_func (); below.
46302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46303 <limits.h> exists even on freestanding compilers. */
46305 #ifdef __STDC__
46306 # include <limits.h>
46307 #else
46308 # include <assert.h>
46309 #endif
46311 #undef $ac_func
46313 /* Override any gcc2 internal prototype to avoid an error. */
46314 #ifdef __cplusplus
46315 extern "C"
46317 #endif
46318 /* We use char because int might match the return type of a gcc2
46319 builtin and then its argument prototype would still apply. */
46320 char $ac_func ();
46321 /* The GNU C library defines this for functions which it implements
46322 to always fail with ENOSYS. Some functions are actually named
46323 something starting with __ and the normal name is an alias. */
46324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46325 choke me
46326 #else
46327 char (*f) () = $ac_func;
46328 #endif
46329 #ifdef __cplusplus
46331 #endif
46334 main ()
46336 return f != $ac_func;
46338 return 0;
46340 _ACEOF
46341 rm -f conftest.$ac_objext conftest$ac_exeext
46342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46343 (eval $ac_link) 2>conftest.er1
46344 ac_status=$?
46345 grep -v '^ *+' conftest.er1 >conftest.err
46346 rm -f conftest.er1
46347 cat conftest.err >&5
46348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46349 (exit $ac_status); } &&
46350 { ac_try='test -z "$ac_c_werror_flag"
46351 || test ! -s conftest.err'
46352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46353 (eval $ac_try) 2>&5
46354 ac_status=$?
46355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46356 (exit $ac_status); }; } &&
46357 { ac_try='test -s conftest$ac_exeext'
46358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46359 (eval $ac_try) 2>&5
46360 ac_status=$?
46361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46362 (exit $ac_status); }; }; then
46363 eval "$as_ac_var=yes"
46364 else
46365 echo "$as_me: failed program was:" >&5
46366 sed 's/^/| /' conftest.$ac_ext >&5
46368 eval "$as_ac_var=no"
46370 rm -f conftest.err conftest.$ac_objext \
46371 conftest$ac_exeext conftest.$ac_ext
46373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46375 if test `eval echo '${'$as_ac_var'}'` = yes; then
46376 cat >>confdefs.h <<_ACEOF
46377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46378 _ACEOF
46381 done
46383 else
46385 echo "$as_me:$LINENO: checking for _expf declaration" >&5
46386 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
46387 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46388 if test "${glibcxx_cv_func__expf_use+set}" = set; then
46389 echo $ECHO_N "(cached) $ECHO_C" >&6
46390 else
46394 ac_ext=cc
46395 ac_cpp='$CXXCPP $CPPFLAGS'
46396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46400 cat >conftest.$ac_ext <<_ACEOF
46401 /* confdefs.h. */
46402 _ACEOF
46403 cat confdefs.h >>conftest.$ac_ext
46404 cat >>conftest.$ac_ext <<_ACEOF
46405 /* end confdefs.h. */
46406 #include <math.h>
46407 #ifdef HAVE_IEEEFP_H
46408 #include <ieeefp.h>
46409 #endif
46412 main ()
46414 _expf(0);
46416 return 0;
46418 _ACEOF
46419 rm -f conftest.$ac_objext
46420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46421 (eval $ac_compile) 2>conftest.er1
46422 ac_status=$?
46423 grep -v '^ *+' conftest.er1 >conftest.err
46424 rm -f conftest.er1
46425 cat conftest.err >&5
46426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46427 (exit $ac_status); } &&
46428 { ac_try='test -z "$ac_cxx_werror_flag"
46429 || test ! -s conftest.err'
46430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46431 (eval $ac_try) 2>&5
46432 ac_status=$?
46433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46434 (exit $ac_status); }; } &&
46435 { ac_try='test -s conftest.$ac_objext'
46436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46437 (eval $ac_try) 2>&5
46438 ac_status=$?
46439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46440 (exit $ac_status); }; }; then
46441 glibcxx_cv_func__expf_use=yes
46442 else
46443 echo "$as_me: failed program was:" >&5
46444 sed 's/^/| /' conftest.$ac_ext >&5
46446 glibcxx_cv_func__expf_use=no
46448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46449 ac_ext=c
46450 ac_cpp='$CPP $CPPFLAGS'
46451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46459 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
46460 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
46462 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46464 for ac_func in _expf
46466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46467 echo "$as_me:$LINENO: checking for $ac_func" >&5
46468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46469 if eval "test \"\${$as_ac_var+set}\" = set"; then
46470 echo $ECHO_N "(cached) $ECHO_C" >&6
46471 else
46472 if test x$gcc_no_link = xyes; then
46473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46475 { (exit 1); exit 1; }; }
46477 cat >conftest.$ac_ext <<_ACEOF
46478 /* confdefs.h. */
46479 _ACEOF
46480 cat confdefs.h >>conftest.$ac_ext
46481 cat >>conftest.$ac_ext <<_ACEOF
46482 /* end confdefs.h. */
46483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46485 #define $ac_func innocuous_$ac_func
46487 /* System header to define __stub macros and hopefully few prototypes,
46488 which can conflict with char $ac_func (); below.
46489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46490 <limits.h> exists even on freestanding compilers. */
46492 #ifdef __STDC__
46493 # include <limits.h>
46494 #else
46495 # include <assert.h>
46496 #endif
46498 #undef $ac_func
46500 /* Override any gcc2 internal prototype to avoid an error. */
46501 #ifdef __cplusplus
46502 extern "C"
46504 #endif
46505 /* We use char because int might match the return type of a gcc2
46506 builtin and then its argument prototype would still apply. */
46507 char $ac_func ();
46508 /* The GNU C library defines this for functions which it implements
46509 to always fail with ENOSYS. Some functions are actually named
46510 something starting with __ and the normal name is an alias. */
46511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46512 choke me
46513 #else
46514 char (*f) () = $ac_func;
46515 #endif
46516 #ifdef __cplusplus
46518 #endif
46521 main ()
46523 return f != $ac_func;
46525 return 0;
46527 _ACEOF
46528 rm -f conftest.$ac_objext conftest$ac_exeext
46529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46530 (eval $ac_link) 2>conftest.er1
46531 ac_status=$?
46532 grep -v '^ *+' conftest.er1 >conftest.err
46533 rm -f conftest.er1
46534 cat conftest.err >&5
46535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46536 (exit $ac_status); } &&
46537 { ac_try='test -z "$ac_c_werror_flag"
46538 || test ! -s conftest.err'
46539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46540 (eval $ac_try) 2>&5
46541 ac_status=$?
46542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46543 (exit $ac_status); }; } &&
46544 { ac_try='test -s conftest$ac_exeext'
46545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46546 (eval $ac_try) 2>&5
46547 ac_status=$?
46548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46549 (exit $ac_status); }; }; then
46550 eval "$as_ac_var=yes"
46551 else
46552 echo "$as_me: failed program was:" >&5
46553 sed 's/^/| /' conftest.$ac_ext >&5
46555 eval "$as_ac_var=no"
46557 rm -f conftest.err conftest.$ac_objext \
46558 conftest$ac_exeext conftest.$ac_ext
46560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46562 if test `eval echo '${'$as_ac_var'}'` = yes; then
46563 cat >>confdefs.h <<_ACEOF
46564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46565 _ACEOF
46568 done
46578 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
46579 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
46580 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46581 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
46582 echo $ECHO_N "(cached) $ECHO_C" >&6
46583 else
46587 ac_ext=cc
46588 ac_cpp='$CXXCPP $CPPFLAGS'
46589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46593 cat >conftest.$ac_ext <<_ACEOF
46594 /* confdefs.h. */
46595 _ACEOF
46596 cat confdefs.h >>conftest.$ac_ext
46597 cat >>conftest.$ac_ext <<_ACEOF
46598 /* end confdefs.h. */
46599 #include <math.h>
46600 #ifdef HAVE_IEEEFP_H
46601 #include <ieeefp.h>
46602 #endif
46605 main ()
46607 isnanf(0);
46609 return 0;
46611 _ACEOF
46612 rm -f conftest.$ac_objext
46613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46614 (eval $ac_compile) 2>conftest.er1
46615 ac_status=$?
46616 grep -v '^ *+' conftest.er1 >conftest.err
46617 rm -f conftest.er1
46618 cat conftest.err >&5
46619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46620 (exit $ac_status); } &&
46621 { ac_try='test -z "$ac_cxx_werror_flag"
46622 || test ! -s conftest.err'
46623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46624 (eval $ac_try) 2>&5
46625 ac_status=$?
46626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46627 (exit $ac_status); }; } &&
46628 { ac_try='test -s conftest.$ac_objext'
46629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46630 (eval $ac_try) 2>&5
46631 ac_status=$?
46632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46633 (exit $ac_status); }; }; then
46634 glibcxx_cv_func_isnanf_use=yes
46635 else
46636 echo "$as_me: failed program was:" >&5
46637 sed 's/^/| /' conftest.$ac_ext >&5
46639 glibcxx_cv_func_isnanf_use=no
46641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46642 ac_ext=c
46643 ac_cpp='$CPP $CPPFLAGS'
46644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46652 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
46653 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
46655 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46657 for ac_func in isnanf
46659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46660 echo "$as_me:$LINENO: checking for $ac_func" >&5
46661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46662 if eval "test \"\${$as_ac_var+set}\" = set"; then
46663 echo $ECHO_N "(cached) $ECHO_C" >&6
46664 else
46665 if test x$gcc_no_link = xyes; then
46666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46668 { (exit 1); exit 1; }; }
46670 cat >conftest.$ac_ext <<_ACEOF
46671 /* confdefs.h. */
46672 _ACEOF
46673 cat confdefs.h >>conftest.$ac_ext
46674 cat >>conftest.$ac_ext <<_ACEOF
46675 /* end confdefs.h. */
46676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46678 #define $ac_func innocuous_$ac_func
46680 /* System header to define __stub macros and hopefully few prototypes,
46681 which can conflict with char $ac_func (); below.
46682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46683 <limits.h> exists even on freestanding compilers. */
46685 #ifdef __STDC__
46686 # include <limits.h>
46687 #else
46688 # include <assert.h>
46689 #endif
46691 #undef $ac_func
46693 /* Override any gcc2 internal prototype to avoid an error. */
46694 #ifdef __cplusplus
46695 extern "C"
46697 #endif
46698 /* We use char because int might match the return type of a gcc2
46699 builtin and then its argument prototype would still apply. */
46700 char $ac_func ();
46701 /* The GNU C library defines this for functions which it implements
46702 to always fail with ENOSYS. Some functions are actually named
46703 something starting with __ and the normal name is an alias. */
46704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46705 choke me
46706 #else
46707 char (*f) () = $ac_func;
46708 #endif
46709 #ifdef __cplusplus
46711 #endif
46714 main ()
46716 return f != $ac_func;
46718 return 0;
46720 _ACEOF
46721 rm -f conftest.$ac_objext conftest$ac_exeext
46722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46723 (eval $ac_link) 2>conftest.er1
46724 ac_status=$?
46725 grep -v '^ *+' conftest.er1 >conftest.err
46726 rm -f conftest.er1
46727 cat conftest.err >&5
46728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46729 (exit $ac_status); } &&
46730 { ac_try='test -z "$ac_c_werror_flag"
46731 || test ! -s conftest.err'
46732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46733 (eval $ac_try) 2>&5
46734 ac_status=$?
46735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46736 (exit $ac_status); }; } &&
46737 { ac_try='test -s conftest$ac_exeext'
46738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46739 (eval $ac_try) 2>&5
46740 ac_status=$?
46741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46742 (exit $ac_status); }; }; then
46743 eval "$as_ac_var=yes"
46744 else
46745 echo "$as_me: failed program was:" >&5
46746 sed 's/^/| /' conftest.$ac_ext >&5
46748 eval "$as_ac_var=no"
46750 rm -f conftest.err conftest.$ac_objext \
46751 conftest$ac_exeext conftest.$ac_ext
46753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46755 if test `eval echo '${'$as_ac_var'}'` = yes; then
46756 cat >>confdefs.h <<_ACEOF
46757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46758 _ACEOF
46761 done
46763 else
46765 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
46766 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
46767 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46768 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
46769 echo $ECHO_N "(cached) $ECHO_C" >&6
46770 else
46774 ac_ext=cc
46775 ac_cpp='$CXXCPP $CPPFLAGS'
46776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46780 cat >conftest.$ac_ext <<_ACEOF
46781 /* confdefs.h. */
46782 _ACEOF
46783 cat confdefs.h >>conftest.$ac_ext
46784 cat >>conftest.$ac_ext <<_ACEOF
46785 /* end confdefs.h. */
46786 #include <math.h>
46787 #ifdef HAVE_IEEEFP_H
46788 #include <ieeefp.h>
46789 #endif
46792 main ()
46794 _isnanf(0);
46796 return 0;
46798 _ACEOF
46799 rm -f conftest.$ac_objext
46800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46801 (eval $ac_compile) 2>conftest.er1
46802 ac_status=$?
46803 grep -v '^ *+' conftest.er1 >conftest.err
46804 rm -f conftest.er1
46805 cat conftest.err >&5
46806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46807 (exit $ac_status); } &&
46808 { ac_try='test -z "$ac_cxx_werror_flag"
46809 || test ! -s conftest.err'
46810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46811 (eval $ac_try) 2>&5
46812 ac_status=$?
46813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46814 (exit $ac_status); }; } &&
46815 { ac_try='test -s conftest.$ac_objext'
46816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46817 (eval $ac_try) 2>&5
46818 ac_status=$?
46819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46820 (exit $ac_status); }; }; then
46821 glibcxx_cv_func__isnanf_use=yes
46822 else
46823 echo "$as_me: failed program was:" >&5
46824 sed 's/^/| /' conftest.$ac_ext >&5
46826 glibcxx_cv_func__isnanf_use=no
46828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46829 ac_ext=c
46830 ac_cpp='$CPP $CPPFLAGS'
46831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46839 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
46840 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
46842 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46844 for ac_func in _isnanf
46846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46847 echo "$as_me:$LINENO: checking for $ac_func" >&5
46848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46849 if eval "test \"\${$as_ac_var+set}\" = set"; then
46850 echo $ECHO_N "(cached) $ECHO_C" >&6
46851 else
46852 if test x$gcc_no_link = xyes; then
46853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46855 { (exit 1); exit 1; }; }
46857 cat >conftest.$ac_ext <<_ACEOF
46858 /* confdefs.h. */
46859 _ACEOF
46860 cat confdefs.h >>conftest.$ac_ext
46861 cat >>conftest.$ac_ext <<_ACEOF
46862 /* end confdefs.h. */
46863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46865 #define $ac_func innocuous_$ac_func
46867 /* System header to define __stub macros and hopefully few prototypes,
46868 which can conflict with char $ac_func (); below.
46869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46870 <limits.h> exists even on freestanding compilers. */
46872 #ifdef __STDC__
46873 # include <limits.h>
46874 #else
46875 # include <assert.h>
46876 #endif
46878 #undef $ac_func
46880 /* Override any gcc2 internal prototype to avoid an error. */
46881 #ifdef __cplusplus
46882 extern "C"
46884 #endif
46885 /* We use char because int might match the return type of a gcc2
46886 builtin and then its argument prototype would still apply. */
46887 char $ac_func ();
46888 /* The GNU C library defines this for functions which it implements
46889 to always fail with ENOSYS. Some functions are actually named
46890 something starting with __ and the normal name is an alias. */
46891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46892 choke me
46893 #else
46894 char (*f) () = $ac_func;
46895 #endif
46896 #ifdef __cplusplus
46898 #endif
46901 main ()
46903 return f != $ac_func;
46905 return 0;
46907 _ACEOF
46908 rm -f conftest.$ac_objext conftest$ac_exeext
46909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46910 (eval $ac_link) 2>conftest.er1
46911 ac_status=$?
46912 grep -v '^ *+' conftest.er1 >conftest.err
46913 rm -f conftest.er1
46914 cat conftest.err >&5
46915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46916 (exit $ac_status); } &&
46917 { ac_try='test -z "$ac_c_werror_flag"
46918 || test ! -s conftest.err'
46919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46920 (eval $ac_try) 2>&5
46921 ac_status=$?
46922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46923 (exit $ac_status); }; } &&
46924 { ac_try='test -s conftest$ac_exeext'
46925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46926 (eval $ac_try) 2>&5
46927 ac_status=$?
46928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46929 (exit $ac_status); }; }; then
46930 eval "$as_ac_var=yes"
46931 else
46932 echo "$as_me: failed program was:" >&5
46933 sed 's/^/| /' conftest.$ac_ext >&5
46935 eval "$as_ac_var=no"
46937 rm -f conftest.err conftest.$ac_objext \
46938 conftest$ac_exeext conftest.$ac_ext
46940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46942 if test `eval echo '${'$as_ac_var'}'` = yes; then
46943 cat >>confdefs.h <<_ACEOF
46944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46945 _ACEOF
46948 done
46958 echo "$as_me:$LINENO: checking for isinff declaration" >&5
46959 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
46960 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46961 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
46962 echo $ECHO_N "(cached) $ECHO_C" >&6
46963 else
46967 ac_ext=cc
46968 ac_cpp='$CXXCPP $CPPFLAGS'
46969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46973 cat >conftest.$ac_ext <<_ACEOF
46974 /* confdefs.h. */
46975 _ACEOF
46976 cat confdefs.h >>conftest.$ac_ext
46977 cat >>conftest.$ac_ext <<_ACEOF
46978 /* end confdefs.h. */
46979 #include <math.h>
46980 #ifdef HAVE_IEEEFP_H
46981 #include <ieeefp.h>
46982 #endif
46985 main ()
46987 isinff(0);
46989 return 0;
46991 _ACEOF
46992 rm -f conftest.$ac_objext
46993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46994 (eval $ac_compile) 2>conftest.er1
46995 ac_status=$?
46996 grep -v '^ *+' conftest.er1 >conftest.err
46997 rm -f conftest.er1
46998 cat conftest.err >&5
46999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47000 (exit $ac_status); } &&
47001 { ac_try='test -z "$ac_cxx_werror_flag"
47002 || test ! -s conftest.err'
47003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47004 (eval $ac_try) 2>&5
47005 ac_status=$?
47006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47007 (exit $ac_status); }; } &&
47008 { ac_try='test -s conftest.$ac_objext'
47009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47010 (eval $ac_try) 2>&5
47011 ac_status=$?
47012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47013 (exit $ac_status); }; }; then
47014 glibcxx_cv_func_isinff_use=yes
47015 else
47016 echo "$as_me: failed program was:" >&5
47017 sed 's/^/| /' conftest.$ac_ext >&5
47019 glibcxx_cv_func_isinff_use=no
47021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47022 ac_ext=c
47023 ac_cpp='$CPP $CPPFLAGS'
47024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47032 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
47033 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
47035 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47037 for ac_func in isinff
47039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47040 echo "$as_me:$LINENO: checking for $ac_func" >&5
47041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47042 if eval "test \"\${$as_ac_var+set}\" = set"; then
47043 echo $ECHO_N "(cached) $ECHO_C" >&6
47044 else
47045 if test x$gcc_no_link = xyes; then
47046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47048 { (exit 1); exit 1; }; }
47050 cat >conftest.$ac_ext <<_ACEOF
47051 /* confdefs.h. */
47052 _ACEOF
47053 cat confdefs.h >>conftest.$ac_ext
47054 cat >>conftest.$ac_ext <<_ACEOF
47055 /* end confdefs.h. */
47056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47058 #define $ac_func innocuous_$ac_func
47060 /* System header to define __stub macros and hopefully few prototypes,
47061 which can conflict with char $ac_func (); below.
47062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47063 <limits.h> exists even on freestanding compilers. */
47065 #ifdef __STDC__
47066 # include <limits.h>
47067 #else
47068 # include <assert.h>
47069 #endif
47071 #undef $ac_func
47073 /* Override any gcc2 internal prototype to avoid an error. */
47074 #ifdef __cplusplus
47075 extern "C"
47077 #endif
47078 /* We use char because int might match the return type of a gcc2
47079 builtin and then its argument prototype would still apply. */
47080 char $ac_func ();
47081 /* The GNU C library defines this for functions which it implements
47082 to always fail with ENOSYS. Some functions are actually named
47083 something starting with __ and the normal name is an alias. */
47084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47085 choke me
47086 #else
47087 char (*f) () = $ac_func;
47088 #endif
47089 #ifdef __cplusplus
47091 #endif
47094 main ()
47096 return f != $ac_func;
47098 return 0;
47100 _ACEOF
47101 rm -f conftest.$ac_objext conftest$ac_exeext
47102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47103 (eval $ac_link) 2>conftest.er1
47104 ac_status=$?
47105 grep -v '^ *+' conftest.er1 >conftest.err
47106 rm -f conftest.er1
47107 cat conftest.err >&5
47108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47109 (exit $ac_status); } &&
47110 { ac_try='test -z "$ac_c_werror_flag"
47111 || test ! -s conftest.err'
47112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47113 (eval $ac_try) 2>&5
47114 ac_status=$?
47115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47116 (exit $ac_status); }; } &&
47117 { ac_try='test -s conftest$ac_exeext'
47118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47119 (eval $ac_try) 2>&5
47120 ac_status=$?
47121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47122 (exit $ac_status); }; }; then
47123 eval "$as_ac_var=yes"
47124 else
47125 echo "$as_me: failed program was:" >&5
47126 sed 's/^/| /' conftest.$ac_ext >&5
47128 eval "$as_ac_var=no"
47130 rm -f conftest.err conftest.$ac_objext \
47131 conftest$ac_exeext conftest.$ac_ext
47133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47135 if test `eval echo '${'$as_ac_var'}'` = yes; then
47136 cat >>confdefs.h <<_ACEOF
47137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47138 _ACEOF
47141 done
47143 else
47145 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
47146 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
47147 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47148 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
47149 echo $ECHO_N "(cached) $ECHO_C" >&6
47150 else
47154 ac_ext=cc
47155 ac_cpp='$CXXCPP $CPPFLAGS'
47156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47160 cat >conftest.$ac_ext <<_ACEOF
47161 /* confdefs.h. */
47162 _ACEOF
47163 cat confdefs.h >>conftest.$ac_ext
47164 cat >>conftest.$ac_ext <<_ACEOF
47165 /* end confdefs.h. */
47166 #include <math.h>
47167 #ifdef HAVE_IEEEFP_H
47168 #include <ieeefp.h>
47169 #endif
47172 main ()
47174 _isinff(0);
47176 return 0;
47178 _ACEOF
47179 rm -f conftest.$ac_objext
47180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47181 (eval $ac_compile) 2>conftest.er1
47182 ac_status=$?
47183 grep -v '^ *+' conftest.er1 >conftest.err
47184 rm -f conftest.er1
47185 cat conftest.err >&5
47186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47187 (exit $ac_status); } &&
47188 { ac_try='test -z "$ac_cxx_werror_flag"
47189 || test ! -s conftest.err'
47190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47191 (eval $ac_try) 2>&5
47192 ac_status=$?
47193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47194 (exit $ac_status); }; } &&
47195 { ac_try='test -s conftest.$ac_objext'
47196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47197 (eval $ac_try) 2>&5
47198 ac_status=$?
47199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47200 (exit $ac_status); }; }; then
47201 glibcxx_cv_func__isinff_use=yes
47202 else
47203 echo "$as_me: failed program was:" >&5
47204 sed 's/^/| /' conftest.$ac_ext >&5
47206 glibcxx_cv_func__isinff_use=no
47208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47209 ac_ext=c
47210 ac_cpp='$CPP $CPPFLAGS'
47211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47219 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
47220 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
47222 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47224 for ac_func in _isinff
47226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47227 echo "$as_me:$LINENO: checking for $ac_func" >&5
47228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47229 if eval "test \"\${$as_ac_var+set}\" = set"; then
47230 echo $ECHO_N "(cached) $ECHO_C" >&6
47231 else
47232 if test x$gcc_no_link = xyes; then
47233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47235 { (exit 1); exit 1; }; }
47237 cat >conftest.$ac_ext <<_ACEOF
47238 /* confdefs.h. */
47239 _ACEOF
47240 cat confdefs.h >>conftest.$ac_ext
47241 cat >>conftest.$ac_ext <<_ACEOF
47242 /* end confdefs.h. */
47243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47245 #define $ac_func innocuous_$ac_func
47247 /* System header to define __stub macros and hopefully few prototypes,
47248 which can conflict with char $ac_func (); below.
47249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47250 <limits.h> exists even on freestanding compilers. */
47252 #ifdef __STDC__
47253 # include <limits.h>
47254 #else
47255 # include <assert.h>
47256 #endif
47258 #undef $ac_func
47260 /* Override any gcc2 internal prototype to avoid an error. */
47261 #ifdef __cplusplus
47262 extern "C"
47264 #endif
47265 /* We use char because int might match the return type of a gcc2
47266 builtin and then its argument prototype would still apply. */
47267 char $ac_func ();
47268 /* The GNU C library defines this for functions which it implements
47269 to always fail with ENOSYS. Some functions are actually named
47270 something starting with __ and the normal name is an alias. */
47271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47272 choke me
47273 #else
47274 char (*f) () = $ac_func;
47275 #endif
47276 #ifdef __cplusplus
47278 #endif
47281 main ()
47283 return f != $ac_func;
47285 return 0;
47287 _ACEOF
47288 rm -f conftest.$ac_objext conftest$ac_exeext
47289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47290 (eval $ac_link) 2>conftest.er1
47291 ac_status=$?
47292 grep -v '^ *+' conftest.er1 >conftest.err
47293 rm -f conftest.er1
47294 cat conftest.err >&5
47295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47296 (exit $ac_status); } &&
47297 { ac_try='test -z "$ac_c_werror_flag"
47298 || test ! -s conftest.err'
47299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47300 (eval $ac_try) 2>&5
47301 ac_status=$?
47302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47303 (exit $ac_status); }; } &&
47304 { ac_try='test -s conftest$ac_exeext'
47305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47306 (eval $ac_try) 2>&5
47307 ac_status=$?
47308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47309 (exit $ac_status); }; }; then
47310 eval "$as_ac_var=yes"
47311 else
47312 echo "$as_me: failed program was:" >&5
47313 sed 's/^/| /' conftest.$ac_ext >&5
47315 eval "$as_ac_var=no"
47317 rm -f conftest.err conftest.$ac_objext \
47318 conftest$ac_exeext conftest.$ac_ext
47320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47322 if test `eval echo '${'$as_ac_var'}'` = yes; then
47323 cat >>confdefs.h <<_ACEOF
47324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47325 _ACEOF
47328 done
47338 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
47339 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
47340 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47341 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
47342 echo $ECHO_N "(cached) $ECHO_C" >&6
47343 else
47347 ac_ext=cc
47348 ac_cpp='$CXXCPP $CPPFLAGS'
47349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47353 cat >conftest.$ac_ext <<_ACEOF
47354 /* confdefs.h. */
47355 _ACEOF
47356 cat confdefs.h >>conftest.$ac_ext
47357 cat >>conftest.$ac_ext <<_ACEOF
47358 /* end confdefs.h. */
47359 #include <math.h>
47361 main ()
47363 atan2f(0, 0);
47365 return 0;
47367 _ACEOF
47368 rm -f conftest.$ac_objext
47369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47370 (eval $ac_compile) 2>conftest.er1
47371 ac_status=$?
47372 grep -v '^ *+' conftest.er1 >conftest.err
47373 rm -f conftest.er1
47374 cat conftest.err >&5
47375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47376 (exit $ac_status); } &&
47377 { ac_try='test -z "$ac_cxx_werror_flag"
47378 || test ! -s conftest.err'
47379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47380 (eval $ac_try) 2>&5
47381 ac_status=$?
47382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47383 (exit $ac_status); }; } &&
47384 { ac_try='test -s conftest.$ac_objext'
47385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47386 (eval $ac_try) 2>&5
47387 ac_status=$?
47388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47389 (exit $ac_status); }; }; then
47390 glibcxx_cv_func_atan2f_use=yes
47391 else
47392 echo "$as_me: failed program was:" >&5
47393 sed 's/^/| /' conftest.$ac_ext >&5
47395 glibcxx_cv_func_atan2f_use=no
47397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47398 ac_ext=c
47399 ac_cpp='$CPP $CPPFLAGS'
47400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47408 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
47409 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
47411 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47413 for ac_func in atan2f
47415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47416 echo "$as_me:$LINENO: checking for $ac_func" >&5
47417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47418 if eval "test \"\${$as_ac_var+set}\" = set"; then
47419 echo $ECHO_N "(cached) $ECHO_C" >&6
47420 else
47421 if test x$gcc_no_link = xyes; then
47422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47424 { (exit 1); exit 1; }; }
47426 cat >conftest.$ac_ext <<_ACEOF
47427 /* confdefs.h. */
47428 _ACEOF
47429 cat confdefs.h >>conftest.$ac_ext
47430 cat >>conftest.$ac_ext <<_ACEOF
47431 /* end confdefs.h. */
47432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47434 #define $ac_func innocuous_$ac_func
47436 /* System header to define __stub macros and hopefully few prototypes,
47437 which can conflict with char $ac_func (); below.
47438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47439 <limits.h> exists even on freestanding compilers. */
47441 #ifdef __STDC__
47442 # include <limits.h>
47443 #else
47444 # include <assert.h>
47445 #endif
47447 #undef $ac_func
47449 /* Override any gcc2 internal prototype to avoid an error. */
47450 #ifdef __cplusplus
47451 extern "C"
47453 #endif
47454 /* We use char because int might match the return type of a gcc2
47455 builtin and then its argument prototype would still apply. */
47456 char $ac_func ();
47457 /* The GNU C library defines this for functions which it implements
47458 to always fail with ENOSYS. Some functions are actually named
47459 something starting with __ and the normal name is an alias. */
47460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47461 choke me
47462 #else
47463 char (*f) () = $ac_func;
47464 #endif
47465 #ifdef __cplusplus
47467 #endif
47470 main ()
47472 return f != $ac_func;
47474 return 0;
47476 _ACEOF
47477 rm -f conftest.$ac_objext conftest$ac_exeext
47478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47479 (eval $ac_link) 2>conftest.er1
47480 ac_status=$?
47481 grep -v '^ *+' conftest.er1 >conftest.err
47482 rm -f conftest.er1
47483 cat conftest.err >&5
47484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47485 (exit $ac_status); } &&
47486 { ac_try='test -z "$ac_c_werror_flag"
47487 || test ! -s conftest.err'
47488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47489 (eval $ac_try) 2>&5
47490 ac_status=$?
47491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47492 (exit $ac_status); }; } &&
47493 { ac_try='test -s conftest$ac_exeext'
47494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47495 (eval $ac_try) 2>&5
47496 ac_status=$?
47497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47498 (exit $ac_status); }; }; then
47499 eval "$as_ac_var=yes"
47500 else
47501 echo "$as_me: failed program was:" >&5
47502 sed 's/^/| /' conftest.$ac_ext >&5
47504 eval "$as_ac_var=no"
47506 rm -f conftest.err conftest.$ac_objext \
47507 conftest$ac_exeext conftest.$ac_ext
47509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47511 if test `eval echo '${'$as_ac_var'}'` = yes; then
47512 cat >>confdefs.h <<_ACEOF
47513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47514 _ACEOF
47517 done
47519 else
47521 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
47522 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
47523 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47524 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
47525 echo $ECHO_N "(cached) $ECHO_C" >&6
47526 else
47530 ac_ext=cc
47531 ac_cpp='$CXXCPP $CPPFLAGS'
47532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47536 cat >conftest.$ac_ext <<_ACEOF
47537 /* confdefs.h. */
47538 _ACEOF
47539 cat confdefs.h >>conftest.$ac_ext
47540 cat >>conftest.$ac_ext <<_ACEOF
47541 /* end confdefs.h. */
47542 #include <math.h>
47544 main ()
47546 _atan2f(0, 0);
47548 return 0;
47550 _ACEOF
47551 rm -f conftest.$ac_objext
47552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47553 (eval $ac_compile) 2>conftest.er1
47554 ac_status=$?
47555 grep -v '^ *+' conftest.er1 >conftest.err
47556 rm -f conftest.er1
47557 cat conftest.err >&5
47558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47559 (exit $ac_status); } &&
47560 { ac_try='test -z "$ac_cxx_werror_flag"
47561 || test ! -s conftest.err'
47562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47563 (eval $ac_try) 2>&5
47564 ac_status=$?
47565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47566 (exit $ac_status); }; } &&
47567 { ac_try='test -s conftest.$ac_objext'
47568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47569 (eval $ac_try) 2>&5
47570 ac_status=$?
47571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47572 (exit $ac_status); }; }; then
47573 glibcxx_cv_func__atan2f_use=yes
47574 else
47575 echo "$as_me: failed program was:" >&5
47576 sed 's/^/| /' conftest.$ac_ext >&5
47578 glibcxx_cv_func__atan2f_use=no
47580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47581 ac_ext=c
47582 ac_cpp='$CPP $CPPFLAGS'
47583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47591 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
47592 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
47594 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47596 for ac_func in _atan2f
47598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47599 echo "$as_me:$LINENO: checking for $ac_func" >&5
47600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47601 if eval "test \"\${$as_ac_var+set}\" = set"; then
47602 echo $ECHO_N "(cached) $ECHO_C" >&6
47603 else
47604 if test x$gcc_no_link = xyes; then
47605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47607 { (exit 1); exit 1; }; }
47609 cat >conftest.$ac_ext <<_ACEOF
47610 /* confdefs.h. */
47611 _ACEOF
47612 cat confdefs.h >>conftest.$ac_ext
47613 cat >>conftest.$ac_ext <<_ACEOF
47614 /* end confdefs.h. */
47615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47617 #define $ac_func innocuous_$ac_func
47619 /* System header to define __stub macros and hopefully few prototypes,
47620 which can conflict with char $ac_func (); below.
47621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47622 <limits.h> exists even on freestanding compilers. */
47624 #ifdef __STDC__
47625 # include <limits.h>
47626 #else
47627 # include <assert.h>
47628 #endif
47630 #undef $ac_func
47632 /* Override any gcc2 internal prototype to avoid an error. */
47633 #ifdef __cplusplus
47634 extern "C"
47636 #endif
47637 /* We use char because int might match the return type of a gcc2
47638 builtin and then its argument prototype would still apply. */
47639 char $ac_func ();
47640 /* The GNU C library defines this for functions which it implements
47641 to always fail with ENOSYS. Some functions are actually named
47642 something starting with __ and the normal name is an alias. */
47643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47644 choke me
47645 #else
47646 char (*f) () = $ac_func;
47647 #endif
47648 #ifdef __cplusplus
47650 #endif
47653 main ()
47655 return f != $ac_func;
47657 return 0;
47659 _ACEOF
47660 rm -f conftest.$ac_objext conftest$ac_exeext
47661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47662 (eval $ac_link) 2>conftest.er1
47663 ac_status=$?
47664 grep -v '^ *+' conftest.er1 >conftest.err
47665 rm -f conftest.er1
47666 cat conftest.err >&5
47667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47668 (exit $ac_status); } &&
47669 { ac_try='test -z "$ac_c_werror_flag"
47670 || test ! -s conftest.err'
47671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47672 (eval $ac_try) 2>&5
47673 ac_status=$?
47674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47675 (exit $ac_status); }; } &&
47676 { ac_try='test -s conftest$ac_exeext'
47677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47678 (eval $ac_try) 2>&5
47679 ac_status=$?
47680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47681 (exit $ac_status); }; }; then
47682 eval "$as_ac_var=yes"
47683 else
47684 echo "$as_me: failed program was:" >&5
47685 sed 's/^/| /' conftest.$ac_ext >&5
47687 eval "$as_ac_var=no"
47689 rm -f conftest.err conftest.$ac_objext \
47690 conftest$ac_exeext conftest.$ac_ext
47692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47694 if test `eval echo '${'$as_ac_var'}'` = yes; then
47695 cat >>confdefs.h <<_ACEOF
47696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47697 _ACEOF
47700 done
47710 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
47711 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
47712 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47713 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
47714 echo $ECHO_N "(cached) $ECHO_C" >&6
47715 else
47719 ac_ext=cc
47720 ac_cpp='$CXXCPP $CPPFLAGS'
47721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47725 cat >conftest.$ac_ext <<_ACEOF
47726 /* confdefs.h. */
47727 _ACEOF
47728 cat confdefs.h >>conftest.$ac_ext
47729 cat >>conftest.$ac_ext <<_ACEOF
47730 /* end confdefs.h. */
47731 #include <math.h>
47732 #ifdef HAVE_IEEEFP_H
47733 #include <ieeefp.h>
47734 #endif
47737 main ()
47739 fabsf(0);
47741 return 0;
47743 _ACEOF
47744 rm -f conftest.$ac_objext
47745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47746 (eval $ac_compile) 2>conftest.er1
47747 ac_status=$?
47748 grep -v '^ *+' conftest.er1 >conftest.err
47749 rm -f conftest.er1
47750 cat conftest.err >&5
47751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47752 (exit $ac_status); } &&
47753 { ac_try='test -z "$ac_cxx_werror_flag"
47754 || test ! -s conftest.err'
47755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47756 (eval $ac_try) 2>&5
47757 ac_status=$?
47758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47759 (exit $ac_status); }; } &&
47760 { ac_try='test -s conftest.$ac_objext'
47761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47762 (eval $ac_try) 2>&5
47763 ac_status=$?
47764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47765 (exit $ac_status); }; }; then
47766 glibcxx_cv_func_fabsf_use=yes
47767 else
47768 echo "$as_me: failed program was:" >&5
47769 sed 's/^/| /' conftest.$ac_ext >&5
47771 glibcxx_cv_func_fabsf_use=no
47773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47774 ac_ext=c
47775 ac_cpp='$CPP $CPPFLAGS'
47776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47784 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
47785 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
47787 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47789 for ac_func in fabsf
47791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47792 echo "$as_me:$LINENO: checking for $ac_func" >&5
47793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47794 if eval "test \"\${$as_ac_var+set}\" = set"; then
47795 echo $ECHO_N "(cached) $ECHO_C" >&6
47796 else
47797 if test x$gcc_no_link = xyes; then
47798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47800 { (exit 1); exit 1; }; }
47802 cat >conftest.$ac_ext <<_ACEOF
47803 /* confdefs.h. */
47804 _ACEOF
47805 cat confdefs.h >>conftest.$ac_ext
47806 cat >>conftest.$ac_ext <<_ACEOF
47807 /* end confdefs.h. */
47808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47810 #define $ac_func innocuous_$ac_func
47812 /* System header to define __stub macros and hopefully few prototypes,
47813 which can conflict with char $ac_func (); below.
47814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47815 <limits.h> exists even on freestanding compilers. */
47817 #ifdef __STDC__
47818 # include <limits.h>
47819 #else
47820 # include <assert.h>
47821 #endif
47823 #undef $ac_func
47825 /* Override any gcc2 internal prototype to avoid an error. */
47826 #ifdef __cplusplus
47827 extern "C"
47829 #endif
47830 /* We use char because int might match the return type of a gcc2
47831 builtin and then its argument prototype would still apply. */
47832 char $ac_func ();
47833 /* The GNU C library defines this for functions which it implements
47834 to always fail with ENOSYS. Some functions are actually named
47835 something starting with __ and the normal name is an alias. */
47836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47837 choke me
47838 #else
47839 char (*f) () = $ac_func;
47840 #endif
47841 #ifdef __cplusplus
47843 #endif
47846 main ()
47848 return f != $ac_func;
47850 return 0;
47852 _ACEOF
47853 rm -f conftest.$ac_objext conftest$ac_exeext
47854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47855 (eval $ac_link) 2>conftest.er1
47856 ac_status=$?
47857 grep -v '^ *+' conftest.er1 >conftest.err
47858 rm -f conftest.er1
47859 cat conftest.err >&5
47860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47861 (exit $ac_status); } &&
47862 { ac_try='test -z "$ac_c_werror_flag"
47863 || test ! -s conftest.err'
47864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47865 (eval $ac_try) 2>&5
47866 ac_status=$?
47867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47868 (exit $ac_status); }; } &&
47869 { ac_try='test -s conftest$ac_exeext'
47870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47871 (eval $ac_try) 2>&5
47872 ac_status=$?
47873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47874 (exit $ac_status); }; }; then
47875 eval "$as_ac_var=yes"
47876 else
47877 echo "$as_me: failed program was:" >&5
47878 sed 's/^/| /' conftest.$ac_ext >&5
47880 eval "$as_ac_var=no"
47882 rm -f conftest.err conftest.$ac_objext \
47883 conftest$ac_exeext conftest.$ac_ext
47885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47887 if test `eval echo '${'$as_ac_var'}'` = yes; then
47888 cat >>confdefs.h <<_ACEOF
47889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47890 _ACEOF
47893 done
47895 else
47897 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
47898 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
47899 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47900 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
47901 echo $ECHO_N "(cached) $ECHO_C" >&6
47902 else
47906 ac_ext=cc
47907 ac_cpp='$CXXCPP $CPPFLAGS'
47908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47912 cat >conftest.$ac_ext <<_ACEOF
47913 /* confdefs.h. */
47914 _ACEOF
47915 cat confdefs.h >>conftest.$ac_ext
47916 cat >>conftest.$ac_ext <<_ACEOF
47917 /* end confdefs.h. */
47918 #include <math.h>
47919 #ifdef HAVE_IEEEFP_H
47920 #include <ieeefp.h>
47921 #endif
47924 main ()
47926 _fabsf(0);
47928 return 0;
47930 _ACEOF
47931 rm -f conftest.$ac_objext
47932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47933 (eval $ac_compile) 2>conftest.er1
47934 ac_status=$?
47935 grep -v '^ *+' conftest.er1 >conftest.err
47936 rm -f conftest.er1
47937 cat conftest.err >&5
47938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47939 (exit $ac_status); } &&
47940 { ac_try='test -z "$ac_cxx_werror_flag"
47941 || test ! -s conftest.err'
47942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47943 (eval $ac_try) 2>&5
47944 ac_status=$?
47945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47946 (exit $ac_status); }; } &&
47947 { ac_try='test -s conftest.$ac_objext'
47948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47949 (eval $ac_try) 2>&5
47950 ac_status=$?
47951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47952 (exit $ac_status); }; }; then
47953 glibcxx_cv_func__fabsf_use=yes
47954 else
47955 echo "$as_me: failed program was:" >&5
47956 sed 's/^/| /' conftest.$ac_ext >&5
47958 glibcxx_cv_func__fabsf_use=no
47960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47961 ac_ext=c
47962 ac_cpp='$CPP $CPPFLAGS'
47963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47971 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
47972 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
47974 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47976 for ac_func in _fabsf
47978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47979 echo "$as_me:$LINENO: checking for $ac_func" >&5
47980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47981 if eval "test \"\${$as_ac_var+set}\" = set"; then
47982 echo $ECHO_N "(cached) $ECHO_C" >&6
47983 else
47984 if test x$gcc_no_link = xyes; then
47985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47987 { (exit 1); exit 1; }; }
47989 cat >conftest.$ac_ext <<_ACEOF
47990 /* confdefs.h. */
47991 _ACEOF
47992 cat confdefs.h >>conftest.$ac_ext
47993 cat >>conftest.$ac_ext <<_ACEOF
47994 /* end confdefs.h. */
47995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47997 #define $ac_func innocuous_$ac_func
47999 /* System header to define __stub macros and hopefully few prototypes,
48000 which can conflict with char $ac_func (); below.
48001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48002 <limits.h> exists even on freestanding compilers. */
48004 #ifdef __STDC__
48005 # include <limits.h>
48006 #else
48007 # include <assert.h>
48008 #endif
48010 #undef $ac_func
48012 /* Override any gcc2 internal prototype to avoid an error. */
48013 #ifdef __cplusplus
48014 extern "C"
48016 #endif
48017 /* We use char because int might match the return type of a gcc2
48018 builtin and then its argument prototype would still apply. */
48019 char $ac_func ();
48020 /* The GNU C library defines this for functions which it implements
48021 to always fail with ENOSYS. Some functions are actually named
48022 something starting with __ and the normal name is an alias. */
48023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48024 choke me
48025 #else
48026 char (*f) () = $ac_func;
48027 #endif
48028 #ifdef __cplusplus
48030 #endif
48033 main ()
48035 return f != $ac_func;
48037 return 0;
48039 _ACEOF
48040 rm -f conftest.$ac_objext conftest$ac_exeext
48041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48042 (eval $ac_link) 2>conftest.er1
48043 ac_status=$?
48044 grep -v '^ *+' conftest.er1 >conftest.err
48045 rm -f conftest.er1
48046 cat conftest.err >&5
48047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48048 (exit $ac_status); } &&
48049 { ac_try='test -z "$ac_c_werror_flag"
48050 || test ! -s conftest.err'
48051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48052 (eval $ac_try) 2>&5
48053 ac_status=$?
48054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48055 (exit $ac_status); }; } &&
48056 { ac_try='test -s conftest$ac_exeext'
48057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48058 (eval $ac_try) 2>&5
48059 ac_status=$?
48060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48061 (exit $ac_status); }; }; then
48062 eval "$as_ac_var=yes"
48063 else
48064 echo "$as_me: failed program was:" >&5
48065 sed 's/^/| /' conftest.$ac_ext >&5
48067 eval "$as_ac_var=no"
48069 rm -f conftest.err conftest.$ac_objext \
48070 conftest$ac_exeext conftest.$ac_ext
48072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48074 if test `eval echo '${'$as_ac_var'}'` = yes; then
48075 cat >>confdefs.h <<_ACEOF
48076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48077 _ACEOF
48080 done
48090 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
48091 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
48092 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48093 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
48094 echo $ECHO_N "(cached) $ECHO_C" >&6
48095 else
48099 ac_ext=cc
48100 ac_cpp='$CXXCPP $CPPFLAGS'
48101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48105 cat >conftest.$ac_ext <<_ACEOF
48106 /* confdefs.h. */
48107 _ACEOF
48108 cat confdefs.h >>conftest.$ac_ext
48109 cat >>conftest.$ac_ext <<_ACEOF
48110 /* end confdefs.h. */
48111 #include <math.h>
48113 main ()
48115 fmodf(0, 0);
48117 return 0;
48119 _ACEOF
48120 rm -f conftest.$ac_objext
48121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48122 (eval $ac_compile) 2>conftest.er1
48123 ac_status=$?
48124 grep -v '^ *+' conftest.er1 >conftest.err
48125 rm -f conftest.er1
48126 cat conftest.err >&5
48127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48128 (exit $ac_status); } &&
48129 { ac_try='test -z "$ac_cxx_werror_flag"
48130 || test ! -s conftest.err'
48131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48132 (eval $ac_try) 2>&5
48133 ac_status=$?
48134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48135 (exit $ac_status); }; } &&
48136 { ac_try='test -s conftest.$ac_objext'
48137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48138 (eval $ac_try) 2>&5
48139 ac_status=$?
48140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48141 (exit $ac_status); }; }; then
48142 glibcxx_cv_func_fmodf_use=yes
48143 else
48144 echo "$as_me: failed program was:" >&5
48145 sed 's/^/| /' conftest.$ac_ext >&5
48147 glibcxx_cv_func_fmodf_use=no
48149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48150 ac_ext=c
48151 ac_cpp='$CPP $CPPFLAGS'
48152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48160 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
48161 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
48163 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48165 for ac_func in fmodf
48167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48168 echo "$as_me:$LINENO: checking for $ac_func" >&5
48169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48170 if eval "test \"\${$as_ac_var+set}\" = set"; then
48171 echo $ECHO_N "(cached) $ECHO_C" >&6
48172 else
48173 if test x$gcc_no_link = xyes; then
48174 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48176 { (exit 1); exit 1; }; }
48178 cat >conftest.$ac_ext <<_ACEOF
48179 /* confdefs.h. */
48180 _ACEOF
48181 cat confdefs.h >>conftest.$ac_ext
48182 cat >>conftest.$ac_ext <<_ACEOF
48183 /* end confdefs.h. */
48184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48186 #define $ac_func innocuous_$ac_func
48188 /* System header to define __stub macros and hopefully few prototypes,
48189 which can conflict with char $ac_func (); below.
48190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48191 <limits.h> exists even on freestanding compilers. */
48193 #ifdef __STDC__
48194 # include <limits.h>
48195 #else
48196 # include <assert.h>
48197 #endif
48199 #undef $ac_func
48201 /* Override any gcc2 internal prototype to avoid an error. */
48202 #ifdef __cplusplus
48203 extern "C"
48205 #endif
48206 /* We use char because int might match the return type of a gcc2
48207 builtin and then its argument prototype would still apply. */
48208 char $ac_func ();
48209 /* The GNU C library defines this for functions which it implements
48210 to always fail with ENOSYS. Some functions are actually named
48211 something starting with __ and the normal name is an alias. */
48212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48213 choke me
48214 #else
48215 char (*f) () = $ac_func;
48216 #endif
48217 #ifdef __cplusplus
48219 #endif
48222 main ()
48224 return f != $ac_func;
48226 return 0;
48228 _ACEOF
48229 rm -f conftest.$ac_objext conftest$ac_exeext
48230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48231 (eval $ac_link) 2>conftest.er1
48232 ac_status=$?
48233 grep -v '^ *+' conftest.er1 >conftest.err
48234 rm -f conftest.er1
48235 cat conftest.err >&5
48236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48237 (exit $ac_status); } &&
48238 { ac_try='test -z "$ac_c_werror_flag"
48239 || test ! -s conftest.err'
48240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48241 (eval $ac_try) 2>&5
48242 ac_status=$?
48243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48244 (exit $ac_status); }; } &&
48245 { ac_try='test -s conftest$ac_exeext'
48246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48247 (eval $ac_try) 2>&5
48248 ac_status=$?
48249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48250 (exit $ac_status); }; }; then
48251 eval "$as_ac_var=yes"
48252 else
48253 echo "$as_me: failed program was:" >&5
48254 sed 's/^/| /' conftest.$ac_ext >&5
48256 eval "$as_ac_var=no"
48258 rm -f conftest.err conftest.$ac_objext \
48259 conftest$ac_exeext conftest.$ac_ext
48261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48262 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48263 if test `eval echo '${'$as_ac_var'}'` = yes; then
48264 cat >>confdefs.h <<_ACEOF
48265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48266 _ACEOF
48269 done
48271 else
48273 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
48274 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
48275 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48276 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
48277 echo $ECHO_N "(cached) $ECHO_C" >&6
48278 else
48282 ac_ext=cc
48283 ac_cpp='$CXXCPP $CPPFLAGS'
48284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48288 cat >conftest.$ac_ext <<_ACEOF
48289 /* confdefs.h. */
48290 _ACEOF
48291 cat confdefs.h >>conftest.$ac_ext
48292 cat >>conftest.$ac_ext <<_ACEOF
48293 /* end confdefs.h. */
48294 #include <math.h>
48296 main ()
48298 _fmodf(0, 0);
48300 return 0;
48302 _ACEOF
48303 rm -f conftest.$ac_objext
48304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48305 (eval $ac_compile) 2>conftest.er1
48306 ac_status=$?
48307 grep -v '^ *+' conftest.er1 >conftest.err
48308 rm -f conftest.er1
48309 cat conftest.err >&5
48310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48311 (exit $ac_status); } &&
48312 { ac_try='test -z "$ac_cxx_werror_flag"
48313 || test ! -s conftest.err'
48314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48315 (eval $ac_try) 2>&5
48316 ac_status=$?
48317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48318 (exit $ac_status); }; } &&
48319 { ac_try='test -s conftest.$ac_objext'
48320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48321 (eval $ac_try) 2>&5
48322 ac_status=$?
48323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48324 (exit $ac_status); }; }; then
48325 glibcxx_cv_func__fmodf_use=yes
48326 else
48327 echo "$as_me: failed program was:" >&5
48328 sed 's/^/| /' conftest.$ac_ext >&5
48330 glibcxx_cv_func__fmodf_use=no
48332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48333 ac_ext=c
48334 ac_cpp='$CPP $CPPFLAGS'
48335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48343 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
48344 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
48346 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48348 for ac_func in _fmodf
48350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48351 echo "$as_me:$LINENO: checking for $ac_func" >&5
48352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48353 if eval "test \"\${$as_ac_var+set}\" = set"; then
48354 echo $ECHO_N "(cached) $ECHO_C" >&6
48355 else
48356 if test x$gcc_no_link = xyes; then
48357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48359 { (exit 1); exit 1; }; }
48361 cat >conftest.$ac_ext <<_ACEOF
48362 /* confdefs.h. */
48363 _ACEOF
48364 cat confdefs.h >>conftest.$ac_ext
48365 cat >>conftest.$ac_ext <<_ACEOF
48366 /* end confdefs.h. */
48367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48369 #define $ac_func innocuous_$ac_func
48371 /* System header to define __stub macros and hopefully few prototypes,
48372 which can conflict with char $ac_func (); below.
48373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48374 <limits.h> exists even on freestanding compilers. */
48376 #ifdef __STDC__
48377 # include <limits.h>
48378 #else
48379 # include <assert.h>
48380 #endif
48382 #undef $ac_func
48384 /* Override any gcc2 internal prototype to avoid an error. */
48385 #ifdef __cplusplus
48386 extern "C"
48388 #endif
48389 /* We use char because int might match the return type of a gcc2
48390 builtin and then its argument prototype would still apply. */
48391 char $ac_func ();
48392 /* The GNU C library defines this for functions which it implements
48393 to always fail with ENOSYS. Some functions are actually named
48394 something starting with __ and the normal name is an alias. */
48395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48396 choke me
48397 #else
48398 char (*f) () = $ac_func;
48399 #endif
48400 #ifdef __cplusplus
48402 #endif
48405 main ()
48407 return f != $ac_func;
48409 return 0;
48411 _ACEOF
48412 rm -f conftest.$ac_objext conftest$ac_exeext
48413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48414 (eval $ac_link) 2>conftest.er1
48415 ac_status=$?
48416 grep -v '^ *+' conftest.er1 >conftest.err
48417 rm -f conftest.er1
48418 cat conftest.err >&5
48419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48420 (exit $ac_status); } &&
48421 { ac_try='test -z "$ac_c_werror_flag"
48422 || test ! -s conftest.err'
48423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48424 (eval $ac_try) 2>&5
48425 ac_status=$?
48426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48427 (exit $ac_status); }; } &&
48428 { ac_try='test -s conftest$ac_exeext'
48429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48430 (eval $ac_try) 2>&5
48431 ac_status=$?
48432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48433 (exit $ac_status); }; }; then
48434 eval "$as_ac_var=yes"
48435 else
48436 echo "$as_me: failed program was:" >&5
48437 sed 's/^/| /' conftest.$ac_ext >&5
48439 eval "$as_ac_var=no"
48441 rm -f conftest.err conftest.$ac_objext \
48442 conftest$ac_exeext conftest.$ac_ext
48444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48446 if test `eval echo '${'$as_ac_var'}'` = yes; then
48447 cat >>confdefs.h <<_ACEOF
48448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48449 _ACEOF
48452 done
48462 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
48463 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
48464 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48465 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
48466 echo $ECHO_N "(cached) $ECHO_C" >&6
48467 else
48471 ac_ext=cc
48472 ac_cpp='$CXXCPP $CPPFLAGS'
48473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48477 cat >conftest.$ac_ext <<_ACEOF
48478 /* confdefs.h. */
48479 _ACEOF
48480 cat confdefs.h >>conftest.$ac_ext
48481 cat >>conftest.$ac_ext <<_ACEOF
48482 /* end confdefs.h. */
48483 #include <math.h>
48485 main ()
48487 frexpf(0, 0);
48489 return 0;
48491 _ACEOF
48492 rm -f conftest.$ac_objext
48493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48494 (eval $ac_compile) 2>conftest.er1
48495 ac_status=$?
48496 grep -v '^ *+' conftest.er1 >conftest.err
48497 rm -f conftest.er1
48498 cat conftest.err >&5
48499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48500 (exit $ac_status); } &&
48501 { ac_try='test -z "$ac_cxx_werror_flag"
48502 || test ! -s conftest.err'
48503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48504 (eval $ac_try) 2>&5
48505 ac_status=$?
48506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48507 (exit $ac_status); }; } &&
48508 { ac_try='test -s conftest.$ac_objext'
48509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48510 (eval $ac_try) 2>&5
48511 ac_status=$?
48512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48513 (exit $ac_status); }; }; then
48514 glibcxx_cv_func_frexpf_use=yes
48515 else
48516 echo "$as_me: failed program was:" >&5
48517 sed 's/^/| /' conftest.$ac_ext >&5
48519 glibcxx_cv_func_frexpf_use=no
48521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48522 ac_ext=c
48523 ac_cpp='$CPP $CPPFLAGS'
48524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48532 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
48533 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
48535 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48537 for ac_func in frexpf
48539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48540 echo "$as_me:$LINENO: checking for $ac_func" >&5
48541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48542 if eval "test \"\${$as_ac_var+set}\" = set"; then
48543 echo $ECHO_N "(cached) $ECHO_C" >&6
48544 else
48545 if test x$gcc_no_link = xyes; then
48546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48548 { (exit 1); exit 1; }; }
48550 cat >conftest.$ac_ext <<_ACEOF
48551 /* confdefs.h. */
48552 _ACEOF
48553 cat confdefs.h >>conftest.$ac_ext
48554 cat >>conftest.$ac_ext <<_ACEOF
48555 /* end confdefs.h. */
48556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48558 #define $ac_func innocuous_$ac_func
48560 /* System header to define __stub macros and hopefully few prototypes,
48561 which can conflict with char $ac_func (); below.
48562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48563 <limits.h> exists even on freestanding compilers. */
48565 #ifdef __STDC__
48566 # include <limits.h>
48567 #else
48568 # include <assert.h>
48569 #endif
48571 #undef $ac_func
48573 /* Override any gcc2 internal prototype to avoid an error. */
48574 #ifdef __cplusplus
48575 extern "C"
48577 #endif
48578 /* We use char because int might match the return type of a gcc2
48579 builtin and then its argument prototype would still apply. */
48580 char $ac_func ();
48581 /* The GNU C library defines this for functions which it implements
48582 to always fail with ENOSYS. Some functions are actually named
48583 something starting with __ and the normal name is an alias. */
48584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48585 choke me
48586 #else
48587 char (*f) () = $ac_func;
48588 #endif
48589 #ifdef __cplusplus
48591 #endif
48594 main ()
48596 return f != $ac_func;
48598 return 0;
48600 _ACEOF
48601 rm -f conftest.$ac_objext conftest$ac_exeext
48602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48603 (eval $ac_link) 2>conftest.er1
48604 ac_status=$?
48605 grep -v '^ *+' conftest.er1 >conftest.err
48606 rm -f conftest.er1
48607 cat conftest.err >&5
48608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48609 (exit $ac_status); } &&
48610 { ac_try='test -z "$ac_c_werror_flag"
48611 || test ! -s conftest.err'
48612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48613 (eval $ac_try) 2>&5
48614 ac_status=$?
48615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48616 (exit $ac_status); }; } &&
48617 { ac_try='test -s conftest$ac_exeext'
48618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48619 (eval $ac_try) 2>&5
48620 ac_status=$?
48621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48622 (exit $ac_status); }; }; then
48623 eval "$as_ac_var=yes"
48624 else
48625 echo "$as_me: failed program was:" >&5
48626 sed 's/^/| /' conftest.$ac_ext >&5
48628 eval "$as_ac_var=no"
48630 rm -f conftest.err conftest.$ac_objext \
48631 conftest$ac_exeext conftest.$ac_ext
48633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48635 if test `eval echo '${'$as_ac_var'}'` = yes; then
48636 cat >>confdefs.h <<_ACEOF
48637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48638 _ACEOF
48641 done
48643 else
48645 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
48646 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
48647 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48648 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
48649 echo $ECHO_N "(cached) $ECHO_C" >&6
48650 else
48654 ac_ext=cc
48655 ac_cpp='$CXXCPP $CPPFLAGS'
48656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48660 cat >conftest.$ac_ext <<_ACEOF
48661 /* confdefs.h. */
48662 _ACEOF
48663 cat confdefs.h >>conftest.$ac_ext
48664 cat >>conftest.$ac_ext <<_ACEOF
48665 /* end confdefs.h. */
48666 #include <math.h>
48668 main ()
48670 _frexpf(0, 0);
48672 return 0;
48674 _ACEOF
48675 rm -f conftest.$ac_objext
48676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48677 (eval $ac_compile) 2>conftest.er1
48678 ac_status=$?
48679 grep -v '^ *+' conftest.er1 >conftest.err
48680 rm -f conftest.er1
48681 cat conftest.err >&5
48682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48683 (exit $ac_status); } &&
48684 { ac_try='test -z "$ac_cxx_werror_flag"
48685 || test ! -s conftest.err'
48686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48687 (eval $ac_try) 2>&5
48688 ac_status=$?
48689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48690 (exit $ac_status); }; } &&
48691 { ac_try='test -s conftest.$ac_objext'
48692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48693 (eval $ac_try) 2>&5
48694 ac_status=$?
48695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48696 (exit $ac_status); }; }; then
48697 glibcxx_cv_func__frexpf_use=yes
48698 else
48699 echo "$as_me: failed program was:" >&5
48700 sed 's/^/| /' conftest.$ac_ext >&5
48702 glibcxx_cv_func__frexpf_use=no
48704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48705 ac_ext=c
48706 ac_cpp='$CPP $CPPFLAGS'
48707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48715 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
48716 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
48718 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48720 for ac_func in _frexpf
48722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48723 echo "$as_me:$LINENO: checking for $ac_func" >&5
48724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48725 if eval "test \"\${$as_ac_var+set}\" = set"; then
48726 echo $ECHO_N "(cached) $ECHO_C" >&6
48727 else
48728 if test x$gcc_no_link = xyes; then
48729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48731 { (exit 1); exit 1; }; }
48733 cat >conftest.$ac_ext <<_ACEOF
48734 /* confdefs.h. */
48735 _ACEOF
48736 cat confdefs.h >>conftest.$ac_ext
48737 cat >>conftest.$ac_ext <<_ACEOF
48738 /* end confdefs.h. */
48739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48741 #define $ac_func innocuous_$ac_func
48743 /* System header to define __stub macros and hopefully few prototypes,
48744 which can conflict with char $ac_func (); below.
48745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48746 <limits.h> exists even on freestanding compilers. */
48748 #ifdef __STDC__
48749 # include <limits.h>
48750 #else
48751 # include <assert.h>
48752 #endif
48754 #undef $ac_func
48756 /* Override any gcc2 internal prototype to avoid an error. */
48757 #ifdef __cplusplus
48758 extern "C"
48760 #endif
48761 /* We use char because int might match the return type of a gcc2
48762 builtin and then its argument prototype would still apply. */
48763 char $ac_func ();
48764 /* The GNU C library defines this for functions which it implements
48765 to always fail with ENOSYS. Some functions are actually named
48766 something starting with __ and the normal name is an alias. */
48767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48768 choke me
48769 #else
48770 char (*f) () = $ac_func;
48771 #endif
48772 #ifdef __cplusplus
48774 #endif
48777 main ()
48779 return f != $ac_func;
48781 return 0;
48783 _ACEOF
48784 rm -f conftest.$ac_objext conftest$ac_exeext
48785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48786 (eval $ac_link) 2>conftest.er1
48787 ac_status=$?
48788 grep -v '^ *+' conftest.er1 >conftest.err
48789 rm -f conftest.er1
48790 cat conftest.err >&5
48791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48792 (exit $ac_status); } &&
48793 { ac_try='test -z "$ac_c_werror_flag"
48794 || test ! -s conftest.err'
48795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48796 (eval $ac_try) 2>&5
48797 ac_status=$?
48798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48799 (exit $ac_status); }; } &&
48800 { ac_try='test -s conftest$ac_exeext'
48801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48802 (eval $ac_try) 2>&5
48803 ac_status=$?
48804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48805 (exit $ac_status); }; }; then
48806 eval "$as_ac_var=yes"
48807 else
48808 echo "$as_me: failed program was:" >&5
48809 sed 's/^/| /' conftest.$ac_ext >&5
48811 eval "$as_ac_var=no"
48813 rm -f conftest.err conftest.$ac_objext \
48814 conftest$ac_exeext conftest.$ac_ext
48816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48818 if test `eval echo '${'$as_ac_var'}'` = yes; then
48819 cat >>confdefs.h <<_ACEOF
48820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48821 _ACEOF
48824 done
48834 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
48835 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
48836 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48837 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
48838 echo $ECHO_N "(cached) $ECHO_C" >&6
48839 else
48843 ac_ext=cc
48844 ac_cpp='$CXXCPP $CPPFLAGS'
48845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48849 cat >conftest.$ac_ext <<_ACEOF
48850 /* confdefs.h. */
48851 _ACEOF
48852 cat confdefs.h >>conftest.$ac_ext
48853 cat >>conftest.$ac_ext <<_ACEOF
48854 /* end confdefs.h. */
48855 #include <math.h>
48857 main ()
48859 hypotf(0, 0);
48861 return 0;
48863 _ACEOF
48864 rm -f conftest.$ac_objext
48865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48866 (eval $ac_compile) 2>conftest.er1
48867 ac_status=$?
48868 grep -v '^ *+' conftest.er1 >conftest.err
48869 rm -f conftest.er1
48870 cat conftest.err >&5
48871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48872 (exit $ac_status); } &&
48873 { ac_try='test -z "$ac_cxx_werror_flag"
48874 || test ! -s conftest.err'
48875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48876 (eval $ac_try) 2>&5
48877 ac_status=$?
48878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48879 (exit $ac_status); }; } &&
48880 { ac_try='test -s conftest.$ac_objext'
48881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48882 (eval $ac_try) 2>&5
48883 ac_status=$?
48884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48885 (exit $ac_status); }; }; then
48886 glibcxx_cv_func_hypotf_use=yes
48887 else
48888 echo "$as_me: failed program was:" >&5
48889 sed 's/^/| /' conftest.$ac_ext >&5
48891 glibcxx_cv_func_hypotf_use=no
48893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48894 ac_ext=c
48895 ac_cpp='$CPP $CPPFLAGS'
48896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48904 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
48905 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
48907 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48909 for ac_func in hypotf
48911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48912 echo "$as_me:$LINENO: checking for $ac_func" >&5
48913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48914 if eval "test \"\${$as_ac_var+set}\" = set"; then
48915 echo $ECHO_N "(cached) $ECHO_C" >&6
48916 else
48917 if test x$gcc_no_link = xyes; then
48918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48920 { (exit 1); exit 1; }; }
48922 cat >conftest.$ac_ext <<_ACEOF
48923 /* confdefs.h. */
48924 _ACEOF
48925 cat confdefs.h >>conftest.$ac_ext
48926 cat >>conftest.$ac_ext <<_ACEOF
48927 /* end confdefs.h. */
48928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48930 #define $ac_func innocuous_$ac_func
48932 /* System header to define __stub macros and hopefully few prototypes,
48933 which can conflict with char $ac_func (); below.
48934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48935 <limits.h> exists even on freestanding compilers. */
48937 #ifdef __STDC__
48938 # include <limits.h>
48939 #else
48940 # include <assert.h>
48941 #endif
48943 #undef $ac_func
48945 /* Override any gcc2 internal prototype to avoid an error. */
48946 #ifdef __cplusplus
48947 extern "C"
48949 #endif
48950 /* We use char because int might match the return type of a gcc2
48951 builtin and then its argument prototype would still apply. */
48952 char $ac_func ();
48953 /* The GNU C library defines this for functions which it implements
48954 to always fail with ENOSYS. Some functions are actually named
48955 something starting with __ and the normal name is an alias. */
48956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48957 choke me
48958 #else
48959 char (*f) () = $ac_func;
48960 #endif
48961 #ifdef __cplusplus
48963 #endif
48966 main ()
48968 return f != $ac_func;
48970 return 0;
48972 _ACEOF
48973 rm -f conftest.$ac_objext conftest$ac_exeext
48974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48975 (eval $ac_link) 2>conftest.er1
48976 ac_status=$?
48977 grep -v '^ *+' conftest.er1 >conftest.err
48978 rm -f conftest.er1
48979 cat conftest.err >&5
48980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48981 (exit $ac_status); } &&
48982 { ac_try='test -z "$ac_c_werror_flag"
48983 || test ! -s conftest.err'
48984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48985 (eval $ac_try) 2>&5
48986 ac_status=$?
48987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48988 (exit $ac_status); }; } &&
48989 { ac_try='test -s conftest$ac_exeext'
48990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48991 (eval $ac_try) 2>&5
48992 ac_status=$?
48993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48994 (exit $ac_status); }; }; then
48995 eval "$as_ac_var=yes"
48996 else
48997 echo "$as_me: failed program was:" >&5
48998 sed 's/^/| /' conftest.$ac_ext >&5
49000 eval "$as_ac_var=no"
49002 rm -f conftest.err conftest.$ac_objext \
49003 conftest$ac_exeext conftest.$ac_ext
49005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49007 if test `eval echo '${'$as_ac_var'}'` = yes; then
49008 cat >>confdefs.h <<_ACEOF
49009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49010 _ACEOF
49013 done
49015 else
49017 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
49018 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
49019 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49020 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
49021 echo $ECHO_N "(cached) $ECHO_C" >&6
49022 else
49026 ac_ext=cc
49027 ac_cpp='$CXXCPP $CPPFLAGS'
49028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49032 cat >conftest.$ac_ext <<_ACEOF
49033 /* confdefs.h. */
49034 _ACEOF
49035 cat confdefs.h >>conftest.$ac_ext
49036 cat >>conftest.$ac_ext <<_ACEOF
49037 /* end confdefs.h. */
49038 #include <math.h>
49040 main ()
49042 _hypotf(0, 0);
49044 return 0;
49046 _ACEOF
49047 rm -f conftest.$ac_objext
49048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49049 (eval $ac_compile) 2>conftest.er1
49050 ac_status=$?
49051 grep -v '^ *+' conftest.er1 >conftest.err
49052 rm -f conftest.er1
49053 cat conftest.err >&5
49054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49055 (exit $ac_status); } &&
49056 { ac_try='test -z "$ac_cxx_werror_flag"
49057 || test ! -s conftest.err'
49058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49059 (eval $ac_try) 2>&5
49060 ac_status=$?
49061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49062 (exit $ac_status); }; } &&
49063 { ac_try='test -s conftest.$ac_objext'
49064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49065 (eval $ac_try) 2>&5
49066 ac_status=$?
49067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49068 (exit $ac_status); }; }; then
49069 glibcxx_cv_func__hypotf_use=yes
49070 else
49071 echo "$as_me: failed program was:" >&5
49072 sed 's/^/| /' conftest.$ac_ext >&5
49074 glibcxx_cv_func__hypotf_use=no
49076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49077 ac_ext=c
49078 ac_cpp='$CPP $CPPFLAGS'
49079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49087 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
49088 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
49090 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49092 for ac_func in _hypotf
49094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49095 echo "$as_me:$LINENO: checking for $ac_func" >&5
49096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49097 if eval "test \"\${$as_ac_var+set}\" = set"; then
49098 echo $ECHO_N "(cached) $ECHO_C" >&6
49099 else
49100 if test x$gcc_no_link = xyes; then
49101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49103 { (exit 1); exit 1; }; }
49105 cat >conftest.$ac_ext <<_ACEOF
49106 /* confdefs.h. */
49107 _ACEOF
49108 cat confdefs.h >>conftest.$ac_ext
49109 cat >>conftest.$ac_ext <<_ACEOF
49110 /* end confdefs.h. */
49111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49113 #define $ac_func innocuous_$ac_func
49115 /* System header to define __stub macros and hopefully few prototypes,
49116 which can conflict with char $ac_func (); below.
49117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49118 <limits.h> exists even on freestanding compilers. */
49120 #ifdef __STDC__
49121 # include <limits.h>
49122 #else
49123 # include <assert.h>
49124 #endif
49126 #undef $ac_func
49128 /* Override any gcc2 internal prototype to avoid an error. */
49129 #ifdef __cplusplus
49130 extern "C"
49132 #endif
49133 /* We use char because int might match the return type of a gcc2
49134 builtin and then its argument prototype would still apply. */
49135 char $ac_func ();
49136 /* The GNU C library defines this for functions which it implements
49137 to always fail with ENOSYS. Some functions are actually named
49138 something starting with __ and the normal name is an alias. */
49139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49140 choke me
49141 #else
49142 char (*f) () = $ac_func;
49143 #endif
49144 #ifdef __cplusplus
49146 #endif
49149 main ()
49151 return f != $ac_func;
49153 return 0;
49155 _ACEOF
49156 rm -f conftest.$ac_objext conftest$ac_exeext
49157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49158 (eval $ac_link) 2>conftest.er1
49159 ac_status=$?
49160 grep -v '^ *+' conftest.er1 >conftest.err
49161 rm -f conftest.er1
49162 cat conftest.err >&5
49163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49164 (exit $ac_status); } &&
49165 { ac_try='test -z "$ac_c_werror_flag"
49166 || test ! -s conftest.err'
49167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49168 (eval $ac_try) 2>&5
49169 ac_status=$?
49170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49171 (exit $ac_status); }; } &&
49172 { ac_try='test -s conftest$ac_exeext'
49173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49174 (eval $ac_try) 2>&5
49175 ac_status=$?
49176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49177 (exit $ac_status); }; }; then
49178 eval "$as_ac_var=yes"
49179 else
49180 echo "$as_me: failed program was:" >&5
49181 sed 's/^/| /' conftest.$ac_ext >&5
49183 eval "$as_ac_var=no"
49185 rm -f conftest.err conftest.$ac_objext \
49186 conftest$ac_exeext conftest.$ac_ext
49188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49190 if test `eval echo '${'$as_ac_var'}'` = yes; then
49191 cat >>confdefs.h <<_ACEOF
49192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49193 _ACEOF
49196 done
49206 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
49207 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
49208 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49209 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
49210 echo $ECHO_N "(cached) $ECHO_C" >&6
49211 else
49215 ac_ext=cc
49216 ac_cpp='$CXXCPP $CPPFLAGS'
49217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49221 cat >conftest.$ac_ext <<_ACEOF
49222 /* confdefs.h. */
49223 _ACEOF
49224 cat confdefs.h >>conftest.$ac_ext
49225 cat >>conftest.$ac_ext <<_ACEOF
49226 /* end confdefs.h. */
49227 #include <math.h>
49229 main ()
49231 ldexpf(0, 0);
49233 return 0;
49235 _ACEOF
49236 rm -f conftest.$ac_objext
49237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49238 (eval $ac_compile) 2>conftest.er1
49239 ac_status=$?
49240 grep -v '^ *+' conftest.er1 >conftest.err
49241 rm -f conftest.er1
49242 cat conftest.err >&5
49243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49244 (exit $ac_status); } &&
49245 { ac_try='test -z "$ac_cxx_werror_flag"
49246 || test ! -s conftest.err'
49247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49248 (eval $ac_try) 2>&5
49249 ac_status=$?
49250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49251 (exit $ac_status); }; } &&
49252 { ac_try='test -s conftest.$ac_objext'
49253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49254 (eval $ac_try) 2>&5
49255 ac_status=$?
49256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49257 (exit $ac_status); }; }; then
49258 glibcxx_cv_func_ldexpf_use=yes
49259 else
49260 echo "$as_me: failed program was:" >&5
49261 sed 's/^/| /' conftest.$ac_ext >&5
49263 glibcxx_cv_func_ldexpf_use=no
49265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49266 ac_ext=c
49267 ac_cpp='$CPP $CPPFLAGS'
49268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49276 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
49277 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
49279 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49281 for ac_func in ldexpf
49283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49284 echo "$as_me:$LINENO: checking for $ac_func" >&5
49285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49286 if eval "test \"\${$as_ac_var+set}\" = set"; then
49287 echo $ECHO_N "(cached) $ECHO_C" >&6
49288 else
49289 if test x$gcc_no_link = xyes; then
49290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49292 { (exit 1); exit 1; }; }
49294 cat >conftest.$ac_ext <<_ACEOF
49295 /* confdefs.h. */
49296 _ACEOF
49297 cat confdefs.h >>conftest.$ac_ext
49298 cat >>conftest.$ac_ext <<_ACEOF
49299 /* end confdefs.h. */
49300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49302 #define $ac_func innocuous_$ac_func
49304 /* System header to define __stub macros and hopefully few prototypes,
49305 which can conflict with char $ac_func (); below.
49306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49307 <limits.h> exists even on freestanding compilers. */
49309 #ifdef __STDC__
49310 # include <limits.h>
49311 #else
49312 # include <assert.h>
49313 #endif
49315 #undef $ac_func
49317 /* Override any gcc2 internal prototype to avoid an error. */
49318 #ifdef __cplusplus
49319 extern "C"
49321 #endif
49322 /* We use char because int might match the return type of a gcc2
49323 builtin and then its argument prototype would still apply. */
49324 char $ac_func ();
49325 /* The GNU C library defines this for functions which it implements
49326 to always fail with ENOSYS. Some functions are actually named
49327 something starting with __ and the normal name is an alias. */
49328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49329 choke me
49330 #else
49331 char (*f) () = $ac_func;
49332 #endif
49333 #ifdef __cplusplus
49335 #endif
49338 main ()
49340 return f != $ac_func;
49342 return 0;
49344 _ACEOF
49345 rm -f conftest.$ac_objext conftest$ac_exeext
49346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49347 (eval $ac_link) 2>conftest.er1
49348 ac_status=$?
49349 grep -v '^ *+' conftest.er1 >conftest.err
49350 rm -f conftest.er1
49351 cat conftest.err >&5
49352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49353 (exit $ac_status); } &&
49354 { ac_try='test -z "$ac_c_werror_flag"
49355 || test ! -s conftest.err'
49356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49357 (eval $ac_try) 2>&5
49358 ac_status=$?
49359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49360 (exit $ac_status); }; } &&
49361 { ac_try='test -s conftest$ac_exeext'
49362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49363 (eval $ac_try) 2>&5
49364 ac_status=$?
49365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49366 (exit $ac_status); }; }; then
49367 eval "$as_ac_var=yes"
49368 else
49369 echo "$as_me: failed program was:" >&5
49370 sed 's/^/| /' conftest.$ac_ext >&5
49372 eval "$as_ac_var=no"
49374 rm -f conftest.err conftest.$ac_objext \
49375 conftest$ac_exeext conftest.$ac_ext
49377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49379 if test `eval echo '${'$as_ac_var'}'` = yes; then
49380 cat >>confdefs.h <<_ACEOF
49381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49382 _ACEOF
49385 done
49387 else
49389 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
49390 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
49391 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49392 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
49393 echo $ECHO_N "(cached) $ECHO_C" >&6
49394 else
49398 ac_ext=cc
49399 ac_cpp='$CXXCPP $CPPFLAGS'
49400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49404 cat >conftest.$ac_ext <<_ACEOF
49405 /* confdefs.h. */
49406 _ACEOF
49407 cat confdefs.h >>conftest.$ac_ext
49408 cat >>conftest.$ac_ext <<_ACEOF
49409 /* end confdefs.h. */
49410 #include <math.h>
49412 main ()
49414 _ldexpf(0, 0);
49416 return 0;
49418 _ACEOF
49419 rm -f conftest.$ac_objext
49420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49421 (eval $ac_compile) 2>conftest.er1
49422 ac_status=$?
49423 grep -v '^ *+' conftest.er1 >conftest.err
49424 rm -f conftest.er1
49425 cat conftest.err >&5
49426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49427 (exit $ac_status); } &&
49428 { ac_try='test -z "$ac_cxx_werror_flag"
49429 || test ! -s conftest.err'
49430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49431 (eval $ac_try) 2>&5
49432 ac_status=$?
49433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49434 (exit $ac_status); }; } &&
49435 { ac_try='test -s conftest.$ac_objext'
49436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49437 (eval $ac_try) 2>&5
49438 ac_status=$?
49439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49440 (exit $ac_status); }; }; then
49441 glibcxx_cv_func__ldexpf_use=yes
49442 else
49443 echo "$as_me: failed program was:" >&5
49444 sed 's/^/| /' conftest.$ac_ext >&5
49446 glibcxx_cv_func__ldexpf_use=no
49448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49449 ac_ext=c
49450 ac_cpp='$CPP $CPPFLAGS'
49451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49459 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
49460 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
49462 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49464 for ac_func in _ldexpf
49466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49467 echo "$as_me:$LINENO: checking for $ac_func" >&5
49468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49469 if eval "test \"\${$as_ac_var+set}\" = set"; then
49470 echo $ECHO_N "(cached) $ECHO_C" >&6
49471 else
49472 if test x$gcc_no_link = xyes; then
49473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49475 { (exit 1); exit 1; }; }
49477 cat >conftest.$ac_ext <<_ACEOF
49478 /* confdefs.h. */
49479 _ACEOF
49480 cat confdefs.h >>conftest.$ac_ext
49481 cat >>conftest.$ac_ext <<_ACEOF
49482 /* end confdefs.h. */
49483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49485 #define $ac_func innocuous_$ac_func
49487 /* System header to define __stub macros and hopefully few prototypes,
49488 which can conflict with char $ac_func (); below.
49489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49490 <limits.h> exists even on freestanding compilers. */
49492 #ifdef __STDC__
49493 # include <limits.h>
49494 #else
49495 # include <assert.h>
49496 #endif
49498 #undef $ac_func
49500 /* Override any gcc2 internal prototype to avoid an error. */
49501 #ifdef __cplusplus
49502 extern "C"
49504 #endif
49505 /* We use char because int might match the return type of a gcc2
49506 builtin and then its argument prototype would still apply. */
49507 char $ac_func ();
49508 /* The GNU C library defines this for functions which it implements
49509 to always fail with ENOSYS. Some functions are actually named
49510 something starting with __ and the normal name is an alias. */
49511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49512 choke me
49513 #else
49514 char (*f) () = $ac_func;
49515 #endif
49516 #ifdef __cplusplus
49518 #endif
49521 main ()
49523 return f != $ac_func;
49525 return 0;
49527 _ACEOF
49528 rm -f conftest.$ac_objext conftest$ac_exeext
49529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49530 (eval $ac_link) 2>conftest.er1
49531 ac_status=$?
49532 grep -v '^ *+' conftest.er1 >conftest.err
49533 rm -f conftest.er1
49534 cat conftest.err >&5
49535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49536 (exit $ac_status); } &&
49537 { ac_try='test -z "$ac_c_werror_flag"
49538 || test ! -s conftest.err'
49539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49540 (eval $ac_try) 2>&5
49541 ac_status=$?
49542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49543 (exit $ac_status); }; } &&
49544 { ac_try='test -s conftest$ac_exeext'
49545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49546 (eval $ac_try) 2>&5
49547 ac_status=$?
49548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49549 (exit $ac_status); }; }; then
49550 eval "$as_ac_var=yes"
49551 else
49552 echo "$as_me: failed program was:" >&5
49553 sed 's/^/| /' conftest.$ac_ext >&5
49555 eval "$as_ac_var=no"
49557 rm -f conftest.err conftest.$ac_objext \
49558 conftest$ac_exeext conftest.$ac_ext
49560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49562 if test `eval echo '${'$as_ac_var'}'` = yes; then
49563 cat >>confdefs.h <<_ACEOF
49564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49565 _ACEOF
49568 done
49578 echo "$as_me:$LINENO: checking for logf declaration" >&5
49579 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
49580 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49581 if test "${glibcxx_cv_func_logf_use+set}" = set; then
49582 echo $ECHO_N "(cached) $ECHO_C" >&6
49583 else
49587 ac_ext=cc
49588 ac_cpp='$CXXCPP $CPPFLAGS'
49589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49593 cat >conftest.$ac_ext <<_ACEOF
49594 /* confdefs.h. */
49595 _ACEOF
49596 cat confdefs.h >>conftest.$ac_ext
49597 cat >>conftest.$ac_ext <<_ACEOF
49598 /* end confdefs.h. */
49599 #include <math.h>
49600 #ifdef HAVE_IEEEFP_H
49601 #include <ieeefp.h>
49602 #endif
49605 main ()
49607 logf(0);
49609 return 0;
49611 _ACEOF
49612 rm -f conftest.$ac_objext
49613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49614 (eval $ac_compile) 2>conftest.er1
49615 ac_status=$?
49616 grep -v '^ *+' conftest.er1 >conftest.err
49617 rm -f conftest.er1
49618 cat conftest.err >&5
49619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49620 (exit $ac_status); } &&
49621 { ac_try='test -z "$ac_cxx_werror_flag"
49622 || test ! -s conftest.err'
49623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49624 (eval $ac_try) 2>&5
49625 ac_status=$?
49626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49627 (exit $ac_status); }; } &&
49628 { ac_try='test -s conftest.$ac_objext'
49629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49630 (eval $ac_try) 2>&5
49631 ac_status=$?
49632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49633 (exit $ac_status); }; }; then
49634 glibcxx_cv_func_logf_use=yes
49635 else
49636 echo "$as_me: failed program was:" >&5
49637 sed 's/^/| /' conftest.$ac_ext >&5
49639 glibcxx_cv_func_logf_use=no
49641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49642 ac_ext=c
49643 ac_cpp='$CPP $CPPFLAGS'
49644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49652 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
49653 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
49655 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49657 for ac_func in logf
49659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49660 echo "$as_me:$LINENO: checking for $ac_func" >&5
49661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49662 if eval "test \"\${$as_ac_var+set}\" = set"; then
49663 echo $ECHO_N "(cached) $ECHO_C" >&6
49664 else
49665 if test x$gcc_no_link = xyes; then
49666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49668 { (exit 1); exit 1; }; }
49670 cat >conftest.$ac_ext <<_ACEOF
49671 /* confdefs.h. */
49672 _ACEOF
49673 cat confdefs.h >>conftest.$ac_ext
49674 cat >>conftest.$ac_ext <<_ACEOF
49675 /* end confdefs.h. */
49676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49678 #define $ac_func innocuous_$ac_func
49680 /* System header to define __stub macros and hopefully few prototypes,
49681 which can conflict with char $ac_func (); below.
49682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49683 <limits.h> exists even on freestanding compilers. */
49685 #ifdef __STDC__
49686 # include <limits.h>
49687 #else
49688 # include <assert.h>
49689 #endif
49691 #undef $ac_func
49693 /* Override any gcc2 internal prototype to avoid an error. */
49694 #ifdef __cplusplus
49695 extern "C"
49697 #endif
49698 /* We use char because int might match the return type of a gcc2
49699 builtin and then its argument prototype would still apply. */
49700 char $ac_func ();
49701 /* The GNU C library defines this for functions which it implements
49702 to always fail with ENOSYS. Some functions are actually named
49703 something starting with __ and the normal name is an alias. */
49704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49705 choke me
49706 #else
49707 char (*f) () = $ac_func;
49708 #endif
49709 #ifdef __cplusplus
49711 #endif
49714 main ()
49716 return f != $ac_func;
49718 return 0;
49720 _ACEOF
49721 rm -f conftest.$ac_objext conftest$ac_exeext
49722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49723 (eval $ac_link) 2>conftest.er1
49724 ac_status=$?
49725 grep -v '^ *+' conftest.er1 >conftest.err
49726 rm -f conftest.er1
49727 cat conftest.err >&5
49728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49729 (exit $ac_status); } &&
49730 { ac_try='test -z "$ac_c_werror_flag"
49731 || test ! -s conftest.err'
49732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49733 (eval $ac_try) 2>&5
49734 ac_status=$?
49735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49736 (exit $ac_status); }; } &&
49737 { ac_try='test -s conftest$ac_exeext'
49738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49739 (eval $ac_try) 2>&5
49740 ac_status=$?
49741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49742 (exit $ac_status); }; }; then
49743 eval "$as_ac_var=yes"
49744 else
49745 echo "$as_me: failed program was:" >&5
49746 sed 's/^/| /' conftest.$ac_ext >&5
49748 eval "$as_ac_var=no"
49750 rm -f conftest.err conftest.$ac_objext \
49751 conftest$ac_exeext conftest.$ac_ext
49753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49755 if test `eval echo '${'$as_ac_var'}'` = yes; then
49756 cat >>confdefs.h <<_ACEOF
49757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49758 _ACEOF
49761 done
49763 else
49765 echo "$as_me:$LINENO: checking for _logf declaration" >&5
49766 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
49767 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49768 if test "${glibcxx_cv_func__logf_use+set}" = set; then
49769 echo $ECHO_N "(cached) $ECHO_C" >&6
49770 else
49774 ac_ext=cc
49775 ac_cpp='$CXXCPP $CPPFLAGS'
49776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49780 cat >conftest.$ac_ext <<_ACEOF
49781 /* confdefs.h. */
49782 _ACEOF
49783 cat confdefs.h >>conftest.$ac_ext
49784 cat >>conftest.$ac_ext <<_ACEOF
49785 /* end confdefs.h. */
49786 #include <math.h>
49787 #ifdef HAVE_IEEEFP_H
49788 #include <ieeefp.h>
49789 #endif
49792 main ()
49794 _logf(0);
49796 return 0;
49798 _ACEOF
49799 rm -f conftest.$ac_objext
49800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49801 (eval $ac_compile) 2>conftest.er1
49802 ac_status=$?
49803 grep -v '^ *+' conftest.er1 >conftest.err
49804 rm -f conftest.er1
49805 cat conftest.err >&5
49806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49807 (exit $ac_status); } &&
49808 { ac_try='test -z "$ac_cxx_werror_flag"
49809 || test ! -s conftest.err'
49810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49811 (eval $ac_try) 2>&5
49812 ac_status=$?
49813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49814 (exit $ac_status); }; } &&
49815 { ac_try='test -s conftest.$ac_objext'
49816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49817 (eval $ac_try) 2>&5
49818 ac_status=$?
49819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49820 (exit $ac_status); }; }; then
49821 glibcxx_cv_func__logf_use=yes
49822 else
49823 echo "$as_me: failed program was:" >&5
49824 sed 's/^/| /' conftest.$ac_ext >&5
49826 glibcxx_cv_func__logf_use=no
49828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49829 ac_ext=c
49830 ac_cpp='$CPP $CPPFLAGS'
49831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49839 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
49840 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
49842 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49844 for ac_func in _logf
49846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49847 echo "$as_me:$LINENO: checking for $ac_func" >&5
49848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49849 if eval "test \"\${$as_ac_var+set}\" = set"; then
49850 echo $ECHO_N "(cached) $ECHO_C" >&6
49851 else
49852 if test x$gcc_no_link = xyes; then
49853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49855 { (exit 1); exit 1; }; }
49857 cat >conftest.$ac_ext <<_ACEOF
49858 /* confdefs.h. */
49859 _ACEOF
49860 cat confdefs.h >>conftest.$ac_ext
49861 cat >>conftest.$ac_ext <<_ACEOF
49862 /* end confdefs.h. */
49863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49865 #define $ac_func innocuous_$ac_func
49867 /* System header to define __stub macros and hopefully few prototypes,
49868 which can conflict with char $ac_func (); below.
49869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49870 <limits.h> exists even on freestanding compilers. */
49872 #ifdef __STDC__
49873 # include <limits.h>
49874 #else
49875 # include <assert.h>
49876 #endif
49878 #undef $ac_func
49880 /* Override any gcc2 internal prototype to avoid an error. */
49881 #ifdef __cplusplus
49882 extern "C"
49884 #endif
49885 /* We use char because int might match the return type of a gcc2
49886 builtin and then its argument prototype would still apply. */
49887 char $ac_func ();
49888 /* The GNU C library defines this for functions which it implements
49889 to always fail with ENOSYS. Some functions are actually named
49890 something starting with __ and the normal name is an alias. */
49891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49892 choke me
49893 #else
49894 char (*f) () = $ac_func;
49895 #endif
49896 #ifdef __cplusplus
49898 #endif
49901 main ()
49903 return f != $ac_func;
49905 return 0;
49907 _ACEOF
49908 rm -f conftest.$ac_objext conftest$ac_exeext
49909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49910 (eval $ac_link) 2>conftest.er1
49911 ac_status=$?
49912 grep -v '^ *+' conftest.er1 >conftest.err
49913 rm -f conftest.er1
49914 cat conftest.err >&5
49915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49916 (exit $ac_status); } &&
49917 { ac_try='test -z "$ac_c_werror_flag"
49918 || test ! -s conftest.err'
49919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49920 (eval $ac_try) 2>&5
49921 ac_status=$?
49922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49923 (exit $ac_status); }; } &&
49924 { ac_try='test -s conftest$ac_exeext'
49925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49926 (eval $ac_try) 2>&5
49927 ac_status=$?
49928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49929 (exit $ac_status); }; }; then
49930 eval "$as_ac_var=yes"
49931 else
49932 echo "$as_me: failed program was:" >&5
49933 sed 's/^/| /' conftest.$ac_ext >&5
49935 eval "$as_ac_var=no"
49937 rm -f conftest.err conftest.$ac_objext \
49938 conftest$ac_exeext conftest.$ac_ext
49940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49942 if test `eval echo '${'$as_ac_var'}'` = yes; then
49943 cat >>confdefs.h <<_ACEOF
49944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49945 _ACEOF
49948 done
49958 echo "$as_me:$LINENO: checking for log10f declaration" >&5
49959 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
49960 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49961 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
49962 echo $ECHO_N "(cached) $ECHO_C" >&6
49963 else
49967 ac_ext=cc
49968 ac_cpp='$CXXCPP $CPPFLAGS'
49969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49973 cat >conftest.$ac_ext <<_ACEOF
49974 /* confdefs.h. */
49975 _ACEOF
49976 cat confdefs.h >>conftest.$ac_ext
49977 cat >>conftest.$ac_ext <<_ACEOF
49978 /* end confdefs.h. */
49979 #include <math.h>
49980 #ifdef HAVE_IEEEFP_H
49981 #include <ieeefp.h>
49982 #endif
49985 main ()
49987 log10f(0);
49989 return 0;
49991 _ACEOF
49992 rm -f conftest.$ac_objext
49993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49994 (eval $ac_compile) 2>conftest.er1
49995 ac_status=$?
49996 grep -v '^ *+' conftest.er1 >conftest.err
49997 rm -f conftest.er1
49998 cat conftest.err >&5
49999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50000 (exit $ac_status); } &&
50001 { ac_try='test -z "$ac_cxx_werror_flag"
50002 || test ! -s conftest.err'
50003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50004 (eval $ac_try) 2>&5
50005 ac_status=$?
50006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50007 (exit $ac_status); }; } &&
50008 { ac_try='test -s conftest.$ac_objext'
50009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50010 (eval $ac_try) 2>&5
50011 ac_status=$?
50012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50013 (exit $ac_status); }; }; then
50014 glibcxx_cv_func_log10f_use=yes
50015 else
50016 echo "$as_me: failed program was:" >&5
50017 sed 's/^/| /' conftest.$ac_ext >&5
50019 glibcxx_cv_func_log10f_use=no
50021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50022 ac_ext=c
50023 ac_cpp='$CPP $CPPFLAGS'
50024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50032 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
50033 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
50035 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50037 for ac_func in log10f
50039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50040 echo "$as_me:$LINENO: checking for $ac_func" >&5
50041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50042 if eval "test \"\${$as_ac_var+set}\" = set"; then
50043 echo $ECHO_N "(cached) $ECHO_C" >&6
50044 else
50045 if test x$gcc_no_link = xyes; then
50046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50048 { (exit 1); exit 1; }; }
50050 cat >conftest.$ac_ext <<_ACEOF
50051 /* confdefs.h. */
50052 _ACEOF
50053 cat confdefs.h >>conftest.$ac_ext
50054 cat >>conftest.$ac_ext <<_ACEOF
50055 /* end confdefs.h. */
50056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50058 #define $ac_func innocuous_$ac_func
50060 /* System header to define __stub macros and hopefully few prototypes,
50061 which can conflict with char $ac_func (); below.
50062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50063 <limits.h> exists even on freestanding compilers. */
50065 #ifdef __STDC__
50066 # include <limits.h>
50067 #else
50068 # include <assert.h>
50069 #endif
50071 #undef $ac_func
50073 /* Override any gcc2 internal prototype to avoid an error. */
50074 #ifdef __cplusplus
50075 extern "C"
50077 #endif
50078 /* We use char because int might match the return type of a gcc2
50079 builtin and then its argument prototype would still apply. */
50080 char $ac_func ();
50081 /* The GNU C library defines this for functions which it implements
50082 to always fail with ENOSYS. Some functions are actually named
50083 something starting with __ and the normal name is an alias. */
50084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50085 choke me
50086 #else
50087 char (*f) () = $ac_func;
50088 #endif
50089 #ifdef __cplusplus
50091 #endif
50094 main ()
50096 return f != $ac_func;
50098 return 0;
50100 _ACEOF
50101 rm -f conftest.$ac_objext conftest$ac_exeext
50102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50103 (eval $ac_link) 2>conftest.er1
50104 ac_status=$?
50105 grep -v '^ *+' conftest.er1 >conftest.err
50106 rm -f conftest.er1
50107 cat conftest.err >&5
50108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50109 (exit $ac_status); } &&
50110 { ac_try='test -z "$ac_c_werror_flag"
50111 || test ! -s conftest.err'
50112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50113 (eval $ac_try) 2>&5
50114 ac_status=$?
50115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50116 (exit $ac_status); }; } &&
50117 { ac_try='test -s conftest$ac_exeext'
50118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50119 (eval $ac_try) 2>&5
50120 ac_status=$?
50121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50122 (exit $ac_status); }; }; then
50123 eval "$as_ac_var=yes"
50124 else
50125 echo "$as_me: failed program was:" >&5
50126 sed 's/^/| /' conftest.$ac_ext >&5
50128 eval "$as_ac_var=no"
50130 rm -f conftest.err conftest.$ac_objext \
50131 conftest$ac_exeext conftest.$ac_ext
50133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50135 if test `eval echo '${'$as_ac_var'}'` = yes; then
50136 cat >>confdefs.h <<_ACEOF
50137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50138 _ACEOF
50141 done
50143 else
50145 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
50146 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
50147 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
50148 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
50149 echo $ECHO_N "(cached) $ECHO_C" >&6
50150 else
50154 ac_ext=cc
50155 ac_cpp='$CXXCPP $CPPFLAGS'
50156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50160 cat >conftest.$ac_ext <<_ACEOF
50161 /* confdefs.h. */
50162 _ACEOF
50163 cat confdefs.h >>conftest.$ac_ext
50164 cat >>conftest.$ac_ext <<_ACEOF
50165 /* end confdefs.h. */
50166 #include <math.h>
50167 #ifdef HAVE_IEEEFP_H
50168 #include <ieeefp.h>
50169 #endif
50172 main ()
50174 _log10f(0);
50176 return 0;
50178 _ACEOF
50179 rm -f conftest.$ac_objext
50180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50181 (eval $ac_compile) 2>conftest.er1
50182 ac_status=$?
50183 grep -v '^ *+' conftest.er1 >conftest.err
50184 rm -f conftest.er1
50185 cat conftest.err >&5
50186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50187 (exit $ac_status); } &&
50188 { ac_try='test -z "$ac_cxx_werror_flag"
50189 || test ! -s conftest.err'
50190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50191 (eval $ac_try) 2>&5
50192 ac_status=$?
50193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50194 (exit $ac_status); }; } &&
50195 { ac_try='test -s conftest.$ac_objext'
50196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50197 (eval $ac_try) 2>&5
50198 ac_status=$?
50199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50200 (exit $ac_status); }; }; then
50201 glibcxx_cv_func__log10f_use=yes
50202 else
50203 echo "$as_me: failed program was:" >&5
50204 sed 's/^/| /' conftest.$ac_ext >&5
50206 glibcxx_cv_func__log10f_use=no
50208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50209 ac_ext=c
50210 ac_cpp='$CPP $CPPFLAGS'
50211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50219 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
50220 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
50222 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50224 for ac_func in _log10f
50226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50227 echo "$as_me:$LINENO: checking for $ac_func" >&5
50228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50229 if eval "test \"\${$as_ac_var+set}\" = set"; then
50230 echo $ECHO_N "(cached) $ECHO_C" >&6
50231 else
50232 if test x$gcc_no_link = xyes; then
50233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50235 { (exit 1); exit 1; }; }
50237 cat >conftest.$ac_ext <<_ACEOF
50238 /* confdefs.h. */
50239 _ACEOF
50240 cat confdefs.h >>conftest.$ac_ext
50241 cat >>conftest.$ac_ext <<_ACEOF
50242 /* end confdefs.h. */
50243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50245 #define $ac_func innocuous_$ac_func
50247 /* System header to define __stub macros and hopefully few prototypes,
50248 which can conflict with char $ac_func (); below.
50249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50250 <limits.h> exists even on freestanding compilers. */
50252 #ifdef __STDC__
50253 # include <limits.h>
50254 #else
50255 # include <assert.h>
50256 #endif
50258 #undef $ac_func
50260 /* Override any gcc2 internal prototype to avoid an error. */
50261 #ifdef __cplusplus
50262 extern "C"
50264 #endif
50265 /* We use char because int might match the return type of a gcc2
50266 builtin and then its argument prototype would still apply. */
50267 char $ac_func ();
50268 /* The GNU C library defines this for functions which it implements
50269 to always fail with ENOSYS. Some functions are actually named
50270 something starting with __ and the normal name is an alias. */
50271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50272 choke me
50273 #else
50274 char (*f) () = $ac_func;
50275 #endif
50276 #ifdef __cplusplus
50278 #endif
50281 main ()
50283 return f != $ac_func;
50285 return 0;
50287 _ACEOF
50288 rm -f conftest.$ac_objext conftest$ac_exeext
50289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50290 (eval $ac_link) 2>conftest.er1
50291 ac_status=$?
50292 grep -v '^ *+' conftest.er1 >conftest.err
50293 rm -f conftest.er1
50294 cat conftest.err >&5
50295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50296 (exit $ac_status); } &&
50297 { ac_try='test -z "$ac_c_werror_flag"
50298 || test ! -s conftest.err'
50299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50300 (eval $ac_try) 2>&5
50301 ac_status=$?
50302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50303 (exit $ac_status); }; } &&
50304 { ac_try='test -s conftest$ac_exeext'
50305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50306 (eval $ac_try) 2>&5
50307 ac_status=$?
50308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50309 (exit $ac_status); }; }; then
50310 eval "$as_ac_var=yes"
50311 else
50312 echo "$as_me: failed program was:" >&5
50313 sed 's/^/| /' conftest.$ac_ext >&5
50315 eval "$as_ac_var=no"
50317 rm -f conftest.err conftest.$ac_objext \
50318 conftest$ac_exeext conftest.$ac_ext
50320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50322 if test `eval echo '${'$as_ac_var'}'` = yes; then
50323 cat >>confdefs.h <<_ACEOF
50324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50325 _ACEOF
50328 done
50338 echo "$as_me:$LINENO: checking for modff declaration" >&5
50339 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
50340 if test x${glibcxx_cv_func_modff_use+set} != xset; then
50341 if test "${glibcxx_cv_func_modff_use+set}" = set; then
50342 echo $ECHO_N "(cached) $ECHO_C" >&6
50343 else
50347 ac_ext=cc
50348 ac_cpp='$CXXCPP $CPPFLAGS'
50349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50353 cat >conftest.$ac_ext <<_ACEOF
50354 /* confdefs.h. */
50355 _ACEOF
50356 cat confdefs.h >>conftest.$ac_ext
50357 cat >>conftest.$ac_ext <<_ACEOF
50358 /* end confdefs.h. */
50359 #include <math.h>
50361 main ()
50363 modff(0, 0);
50365 return 0;
50367 _ACEOF
50368 rm -f conftest.$ac_objext
50369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50370 (eval $ac_compile) 2>conftest.er1
50371 ac_status=$?
50372 grep -v '^ *+' conftest.er1 >conftest.err
50373 rm -f conftest.er1
50374 cat conftest.err >&5
50375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50376 (exit $ac_status); } &&
50377 { ac_try='test -z "$ac_cxx_werror_flag"
50378 || test ! -s conftest.err'
50379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50380 (eval $ac_try) 2>&5
50381 ac_status=$?
50382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50383 (exit $ac_status); }; } &&
50384 { ac_try='test -s conftest.$ac_objext'
50385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50386 (eval $ac_try) 2>&5
50387 ac_status=$?
50388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50389 (exit $ac_status); }; }; then
50390 glibcxx_cv_func_modff_use=yes
50391 else
50392 echo "$as_me: failed program was:" >&5
50393 sed 's/^/| /' conftest.$ac_ext >&5
50395 glibcxx_cv_func_modff_use=no
50397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50398 ac_ext=c
50399 ac_cpp='$CPP $CPPFLAGS'
50400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50408 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
50409 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
50411 if test x$glibcxx_cv_func_modff_use = x"yes"; then
50413 for ac_func in modff
50415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50416 echo "$as_me:$LINENO: checking for $ac_func" >&5
50417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50418 if eval "test \"\${$as_ac_var+set}\" = set"; then
50419 echo $ECHO_N "(cached) $ECHO_C" >&6
50420 else
50421 if test x$gcc_no_link = xyes; then
50422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50424 { (exit 1); exit 1; }; }
50426 cat >conftest.$ac_ext <<_ACEOF
50427 /* confdefs.h. */
50428 _ACEOF
50429 cat confdefs.h >>conftest.$ac_ext
50430 cat >>conftest.$ac_ext <<_ACEOF
50431 /* end confdefs.h. */
50432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50434 #define $ac_func innocuous_$ac_func
50436 /* System header to define __stub macros and hopefully few prototypes,
50437 which can conflict with char $ac_func (); below.
50438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50439 <limits.h> exists even on freestanding compilers. */
50441 #ifdef __STDC__
50442 # include <limits.h>
50443 #else
50444 # include <assert.h>
50445 #endif
50447 #undef $ac_func
50449 /* Override any gcc2 internal prototype to avoid an error. */
50450 #ifdef __cplusplus
50451 extern "C"
50453 #endif
50454 /* We use char because int might match the return type of a gcc2
50455 builtin and then its argument prototype would still apply. */
50456 char $ac_func ();
50457 /* The GNU C library defines this for functions which it implements
50458 to always fail with ENOSYS. Some functions are actually named
50459 something starting with __ and the normal name is an alias. */
50460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50461 choke me
50462 #else
50463 char (*f) () = $ac_func;
50464 #endif
50465 #ifdef __cplusplus
50467 #endif
50470 main ()
50472 return f != $ac_func;
50474 return 0;
50476 _ACEOF
50477 rm -f conftest.$ac_objext conftest$ac_exeext
50478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50479 (eval $ac_link) 2>conftest.er1
50480 ac_status=$?
50481 grep -v '^ *+' conftest.er1 >conftest.err
50482 rm -f conftest.er1
50483 cat conftest.err >&5
50484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50485 (exit $ac_status); } &&
50486 { ac_try='test -z "$ac_c_werror_flag"
50487 || test ! -s conftest.err'
50488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50489 (eval $ac_try) 2>&5
50490 ac_status=$?
50491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50492 (exit $ac_status); }; } &&
50493 { ac_try='test -s conftest$ac_exeext'
50494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50495 (eval $ac_try) 2>&5
50496 ac_status=$?
50497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50498 (exit $ac_status); }; }; then
50499 eval "$as_ac_var=yes"
50500 else
50501 echo "$as_me: failed program was:" >&5
50502 sed 's/^/| /' conftest.$ac_ext >&5
50504 eval "$as_ac_var=no"
50506 rm -f conftest.err conftest.$ac_objext \
50507 conftest$ac_exeext conftest.$ac_ext
50509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50511 if test `eval echo '${'$as_ac_var'}'` = yes; then
50512 cat >>confdefs.h <<_ACEOF
50513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50514 _ACEOF
50517 done
50519 else
50521 echo "$as_me:$LINENO: checking for _modff declaration" >&5
50522 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
50523 if test x${glibcxx_cv_func__modff_use+set} != xset; then
50524 if test "${glibcxx_cv_func__modff_use+set}" = set; then
50525 echo $ECHO_N "(cached) $ECHO_C" >&6
50526 else
50530 ac_ext=cc
50531 ac_cpp='$CXXCPP $CPPFLAGS'
50532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50536 cat >conftest.$ac_ext <<_ACEOF
50537 /* confdefs.h. */
50538 _ACEOF
50539 cat confdefs.h >>conftest.$ac_ext
50540 cat >>conftest.$ac_ext <<_ACEOF
50541 /* end confdefs.h. */
50542 #include <math.h>
50544 main ()
50546 _modff(0, 0);
50548 return 0;
50550 _ACEOF
50551 rm -f conftest.$ac_objext
50552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50553 (eval $ac_compile) 2>conftest.er1
50554 ac_status=$?
50555 grep -v '^ *+' conftest.er1 >conftest.err
50556 rm -f conftest.er1
50557 cat conftest.err >&5
50558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50559 (exit $ac_status); } &&
50560 { ac_try='test -z "$ac_cxx_werror_flag"
50561 || test ! -s conftest.err'
50562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50563 (eval $ac_try) 2>&5
50564 ac_status=$?
50565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50566 (exit $ac_status); }; } &&
50567 { ac_try='test -s conftest.$ac_objext'
50568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50569 (eval $ac_try) 2>&5
50570 ac_status=$?
50571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50572 (exit $ac_status); }; }; then
50573 glibcxx_cv_func__modff_use=yes
50574 else
50575 echo "$as_me: failed program was:" >&5
50576 sed 's/^/| /' conftest.$ac_ext >&5
50578 glibcxx_cv_func__modff_use=no
50580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50581 ac_ext=c
50582 ac_cpp='$CPP $CPPFLAGS'
50583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50591 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
50592 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
50594 if test x$glibcxx_cv_func__modff_use = x"yes"; then
50596 for ac_func in _modff
50598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50599 echo "$as_me:$LINENO: checking for $ac_func" >&5
50600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50601 if eval "test \"\${$as_ac_var+set}\" = set"; then
50602 echo $ECHO_N "(cached) $ECHO_C" >&6
50603 else
50604 if test x$gcc_no_link = xyes; then
50605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50607 { (exit 1); exit 1; }; }
50609 cat >conftest.$ac_ext <<_ACEOF
50610 /* confdefs.h. */
50611 _ACEOF
50612 cat confdefs.h >>conftest.$ac_ext
50613 cat >>conftest.$ac_ext <<_ACEOF
50614 /* end confdefs.h. */
50615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50617 #define $ac_func innocuous_$ac_func
50619 /* System header to define __stub macros and hopefully few prototypes,
50620 which can conflict with char $ac_func (); below.
50621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50622 <limits.h> exists even on freestanding compilers. */
50624 #ifdef __STDC__
50625 # include <limits.h>
50626 #else
50627 # include <assert.h>
50628 #endif
50630 #undef $ac_func
50632 /* Override any gcc2 internal prototype to avoid an error. */
50633 #ifdef __cplusplus
50634 extern "C"
50636 #endif
50637 /* We use char because int might match the return type of a gcc2
50638 builtin and then its argument prototype would still apply. */
50639 char $ac_func ();
50640 /* The GNU C library defines this for functions which it implements
50641 to always fail with ENOSYS. Some functions are actually named
50642 something starting with __ and the normal name is an alias. */
50643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50644 choke me
50645 #else
50646 char (*f) () = $ac_func;
50647 #endif
50648 #ifdef __cplusplus
50650 #endif
50653 main ()
50655 return f != $ac_func;
50657 return 0;
50659 _ACEOF
50660 rm -f conftest.$ac_objext conftest$ac_exeext
50661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50662 (eval $ac_link) 2>conftest.er1
50663 ac_status=$?
50664 grep -v '^ *+' conftest.er1 >conftest.err
50665 rm -f conftest.er1
50666 cat conftest.err >&5
50667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50668 (exit $ac_status); } &&
50669 { ac_try='test -z "$ac_c_werror_flag"
50670 || test ! -s conftest.err'
50671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50672 (eval $ac_try) 2>&5
50673 ac_status=$?
50674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50675 (exit $ac_status); }; } &&
50676 { ac_try='test -s conftest$ac_exeext'
50677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50678 (eval $ac_try) 2>&5
50679 ac_status=$?
50680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50681 (exit $ac_status); }; }; then
50682 eval "$as_ac_var=yes"
50683 else
50684 echo "$as_me: failed program was:" >&5
50685 sed 's/^/| /' conftest.$ac_ext >&5
50687 eval "$as_ac_var=no"
50689 rm -f conftest.err conftest.$ac_objext \
50690 conftest$ac_exeext conftest.$ac_ext
50692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50694 if test `eval echo '${'$as_ac_var'}'` = yes; then
50695 cat >>confdefs.h <<_ACEOF
50696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50697 _ACEOF
50700 done
50710 echo "$as_me:$LINENO: checking for modf declaration" >&5
50711 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
50712 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50713 if test "${glibcxx_cv_func_modf_use+set}" = set; then
50714 echo $ECHO_N "(cached) $ECHO_C" >&6
50715 else
50719 ac_ext=cc
50720 ac_cpp='$CXXCPP $CPPFLAGS'
50721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50725 cat >conftest.$ac_ext <<_ACEOF
50726 /* confdefs.h. */
50727 _ACEOF
50728 cat confdefs.h >>conftest.$ac_ext
50729 cat >>conftest.$ac_ext <<_ACEOF
50730 /* end confdefs.h. */
50731 #include <math.h>
50733 main ()
50735 modf(0, 0);
50737 return 0;
50739 _ACEOF
50740 rm -f conftest.$ac_objext
50741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50742 (eval $ac_compile) 2>conftest.er1
50743 ac_status=$?
50744 grep -v '^ *+' conftest.er1 >conftest.err
50745 rm -f conftest.er1
50746 cat conftest.err >&5
50747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50748 (exit $ac_status); } &&
50749 { ac_try='test -z "$ac_cxx_werror_flag"
50750 || test ! -s conftest.err'
50751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50752 (eval $ac_try) 2>&5
50753 ac_status=$?
50754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50755 (exit $ac_status); }; } &&
50756 { ac_try='test -s conftest.$ac_objext'
50757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50758 (eval $ac_try) 2>&5
50759 ac_status=$?
50760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50761 (exit $ac_status); }; }; then
50762 glibcxx_cv_func_modf_use=yes
50763 else
50764 echo "$as_me: failed program was:" >&5
50765 sed 's/^/| /' conftest.$ac_ext >&5
50767 glibcxx_cv_func_modf_use=no
50769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50770 ac_ext=c
50771 ac_cpp='$CPP $CPPFLAGS'
50772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50780 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
50781 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
50783 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50785 for ac_func in modf
50787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50788 echo "$as_me:$LINENO: checking for $ac_func" >&5
50789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50790 if eval "test \"\${$as_ac_var+set}\" = set"; then
50791 echo $ECHO_N "(cached) $ECHO_C" >&6
50792 else
50793 if test x$gcc_no_link = xyes; then
50794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50796 { (exit 1); exit 1; }; }
50798 cat >conftest.$ac_ext <<_ACEOF
50799 /* confdefs.h. */
50800 _ACEOF
50801 cat confdefs.h >>conftest.$ac_ext
50802 cat >>conftest.$ac_ext <<_ACEOF
50803 /* end confdefs.h. */
50804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50806 #define $ac_func innocuous_$ac_func
50808 /* System header to define __stub macros and hopefully few prototypes,
50809 which can conflict with char $ac_func (); below.
50810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50811 <limits.h> exists even on freestanding compilers. */
50813 #ifdef __STDC__
50814 # include <limits.h>
50815 #else
50816 # include <assert.h>
50817 #endif
50819 #undef $ac_func
50821 /* Override any gcc2 internal prototype to avoid an error. */
50822 #ifdef __cplusplus
50823 extern "C"
50825 #endif
50826 /* We use char because int might match the return type of a gcc2
50827 builtin and then its argument prototype would still apply. */
50828 char $ac_func ();
50829 /* The GNU C library defines this for functions which it implements
50830 to always fail with ENOSYS. Some functions are actually named
50831 something starting with __ and the normal name is an alias. */
50832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50833 choke me
50834 #else
50835 char (*f) () = $ac_func;
50836 #endif
50837 #ifdef __cplusplus
50839 #endif
50842 main ()
50844 return f != $ac_func;
50846 return 0;
50848 _ACEOF
50849 rm -f conftest.$ac_objext conftest$ac_exeext
50850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50851 (eval $ac_link) 2>conftest.er1
50852 ac_status=$?
50853 grep -v '^ *+' conftest.er1 >conftest.err
50854 rm -f conftest.er1
50855 cat conftest.err >&5
50856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50857 (exit $ac_status); } &&
50858 { ac_try='test -z "$ac_c_werror_flag"
50859 || test ! -s conftest.err'
50860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50861 (eval $ac_try) 2>&5
50862 ac_status=$?
50863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50864 (exit $ac_status); }; } &&
50865 { ac_try='test -s conftest$ac_exeext'
50866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50867 (eval $ac_try) 2>&5
50868 ac_status=$?
50869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50870 (exit $ac_status); }; }; then
50871 eval "$as_ac_var=yes"
50872 else
50873 echo "$as_me: failed program was:" >&5
50874 sed 's/^/| /' conftest.$ac_ext >&5
50876 eval "$as_ac_var=no"
50878 rm -f conftest.err conftest.$ac_objext \
50879 conftest$ac_exeext conftest.$ac_ext
50881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50883 if test `eval echo '${'$as_ac_var'}'` = yes; then
50884 cat >>confdefs.h <<_ACEOF
50885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50886 _ACEOF
50889 done
50891 else
50893 echo "$as_me:$LINENO: checking for _modf declaration" >&5
50894 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
50895 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50896 if test "${glibcxx_cv_func__modf_use+set}" = set; then
50897 echo $ECHO_N "(cached) $ECHO_C" >&6
50898 else
50902 ac_ext=cc
50903 ac_cpp='$CXXCPP $CPPFLAGS'
50904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50908 cat >conftest.$ac_ext <<_ACEOF
50909 /* confdefs.h. */
50910 _ACEOF
50911 cat confdefs.h >>conftest.$ac_ext
50912 cat >>conftest.$ac_ext <<_ACEOF
50913 /* end confdefs.h. */
50914 #include <math.h>
50916 main ()
50918 _modf(0, 0);
50920 return 0;
50922 _ACEOF
50923 rm -f conftest.$ac_objext
50924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50925 (eval $ac_compile) 2>conftest.er1
50926 ac_status=$?
50927 grep -v '^ *+' conftest.er1 >conftest.err
50928 rm -f conftest.er1
50929 cat conftest.err >&5
50930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50931 (exit $ac_status); } &&
50932 { ac_try='test -z "$ac_cxx_werror_flag"
50933 || test ! -s conftest.err'
50934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50935 (eval $ac_try) 2>&5
50936 ac_status=$?
50937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50938 (exit $ac_status); }; } &&
50939 { ac_try='test -s conftest.$ac_objext'
50940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50941 (eval $ac_try) 2>&5
50942 ac_status=$?
50943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50944 (exit $ac_status); }; }; then
50945 glibcxx_cv_func__modf_use=yes
50946 else
50947 echo "$as_me: failed program was:" >&5
50948 sed 's/^/| /' conftest.$ac_ext >&5
50950 glibcxx_cv_func__modf_use=no
50952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50953 ac_ext=c
50954 ac_cpp='$CPP $CPPFLAGS'
50955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50963 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
50964 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
50966 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50968 for ac_func in _modf
50970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50971 echo "$as_me:$LINENO: checking for $ac_func" >&5
50972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50973 if eval "test \"\${$as_ac_var+set}\" = set"; then
50974 echo $ECHO_N "(cached) $ECHO_C" >&6
50975 else
50976 if test x$gcc_no_link = xyes; then
50977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50979 { (exit 1); exit 1; }; }
50981 cat >conftest.$ac_ext <<_ACEOF
50982 /* confdefs.h. */
50983 _ACEOF
50984 cat confdefs.h >>conftest.$ac_ext
50985 cat >>conftest.$ac_ext <<_ACEOF
50986 /* end confdefs.h. */
50987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50989 #define $ac_func innocuous_$ac_func
50991 /* System header to define __stub macros and hopefully few prototypes,
50992 which can conflict with char $ac_func (); below.
50993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50994 <limits.h> exists even on freestanding compilers. */
50996 #ifdef __STDC__
50997 # include <limits.h>
50998 #else
50999 # include <assert.h>
51000 #endif
51002 #undef $ac_func
51004 /* Override any gcc2 internal prototype to avoid an error. */
51005 #ifdef __cplusplus
51006 extern "C"
51008 #endif
51009 /* We use char because int might match the return type of a gcc2
51010 builtin and then its argument prototype would still apply. */
51011 char $ac_func ();
51012 /* The GNU C library defines this for functions which it implements
51013 to always fail with ENOSYS. Some functions are actually named
51014 something starting with __ and the normal name is an alias. */
51015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51016 choke me
51017 #else
51018 char (*f) () = $ac_func;
51019 #endif
51020 #ifdef __cplusplus
51022 #endif
51025 main ()
51027 return f != $ac_func;
51029 return 0;
51031 _ACEOF
51032 rm -f conftest.$ac_objext conftest$ac_exeext
51033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51034 (eval $ac_link) 2>conftest.er1
51035 ac_status=$?
51036 grep -v '^ *+' conftest.er1 >conftest.err
51037 rm -f conftest.er1
51038 cat conftest.err >&5
51039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51040 (exit $ac_status); } &&
51041 { ac_try='test -z "$ac_c_werror_flag"
51042 || test ! -s conftest.err'
51043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51044 (eval $ac_try) 2>&5
51045 ac_status=$?
51046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51047 (exit $ac_status); }; } &&
51048 { ac_try='test -s conftest$ac_exeext'
51049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51050 (eval $ac_try) 2>&5
51051 ac_status=$?
51052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51053 (exit $ac_status); }; }; then
51054 eval "$as_ac_var=yes"
51055 else
51056 echo "$as_me: failed program was:" >&5
51057 sed 's/^/| /' conftest.$ac_ext >&5
51059 eval "$as_ac_var=no"
51061 rm -f conftest.err conftest.$ac_objext \
51062 conftest$ac_exeext conftest.$ac_ext
51064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51066 if test `eval echo '${'$as_ac_var'}'` = yes; then
51067 cat >>confdefs.h <<_ACEOF
51068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51069 _ACEOF
51072 done
51082 echo "$as_me:$LINENO: checking for powf declaration" >&5
51083 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
51084 if test x${glibcxx_cv_func_powf_use+set} != xset; then
51085 if test "${glibcxx_cv_func_powf_use+set}" = set; then
51086 echo $ECHO_N "(cached) $ECHO_C" >&6
51087 else
51091 ac_ext=cc
51092 ac_cpp='$CXXCPP $CPPFLAGS'
51093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51097 cat >conftest.$ac_ext <<_ACEOF
51098 /* confdefs.h. */
51099 _ACEOF
51100 cat confdefs.h >>conftest.$ac_ext
51101 cat >>conftest.$ac_ext <<_ACEOF
51102 /* end confdefs.h. */
51103 #include <math.h>
51105 main ()
51107 powf(0, 0);
51109 return 0;
51111 _ACEOF
51112 rm -f conftest.$ac_objext
51113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51114 (eval $ac_compile) 2>conftest.er1
51115 ac_status=$?
51116 grep -v '^ *+' conftest.er1 >conftest.err
51117 rm -f conftest.er1
51118 cat conftest.err >&5
51119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51120 (exit $ac_status); } &&
51121 { ac_try='test -z "$ac_cxx_werror_flag"
51122 || test ! -s conftest.err'
51123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51124 (eval $ac_try) 2>&5
51125 ac_status=$?
51126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51127 (exit $ac_status); }; } &&
51128 { ac_try='test -s conftest.$ac_objext'
51129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51130 (eval $ac_try) 2>&5
51131 ac_status=$?
51132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51133 (exit $ac_status); }; }; then
51134 glibcxx_cv_func_powf_use=yes
51135 else
51136 echo "$as_me: failed program was:" >&5
51137 sed 's/^/| /' conftest.$ac_ext >&5
51139 glibcxx_cv_func_powf_use=no
51141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51142 ac_ext=c
51143 ac_cpp='$CPP $CPPFLAGS'
51144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51152 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
51153 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
51155 if test x$glibcxx_cv_func_powf_use = x"yes"; then
51157 for ac_func in powf
51159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51160 echo "$as_me:$LINENO: checking for $ac_func" >&5
51161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51162 if eval "test \"\${$as_ac_var+set}\" = set"; then
51163 echo $ECHO_N "(cached) $ECHO_C" >&6
51164 else
51165 if test x$gcc_no_link = xyes; then
51166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51168 { (exit 1); exit 1; }; }
51170 cat >conftest.$ac_ext <<_ACEOF
51171 /* confdefs.h. */
51172 _ACEOF
51173 cat confdefs.h >>conftest.$ac_ext
51174 cat >>conftest.$ac_ext <<_ACEOF
51175 /* end confdefs.h. */
51176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51178 #define $ac_func innocuous_$ac_func
51180 /* System header to define __stub macros and hopefully few prototypes,
51181 which can conflict with char $ac_func (); below.
51182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51183 <limits.h> exists even on freestanding compilers. */
51185 #ifdef __STDC__
51186 # include <limits.h>
51187 #else
51188 # include <assert.h>
51189 #endif
51191 #undef $ac_func
51193 /* Override any gcc2 internal prototype to avoid an error. */
51194 #ifdef __cplusplus
51195 extern "C"
51197 #endif
51198 /* We use char because int might match the return type of a gcc2
51199 builtin and then its argument prototype would still apply. */
51200 char $ac_func ();
51201 /* The GNU C library defines this for functions which it implements
51202 to always fail with ENOSYS. Some functions are actually named
51203 something starting with __ and the normal name is an alias. */
51204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51205 choke me
51206 #else
51207 char (*f) () = $ac_func;
51208 #endif
51209 #ifdef __cplusplus
51211 #endif
51214 main ()
51216 return f != $ac_func;
51218 return 0;
51220 _ACEOF
51221 rm -f conftest.$ac_objext conftest$ac_exeext
51222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51223 (eval $ac_link) 2>conftest.er1
51224 ac_status=$?
51225 grep -v '^ *+' conftest.er1 >conftest.err
51226 rm -f conftest.er1
51227 cat conftest.err >&5
51228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51229 (exit $ac_status); } &&
51230 { ac_try='test -z "$ac_c_werror_flag"
51231 || test ! -s conftest.err'
51232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51233 (eval $ac_try) 2>&5
51234 ac_status=$?
51235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51236 (exit $ac_status); }; } &&
51237 { ac_try='test -s conftest$ac_exeext'
51238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51239 (eval $ac_try) 2>&5
51240 ac_status=$?
51241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51242 (exit $ac_status); }; }; then
51243 eval "$as_ac_var=yes"
51244 else
51245 echo "$as_me: failed program was:" >&5
51246 sed 's/^/| /' conftest.$ac_ext >&5
51248 eval "$as_ac_var=no"
51250 rm -f conftest.err conftest.$ac_objext \
51251 conftest$ac_exeext conftest.$ac_ext
51253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51255 if test `eval echo '${'$as_ac_var'}'` = yes; then
51256 cat >>confdefs.h <<_ACEOF
51257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51258 _ACEOF
51261 done
51263 else
51265 echo "$as_me:$LINENO: checking for _powf declaration" >&5
51266 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
51267 if test x${glibcxx_cv_func__powf_use+set} != xset; then
51268 if test "${glibcxx_cv_func__powf_use+set}" = set; then
51269 echo $ECHO_N "(cached) $ECHO_C" >&6
51270 else
51274 ac_ext=cc
51275 ac_cpp='$CXXCPP $CPPFLAGS'
51276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51280 cat >conftest.$ac_ext <<_ACEOF
51281 /* confdefs.h. */
51282 _ACEOF
51283 cat confdefs.h >>conftest.$ac_ext
51284 cat >>conftest.$ac_ext <<_ACEOF
51285 /* end confdefs.h. */
51286 #include <math.h>
51288 main ()
51290 _powf(0, 0);
51292 return 0;
51294 _ACEOF
51295 rm -f conftest.$ac_objext
51296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51297 (eval $ac_compile) 2>conftest.er1
51298 ac_status=$?
51299 grep -v '^ *+' conftest.er1 >conftest.err
51300 rm -f conftest.er1
51301 cat conftest.err >&5
51302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51303 (exit $ac_status); } &&
51304 { ac_try='test -z "$ac_cxx_werror_flag"
51305 || test ! -s conftest.err'
51306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51307 (eval $ac_try) 2>&5
51308 ac_status=$?
51309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51310 (exit $ac_status); }; } &&
51311 { ac_try='test -s conftest.$ac_objext'
51312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51313 (eval $ac_try) 2>&5
51314 ac_status=$?
51315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51316 (exit $ac_status); }; }; then
51317 glibcxx_cv_func__powf_use=yes
51318 else
51319 echo "$as_me: failed program was:" >&5
51320 sed 's/^/| /' conftest.$ac_ext >&5
51322 glibcxx_cv_func__powf_use=no
51324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51325 ac_ext=c
51326 ac_cpp='$CPP $CPPFLAGS'
51327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51335 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
51336 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
51338 if test x$glibcxx_cv_func__powf_use = x"yes"; then
51340 for ac_func in _powf
51342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51343 echo "$as_me:$LINENO: checking for $ac_func" >&5
51344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51345 if eval "test \"\${$as_ac_var+set}\" = set"; then
51346 echo $ECHO_N "(cached) $ECHO_C" >&6
51347 else
51348 if test x$gcc_no_link = xyes; then
51349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51351 { (exit 1); exit 1; }; }
51353 cat >conftest.$ac_ext <<_ACEOF
51354 /* confdefs.h. */
51355 _ACEOF
51356 cat confdefs.h >>conftest.$ac_ext
51357 cat >>conftest.$ac_ext <<_ACEOF
51358 /* end confdefs.h. */
51359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51361 #define $ac_func innocuous_$ac_func
51363 /* System header to define __stub macros and hopefully few prototypes,
51364 which can conflict with char $ac_func (); below.
51365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51366 <limits.h> exists even on freestanding compilers. */
51368 #ifdef __STDC__
51369 # include <limits.h>
51370 #else
51371 # include <assert.h>
51372 #endif
51374 #undef $ac_func
51376 /* Override any gcc2 internal prototype to avoid an error. */
51377 #ifdef __cplusplus
51378 extern "C"
51380 #endif
51381 /* We use char because int might match the return type of a gcc2
51382 builtin and then its argument prototype would still apply. */
51383 char $ac_func ();
51384 /* The GNU C library defines this for functions which it implements
51385 to always fail with ENOSYS. Some functions are actually named
51386 something starting with __ and the normal name is an alias. */
51387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51388 choke me
51389 #else
51390 char (*f) () = $ac_func;
51391 #endif
51392 #ifdef __cplusplus
51394 #endif
51397 main ()
51399 return f != $ac_func;
51401 return 0;
51403 _ACEOF
51404 rm -f conftest.$ac_objext conftest$ac_exeext
51405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51406 (eval $ac_link) 2>conftest.er1
51407 ac_status=$?
51408 grep -v '^ *+' conftest.er1 >conftest.err
51409 rm -f conftest.er1
51410 cat conftest.err >&5
51411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51412 (exit $ac_status); } &&
51413 { ac_try='test -z "$ac_c_werror_flag"
51414 || test ! -s conftest.err'
51415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51416 (eval $ac_try) 2>&5
51417 ac_status=$?
51418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51419 (exit $ac_status); }; } &&
51420 { ac_try='test -s conftest$ac_exeext'
51421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51422 (eval $ac_try) 2>&5
51423 ac_status=$?
51424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51425 (exit $ac_status); }; }; then
51426 eval "$as_ac_var=yes"
51427 else
51428 echo "$as_me: failed program was:" >&5
51429 sed 's/^/| /' conftest.$ac_ext >&5
51431 eval "$as_ac_var=no"
51433 rm -f conftest.err conftest.$ac_objext \
51434 conftest$ac_exeext conftest.$ac_ext
51436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51438 if test `eval echo '${'$as_ac_var'}'` = yes; then
51439 cat >>confdefs.h <<_ACEOF
51440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51441 _ACEOF
51444 done
51454 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
51455 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
51456 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
51457 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
51458 echo $ECHO_N "(cached) $ECHO_C" >&6
51459 else
51463 ac_ext=cc
51464 ac_cpp='$CXXCPP $CPPFLAGS'
51465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51469 cat >conftest.$ac_ext <<_ACEOF
51470 /* confdefs.h. */
51471 _ACEOF
51472 cat confdefs.h >>conftest.$ac_ext
51473 cat >>conftest.$ac_ext <<_ACEOF
51474 /* end confdefs.h. */
51475 #include <math.h>
51476 #ifdef HAVE_IEEEFP_H
51477 #include <ieeefp.h>
51478 #endif
51481 main ()
51483 sqrtf(0);
51485 return 0;
51487 _ACEOF
51488 rm -f conftest.$ac_objext
51489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51490 (eval $ac_compile) 2>conftest.er1
51491 ac_status=$?
51492 grep -v '^ *+' conftest.er1 >conftest.err
51493 rm -f conftest.er1
51494 cat conftest.err >&5
51495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51496 (exit $ac_status); } &&
51497 { ac_try='test -z "$ac_cxx_werror_flag"
51498 || test ! -s conftest.err'
51499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51500 (eval $ac_try) 2>&5
51501 ac_status=$?
51502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51503 (exit $ac_status); }; } &&
51504 { ac_try='test -s conftest.$ac_objext'
51505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51506 (eval $ac_try) 2>&5
51507 ac_status=$?
51508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51509 (exit $ac_status); }; }; then
51510 glibcxx_cv_func_sqrtf_use=yes
51511 else
51512 echo "$as_me: failed program was:" >&5
51513 sed 's/^/| /' conftest.$ac_ext >&5
51515 glibcxx_cv_func_sqrtf_use=no
51517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51518 ac_ext=c
51519 ac_cpp='$CPP $CPPFLAGS'
51520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51528 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
51529 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
51531 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
51533 for ac_func in sqrtf
51535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51536 echo "$as_me:$LINENO: checking for $ac_func" >&5
51537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51538 if eval "test \"\${$as_ac_var+set}\" = set"; then
51539 echo $ECHO_N "(cached) $ECHO_C" >&6
51540 else
51541 if test x$gcc_no_link = xyes; then
51542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51544 { (exit 1); exit 1; }; }
51546 cat >conftest.$ac_ext <<_ACEOF
51547 /* confdefs.h. */
51548 _ACEOF
51549 cat confdefs.h >>conftest.$ac_ext
51550 cat >>conftest.$ac_ext <<_ACEOF
51551 /* end confdefs.h. */
51552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51554 #define $ac_func innocuous_$ac_func
51556 /* System header to define __stub macros and hopefully few prototypes,
51557 which can conflict with char $ac_func (); below.
51558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51559 <limits.h> exists even on freestanding compilers. */
51561 #ifdef __STDC__
51562 # include <limits.h>
51563 #else
51564 # include <assert.h>
51565 #endif
51567 #undef $ac_func
51569 /* Override any gcc2 internal prototype to avoid an error. */
51570 #ifdef __cplusplus
51571 extern "C"
51573 #endif
51574 /* We use char because int might match the return type of a gcc2
51575 builtin and then its argument prototype would still apply. */
51576 char $ac_func ();
51577 /* The GNU C library defines this for functions which it implements
51578 to always fail with ENOSYS. Some functions are actually named
51579 something starting with __ and the normal name is an alias. */
51580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51581 choke me
51582 #else
51583 char (*f) () = $ac_func;
51584 #endif
51585 #ifdef __cplusplus
51587 #endif
51590 main ()
51592 return f != $ac_func;
51594 return 0;
51596 _ACEOF
51597 rm -f conftest.$ac_objext conftest$ac_exeext
51598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51599 (eval $ac_link) 2>conftest.er1
51600 ac_status=$?
51601 grep -v '^ *+' conftest.er1 >conftest.err
51602 rm -f conftest.er1
51603 cat conftest.err >&5
51604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51605 (exit $ac_status); } &&
51606 { ac_try='test -z "$ac_c_werror_flag"
51607 || test ! -s conftest.err'
51608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51609 (eval $ac_try) 2>&5
51610 ac_status=$?
51611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51612 (exit $ac_status); }; } &&
51613 { ac_try='test -s conftest$ac_exeext'
51614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51615 (eval $ac_try) 2>&5
51616 ac_status=$?
51617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51618 (exit $ac_status); }; }; then
51619 eval "$as_ac_var=yes"
51620 else
51621 echo "$as_me: failed program was:" >&5
51622 sed 's/^/| /' conftest.$ac_ext >&5
51624 eval "$as_ac_var=no"
51626 rm -f conftest.err conftest.$ac_objext \
51627 conftest$ac_exeext conftest.$ac_ext
51629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51631 if test `eval echo '${'$as_ac_var'}'` = yes; then
51632 cat >>confdefs.h <<_ACEOF
51633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51634 _ACEOF
51637 done
51639 else
51641 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
51642 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
51643 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
51644 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
51645 echo $ECHO_N "(cached) $ECHO_C" >&6
51646 else
51650 ac_ext=cc
51651 ac_cpp='$CXXCPP $CPPFLAGS'
51652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51656 cat >conftest.$ac_ext <<_ACEOF
51657 /* confdefs.h. */
51658 _ACEOF
51659 cat confdefs.h >>conftest.$ac_ext
51660 cat >>conftest.$ac_ext <<_ACEOF
51661 /* end confdefs.h. */
51662 #include <math.h>
51663 #ifdef HAVE_IEEEFP_H
51664 #include <ieeefp.h>
51665 #endif
51668 main ()
51670 _sqrtf(0);
51672 return 0;
51674 _ACEOF
51675 rm -f conftest.$ac_objext
51676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51677 (eval $ac_compile) 2>conftest.er1
51678 ac_status=$?
51679 grep -v '^ *+' conftest.er1 >conftest.err
51680 rm -f conftest.er1
51681 cat conftest.err >&5
51682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51683 (exit $ac_status); } &&
51684 { ac_try='test -z "$ac_cxx_werror_flag"
51685 || test ! -s conftest.err'
51686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51687 (eval $ac_try) 2>&5
51688 ac_status=$?
51689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51690 (exit $ac_status); }; } &&
51691 { ac_try='test -s conftest.$ac_objext'
51692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51693 (eval $ac_try) 2>&5
51694 ac_status=$?
51695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51696 (exit $ac_status); }; }; then
51697 glibcxx_cv_func__sqrtf_use=yes
51698 else
51699 echo "$as_me: failed program was:" >&5
51700 sed 's/^/| /' conftest.$ac_ext >&5
51702 glibcxx_cv_func__sqrtf_use=no
51704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51705 ac_ext=c
51706 ac_cpp='$CPP $CPPFLAGS'
51707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51715 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
51716 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
51718 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51720 for ac_func in _sqrtf
51722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51723 echo "$as_me:$LINENO: checking for $ac_func" >&5
51724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51725 if eval "test \"\${$as_ac_var+set}\" = set"; then
51726 echo $ECHO_N "(cached) $ECHO_C" >&6
51727 else
51728 if test x$gcc_no_link = xyes; then
51729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51731 { (exit 1); exit 1; }; }
51733 cat >conftest.$ac_ext <<_ACEOF
51734 /* confdefs.h. */
51735 _ACEOF
51736 cat confdefs.h >>conftest.$ac_ext
51737 cat >>conftest.$ac_ext <<_ACEOF
51738 /* end confdefs.h. */
51739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51741 #define $ac_func innocuous_$ac_func
51743 /* System header to define __stub macros and hopefully few prototypes,
51744 which can conflict with char $ac_func (); below.
51745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51746 <limits.h> exists even on freestanding compilers. */
51748 #ifdef __STDC__
51749 # include <limits.h>
51750 #else
51751 # include <assert.h>
51752 #endif
51754 #undef $ac_func
51756 /* Override any gcc2 internal prototype to avoid an error. */
51757 #ifdef __cplusplus
51758 extern "C"
51760 #endif
51761 /* We use char because int might match the return type of a gcc2
51762 builtin and then its argument prototype would still apply. */
51763 char $ac_func ();
51764 /* The GNU C library defines this for functions which it implements
51765 to always fail with ENOSYS. Some functions are actually named
51766 something starting with __ and the normal name is an alias. */
51767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51768 choke me
51769 #else
51770 char (*f) () = $ac_func;
51771 #endif
51772 #ifdef __cplusplus
51774 #endif
51777 main ()
51779 return f != $ac_func;
51781 return 0;
51783 _ACEOF
51784 rm -f conftest.$ac_objext conftest$ac_exeext
51785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51786 (eval $ac_link) 2>conftest.er1
51787 ac_status=$?
51788 grep -v '^ *+' conftest.er1 >conftest.err
51789 rm -f conftest.er1
51790 cat conftest.err >&5
51791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51792 (exit $ac_status); } &&
51793 { ac_try='test -z "$ac_c_werror_flag"
51794 || test ! -s conftest.err'
51795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51796 (eval $ac_try) 2>&5
51797 ac_status=$?
51798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51799 (exit $ac_status); }; } &&
51800 { ac_try='test -s conftest$ac_exeext'
51801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51802 (eval $ac_try) 2>&5
51803 ac_status=$?
51804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51805 (exit $ac_status); }; }; then
51806 eval "$as_ac_var=yes"
51807 else
51808 echo "$as_me: failed program was:" >&5
51809 sed 's/^/| /' conftest.$ac_ext >&5
51811 eval "$as_ac_var=no"
51813 rm -f conftest.err conftest.$ac_objext \
51814 conftest$ac_exeext conftest.$ac_ext
51816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51818 if test `eval echo '${'$as_ac_var'}'` = yes; then
51819 cat >>confdefs.h <<_ACEOF
51820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51821 _ACEOF
51824 done
51834 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
51835 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
51836 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51837 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
51838 echo $ECHO_N "(cached) $ECHO_C" >&6
51839 else
51843 ac_ext=cc
51844 ac_cpp='$CXXCPP $CPPFLAGS'
51845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51849 cat >conftest.$ac_ext <<_ACEOF
51850 /* confdefs.h. */
51851 _ACEOF
51852 cat confdefs.h >>conftest.$ac_ext
51853 cat >>conftest.$ac_ext <<_ACEOF
51854 /* end confdefs.h. */
51855 #include <math.h>
51857 main ()
51859 sincosf(0, 0, 0);
51861 return 0;
51863 _ACEOF
51864 rm -f conftest.$ac_objext
51865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51866 (eval $ac_compile) 2>conftest.er1
51867 ac_status=$?
51868 grep -v '^ *+' conftest.er1 >conftest.err
51869 rm -f conftest.er1
51870 cat conftest.err >&5
51871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51872 (exit $ac_status); } &&
51873 { ac_try='test -z "$ac_cxx_werror_flag"
51874 || test ! -s conftest.err'
51875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51876 (eval $ac_try) 2>&5
51877 ac_status=$?
51878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51879 (exit $ac_status); }; } &&
51880 { ac_try='test -s conftest.$ac_objext'
51881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51882 (eval $ac_try) 2>&5
51883 ac_status=$?
51884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51885 (exit $ac_status); }; }; then
51886 glibcxx_cv_func_sincosf_use=yes
51887 else
51888 echo "$as_me: failed program was:" >&5
51889 sed 's/^/| /' conftest.$ac_ext >&5
51891 glibcxx_cv_func_sincosf_use=no
51893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51894 ac_ext=c
51895 ac_cpp='$CPP $CPPFLAGS'
51896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51904 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
51905 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
51907 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51909 for ac_func in sincosf
51911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51912 echo "$as_me:$LINENO: checking for $ac_func" >&5
51913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51914 if eval "test \"\${$as_ac_var+set}\" = set"; then
51915 echo $ECHO_N "(cached) $ECHO_C" >&6
51916 else
51917 if test x$gcc_no_link = xyes; then
51918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51920 { (exit 1); exit 1; }; }
51922 cat >conftest.$ac_ext <<_ACEOF
51923 /* confdefs.h. */
51924 _ACEOF
51925 cat confdefs.h >>conftest.$ac_ext
51926 cat >>conftest.$ac_ext <<_ACEOF
51927 /* end confdefs.h. */
51928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51930 #define $ac_func innocuous_$ac_func
51932 /* System header to define __stub macros and hopefully few prototypes,
51933 which can conflict with char $ac_func (); below.
51934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51935 <limits.h> exists even on freestanding compilers. */
51937 #ifdef __STDC__
51938 # include <limits.h>
51939 #else
51940 # include <assert.h>
51941 #endif
51943 #undef $ac_func
51945 /* Override any gcc2 internal prototype to avoid an error. */
51946 #ifdef __cplusplus
51947 extern "C"
51949 #endif
51950 /* We use char because int might match the return type of a gcc2
51951 builtin and then its argument prototype would still apply. */
51952 char $ac_func ();
51953 /* The GNU C library defines this for functions which it implements
51954 to always fail with ENOSYS. Some functions are actually named
51955 something starting with __ and the normal name is an alias. */
51956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51957 choke me
51958 #else
51959 char (*f) () = $ac_func;
51960 #endif
51961 #ifdef __cplusplus
51963 #endif
51966 main ()
51968 return f != $ac_func;
51970 return 0;
51972 _ACEOF
51973 rm -f conftest.$ac_objext conftest$ac_exeext
51974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51975 (eval $ac_link) 2>conftest.er1
51976 ac_status=$?
51977 grep -v '^ *+' conftest.er1 >conftest.err
51978 rm -f conftest.er1
51979 cat conftest.err >&5
51980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51981 (exit $ac_status); } &&
51982 { ac_try='test -z "$ac_c_werror_flag"
51983 || test ! -s conftest.err'
51984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51985 (eval $ac_try) 2>&5
51986 ac_status=$?
51987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51988 (exit $ac_status); }; } &&
51989 { ac_try='test -s conftest$ac_exeext'
51990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51991 (eval $ac_try) 2>&5
51992 ac_status=$?
51993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51994 (exit $ac_status); }; }; then
51995 eval "$as_ac_var=yes"
51996 else
51997 echo "$as_me: failed program was:" >&5
51998 sed 's/^/| /' conftest.$ac_ext >&5
52000 eval "$as_ac_var=no"
52002 rm -f conftest.err conftest.$ac_objext \
52003 conftest$ac_exeext conftest.$ac_ext
52005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52007 if test `eval echo '${'$as_ac_var'}'` = yes; then
52008 cat >>confdefs.h <<_ACEOF
52009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52010 _ACEOF
52013 done
52015 else
52017 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
52018 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
52019 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
52020 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
52021 echo $ECHO_N "(cached) $ECHO_C" >&6
52022 else
52026 ac_ext=cc
52027 ac_cpp='$CXXCPP $CPPFLAGS'
52028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52032 cat >conftest.$ac_ext <<_ACEOF
52033 /* confdefs.h. */
52034 _ACEOF
52035 cat confdefs.h >>conftest.$ac_ext
52036 cat >>conftest.$ac_ext <<_ACEOF
52037 /* end confdefs.h. */
52038 #include <math.h>
52040 main ()
52042 _sincosf(0, 0, 0);
52044 return 0;
52046 _ACEOF
52047 rm -f conftest.$ac_objext
52048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52049 (eval $ac_compile) 2>conftest.er1
52050 ac_status=$?
52051 grep -v '^ *+' conftest.er1 >conftest.err
52052 rm -f conftest.er1
52053 cat conftest.err >&5
52054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52055 (exit $ac_status); } &&
52056 { ac_try='test -z "$ac_cxx_werror_flag"
52057 || test ! -s conftest.err'
52058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52059 (eval $ac_try) 2>&5
52060 ac_status=$?
52061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52062 (exit $ac_status); }; } &&
52063 { ac_try='test -s conftest.$ac_objext'
52064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52065 (eval $ac_try) 2>&5
52066 ac_status=$?
52067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52068 (exit $ac_status); }; }; then
52069 glibcxx_cv_func__sincosf_use=yes
52070 else
52071 echo "$as_me: failed program was:" >&5
52072 sed 's/^/| /' conftest.$ac_ext >&5
52074 glibcxx_cv_func__sincosf_use=no
52076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52077 ac_ext=c
52078 ac_cpp='$CPP $CPPFLAGS'
52079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52087 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
52088 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
52090 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
52092 for ac_func in _sincosf
52094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52095 echo "$as_me:$LINENO: checking for $ac_func" >&5
52096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52097 if eval "test \"\${$as_ac_var+set}\" = set"; then
52098 echo $ECHO_N "(cached) $ECHO_C" >&6
52099 else
52100 if test x$gcc_no_link = xyes; then
52101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52103 { (exit 1); exit 1; }; }
52105 cat >conftest.$ac_ext <<_ACEOF
52106 /* confdefs.h. */
52107 _ACEOF
52108 cat confdefs.h >>conftest.$ac_ext
52109 cat >>conftest.$ac_ext <<_ACEOF
52110 /* end confdefs.h. */
52111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52113 #define $ac_func innocuous_$ac_func
52115 /* System header to define __stub macros and hopefully few prototypes,
52116 which can conflict with char $ac_func (); below.
52117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52118 <limits.h> exists even on freestanding compilers. */
52120 #ifdef __STDC__
52121 # include <limits.h>
52122 #else
52123 # include <assert.h>
52124 #endif
52126 #undef $ac_func
52128 /* Override any gcc2 internal prototype to avoid an error. */
52129 #ifdef __cplusplus
52130 extern "C"
52132 #endif
52133 /* We use char because int might match the return type of a gcc2
52134 builtin and then its argument prototype would still apply. */
52135 char $ac_func ();
52136 /* The GNU C library defines this for functions which it implements
52137 to always fail with ENOSYS. Some functions are actually named
52138 something starting with __ and the normal name is an alias. */
52139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52140 choke me
52141 #else
52142 char (*f) () = $ac_func;
52143 #endif
52144 #ifdef __cplusplus
52146 #endif
52149 main ()
52151 return f != $ac_func;
52153 return 0;
52155 _ACEOF
52156 rm -f conftest.$ac_objext conftest$ac_exeext
52157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52158 (eval $ac_link) 2>conftest.er1
52159 ac_status=$?
52160 grep -v '^ *+' conftest.er1 >conftest.err
52161 rm -f conftest.er1
52162 cat conftest.err >&5
52163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52164 (exit $ac_status); } &&
52165 { ac_try='test -z "$ac_c_werror_flag"
52166 || test ! -s conftest.err'
52167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52168 (eval $ac_try) 2>&5
52169 ac_status=$?
52170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52171 (exit $ac_status); }; } &&
52172 { ac_try='test -s conftest$ac_exeext'
52173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52174 (eval $ac_try) 2>&5
52175 ac_status=$?
52176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52177 (exit $ac_status); }; }; then
52178 eval "$as_ac_var=yes"
52179 else
52180 echo "$as_me: failed program was:" >&5
52181 sed 's/^/| /' conftest.$ac_ext >&5
52183 eval "$as_ac_var=no"
52185 rm -f conftest.err conftest.$ac_objext \
52186 conftest$ac_exeext conftest.$ac_ext
52188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52190 if test `eval echo '${'$as_ac_var'}'` = yes; then
52191 cat >>confdefs.h <<_ACEOF
52192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52193 _ACEOF
52196 done
52206 echo "$as_me:$LINENO: checking for finitef declaration" >&5
52207 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
52208 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
52209 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
52210 echo $ECHO_N "(cached) $ECHO_C" >&6
52211 else
52215 ac_ext=cc
52216 ac_cpp='$CXXCPP $CPPFLAGS'
52217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52221 cat >conftest.$ac_ext <<_ACEOF
52222 /* confdefs.h. */
52223 _ACEOF
52224 cat confdefs.h >>conftest.$ac_ext
52225 cat >>conftest.$ac_ext <<_ACEOF
52226 /* end confdefs.h. */
52227 #include <math.h>
52228 #ifdef HAVE_IEEEFP_H
52229 #include <ieeefp.h>
52230 #endif
52233 main ()
52235 finitef(0);
52237 return 0;
52239 _ACEOF
52240 rm -f conftest.$ac_objext
52241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52242 (eval $ac_compile) 2>conftest.er1
52243 ac_status=$?
52244 grep -v '^ *+' conftest.er1 >conftest.err
52245 rm -f conftest.er1
52246 cat conftest.err >&5
52247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52248 (exit $ac_status); } &&
52249 { ac_try='test -z "$ac_cxx_werror_flag"
52250 || test ! -s conftest.err'
52251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52252 (eval $ac_try) 2>&5
52253 ac_status=$?
52254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52255 (exit $ac_status); }; } &&
52256 { ac_try='test -s conftest.$ac_objext'
52257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52258 (eval $ac_try) 2>&5
52259 ac_status=$?
52260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52261 (exit $ac_status); }; }; then
52262 glibcxx_cv_func_finitef_use=yes
52263 else
52264 echo "$as_me: failed program was:" >&5
52265 sed 's/^/| /' conftest.$ac_ext >&5
52267 glibcxx_cv_func_finitef_use=no
52269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52270 ac_ext=c
52271 ac_cpp='$CPP $CPPFLAGS'
52272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52280 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
52281 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
52283 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
52285 for ac_func in finitef
52287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52288 echo "$as_me:$LINENO: checking for $ac_func" >&5
52289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52290 if eval "test \"\${$as_ac_var+set}\" = set"; then
52291 echo $ECHO_N "(cached) $ECHO_C" >&6
52292 else
52293 if test x$gcc_no_link = xyes; then
52294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52296 { (exit 1); exit 1; }; }
52298 cat >conftest.$ac_ext <<_ACEOF
52299 /* confdefs.h. */
52300 _ACEOF
52301 cat confdefs.h >>conftest.$ac_ext
52302 cat >>conftest.$ac_ext <<_ACEOF
52303 /* end confdefs.h. */
52304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52306 #define $ac_func innocuous_$ac_func
52308 /* System header to define __stub macros and hopefully few prototypes,
52309 which can conflict with char $ac_func (); below.
52310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52311 <limits.h> exists even on freestanding compilers. */
52313 #ifdef __STDC__
52314 # include <limits.h>
52315 #else
52316 # include <assert.h>
52317 #endif
52319 #undef $ac_func
52321 /* Override any gcc2 internal prototype to avoid an error. */
52322 #ifdef __cplusplus
52323 extern "C"
52325 #endif
52326 /* We use char because int might match the return type of a gcc2
52327 builtin and then its argument prototype would still apply. */
52328 char $ac_func ();
52329 /* The GNU C library defines this for functions which it implements
52330 to always fail with ENOSYS. Some functions are actually named
52331 something starting with __ and the normal name is an alias. */
52332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52333 choke me
52334 #else
52335 char (*f) () = $ac_func;
52336 #endif
52337 #ifdef __cplusplus
52339 #endif
52342 main ()
52344 return f != $ac_func;
52346 return 0;
52348 _ACEOF
52349 rm -f conftest.$ac_objext conftest$ac_exeext
52350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52351 (eval $ac_link) 2>conftest.er1
52352 ac_status=$?
52353 grep -v '^ *+' conftest.er1 >conftest.err
52354 rm -f conftest.er1
52355 cat conftest.err >&5
52356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52357 (exit $ac_status); } &&
52358 { ac_try='test -z "$ac_c_werror_flag"
52359 || test ! -s conftest.err'
52360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52361 (eval $ac_try) 2>&5
52362 ac_status=$?
52363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52364 (exit $ac_status); }; } &&
52365 { ac_try='test -s conftest$ac_exeext'
52366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52367 (eval $ac_try) 2>&5
52368 ac_status=$?
52369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52370 (exit $ac_status); }; }; then
52371 eval "$as_ac_var=yes"
52372 else
52373 echo "$as_me: failed program was:" >&5
52374 sed 's/^/| /' conftest.$ac_ext >&5
52376 eval "$as_ac_var=no"
52378 rm -f conftest.err conftest.$ac_objext \
52379 conftest$ac_exeext conftest.$ac_ext
52381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52383 if test `eval echo '${'$as_ac_var'}'` = yes; then
52384 cat >>confdefs.h <<_ACEOF
52385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52386 _ACEOF
52389 done
52391 else
52393 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
52394 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
52395 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
52396 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
52397 echo $ECHO_N "(cached) $ECHO_C" >&6
52398 else
52402 ac_ext=cc
52403 ac_cpp='$CXXCPP $CPPFLAGS'
52404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52408 cat >conftest.$ac_ext <<_ACEOF
52409 /* confdefs.h. */
52410 _ACEOF
52411 cat confdefs.h >>conftest.$ac_ext
52412 cat >>conftest.$ac_ext <<_ACEOF
52413 /* end confdefs.h. */
52414 #include <math.h>
52415 #ifdef HAVE_IEEEFP_H
52416 #include <ieeefp.h>
52417 #endif
52420 main ()
52422 _finitef(0);
52424 return 0;
52426 _ACEOF
52427 rm -f conftest.$ac_objext
52428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52429 (eval $ac_compile) 2>conftest.er1
52430 ac_status=$?
52431 grep -v '^ *+' conftest.er1 >conftest.err
52432 rm -f conftest.er1
52433 cat conftest.err >&5
52434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52435 (exit $ac_status); } &&
52436 { ac_try='test -z "$ac_cxx_werror_flag"
52437 || test ! -s conftest.err'
52438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52439 (eval $ac_try) 2>&5
52440 ac_status=$?
52441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52442 (exit $ac_status); }; } &&
52443 { ac_try='test -s conftest.$ac_objext'
52444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52445 (eval $ac_try) 2>&5
52446 ac_status=$?
52447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52448 (exit $ac_status); }; }; then
52449 glibcxx_cv_func__finitef_use=yes
52450 else
52451 echo "$as_me: failed program was:" >&5
52452 sed 's/^/| /' conftest.$ac_ext >&5
52454 glibcxx_cv_func__finitef_use=no
52456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52457 ac_ext=c
52458 ac_cpp='$CPP $CPPFLAGS'
52459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52467 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
52468 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
52470 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
52472 for ac_func in _finitef
52474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52475 echo "$as_me:$LINENO: checking for $ac_func" >&5
52476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52477 if eval "test \"\${$as_ac_var+set}\" = set"; then
52478 echo $ECHO_N "(cached) $ECHO_C" >&6
52479 else
52480 if test x$gcc_no_link = xyes; then
52481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52483 { (exit 1); exit 1; }; }
52485 cat >conftest.$ac_ext <<_ACEOF
52486 /* confdefs.h. */
52487 _ACEOF
52488 cat confdefs.h >>conftest.$ac_ext
52489 cat >>conftest.$ac_ext <<_ACEOF
52490 /* end confdefs.h. */
52491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52493 #define $ac_func innocuous_$ac_func
52495 /* System header to define __stub macros and hopefully few prototypes,
52496 which can conflict with char $ac_func (); below.
52497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52498 <limits.h> exists even on freestanding compilers. */
52500 #ifdef __STDC__
52501 # include <limits.h>
52502 #else
52503 # include <assert.h>
52504 #endif
52506 #undef $ac_func
52508 /* Override any gcc2 internal prototype to avoid an error. */
52509 #ifdef __cplusplus
52510 extern "C"
52512 #endif
52513 /* We use char because int might match the return type of a gcc2
52514 builtin and then its argument prototype would still apply. */
52515 char $ac_func ();
52516 /* The GNU C library defines this for functions which it implements
52517 to always fail with ENOSYS. Some functions are actually named
52518 something starting with __ and the normal name is an alias. */
52519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52520 choke me
52521 #else
52522 char (*f) () = $ac_func;
52523 #endif
52524 #ifdef __cplusplus
52526 #endif
52529 main ()
52531 return f != $ac_func;
52533 return 0;
52535 _ACEOF
52536 rm -f conftest.$ac_objext conftest$ac_exeext
52537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52538 (eval $ac_link) 2>conftest.er1
52539 ac_status=$?
52540 grep -v '^ *+' conftest.er1 >conftest.err
52541 rm -f conftest.er1
52542 cat conftest.err >&5
52543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52544 (exit $ac_status); } &&
52545 { ac_try='test -z "$ac_c_werror_flag"
52546 || test ! -s conftest.err'
52547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52548 (eval $ac_try) 2>&5
52549 ac_status=$?
52550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52551 (exit $ac_status); }; } &&
52552 { ac_try='test -s conftest$ac_exeext'
52553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52554 (eval $ac_try) 2>&5
52555 ac_status=$?
52556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52557 (exit $ac_status); }; }; then
52558 eval "$as_ac_var=yes"
52559 else
52560 echo "$as_me: failed program was:" >&5
52561 sed 's/^/| /' conftest.$ac_ext >&5
52563 eval "$as_ac_var=no"
52565 rm -f conftest.err conftest.$ac_objext \
52566 conftest$ac_exeext conftest.$ac_ext
52568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52570 if test `eval echo '${'$as_ac_var'}'` = yes; then
52571 cat >>confdefs.h <<_ACEOF
52572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52573 _ACEOF
52576 done
52586 echo "$as_me:$LINENO: checking for long double trig functions" >&5
52587 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
52588 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
52589 echo $ECHO_N "(cached) $ECHO_C" >&6
52590 else
52594 ac_ext=cc
52595 ac_cpp='$CXXCPP $CPPFLAGS'
52596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52600 cat >conftest.$ac_ext <<_ACEOF
52601 /* confdefs.h. */
52602 _ACEOF
52603 cat confdefs.h >>conftest.$ac_ext
52604 cat >>conftest.$ac_ext <<_ACEOF
52605 /* end confdefs.h. */
52606 #include <math.h>
52608 main ()
52610 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
52612 return 0;
52614 _ACEOF
52615 rm -f conftest.$ac_objext
52616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52617 (eval $ac_compile) 2>conftest.er1
52618 ac_status=$?
52619 grep -v '^ *+' conftest.er1 >conftest.err
52620 rm -f conftest.er1
52621 cat conftest.err >&5
52622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52623 (exit $ac_status); } &&
52624 { ac_try='test -z "$ac_cxx_werror_flag"
52625 || test ! -s conftest.err'
52626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52627 (eval $ac_try) 2>&5
52628 ac_status=$?
52629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52630 (exit $ac_status); }; } &&
52631 { ac_try='test -s conftest.$ac_objext'
52632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52633 (eval $ac_try) 2>&5
52634 ac_status=$?
52635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52636 (exit $ac_status); }; }; then
52637 glibcxx_cv_func_long_double_trig_use=yes
52638 else
52639 echo "$as_me: failed program was:" >&5
52640 sed 's/^/| /' conftest.$ac_ext >&5
52642 glibcxx_cv_func_long_double_trig_use=no
52644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52645 ac_ext=c
52646 ac_cpp='$CPP $CPPFLAGS'
52647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52653 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
52654 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
52655 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
52665 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
52667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52668 echo "$as_me:$LINENO: checking for $ac_func" >&5
52669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52670 if eval "test \"\${$as_ac_var+set}\" = set"; then
52671 echo $ECHO_N "(cached) $ECHO_C" >&6
52672 else
52673 if test x$gcc_no_link = xyes; then
52674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52676 { (exit 1); exit 1; }; }
52678 cat >conftest.$ac_ext <<_ACEOF
52679 /* confdefs.h. */
52680 _ACEOF
52681 cat confdefs.h >>conftest.$ac_ext
52682 cat >>conftest.$ac_ext <<_ACEOF
52683 /* end confdefs.h. */
52684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52686 #define $ac_func innocuous_$ac_func
52688 /* System header to define __stub macros and hopefully few prototypes,
52689 which can conflict with char $ac_func (); below.
52690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52691 <limits.h> exists even on freestanding compilers. */
52693 #ifdef __STDC__
52694 # include <limits.h>
52695 #else
52696 # include <assert.h>
52697 #endif
52699 #undef $ac_func
52701 /* Override any gcc2 internal prototype to avoid an error. */
52702 #ifdef __cplusplus
52703 extern "C"
52705 #endif
52706 /* We use char because int might match the return type of a gcc2
52707 builtin and then its argument prototype would still apply. */
52708 char $ac_func ();
52709 /* The GNU C library defines this for functions which it implements
52710 to always fail with ENOSYS. Some functions are actually named
52711 something starting with __ and the normal name is an alias. */
52712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52713 choke me
52714 #else
52715 char (*f) () = $ac_func;
52716 #endif
52717 #ifdef __cplusplus
52719 #endif
52722 main ()
52724 return f != $ac_func;
52726 return 0;
52728 _ACEOF
52729 rm -f conftest.$ac_objext conftest$ac_exeext
52730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52731 (eval $ac_link) 2>conftest.er1
52732 ac_status=$?
52733 grep -v '^ *+' conftest.er1 >conftest.err
52734 rm -f conftest.er1
52735 cat conftest.err >&5
52736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52737 (exit $ac_status); } &&
52738 { ac_try='test -z "$ac_c_werror_flag"
52739 || test ! -s conftest.err'
52740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52741 (eval $ac_try) 2>&5
52742 ac_status=$?
52743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52744 (exit $ac_status); }; } &&
52745 { ac_try='test -s conftest$ac_exeext'
52746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52747 (eval $ac_try) 2>&5
52748 ac_status=$?
52749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52750 (exit $ac_status); }; }; then
52751 eval "$as_ac_var=yes"
52752 else
52753 echo "$as_me: failed program was:" >&5
52754 sed 's/^/| /' conftest.$ac_ext >&5
52756 eval "$as_ac_var=no"
52758 rm -f conftest.err conftest.$ac_objext \
52759 conftest$ac_exeext conftest.$ac_ext
52761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52763 if test `eval echo '${'$as_ac_var'}'` = yes; then
52764 cat >>confdefs.h <<_ACEOF
52765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52766 _ACEOF
52769 done
52771 else
52772 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
52773 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
52774 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
52775 echo $ECHO_N "(cached) $ECHO_C" >&6
52776 else
52780 ac_ext=cc
52781 ac_cpp='$CXXCPP $CPPFLAGS'
52782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52786 cat >conftest.$ac_ext <<_ACEOF
52787 /* confdefs.h. */
52788 _ACEOF
52789 cat confdefs.h >>conftest.$ac_ext
52790 cat >>conftest.$ac_ext <<_ACEOF
52791 /* end confdefs.h. */
52792 #include <math.h>
52794 main ()
52796 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
52798 return 0;
52800 _ACEOF
52801 rm -f conftest.$ac_objext
52802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52803 (eval $ac_compile) 2>conftest.er1
52804 ac_status=$?
52805 grep -v '^ *+' conftest.er1 >conftest.err
52806 rm -f conftest.er1
52807 cat conftest.err >&5
52808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52809 (exit $ac_status); } &&
52810 { ac_try='test -z "$ac_cxx_werror_flag"
52811 || test ! -s conftest.err'
52812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52813 (eval $ac_try) 2>&5
52814 ac_status=$?
52815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52816 (exit $ac_status); }; } &&
52817 { ac_try='test -s conftest.$ac_objext'
52818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52819 (eval $ac_try) 2>&5
52820 ac_status=$?
52821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52822 (exit $ac_status); }; }; then
52823 glibcxx_cv_func__long_double_trig_use=yes
52824 else
52825 echo "$as_me: failed program was:" >&5
52826 sed 's/^/| /' conftest.$ac_ext >&5
52828 glibcxx_cv_func__long_double_trig_use=no
52830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52831 ac_ext=c
52832 ac_cpp='$CPP $CPPFLAGS'
52833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52839 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
52840 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
52841 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
52851 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
52853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52854 echo "$as_me:$LINENO: checking for $ac_func" >&5
52855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52856 if eval "test \"\${$as_ac_var+set}\" = set"; then
52857 echo $ECHO_N "(cached) $ECHO_C" >&6
52858 else
52859 if test x$gcc_no_link = xyes; then
52860 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52862 { (exit 1); exit 1; }; }
52864 cat >conftest.$ac_ext <<_ACEOF
52865 /* confdefs.h. */
52866 _ACEOF
52867 cat confdefs.h >>conftest.$ac_ext
52868 cat >>conftest.$ac_ext <<_ACEOF
52869 /* end confdefs.h. */
52870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52872 #define $ac_func innocuous_$ac_func
52874 /* System header to define __stub macros and hopefully few prototypes,
52875 which can conflict with char $ac_func (); below.
52876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52877 <limits.h> exists even on freestanding compilers. */
52879 #ifdef __STDC__
52880 # include <limits.h>
52881 #else
52882 # include <assert.h>
52883 #endif
52885 #undef $ac_func
52887 /* Override any gcc2 internal prototype to avoid an error. */
52888 #ifdef __cplusplus
52889 extern "C"
52891 #endif
52892 /* We use char because int might match the return type of a gcc2
52893 builtin and then its argument prototype would still apply. */
52894 char $ac_func ();
52895 /* The GNU C library defines this for functions which it implements
52896 to always fail with ENOSYS. Some functions are actually named
52897 something starting with __ and the normal name is an alias. */
52898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52899 choke me
52900 #else
52901 char (*f) () = $ac_func;
52902 #endif
52903 #ifdef __cplusplus
52905 #endif
52908 main ()
52910 return f != $ac_func;
52912 return 0;
52914 _ACEOF
52915 rm -f conftest.$ac_objext conftest$ac_exeext
52916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52917 (eval $ac_link) 2>conftest.er1
52918 ac_status=$?
52919 grep -v '^ *+' conftest.er1 >conftest.err
52920 rm -f conftest.er1
52921 cat conftest.err >&5
52922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52923 (exit $ac_status); } &&
52924 { ac_try='test -z "$ac_c_werror_flag"
52925 || test ! -s conftest.err'
52926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52927 (eval $ac_try) 2>&5
52928 ac_status=$?
52929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52930 (exit $ac_status); }; } &&
52931 { ac_try='test -s conftest$ac_exeext'
52932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52933 (eval $ac_try) 2>&5
52934 ac_status=$?
52935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52936 (exit $ac_status); }; }; then
52937 eval "$as_ac_var=yes"
52938 else
52939 echo "$as_me: failed program was:" >&5
52940 sed 's/^/| /' conftest.$ac_ext >&5
52942 eval "$as_ac_var=no"
52944 rm -f conftest.err conftest.$ac_objext \
52945 conftest$ac_exeext conftest.$ac_ext
52947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52949 if test `eval echo '${'$as_ac_var'}'` = yes; then
52950 cat >>confdefs.h <<_ACEOF
52951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52952 _ACEOF
52955 done
52973 echo "$as_me:$LINENO: checking for long double round functions" >&5
52974 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
52975 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
52976 echo $ECHO_N "(cached) $ECHO_C" >&6
52977 else
52981 ac_ext=cc
52982 ac_cpp='$CXXCPP $CPPFLAGS'
52983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52987 cat >conftest.$ac_ext <<_ACEOF
52988 /* confdefs.h. */
52989 _ACEOF
52990 cat confdefs.h >>conftest.$ac_ext
52991 cat >>conftest.$ac_ext <<_ACEOF
52992 /* end confdefs.h. */
52993 #include <math.h>
52995 main ()
52997 ceill (0); floorl (0);
52999 return 0;
53001 _ACEOF
53002 rm -f conftest.$ac_objext
53003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53004 (eval $ac_compile) 2>conftest.er1
53005 ac_status=$?
53006 grep -v '^ *+' conftest.er1 >conftest.err
53007 rm -f conftest.er1
53008 cat conftest.err >&5
53009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53010 (exit $ac_status); } &&
53011 { ac_try='test -z "$ac_cxx_werror_flag"
53012 || test ! -s conftest.err'
53013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53014 (eval $ac_try) 2>&5
53015 ac_status=$?
53016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53017 (exit $ac_status); }; } &&
53018 { ac_try='test -s conftest.$ac_objext'
53019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53020 (eval $ac_try) 2>&5
53021 ac_status=$?
53022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53023 (exit $ac_status); }; }; then
53024 glibcxx_cv_func_long_double_round_use=yes
53025 else
53026 echo "$as_me: failed program was:" >&5
53027 sed 's/^/| /' conftest.$ac_ext >&5
53029 glibcxx_cv_func_long_double_round_use=no
53031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53032 ac_ext=c
53033 ac_cpp='$CPP $CPPFLAGS'
53034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53040 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
53041 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
53042 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
53045 for ac_func in ceill floorl
53047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53048 echo "$as_me:$LINENO: checking for $ac_func" >&5
53049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53050 if eval "test \"\${$as_ac_var+set}\" = set"; then
53051 echo $ECHO_N "(cached) $ECHO_C" >&6
53052 else
53053 if test x$gcc_no_link = xyes; then
53054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53056 { (exit 1); exit 1; }; }
53058 cat >conftest.$ac_ext <<_ACEOF
53059 /* confdefs.h. */
53060 _ACEOF
53061 cat confdefs.h >>conftest.$ac_ext
53062 cat >>conftest.$ac_ext <<_ACEOF
53063 /* end confdefs.h. */
53064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53066 #define $ac_func innocuous_$ac_func
53068 /* System header to define __stub macros and hopefully few prototypes,
53069 which can conflict with char $ac_func (); below.
53070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53071 <limits.h> exists even on freestanding compilers. */
53073 #ifdef __STDC__
53074 # include <limits.h>
53075 #else
53076 # include <assert.h>
53077 #endif
53079 #undef $ac_func
53081 /* Override any gcc2 internal prototype to avoid an error. */
53082 #ifdef __cplusplus
53083 extern "C"
53085 #endif
53086 /* We use char because int might match the return type of a gcc2
53087 builtin and then its argument prototype would still apply. */
53088 char $ac_func ();
53089 /* The GNU C library defines this for functions which it implements
53090 to always fail with ENOSYS. Some functions are actually named
53091 something starting with __ and the normal name is an alias. */
53092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53093 choke me
53094 #else
53095 char (*f) () = $ac_func;
53096 #endif
53097 #ifdef __cplusplus
53099 #endif
53102 main ()
53104 return f != $ac_func;
53106 return 0;
53108 _ACEOF
53109 rm -f conftest.$ac_objext conftest$ac_exeext
53110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53111 (eval $ac_link) 2>conftest.er1
53112 ac_status=$?
53113 grep -v '^ *+' conftest.er1 >conftest.err
53114 rm -f conftest.er1
53115 cat conftest.err >&5
53116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53117 (exit $ac_status); } &&
53118 { ac_try='test -z "$ac_c_werror_flag"
53119 || test ! -s conftest.err'
53120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53121 (eval $ac_try) 2>&5
53122 ac_status=$?
53123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53124 (exit $ac_status); }; } &&
53125 { ac_try='test -s conftest$ac_exeext'
53126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53127 (eval $ac_try) 2>&5
53128 ac_status=$?
53129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53130 (exit $ac_status); }; }; then
53131 eval "$as_ac_var=yes"
53132 else
53133 echo "$as_me: failed program was:" >&5
53134 sed 's/^/| /' conftest.$ac_ext >&5
53136 eval "$as_ac_var=no"
53138 rm -f conftest.err conftest.$ac_objext \
53139 conftest$ac_exeext conftest.$ac_ext
53141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53143 if test `eval echo '${'$as_ac_var'}'` = yes; then
53144 cat >>confdefs.h <<_ACEOF
53145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53146 _ACEOF
53149 done
53151 else
53152 echo "$as_me:$LINENO: checking for _long double round functions" >&5
53153 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
53154 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
53155 echo $ECHO_N "(cached) $ECHO_C" >&6
53156 else
53160 ac_ext=cc
53161 ac_cpp='$CXXCPP $CPPFLAGS'
53162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53166 cat >conftest.$ac_ext <<_ACEOF
53167 /* confdefs.h. */
53168 _ACEOF
53169 cat confdefs.h >>conftest.$ac_ext
53170 cat >>conftest.$ac_ext <<_ACEOF
53171 /* end confdefs.h. */
53172 #include <math.h>
53174 main ()
53176 _ceill (0); _floorl (0);
53178 return 0;
53180 _ACEOF
53181 rm -f conftest.$ac_objext
53182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53183 (eval $ac_compile) 2>conftest.er1
53184 ac_status=$?
53185 grep -v '^ *+' conftest.er1 >conftest.err
53186 rm -f conftest.er1
53187 cat conftest.err >&5
53188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53189 (exit $ac_status); } &&
53190 { ac_try='test -z "$ac_cxx_werror_flag"
53191 || test ! -s conftest.err'
53192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53193 (eval $ac_try) 2>&5
53194 ac_status=$?
53195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53196 (exit $ac_status); }; } &&
53197 { ac_try='test -s conftest.$ac_objext'
53198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53199 (eval $ac_try) 2>&5
53200 ac_status=$?
53201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53202 (exit $ac_status); }; }; then
53203 glibcxx_cv_func__long_double_round_use=yes
53204 else
53205 echo "$as_me: failed program was:" >&5
53206 sed 's/^/| /' conftest.$ac_ext >&5
53208 glibcxx_cv_func__long_double_round_use=no
53210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53211 ac_ext=c
53212 ac_cpp='$CPP $CPPFLAGS'
53213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53219 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
53220 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
53221 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
53224 for ac_func in _ceill _floorl
53226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53227 echo "$as_me:$LINENO: checking for $ac_func" >&5
53228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53229 if eval "test \"\${$as_ac_var+set}\" = set"; then
53230 echo $ECHO_N "(cached) $ECHO_C" >&6
53231 else
53232 if test x$gcc_no_link = xyes; then
53233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53235 { (exit 1); exit 1; }; }
53237 cat >conftest.$ac_ext <<_ACEOF
53238 /* confdefs.h. */
53239 _ACEOF
53240 cat confdefs.h >>conftest.$ac_ext
53241 cat >>conftest.$ac_ext <<_ACEOF
53242 /* end confdefs.h. */
53243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53245 #define $ac_func innocuous_$ac_func
53247 /* System header to define __stub macros and hopefully few prototypes,
53248 which can conflict with char $ac_func (); below.
53249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53250 <limits.h> exists even on freestanding compilers. */
53252 #ifdef __STDC__
53253 # include <limits.h>
53254 #else
53255 # include <assert.h>
53256 #endif
53258 #undef $ac_func
53260 /* Override any gcc2 internal prototype to avoid an error. */
53261 #ifdef __cplusplus
53262 extern "C"
53264 #endif
53265 /* We use char because int might match the return type of a gcc2
53266 builtin and then its argument prototype would still apply. */
53267 char $ac_func ();
53268 /* The GNU C library defines this for functions which it implements
53269 to always fail with ENOSYS. Some functions are actually named
53270 something starting with __ and the normal name is an alias. */
53271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53272 choke me
53273 #else
53274 char (*f) () = $ac_func;
53275 #endif
53276 #ifdef __cplusplus
53278 #endif
53281 main ()
53283 return f != $ac_func;
53285 return 0;
53287 _ACEOF
53288 rm -f conftest.$ac_objext conftest$ac_exeext
53289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53290 (eval $ac_link) 2>conftest.er1
53291 ac_status=$?
53292 grep -v '^ *+' conftest.er1 >conftest.err
53293 rm -f conftest.er1
53294 cat conftest.err >&5
53295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53296 (exit $ac_status); } &&
53297 { ac_try='test -z "$ac_c_werror_flag"
53298 || test ! -s conftest.err'
53299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53300 (eval $ac_try) 2>&5
53301 ac_status=$?
53302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53303 (exit $ac_status); }; } &&
53304 { ac_try='test -s conftest$ac_exeext'
53305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53306 (eval $ac_try) 2>&5
53307 ac_status=$?
53308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53309 (exit $ac_status); }; }; then
53310 eval "$as_ac_var=yes"
53311 else
53312 echo "$as_me: failed program was:" >&5
53313 sed 's/^/| /' conftest.$ac_ext >&5
53315 eval "$as_ac_var=no"
53317 rm -f conftest.err conftest.$ac_objext \
53318 conftest$ac_exeext conftest.$ac_ext
53320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53322 if test `eval echo '${'$as_ac_var'}'` = yes; then
53323 cat >>confdefs.h <<_ACEOF
53324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53325 _ACEOF
53328 done
53340 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
53341 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
53342 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
53343 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
53344 echo $ECHO_N "(cached) $ECHO_C" >&6
53345 else
53349 ac_ext=cc
53350 ac_cpp='$CXXCPP $CPPFLAGS'
53351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53355 cat >conftest.$ac_ext <<_ACEOF
53356 /* confdefs.h. */
53357 _ACEOF
53358 cat confdefs.h >>conftest.$ac_ext
53359 cat >>conftest.$ac_ext <<_ACEOF
53360 /* end confdefs.h. */
53361 #include <math.h>
53362 #ifdef HAVE_IEEEFP_H
53363 #include <ieeefp.h>
53364 #endif
53367 main ()
53369 isnanl(0);
53371 return 0;
53373 _ACEOF
53374 rm -f conftest.$ac_objext
53375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53376 (eval $ac_compile) 2>conftest.er1
53377 ac_status=$?
53378 grep -v '^ *+' conftest.er1 >conftest.err
53379 rm -f conftest.er1
53380 cat conftest.err >&5
53381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53382 (exit $ac_status); } &&
53383 { ac_try='test -z "$ac_cxx_werror_flag"
53384 || test ! -s conftest.err'
53385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53386 (eval $ac_try) 2>&5
53387 ac_status=$?
53388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53389 (exit $ac_status); }; } &&
53390 { ac_try='test -s conftest.$ac_objext'
53391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53392 (eval $ac_try) 2>&5
53393 ac_status=$?
53394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53395 (exit $ac_status); }; }; then
53396 glibcxx_cv_func_isnanl_use=yes
53397 else
53398 echo "$as_me: failed program was:" >&5
53399 sed 's/^/| /' conftest.$ac_ext >&5
53401 glibcxx_cv_func_isnanl_use=no
53403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53404 ac_ext=c
53405 ac_cpp='$CPP $CPPFLAGS'
53406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53414 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
53415 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
53417 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
53419 for ac_func in isnanl
53421 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53422 echo "$as_me:$LINENO: checking for $ac_func" >&5
53423 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53424 if eval "test \"\${$as_ac_var+set}\" = set"; then
53425 echo $ECHO_N "(cached) $ECHO_C" >&6
53426 else
53427 if test x$gcc_no_link = xyes; then
53428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53430 { (exit 1); exit 1; }; }
53432 cat >conftest.$ac_ext <<_ACEOF
53433 /* confdefs.h. */
53434 _ACEOF
53435 cat confdefs.h >>conftest.$ac_ext
53436 cat >>conftest.$ac_ext <<_ACEOF
53437 /* end confdefs.h. */
53438 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53439 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53440 #define $ac_func innocuous_$ac_func
53442 /* System header to define __stub macros and hopefully few prototypes,
53443 which can conflict with char $ac_func (); below.
53444 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53445 <limits.h> exists even on freestanding compilers. */
53447 #ifdef __STDC__
53448 # include <limits.h>
53449 #else
53450 # include <assert.h>
53451 #endif
53453 #undef $ac_func
53455 /* Override any gcc2 internal prototype to avoid an error. */
53456 #ifdef __cplusplus
53457 extern "C"
53459 #endif
53460 /* We use char because int might match the return type of a gcc2
53461 builtin and then its argument prototype would still apply. */
53462 char $ac_func ();
53463 /* The GNU C library defines this for functions which it implements
53464 to always fail with ENOSYS. Some functions are actually named
53465 something starting with __ and the normal name is an alias. */
53466 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53467 choke me
53468 #else
53469 char (*f) () = $ac_func;
53470 #endif
53471 #ifdef __cplusplus
53473 #endif
53476 main ()
53478 return f != $ac_func;
53480 return 0;
53482 _ACEOF
53483 rm -f conftest.$ac_objext conftest$ac_exeext
53484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53485 (eval $ac_link) 2>conftest.er1
53486 ac_status=$?
53487 grep -v '^ *+' conftest.er1 >conftest.err
53488 rm -f conftest.er1
53489 cat conftest.err >&5
53490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53491 (exit $ac_status); } &&
53492 { ac_try='test -z "$ac_c_werror_flag"
53493 || test ! -s conftest.err'
53494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53495 (eval $ac_try) 2>&5
53496 ac_status=$?
53497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53498 (exit $ac_status); }; } &&
53499 { ac_try='test -s conftest$ac_exeext'
53500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53501 (eval $ac_try) 2>&5
53502 ac_status=$?
53503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53504 (exit $ac_status); }; }; then
53505 eval "$as_ac_var=yes"
53506 else
53507 echo "$as_me: failed program was:" >&5
53508 sed 's/^/| /' conftest.$ac_ext >&5
53510 eval "$as_ac_var=no"
53512 rm -f conftest.err conftest.$ac_objext \
53513 conftest$ac_exeext conftest.$ac_ext
53515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53517 if test `eval echo '${'$as_ac_var'}'` = yes; then
53518 cat >>confdefs.h <<_ACEOF
53519 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53520 _ACEOF
53523 done
53525 else
53527 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
53528 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
53529 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
53530 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
53531 echo $ECHO_N "(cached) $ECHO_C" >&6
53532 else
53536 ac_ext=cc
53537 ac_cpp='$CXXCPP $CPPFLAGS'
53538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53542 cat >conftest.$ac_ext <<_ACEOF
53543 /* confdefs.h. */
53544 _ACEOF
53545 cat confdefs.h >>conftest.$ac_ext
53546 cat >>conftest.$ac_ext <<_ACEOF
53547 /* end confdefs.h. */
53548 #include <math.h>
53549 #ifdef HAVE_IEEEFP_H
53550 #include <ieeefp.h>
53551 #endif
53554 main ()
53556 _isnanl(0);
53558 return 0;
53560 _ACEOF
53561 rm -f conftest.$ac_objext
53562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53563 (eval $ac_compile) 2>conftest.er1
53564 ac_status=$?
53565 grep -v '^ *+' conftest.er1 >conftest.err
53566 rm -f conftest.er1
53567 cat conftest.err >&5
53568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53569 (exit $ac_status); } &&
53570 { ac_try='test -z "$ac_cxx_werror_flag"
53571 || test ! -s conftest.err'
53572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53573 (eval $ac_try) 2>&5
53574 ac_status=$?
53575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53576 (exit $ac_status); }; } &&
53577 { ac_try='test -s conftest.$ac_objext'
53578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53579 (eval $ac_try) 2>&5
53580 ac_status=$?
53581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53582 (exit $ac_status); }; }; then
53583 glibcxx_cv_func__isnanl_use=yes
53584 else
53585 echo "$as_me: failed program was:" >&5
53586 sed 's/^/| /' conftest.$ac_ext >&5
53588 glibcxx_cv_func__isnanl_use=no
53590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53591 ac_ext=c
53592 ac_cpp='$CPP $CPPFLAGS'
53593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53601 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
53602 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
53604 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
53606 for ac_func in _isnanl
53608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53609 echo "$as_me:$LINENO: checking for $ac_func" >&5
53610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53611 if eval "test \"\${$as_ac_var+set}\" = set"; then
53612 echo $ECHO_N "(cached) $ECHO_C" >&6
53613 else
53614 if test x$gcc_no_link = xyes; then
53615 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53617 { (exit 1); exit 1; }; }
53619 cat >conftest.$ac_ext <<_ACEOF
53620 /* confdefs.h. */
53621 _ACEOF
53622 cat confdefs.h >>conftest.$ac_ext
53623 cat >>conftest.$ac_ext <<_ACEOF
53624 /* end confdefs.h. */
53625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53627 #define $ac_func innocuous_$ac_func
53629 /* System header to define __stub macros and hopefully few prototypes,
53630 which can conflict with char $ac_func (); below.
53631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53632 <limits.h> exists even on freestanding compilers. */
53634 #ifdef __STDC__
53635 # include <limits.h>
53636 #else
53637 # include <assert.h>
53638 #endif
53640 #undef $ac_func
53642 /* Override any gcc2 internal prototype to avoid an error. */
53643 #ifdef __cplusplus
53644 extern "C"
53646 #endif
53647 /* We use char because int might match the return type of a gcc2
53648 builtin and then its argument prototype would still apply. */
53649 char $ac_func ();
53650 /* The GNU C library defines this for functions which it implements
53651 to always fail with ENOSYS. Some functions are actually named
53652 something starting with __ and the normal name is an alias. */
53653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53654 choke me
53655 #else
53656 char (*f) () = $ac_func;
53657 #endif
53658 #ifdef __cplusplus
53660 #endif
53663 main ()
53665 return f != $ac_func;
53667 return 0;
53669 _ACEOF
53670 rm -f conftest.$ac_objext conftest$ac_exeext
53671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53672 (eval $ac_link) 2>conftest.er1
53673 ac_status=$?
53674 grep -v '^ *+' conftest.er1 >conftest.err
53675 rm -f conftest.er1
53676 cat conftest.err >&5
53677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53678 (exit $ac_status); } &&
53679 { ac_try='test -z "$ac_c_werror_flag"
53680 || test ! -s conftest.err'
53681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53682 (eval $ac_try) 2>&5
53683 ac_status=$?
53684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53685 (exit $ac_status); }; } &&
53686 { ac_try='test -s conftest$ac_exeext'
53687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53688 (eval $ac_try) 2>&5
53689 ac_status=$?
53690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53691 (exit $ac_status); }; }; then
53692 eval "$as_ac_var=yes"
53693 else
53694 echo "$as_me: failed program was:" >&5
53695 sed 's/^/| /' conftest.$ac_ext >&5
53697 eval "$as_ac_var=no"
53699 rm -f conftest.err conftest.$ac_objext \
53700 conftest$ac_exeext conftest.$ac_ext
53702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53704 if test `eval echo '${'$as_ac_var'}'` = yes; then
53705 cat >>confdefs.h <<_ACEOF
53706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53707 _ACEOF
53710 done
53720 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
53721 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
53722 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
53723 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
53724 echo $ECHO_N "(cached) $ECHO_C" >&6
53725 else
53729 ac_ext=cc
53730 ac_cpp='$CXXCPP $CPPFLAGS'
53731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53735 cat >conftest.$ac_ext <<_ACEOF
53736 /* confdefs.h. */
53737 _ACEOF
53738 cat confdefs.h >>conftest.$ac_ext
53739 cat >>conftest.$ac_ext <<_ACEOF
53740 /* end confdefs.h. */
53741 #include <math.h>
53742 #ifdef HAVE_IEEEFP_H
53743 #include <ieeefp.h>
53744 #endif
53747 main ()
53749 isinfl(0);
53751 return 0;
53753 _ACEOF
53754 rm -f conftest.$ac_objext
53755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53756 (eval $ac_compile) 2>conftest.er1
53757 ac_status=$?
53758 grep -v '^ *+' conftest.er1 >conftest.err
53759 rm -f conftest.er1
53760 cat conftest.err >&5
53761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53762 (exit $ac_status); } &&
53763 { ac_try='test -z "$ac_cxx_werror_flag"
53764 || test ! -s conftest.err'
53765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53766 (eval $ac_try) 2>&5
53767 ac_status=$?
53768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53769 (exit $ac_status); }; } &&
53770 { ac_try='test -s conftest.$ac_objext'
53771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53772 (eval $ac_try) 2>&5
53773 ac_status=$?
53774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53775 (exit $ac_status); }; }; then
53776 glibcxx_cv_func_isinfl_use=yes
53777 else
53778 echo "$as_me: failed program was:" >&5
53779 sed 's/^/| /' conftest.$ac_ext >&5
53781 glibcxx_cv_func_isinfl_use=no
53783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53784 ac_ext=c
53785 ac_cpp='$CPP $CPPFLAGS'
53786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53794 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
53795 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
53797 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
53799 for ac_func in isinfl
53801 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53802 echo "$as_me:$LINENO: checking for $ac_func" >&5
53803 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53804 if eval "test \"\${$as_ac_var+set}\" = set"; then
53805 echo $ECHO_N "(cached) $ECHO_C" >&6
53806 else
53807 if test x$gcc_no_link = xyes; then
53808 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53809 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53810 { (exit 1); exit 1; }; }
53812 cat >conftest.$ac_ext <<_ACEOF
53813 /* confdefs.h. */
53814 _ACEOF
53815 cat confdefs.h >>conftest.$ac_ext
53816 cat >>conftest.$ac_ext <<_ACEOF
53817 /* end confdefs.h. */
53818 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53819 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53820 #define $ac_func innocuous_$ac_func
53822 /* System header to define __stub macros and hopefully few prototypes,
53823 which can conflict with char $ac_func (); below.
53824 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53825 <limits.h> exists even on freestanding compilers. */
53827 #ifdef __STDC__
53828 # include <limits.h>
53829 #else
53830 # include <assert.h>
53831 #endif
53833 #undef $ac_func
53835 /* Override any gcc2 internal prototype to avoid an error. */
53836 #ifdef __cplusplus
53837 extern "C"
53839 #endif
53840 /* We use char because int might match the return type of a gcc2
53841 builtin and then its argument prototype would still apply. */
53842 char $ac_func ();
53843 /* The GNU C library defines this for functions which it implements
53844 to always fail with ENOSYS. Some functions are actually named
53845 something starting with __ and the normal name is an alias. */
53846 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53847 choke me
53848 #else
53849 char (*f) () = $ac_func;
53850 #endif
53851 #ifdef __cplusplus
53853 #endif
53856 main ()
53858 return f != $ac_func;
53860 return 0;
53862 _ACEOF
53863 rm -f conftest.$ac_objext conftest$ac_exeext
53864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53865 (eval $ac_link) 2>conftest.er1
53866 ac_status=$?
53867 grep -v '^ *+' conftest.er1 >conftest.err
53868 rm -f conftest.er1
53869 cat conftest.err >&5
53870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53871 (exit $ac_status); } &&
53872 { ac_try='test -z "$ac_c_werror_flag"
53873 || test ! -s conftest.err'
53874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53875 (eval $ac_try) 2>&5
53876 ac_status=$?
53877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53878 (exit $ac_status); }; } &&
53879 { ac_try='test -s conftest$ac_exeext'
53880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53881 (eval $ac_try) 2>&5
53882 ac_status=$?
53883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53884 (exit $ac_status); }; }; then
53885 eval "$as_ac_var=yes"
53886 else
53887 echo "$as_me: failed program was:" >&5
53888 sed 's/^/| /' conftest.$ac_ext >&5
53890 eval "$as_ac_var=no"
53892 rm -f conftest.err conftest.$ac_objext \
53893 conftest$ac_exeext conftest.$ac_ext
53895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53896 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53897 if test `eval echo '${'$as_ac_var'}'` = yes; then
53898 cat >>confdefs.h <<_ACEOF
53899 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53900 _ACEOF
53903 done
53905 else
53907 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
53908 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
53909 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
53910 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
53911 echo $ECHO_N "(cached) $ECHO_C" >&6
53912 else
53916 ac_ext=cc
53917 ac_cpp='$CXXCPP $CPPFLAGS'
53918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53922 cat >conftest.$ac_ext <<_ACEOF
53923 /* confdefs.h. */
53924 _ACEOF
53925 cat confdefs.h >>conftest.$ac_ext
53926 cat >>conftest.$ac_ext <<_ACEOF
53927 /* end confdefs.h. */
53928 #include <math.h>
53929 #ifdef HAVE_IEEEFP_H
53930 #include <ieeefp.h>
53931 #endif
53934 main ()
53936 _isinfl(0);
53938 return 0;
53940 _ACEOF
53941 rm -f conftest.$ac_objext
53942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53943 (eval $ac_compile) 2>conftest.er1
53944 ac_status=$?
53945 grep -v '^ *+' conftest.er1 >conftest.err
53946 rm -f conftest.er1
53947 cat conftest.err >&5
53948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53949 (exit $ac_status); } &&
53950 { ac_try='test -z "$ac_cxx_werror_flag"
53951 || test ! -s conftest.err'
53952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53953 (eval $ac_try) 2>&5
53954 ac_status=$?
53955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53956 (exit $ac_status); }; } &&
53957 { ac_try='test -s conftest.$ac_objext'
53958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53959 (eval $ac_try) 2>&5
53960 ac_status=$?
53961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53962 (exit $ac_status); }; }; then
53963 glibcxx_cv_func__isinfl_use=yes
53964 else
53965 echo "$as_me: failed program was:" >&5
53966 sed 's/^/| /' conftest.$ac_ext >&5
53968 glibcxx_cv_func__isinfl_use=no
53970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53971 ac_ext=c
53972 ac_cpp='$CPP $CPPFLAGS'
53973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53981 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
53982 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
53984 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
53986 for ac_func in _isinfl
53988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53989 echo "$as_me:$LINENO: checking for $ac_func" >&5
53990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53991 if eval "test \"\${$as_ac_var+set}\" = set"; then
53992 echo $ECHO_N "(cached) $ECHO_C" >&6
53993 else
53994 if test x$gcc_no_link = xyes; then
53995 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53997 { (exit 1); exit 1; }; }
53999 cat >conftest.$ac_ext <<_ACEOF
54000 /* confdefs.h. */
54001 _ACEOF
54002 cat confdefs.h >>conftest.$ac_ext
54003 cat >>conftest.$ac_ext <<_ACEOF
54004 /* end confdefs.h. */
54005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54007 #define $ac_func innocuous_$ac_func
54009 /* System header to define __stub macros and hopefully few prototypes,
54010 which can conflict with char $ac_func (); below.
54011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54012 <limits.h> exists even on freestanding compilers. */
54014 #ifdef __STDC__
54015 # include <limits.h>
54016 #else
54017 # include <assert.h>
54018 #endif
54020 #undef $ac_func
54022 /* Override any gcc2 internal prototype to avoid an error. */
54023 #ifdef __cplusplus
54024 extern "C"
54026 #endif
54027 /* We use char because int might match the return type of a gcc2
54028 builtin and then its argument prototype would still apply. */
54029 char $ac_func ();
54030 /* The GNU C library defines this for functions which it implements
54031 to always fail with ENOSYS. Some functions are actually named
54032 something starting with __ and the normal name is an alias. */
54033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54034 choke me
54035 #else
54036 char (*f) () = $ac_func;
54037 #endif
54038 #ifdef __cplusplus
54040 #endif
54043 main ()
54045 return f != $ac_func;
54047 return 0;
54049 _ACEOF
54050 rm -f conftest.$ac_objext conftest$ac_exeext
54051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54052 (eval $ac_link) 2>conftest.er1
54053 ac_status=$?
54054 grep -v '^ *+' conftest.er1 >conftest.err
54055 rm -f conftest.er1
54056 cat conftest.err >&5
54057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54058 (exit $ac_status); } &&
54059 { ac_try='test -z "$ac_c_werror_flag"
54060 || test ! -s conftest.err'
54061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54062 (eval $ac_try) 2>&5
54063 ac_status=$?
54064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54065 (exit $ac_status); }; } &&
54066 { ac_try='test -s conftest$ac_exeext'
54067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54068 (eval $ac_try) 2>&5
54069 ac_status=$?
54070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54071 (exit $ac_status); }; }; then
54072 eval "$as_ac_var=yes"
54073 else
54074 echo "$as_me: failed program was:" >&5
54075 sed 's/^/| /' conftest.$ac_ext >&5
54077 eval "$as_ac_var=no"
54079 rm -f conftest.err conftest.$ac_objext \
54080 conftest$ac_exeext conftest.$ac_ext
54082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54084 if test `eval echo '${'$as_ac_var'}'` = yes; then
54085 cat >>confdefs.h <<_ACEOF
54086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54087 _ACEOF
54090 done
54100 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
54101 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
54102 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
54103 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
54104 echo $ECHO_N "(cached) $ECHO_C" >&6
54105 else
54109 ac_ext=cc
54110 ac_cpp='$CXXCPP $CPPFLAGS'
54111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54115 cat >conftest.$ac_ext <<_ACEOF
54116 /* confdefs.h. */
54117 _ACEOF
54118 cat confdefs.h >>conftest.$ac_ext
54119 cat >>conftest.$ac_ext <<_ACEOF
54120 /* end confdefs.h. */
54121 #include <math.h>
54123 main ()
54125 copysignl(0, 0);
54127 return 0;
54129 _ACEOF
54130 rm -f conftest.$ac_objext
54131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54132 (eval $ac_compile) 2>conftest.er1
54133 ac_status=$?
54134 grep -v '^ *+' conftest.er1 >conftest.err
54135 rm -f conftest.er1
54136 cat conftest.err >&5
54137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54138 (exit $ac_status); } &&
54139 { ac_try='test -z "$ac_cxx_werror_flag"
54140 || test ! -s conftest.err'
54141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54142 (eval $ac_try) 2>&5
54143 ac_status=$?
54144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54145 (exit $ac_status); }; } &&
54146 { ac_try='test -s conftest.$ac_objext'
54147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54148 (eval $ac_try) 2>&5
54149 ac_status=$?
54150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54151 (exit $ac_status); }; }; then
54152 glibcxx_cv_func_copysignl_use=yes
54153 else
54154 echo "$as_me: failed program was:" >&5
54155 sed 's/^/| /' conftest.$ac_ext >&5
54157 glibcxx_cv_func_copysignl_use=no
54159 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54160 ac_ext=c
54161 ac_cpp='$CPP $CPPFLAGS'
54162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54170 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
54171 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
54173 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
54175 for ac_func in copysignl
54177 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54178 echo "$as_me:$LINENO: checking for $ac_func" >&5
54179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54180 if eval "test \"\${$as_ac_var+set}\" = set"; then
54181 echo $ECHO_N "(cached) $ECHO_C" >&6
54182 else
54183 if test x$gcc_no_link = xyes; then
54184 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54185 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54186 { (exit 1); exit 1; }; }
54188 cat >conftest.$ac_ext <<_ACEOF
54189 /* confdefs.h. */
54190 _ACEOF
54191 cat confdefs.h >>conftest.$ac_ext
54192 cat >>conftest.$ac_ext <<_ACEOF
54193 /* end confdefs.h. */
54194 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54195 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54196 #define $ac_func innocuous_$ac_func
54198 /* System header to define __stub macros and hopefully few prototypes,
54199 which can conflict with char $ac_func (); below.
54200 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54201 <limits.h> exists even on freestanding compilers. */
54203 #ifdef __STDC__
54204 # include <limits.h>
54205 #else
54206 # include <assert.h>
54207 #endif
54209 #undef $ac_func
54211 /* Override any gcc2 internal prototype to avoid an error. */
54212 #ifdef __cplusplus
54213 extern "C"
54215 #endif
54216 /* We use char because int might match the return type of a gcc2
54217 builtin and then its argument prototype would still apply. */
54218 char $ac_func ();
54219 /* The GNU C library defines this for functions which it implements
54220 to always fail with ENOSYS. Some functions are actually named
54221 something starting with __ and the normal name is an alias. */
54222 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54223 choke me
54224 #else
54225 char (*f) () = $ac_func;
54226 #endif
54227 #ifdef __cplusplus
54229 #endif
54232 main ()
54234 return f != $ac_func;
54236 return 0;
54238 _ACEOF
54239 rm -f conftest.$ac_objext conftest$ac_exeext
54240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54241 (eval $ac_link) 2>conftest.er1
54242 ac_status=$?
54243 grep -v '^ *+' conftest.er1 >conftest.err
54244 rm -f conftest.er1
54245 cat conftest.err >&5
54246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54247 (exit $ac_status); } &&
54248 { ac_try='test -z "$ac_c_werror_flag"
54249 || test ! -s conftest.err'
54250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54251 (eval $ac_try) 2>&5
54252 ac_status=$?
54253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54254 (exit $ac_status); }; } &&
54255 { ac_try='test -s conftest$ac_exeext'
54256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54257 (eval $ac_try) 2>&5
54258 ac_status=$?
54259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54260 (exit $ac_status); }; }; then
54261 eval "$as_ac_var=yes"
54262 else
54263 echo "$as_me: failed program was:" >&5
54264 sed 's/^/| /' conftest.$ac_ext >&5
54266 eval "$as_ac_var=no"
54268 rm -f conftest.err conftest.$ac_objext \
54269 conftest$ac_exeext conftest.$ac_ext
54271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54273 if test `eval echo '${'$as_ac_var'}'` = yes; then
54274 cat >>confdefs.h <<_ACEOF
54275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54276 _ACEOF
54279 done
54281 else
54283 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
54284 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
54285 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
54286 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
54287 echo $ECHO_N "(cached) $ECHO_C" >&6
54288 else
54292 ac_ext=cc
54293 ac_cpp='$CXXCPP $CPPFLAGS'
54294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54298 cat >conftest.$ac_ext <<_ACEOF
54299 /* confdefs.h. */
54300 _ACEOF
54301 cat confdefs.h >>conftest.$ac_ext
54302 cat >>conftest.$ac_ext <<_ACEOF
54303 /* end confdefs.h. */
54304 #include <math.h>
54306 main ()
54308 _copysignl(0, 0);
54310 return 0;
54312 _ACEOF
54313 rm -f conftest.$ac_objext
54314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54315 (eval $ac_compile) 2>conftest.er1
54316 ac_status=$?
54317 grep -v '^ *+' conftest.er1 >conftest.err
54318 rm -f conftest.er1
54319 cat conftest.err >&5
54320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54321 (exit $ac_status); } &&
54322 { ac_try='test -z "$ac_cxx_werror_flag"
54323 || test ! -s conftest.err'
54324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54325 (eval $ac_try) 2>&5
54326 ac_status=$?
54327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54328 (exit $ac_status); }; } &&
54329 { ac_try='test -s conftest.$ac_objext'
54330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54331 (eval $ac_try) 2>&5
54332 ac_status=$?
54333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54334 (exit $ac_status); }; }; then
54335 glibcxx_cv_func__copysignl_use=yes
54336 else
54337 echo "$as_me: failed program was:" >&5
54338 sed 's/^/| /' conftest.$ac_ext >&5
54340 glibcxx_cv_func__copysignl_use=no
54342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54343 ac_ext=c
54344 ac_cpp='$CPP $CPPFLAGS'
54345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54353 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
54354 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
54356 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
54358 for ac_func in _copysignl
54360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54361 echo "$as_me:$LINENO: checking for $ac_func" >&5
54362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54363 if eval "test \"\${$as_ac_var+set}\" = set"; then
54364 echo $ECHO_N "(cached) $ECHO_C" >&6
54365 else
54366 if test x$gcc_no_link = xyes; then
54367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54369 { (exit 1); exit 1; }; }
54371 cat >conftest.$ac_ext <<_ACEOF
54372 /* confdefs.h. */
54373 _ACEOF
54374 cat confdefs.h >>conftest.$ac_ext
54375 cat >>conftest.$ac_ext <<_ACEOF
54376 /* end confdefs.h. */
54377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54379 #define $ac_func innocuous_$ac_func
54381 /* System header to define __stub macros and hopefully few prototypes,
54382 which can conflict with char $ac_func (); below.
54383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54384 <limits.h> exists even on freestanding compilers. */
54386 #ifdef __STDC__
54387 # include <limits.h>
54388 #else
54389 # include <assert.h>
54390 #endif
54392 #undef $ac_func
54394 /* Override any gcc2 internal prototype to avoid an error. */
54395 #ifdef __cplusplus
54396 extern "C"
54398 #endif
54399 /* We use char because int might match the return type of a gcc2
54400 builtin and then its argument prototype would still apply. */
54401 char $ac_func ();
54402 /* The GNU C library defines this for functions which it implements
54403 to always fail with ENOSYS. Some functions are actually named
54404 something starting with __ and the normal name is an alias. */
54405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54406 choke me
54407 #else
54408 char (*f) () = $ac_func;
54409 #endif
54410 #ifdef __cplusplus
54412 #endif
54415 main ()
54417 return f != $ac_func;
54419 return 0;
54421 _ACEOF
54422 rm -f conftest.$ac_objext conftest$ac_exeext
54423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54424 (eval $ac_link) 2>conftest.er1
54425 ac_status=$?
54426 grep -v '^ *+' conftest.er1 >conftest.err
54427 rm -f conftest.er1
54428 cat conftest.err >&5
54429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54430 (exit $ac_status); } &&
54431 { ac_try='test -z "$ac_c_werror_flag"
54432 || test ! -s conftest.err'
54433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54434 (eval $ac_try) 2>&5
54435 ac_status=$?
54436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54437 (exit $ac_status); }; } &&
54438 { ac_try='test -s conftest$ac_exeext'
54439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54440 (eval $ac_try) 2>&5
54441 ac_status=$?
54442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54443 (exit $ac_status); }; }; then
54444 eval "$as_ac_var=yes"
54445 else
54446 echo "$as_me: failed program was:" >&5
54447 sed 's/^/| /' conftest.$ac_ext >&5
54449 eval "$as_ac_var=no"
54451 rm -f conftest.err conftest.$ac_objext \
54452 conftest$ac_exeext conftest.$ac_ext
54454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54456 if test `eval echo '${'$as_ac_var'}'` = yes; then
54457 cat >>confdefs.h <<_ACEOF
54458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54459 _ACEOF
54462 done
54472 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
54473 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
54474 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54475 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
54476 echo $ECHO_N "(cached) $ECHO_C" >&6
54477 else
54481 ac_ext=cc
54482 ac_cpp='$CXXCPP $CPPFLAGS'
54483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54487 cat >conftest.$ac_ext <<_ACEOF
54488 /* confdefs.h. */
54489 _ACEOF
54490 cat confdefs.h >>conftest.$ac_ext
54491 cat >>conftest.$ac_ext <<_ACEOF
54492 /* end confdefs.h. */
54493 #include <math.h>
54495 main ()
54497 atan2l(0, 0);
54499 return 0;
54501 _ACEOF
54502 rm -f conftest.$ac_objext
54503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54504 (eval $ac_compile) 2>conftest.er1
54505 ac_status=$?
54506 grep -v '^ *+' conftest.er1 >conftest.err
54507 rm -f conftest.er1
54508 cat conftest.err >&5
54509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54510 (exit $ac_status); } &&
54511 { ac_try='test -z "$ac_cxx_werror_flag"
54512 || test ! -s conftest.err'
54513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54514 (eval $ac_try) 2>&5
54515 ac_status=$?
54516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54517 (exit $ac_status); }; } &&
54518 { ac_try='test -s conftest.$ac_objext'
54519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54520 (eval $ac_try) 2>&5
54521 ac_status=$?
54522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54523 (exit $ac_status); }; }; then
54524 glibcxx_cv_func_atan2l_use=yes
54525 else
54526 echo "$as_me: failed program was:" >&5
54527 sed 's/^/| /' conftest.$ac_ext >&5
54529 glibcxx_cv_func_atan2l_use=no
54531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54532 ac_ext=c
54533 ac_cpp='$CPP $CPPFLAGS'
54534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54542 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
54543 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
54545 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
54547 for ac_func in atan2l
54549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54550 echo "$as_me:$LINENO: checking for $ac_func" >&5
54551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54552 if eval "test \"\${$as_ac_var+set}\" = set"; then
54553 echo $ECHO_N "(cached) $ECHO_C" >&6
54554 else
54555 if test x$gcc_no_link = xyes; then
54556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54558 { (exit 1); exit 1; }; }
54560 cat >conftest.$ac_ext <<_ACEOF
54561 /* confdefs.h. */
54562 _ACEOF
54563 cat confdefs.h >>conftest.$ac_ext
54564 cat >>conftest.$ac_ext <<_ACEOF
54565 /* end confdefs.h. */
54566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54568 #define $ac_func innocuous_$ac_func
54570 /* System header to define __stub macros and hopefully few prototypes,
54571 which can conflict with char $ac_func (); below.
54572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54573 <limits.h> exists even on freestanding compilers. */
54575 #ifdef __STDC__
54576 # include <limits.h>
54577 #else
54578 # include <assert.h>
54579 #endif
54581 #undef $ac_func
54583 /* Override any gcc2 internal prototype to avoid an error. */
54584 #ifdef __cplusplus
54585 extern "C"
54587 #endif
54588 /* We use char because int might match the return type of a gcc2
54589 builtin and then its argument prototype would still apply. */
54590 char $ac_func ();
54591 /* The GNU C library defines this for functions which it implements
54592 to always fail with ENOSYS. Some functions are actually named
54593 something starting with __ and the normal name is an alias. */
54594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54595 choke me
54596 #else
54597 char (*f) () = $ac_func;
54598 #endif
54599 #ifdef __cplusplus
54601 #endif
54604 main ()
54606 return f != $ac_func;
54608 return 0;
54610 _ACEOF
54611 rm -f conftest.$ac_objext conftest$ac_exeext
54612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54613 (eval $ac_link) 2>conftest.er1
54614 ac_status=$?
54615 grep -v '^ *+' conftest.er1 >conftest.err
54616 rm -f conftest.er1
54617 cat conftest.err >&5
54618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54619 (exit $ac_status); } &&
54620 { ac_try='test -z "$ac_c_werror_flag"
54621 || test ! -s conftest.err'
54622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54623 (eval $ac_try) 2>&5
54624 ac_status=$?
54625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54626 (exit $ac_status); }; } &&
54627 { ac_try='test -s conftest$ac_exeext'
54628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54629 (eval $ac_try) 2>&5
54630 ac_status=$?
54631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54632 (exit $ac_status); }; }; then
54633 eval "$as_ac_var=yes"
54634 else
54635 echo "$as_me: failed program was:" >&5
54636 sed 's/^/| /' conftest.$ac_ext >&5
54638 eval "$as_ac_var=no"
54640 rm -f conftest.err conftest.$ac_objext \
54641 conftest$ac_exeext conftest.$ac_ext
54643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54645 if test `eval echo '${'$as_ac_var'}'` = yes; then
54646 cat >>confdefs.h <<_ACEOF
54647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54648 _ACEOF
54651 done
54653 else
54655 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
54656 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
54657 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54658 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
54659 echo $ECHO_N "(cached) $ECHO_C" >&6
54660 else
54664 ac_ext=cc
54665 ac_cpp='$CXXCPP $CPPFLAGS'
54666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54670 cat >conftest.$ac_ext <<_ACEOF
54671 /* confdefs.h. */
54672 _ACEOF
54673 cat confdefs.h >>conftest.$ac_ext
54674 cat >>conftest.$ac_ext <<_ACEOF
54675 /* end confdefs.h. */
54676 #include <math.h>
54678 main ()
54680 _atan2l(0, 0);
54682 return 0;
54684 _ACEOF
54685 rm -f conftest.$ac_objext
54686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54687 (eval $ac_compile) 2>conftest.er1
54688 ac_status=$?
54689 grep -v '^ *+' conftest.er1 >conftest.err
54690 rm -f conftest.er1
54691 cat conftest.err >&5
54692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54693 (exit $ac_status); } &&
54694 { ac_try='test -z "$ac_cxx_werror_flag"
54695 || test ! -s conftest.err'
54696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54697 (eval $ac_try) 2>&5
54698 ac_status=$?
54699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54700 (exit $ac_status); }; } &&
54701 { ac_try='test -s conftest.$ac_objext'
54702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54703 (eval $ac_try) 2>&5
54704 ac_status=$?
54705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54706 (exit $ac_status); }; }; then
54707 glibcxx_cv_func__atan2l_use=yes
54708 else
54709 echo "$as_me: failed program was:" >&5
54710 sed 's/^/| /' conftest.$ac_ext >&5
54712 glibcxx_cv_func__atan2l_use=no
54714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54715 ac_ext=c
54716 ac_cpp='$CPP $CPPFLAGS'
54717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54725 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
54726 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
54728 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54730 for ac_func in _atan2l
54732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54733 echo "$as_me:$LINENO: checking for $ac_func" >&5
54734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54735 if eval "test \"\${$as_ac_var+set}\" = set"; then
54736 echo $ECHO_N "(cached) $ECHO_C" >&6
54737 else
54738 if test x$gcc_no_link = xyes; then
54739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54741 { (exit 1); exit 1; }; }
54743 cat >conftest.$ac_ext <<_ACEOF
54744 /* confdefs.h. */
54745 _ACEOF
54746 cat confdefs.h >>conftest.$ac_ext
54747 cat >>conftest.$ac_ext <<_ACEOF
54748 /* end confdefs.h. */
54749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54751 #define $ac_func innocuous_$ac_func
54753 /* System header to define __stub macros and hopefully few prototypes,
54754 which can conflict with char $ac_func (); below.
54755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54756 <limits.h> exists even on freestanding compilers. */
54758 #ifdef __STDC__
54759 # include <limits.h>
54760 #else
54761 # include <assert.h>
54762 #endif
54764 #undef $ac_func
54766 /* Override any gcc2 internal prototype to avoid an error. */
54767 #ifdef __cplusplus
54768 extern "C"
54770 #endif
54771 /* We use char because int might match the return type of a gcc2
54772 builtin and then its argument prototype would still apply. */
54773 char $ac_func ();
54774 /* The GNU C library defines this for functions which it implements
54775 to always fail with ENOSYS. Some functions are actually named
54776 something starting with __ and the normal name is an alias. */
54777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54778 choke me
54779 #else
54780 char (*f) () = $ac_func;
54781 #endif
54782 #ifdef __cplusplus
54784 #endif
54787 main ()
54789 return f != $ac_func;
54791 return 0;
54793 _ACEOF
54794 rm -f conftest.$ac_objext conftest$ac_exeext
54795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54796 (eval $ac_link) 2>conftest.er1
54797 ac_status=$?
54798 grep -v '^ *+' conftest.er1 >conftest.err
54799 rm -f conftest.er1
54800 cat conftest.err >&5
54801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54802 (exit $ac_status); } &&
54803 { ac_try='test -z "$ac_c_werror_flag"
54804 || test ! -s conftest.err'
54805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54806 (eval $ac_try) 2>&5
54807 ac_status=$?
54808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54809 (exit $ac_status); }; } &&
54810 { ac_try='test -s conftest$ac_exeext'
54811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54812 (eval $ac_try) 2>&5
54813 ac_status=$?
54814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54815 (exit $ac_status); }; }; then
54816 eval "$as_ac_var=yes"
54817 else
54818 echo "$as_me: failed program was:" >&5
54819 sed 's/^/| /' conftest.$ac_ext >&5
54821 eval "$as_ac_var=no"
54823 rm -f conftest.err conftest.$ac_objext \
54824 conftest$ac_exeext conftest.$ac_ext
54826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54828 if test `eval echo '${'$as_ac_var'}'` = yes; then
54829 cat >>confdefs.h <<_ACEOF
54830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54831 _ACEOF
54834 done
54844 echo "$as_me:$LINENO: checking for expl declaration" >&5
54845 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
54846 if test x${glibcxx_cv_func_expl_use+set} != xset; then
54847 if test "${glibcxx_cv_func_expl_use+set}" = set; then
54848 echo $ECHO_N "(cached) $ECHO_C" >&6
54849 else
54853 ac_ext=cc
54854 ac_cpp='$CXXCPP $CPPFLAGS'
54855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54859 cat >conftest.$ac_ext <<_ACEOF
54860 /* confdefs.h. */
54861 _ACEOF
54862 cat confdefs.h >>conftest.$ac_ext
54863 cat >>conftest.$ac_ext <<_ACEOF
54864 /* end confdefs.h. */
54865 #include <math.h>
54866 #ifdef HAVE_IEEEFP_H
54867 #include <ieeefp.h>
54868 #endif
54871 main ()
54873 expl(0);
54875 return 0;
54877 _ACEOF
54878 rm -f conftest.$ac_objext
54879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54880 (eval $ac_compile) 2>conftest.er1
54881 ac_status=$?
54882 grep -v '^ *+' conftest.er1 >conftest.err
54883 rm -f conftest.er1
54884 cat conftest.err >&5
54885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54886 (exit $ac_status); } &&
54887 { ac_try='test -z "$ac_cxx_werror_flag"
54888 || test ! -s conftest.err'
54889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54890 (eval $ac_try) 2>&5
54891 ac_status=$?
54892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54893 (exit $ac_status); }; } &&
54894 { ac_try='test -s conftest.$ac_objext'
54895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54896 (eval $ac_try) 2>&5
54897 ac_status=$?
54898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54899 (exit $ac_status); }; }; then
54900 glibcxx_cv_func_expl_use=yes
54901 else
54902 echo "$as_me: failed program was:" >&5
54903 sed 's/^/| /' conftest.$ac_ext >&5
54905 glibcxx_cv_func_expl_use=no
54907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54908 ac_ext=c
54909 ac_cpp='$CPP $CPPFLAGS'
54910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54918 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
54919 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
54921 if test x$glibcxx_cv_func_expl_use = x"yes"; then
54923 for ac_func in expl
54925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54926 echo "$as_me:$LINENO: checking for $ac_func" >&5
54927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54928 if eval "test \"\${$as_ac_var+set}\" = set"; then
54929 echo $ECHO_N "(cached) $ECHO_C" >&6
54930 else
54931 if test x$gcc_no_link = xyes; then
54932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54934 { (exit 1); exit 1; }; }
54936 cat >conftest.$ac_ext <<_ACEOF
54937 /* confdefs.h. */
54938 _ACEOF
54939 cat confdefs.h >>conftest.$ac_ext
54940 cat >>conftest.$ac_ext <<_ACEOF
54941 /* end confdefs.h. */
54942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54944 #define $ac_func innocuous_$ac_func
54946 /* System header to define __stub macros and hopefully few prototypes,
54947 which can conflict with char $ac_func (); below.
54948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54949 <limits.h> exists even on freestanding compilers. */
54951 #ifdef __STDC__
54952 # include <limits.h>
54953 #else
54954 # include <assert.h>
54955 #endif
54957 #undef $ac_func
54959 /* Override any gcc2 internal prototype to avoid an error. */
54960 #ifdef __cplusplus
54961 extern "C"
54963 #endif
54964 /* We use char because int might match the return type of a gcc2
54965 builtin and then its argument prototype would still apply. */
54966 char $ac_func ();
54967 /* The GNU C library defines this for functions which it implements
54968 to always fail with ENOSYS. Some functions are actually named
54969 something starting with __ and the normal name is an alias. */
54970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54971 choke me
54972 #else
54973 char (*f) () = $ac_func;
54974 #endif
54975 #ifdef __cplusplus
54977 #endif
54980 main ()
54982 return f != $ac_func;
54984 return 0;
54986 _ACEOF
54987 rm -f conftest.$ac_objext conftest$ac_exeext
54988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54989 (eval $ac_link) 2>conftest.er1
54990 ac_status=$?
54991 grep -v '^ *+' conftest.er1 >conftest.err
54992 rm -f conftest.er1
54993 cat conftest.err >&5
54994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54995 (exit $ac_status); } &&
54996 { ac_try='test -z "$ac_c_werror_flag"
54997 || test ! -s conftest.err'
54998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54999 (eval $ac_try) 2>&5
55000 ac_status=$?
55001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55002 (exit $ac_status); }; } &&
55003 { ac_try='test -s conftest$ac_exeext'
55004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55005 (eval $ac_try) 2>&5
55006 ac_status=$?
55007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55008 (exit $ac_status); }; }; then
55009 eval "$as_ac_var=yes"
55010 else
55011 echo "$as_me: failed program was:" >&5
55012 sed 's/^/| /' conftest.$ac_ext >&5
55014 eval "$as_ac_var=no"
55016 rm -f conftest.err conftest.$ac_objext \
55017 conftest$ac_exeext conftest.$ac_ext
55019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55021 if test `eval echo '${'$as_ac_var'}'` = yes; then
55022 cat >>confdefs.h <<_ACEOF
55023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55024 _ACEOF
55027 done
55029 else
55031 echo "$as_me:$LINENO: checking for _expl declaration" >&5
55032 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
55033 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55034 if test "${glibcxx_cv_func__expl_use+set}" = set; then
55035 echo $ECHO_N "(cached) $ECHO_C" >&6
55036 else
55040 ac_ext=cc
55041 ac_cpp='$CXXCPP $CPPFLAGS'
55042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55046 cat >conftest.$ac_ext <<_ACEOF
55047 /* confdefs.h. */
55048 _ACEOF
55049 cat confdefs.h >>conftest.$ac_ext
55050 cat >>conftest.$ac_ext <<_ACEOF
55051 /* end confdefs.h. */
55052 #include <math.h>
55053 #ifdef HAVE_IEEEFP_H
55054 #include <ieeefp.h>
55055 #endif
55058 main ()
55060 _expl(0);
55062 return 0;
55064 _ACEOF
55065 rm -f conftest.$ac_objext
55066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55067 (eval $ac_compile) 2>conftest.er1
55068 ac_status=$?
55069 grep -v '^ *+' conftest.er1 >conftest.err
55070 rm -f conftest.er1
55071 cat conftest.err >&5
55072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55073 (exit $ac_status); } &&
55074 { ac_try='test -z "$ac_cxx_werror_flag"
55075 || test ! -s conftest.err'
55076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55077 (eval $ac_try) 2>&5
55078 ac_status=$?
55079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55080 (exit $ac_status); }; } &&
55081 { ac_try='test -s conftest.$ac_objext'
55082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55083 (eval $ac_try) 2>&5
55084 ac_status=$?
55085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55086 (exit $ac_status); }; }; then
55087 glibcxx_cv_func__expl_use=yes
55088 else
55089 echo "$as_me: failed program was:" >&5
55090 sed 's/^/| /' conftest.$ac_ext >&5
55092 glibcxx_cv_func__expl_use=no
55094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55095 ac_ext=c
55096 ac_cpp='$CPP $CPPFLAGS'
55097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55105 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
55106 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
55108 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55110 for ac_func in _expl
55112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55113 echo "$as_me:$LINENO: checking for $ac_func" >&5
55114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55115 if eval "test \"\${$as_ac_var+set}\" = set"; then
55116 echo $ECHO_N "(cached) $ECHO_C" >&6
55117 else
55118 if test x$gcc_no_link = xyes; then
55119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55121 { (exit 1); exit 1; }; }
55123 cat >conftest.$ac_ext <<_ACEOF
55124 /* confdefs.h. */
55125 _ACEOF
55126 cat confdefs.h >>conftest.$ac_ext
55127 cat >>conftest.$ac_ext <<_ACEOF
55128 /* end confdefs.h. */
55129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55131 #define $ac_func innocuous_$ac_func
55133 /* System header to define __stub macros and hopefully few prototypes,
55134 which can conflict with char $ac_func (); below.
55135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55136 <limits.h> exists even on freestanding compilers. */
55138 #ifdef __STDC__
55139 # include <limits.h>
55140 #else
55141 # include <assert.h>
55142 #endif
55144 #undef $ac_func
55146 /* Override any gcc2 internal prototype to avoid an error. */
55147 #ifdef __cplusplus
55148 extern "C"
55150 #endif
55151 /* We use char because int might match the return type of a gcc2
55152 builtin and then its argument prototype would still apply. */
55153 char $ac_func ();
55154 /* The GNU C library defines this for functions which it implements
55155 to always fail with ENOSYS. Some functions are actually named
55156 something starting with __ and the normal name is an alias. */
55157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55158 choke me
55159 #else
55160 char (*f) () = $ac_func;
55161 #endif
55162 #ifdef __cplusplus
55164 #endif
55167 main ()
55169 return f != $ac_func;
55171 return 0;
55173 _ACEOF
55174 rm -f conftest.$ac_objext conftest$ac_exeext
55175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55176 (eval $ac_link) 2>conftest.er1
55177 ac_status=$?
55178 grep -v '^ *+' conftest.er1 >conftest.err
55179 rm -f conftest.er1
55180 cat conftest.err >&5
55181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55182 (exit $ac_status); } &&
55183 { ac_try='test -z "$ac_c_werror_flag"
55184 || test ! -s conftest.err'
55185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55186 (eval $ac_try) 2>&5
55187 ac_status=$?
55188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55189 (exit $ac_status); }; } &&
55190 { ac_try='test -s conftest$ac_exeext'
55191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55192 (eval $ac_try) 2>&5
55193 ac_status=$?
55194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55195 (exit $ac_status); }; }; then
55196 eval "$as_ac_var=yes"
55197 else
55198 echo "$as_me: failed program was:" >&5
55199 sed 's/^/| /' conftest.$ac_ext >&5
55201 eval "$as_ac_var=no"
55203 rm -f conftest.err conftest.$ac_objext \
55204 conftest$ac_exeext conftest.$ac_ext
55206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55208 if test `eval echo '${'$as_ac_var'}'` = yes; then
55209 cat >>confdefs.h <<_ACEOF
55210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55211 _ACEOF
55214 done
55224 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
55225 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
55226 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55227 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
55228 echo $ECHO_N "(cached) $ECHO_C" >&6
55229 else
55233 ac_ext=cc
55234 ac_cpp='$CXXCPP $CPPFLAGS'
55235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55239 cat >conftest.$ac_ext <<_ACEOF
55240 /* confdefs.h. */
55241 _ACEOF
55242 cat confdefs.h >>conftest.$ac_ext
55243 cat >>conftest.$ac_ext <<_ACEOF
55244 /* end confdefs.h. */
55245 #include <math.h>
55246 #ifdef HAVE_IEEEFP_H
55247 #include <ieeefp.h>
55248 #endif
55251 main ()
55253 fabsl(0);
55255 return 0;
55257 _ACEOF
55258 rm -f conftest.$ac_objext
55259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55260 (eval $ac_compile) 2>conftest.er1
55261 ac_status=$?
55262 grep -v '^ *+' conftest.er1 >conftest.err
55263 rm -f conftest.er1
55264 cat conftest.err >&5
55265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55266 (exit $ac_status); } &&
55267 { ac_try='test -z "$ac_cxx_werror_flag"
55268 || test ! -s conftest.err'
55269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55270 (eval $ac_try) 2>&5
55271 ac_status=$?
55272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55273 (exit $ac_status); }; } &&
55274 { ac_try='test -s conftest.$ac_objext'
55275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55276 (eval $ac_try) 2>&5
55277 ac_status=$?
55278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55279 (exit $ac_status); }; }; then
55280 glibcxx_cv_func_fabsl_use=yes
55281 else
55282 echo "$as_me: failed program was:" >&5
55283 sed 's/^/| /' conftest.$ac_ext >&5
55285 glibcxx_cv_func_fabsl_use=no
55287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55288 ac_ext=c
55289 ac_cpp='$CPP $CPPFLAGS'
55290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55298 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
55299 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
55301 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55303 for ac_func in fabsl
55305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55306 echo "$as_me:$LINENO: checking for $ac_func" >&5
55307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55308 if eval "test \"\${$as_ac_var+set}\" = set"; then
55309 echo $ECHO_N "(cached) $ECHO_C" >&6
55310 else
55311 if test x$gcc_no_link = xyes; then
55312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55314 { (exit 1); exit 1; }; }
55316 cat >conftest.$ac_ext <<_ACEOF
55317 /* confdefs.h. */
55318 _ACEOF
55319 cat confdefs.h >>conftest.$ac_ext
55320 cat >>conftest.$ac_ext <<_ACEOF
55321 /* end confdefs.h. */
55322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55324 #define $ac_func innocuous_$ac_func
55326 /* System header to define __stub macros and hopefully few prototypes,
55327 which can conflict with char $ac_func (); below.
55328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55329 <limits.h> exists even on freestanding compilers. */
55331 #ifdef __STDC__
55332 # include <limits.h>
55333 #else
55334 # include <assert.h>
55335 #endif
55337 #undef $ac_func
55339 /* Override any gcc2 internal prototype to avoid an error. */
55340 #ifdef __cplusplus
55341 extern "C"
55343 #endif
55344 /* We use char because int might match the return type of a gcc2
55345 builtin and then its argument prototype would still apply. */
55346 char $ac_func ();
55347 /* The GNU C library defines this for functions which it implements
55348 to always fail with ENOSYS. Some functions are actually named
55349 something starting with __ and the normal name is an alias. */
55350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55351 choke me
55352 #else
55353 char (*f) () = $ac_func;
55354 #endif
55355 #ifdef __cplusplus
55357 #endif
55360 main ()
55362 return f != $ac_func;
55364 return 0;
55366 _ACEOF
55367 rm -f conftest.$ac_objext conftest$ac_exeext
55368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55369 (eval $ac_link) 2>conftest.er1
55370 ac_status=$?
55371 grep -v '^ *+' conftest.er1 >conftest.err
55372 rm -f conftest.er1
55373 cat conftest.err >&5
55374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55375 (exit $ac_status); } &&
55376 { ac_try='test -z "$ac_c_werror_flag"
55377 || test ! -s conftest.err'
55378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55379 (eval $ac_try) 2>&5
55380 ac_status=$?
55381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55382 (exit $ac_status); }; } &&
55383 { ac_try='test -s conftest$ac_exeext'
55384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55385 (eval $ac_try) 2>&5
55386 ac_status=$?
55387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55388 (exit $ac_status); }; }; then
55389 eval "$as_ac_var=yes"
55390 else
55391 echo "$as_me: failed program was:" >&5
55392 sed 's/^/| /' conftest.$ac_ext >&5
55394 eval "$as_ac_var=no"
55396 rm -f conftest.err conftest.$ac_objext \
55397 conftest$ac_exeext conftest.$ac_ext
55399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55401 if test `eval echo '${'$as_ac_var'}'` = yes; then
55402 cat >>confdefs.h <<_ACEOF
55403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55404 _ACEOF
55407 done
55409 else
55411 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
55412 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
55413 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55414 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
55415 echo $ECHO_N "(cached) $ECHO_C" >&6
55416 else
55420 ac_ext=cc
55421 ac_cpp='$CXXCPP $CPPFLAGS'
55422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55426 cat >conftest.$ac_ext <<_ACEOF
55427 /* confdefs.h. */
55428 _ACEOF
55429 cat confdefs.h >>conftest.$ac_ext
55430 cat >>conftest.$ac_ext <<_ACEOF
55431 /* end confdefs.h. */
55432 #include <math.h>
55433 #ifdef HAVE_IEEEFP_H
55434 #include <ieeefp.h>
55435 #endif
55438 main ()
55440 _fabsl(0);
55442 return 0;
55444 _ACEOF
55445 rm -f conftest.$ac_objext
55446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55447 (eval $ac_compile) 2>conftest.er1
55448 ac_status=$?
55449 grep -v '^ *+' conftest.er1 >conftest.err
55450 rm -f conftest.er1
55451 cat conftest.err >&5
55452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55453 (exit $ac_status); } &&
55454 { ac_try='test -z "$ac_cxx_werror_flag"
55455 || test ! -s conftest.err'
55456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55457 (eval $ac_try) 2>&5
55458 ac_status=$?
55459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55460 (exit $ac_status); }; } &&
55461 { ac_try='test -s conftest.$ac_objext'
55462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55463 (eval $ac_try) 2>&5
55464 ac_status=$?
55465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55466 (exit $ac_status); }; }; then
55467 glibcxx_cv_func__fabsl_use=yes
55468 else
55469 echo "$as_me: failed program was:" >&5
55470 sed 's/^/| /' conftest.$ac_ext >&5
55472 glibcxx_cv_func__fabsl_use=no
55474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55475 ac_ext=c
55476 ac_cpp='$CPP $CPPFLAGS'
55477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55485 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
55486 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
55488 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55490 for ac_func in _fabsl
55492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55493 echo "$as_me:$LINENO: checking for $ac_func" >&5
55494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55495 if eval "test \"\${$as_ac_var+set}\" = set"; then
55496 echo $ECHO_N "(cached) $ECHO_C" >&6
55497 else
55498 if test x$gcc_no_link = xyes; then
55499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55501 { (exit 1); exit 1; }; }
55503 cat >conftest.$ac_ext <<_ACEOF
55504 /* confdefs.h. */
55505 _ACEOF
55506 cat confdefs.h >>conftest.$ac_ext
55507 cat >>conftest.$ac_ext <<_ACEOF
55508 /* end confdefs.h. */
55509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55511 #define $ac_func innocuous_$ac_func
55513 /* System header to define __stub macros and hopefully few prototypes,
55514 which can conflict with char $ac_func (); below.
55515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55516 <limits.h> exists even on freestanding compilers. */
55518 #ifdef __STDC__
55519 # include <limits.h>
55520 #else
55521 # include <assert.h>
55522 #endif
55524 #undef $ac_func
55526 /* Override any gcc2 internal prototype to avoid an error. */
55527 #ifdef __cplusplus
55528 extern "C"
55530 #endif
55531 /* We use char because int might match the return type of a gcc2
55532 builtin and then its argument prototype would still apply. */
55533 char $ac_func ();
55534 /* The GNU C library defines this for functions which it implements
55535 to always fail with ENOSYS. Some functions are actually named
55536 something starting with __ and the normal name is an alias. */
55537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55538 choke me
55539 #else
55540 char (*f) () = $ac_func;
55541 #endif
55542 #ifdef __cplusplus
55544 #endif
55547 main ()
55549 return f != $ac_func;
55551 return 0;
55553 _ACEOF
55554 rm -f conftest.$ac_objext conftest$ac_exeext
55555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55556 (eval $ac_link) 2>conftest.er1
55557 ac_status=$?
55558 grep -v '^ *+' conftest.er1 >conftest.err
55559 rm -f conftest.er1
55560 cat conftest.err >&5
55561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55562 (exit $ac_status); } &&
55563 { ac_try='test -z "$ac_c_werror_flag"
55564 || test ! -s conftest.err'
55565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55566 (eval $ac_try) 2>&5
55567 ac_status=$?
55568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55569 (exit $ac_status); }; } &&
55570 { ac_try='test -s conftest$ac_exeext'
55571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55572 (eval $ac_try) 2>&5
55573 ac_status=$?
55574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55575 (exit $ac_status); }; }; then
55576 eval "$as_ac_var=yes"
55577 else
55578 echo "$as_me: failed program was:" >&5
55579 sed 's/^/| /' conftest.$ac_ext >&5
55581 eval "$as_ac_var=no"
55583 rm -f conftest.err conftest.$ac_objext \
55584 conftest$ac_exeext conftest.$ac_ext
55586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55588 if test `eval echo '${'$as_ac_var'}'` = yes; then
55589 cat >>confdefs.h <<_ACEOF
55590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55591 _ACEOF
55594 done
55604 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
55605 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
55606 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55607 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
55608 echo $ECHO_N "(cached) $ECHO_C" >&6
55609 else
55613 ac_ext=cc
55614 ac_cpp='$CXXCPP $CPPFLAGS'
55615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55619 cat >conftest.$ac_ext <<_ACEOF
55620 /* confdefs.h. */
55621 _ACEOF
55622 cat confdefs.h >>conftest.$ac_ext
55623 cat >>conftest.$ac_ext <<_ACEOF
55624 /* end confdefs.h. */
55625 #include <math.h>
55627 main ()
55629 fmodl(0, 0);
55631 return 0;
55633 _ACEOF
55634 rm -f conftest.$ac_objext
55635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55636 (eval $ac_compile) 2>conftest.er1
55637 ac_status=$?
55638 grep -v '^ *+' conftest.er1 >conftest.err
55639 rm -f conftest.er1
55640 cat conftest.err >&5
55641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55642 (exit $ac_status); } &&
55643 { ac_try='test -z "$ac_cxx_werror_flag"
55644 || test ! -s conftest.err'
55645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55646 (eval $ac_try) 2>&5
55647 ac_status=$?
55648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55649 (exit $ac_status); }; } &&
55650 { ac_try='test -s conftest.$ac_objext'
55651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55652 (eval $ac_try) 2>&5
55653 ac_status=$?
55654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55655 (exit $ac_status); }; }; then
55656 glibcxx_cv_func_fmodl_use=yes
55657 else
55658 echo "$as_me: failed program was:" >&5
55659 sed 's/^/| /' conftest.$ac_ext >&5
55661 glibcxx_cv_func_fmodl_use=no
55663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55664 ac_ext=c
55665 ac_cpp='$CPP $CPPFLAGS'
55666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55674 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
55675 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
55677 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55679 for ac_func in fmodl
55681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55682 echo "$as_me:$LINENO: checking for $ac_func" >&5
55683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55684 if eval "test \"\${$as_ac_var+set}\" = set"; then
55685 echo $ECHO_N "(cached) $ECHO_C" >&6
55686 else
55687 if test x$gcc_no_link = xyes; then
55688 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55690 { (exit 1); exit 1; }; }
55692 cat >conftest.$ac_ext <<_ACEOF
55693 /* confdefs.h. */
55694 _ACEOF
55695 cat confdefs.h >>conftest.$ac_ext
55696 cat >>conftest.$ac_ext <<_ACEOF
55697 /* end confdefs.h. */
55698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55700 #define $ac_func innocuous_$ac_func
55702 /* System header to define __stub macros and hopefully few prototypes,
55703 which can conflict with char $ac_func (); below.
55704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55705 <limits.h> exists even on freestanding compilers. */
55707 #ifdef __STDC__
55708 # include <limits.h>
55709 #else
55710 # include <assert.h>
55711 #endif
55713 #undef $ac_func
55715 /* Override any gcc2 internal prototype to avoid an error. */
55716 #ifdef __cplusplus
55717 extern "C"
55719 #endif
55720 /* We use char because int might match the return type of a gcc2
55721 builtin and then its argument prototype would still apply. */
55722 char $ac_func ();
55723 /* The GNU C library defines this for functions which it implements
55724 to always fail with ENOSYS. Some functions are actually named
55725 something starting with __ and the normal name is an alias. */
55726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55727 choke me
55728 #else
55729 char (*f) () = $ac_func;
55730 #endif
55731 #ifdef __cplusplus
55733 #endif
55736 main ()
55738 return f != $ac_func;
55740 return 0;
55742 _ACEOF
55743 rm -f conftest.$ac_objext conftest$ac_exeext
55744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55745 (eval $ac_link) 2>conftest.er1
55746 ac_status=$?
55747 grep -v '^ *+' conftest.er1 >conftest.err
55748 rm -f conftest.er1
55749 cat conftest.err >&5
55750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55751 (exit $ac_status); } &&
55752 { ac_try='test -z "$ac_c_werror_flag"
55753 || test ! -s conftest.err'
55754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55755 (eval $ac_try) 2>&5
55756 ac_status=$?
55757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55758 (exit $ac_status); }; } &&
55759 { ac_try='test -s conftest$ac_exeext'
55760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55761 (eval $ac_try) 2>&5
55762 ac_status=$?
55763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55764 (exit $ac_status); }; }; then
55765 eval "$as_ac_var=yes"
55766 else
55767 echo "$as_me: failed program was:" >&5
55768 sed 's/^/| /' conftest.$ac_ext >&5
55770 eval "$as_ac_var=no"
55772 rm -f conftest.err conftest.$ac_objext \
55773 conftest$ac_exeext conftest.$ac_ext
55775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55777 if test `eval echo '${'$as_ac_var'}'` = yes; then
55778 cat >>confdefs.h <<_ACEOF
55779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55780 _ACEOF
55783 done
55785 else
55787 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
55788 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
55789 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55790 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
55791 echo $ECHO_N "(cached) $ECHO_C" >&6
55792 else
55796 ac_ext=cc
55797 ac_cpp='$CXXCPP $CPPFLAGS'
55798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55802 cat >conftest.$ac_ext <<_ACEOF
55803 /* confdefs.h. */
55804 _ACEOF
55805 cat confdefs.h >>conftest.$ac_ext
55806 cat >>conftest.$ac_ext <<_ACEOF
55807 /* end confdefs.h. */
55808 #include <math.h>
55810 main ()
55812 _fmodl(0, 0);
55814 return 0;
55816 _ACEOF
55817 rm -f conftest.$ac_objext
55818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55819 (eval $ac_compile) 2>conftest.er1
55820 ac_status=$?
55821 grep -v '^ *+' conftest.er1 >conftest.err
55822 rm -f conftest.er1
55823 cat conftest.err >&5
55824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55825 (exit $ac_status); } &&
55826 { ac_try='test -z "$ac_cxx_werror_flag"
55827 || test ! -s conftest.err'
55828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55829 (eval $ac_try) 2>&5
55830 ac_status=$?
55831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55832 (exit $ac_status); }; } &&
55833 { ac_try='test -s conftest.$ac_objext'
55834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55835 (eval $ac_try) 2>&5
55836 ac_status=$?
55837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55838 (exit $ac_status); }; }; then
55839 glibcxx_cv_func__fmodl_use=yes
55840 else
55841 echo "$as_me: failed program was:" >&5
55842 sed 's/^/| /' conftest.$ac_ext >&5
55844 glibcxx_cv_func__fmodl_use=no
55846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55847 ac_ext=c
55848 ac_cpp='$CPP $CPPFLAGS'
55849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55857 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
55858 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
55860 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55862 for ac_func in _fmodl
55864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55865 echo "$as_me:$LINENO: checking for $ac_func" >&5
55866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55867 if eval "test \"\${$as_ac_var+set}\" = set"; then
55868 echo $ECHO_N "(cached) $ECHO_C" >&6
55869 else
55870 if test x$gcc_no_link = xyes; then
55871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55873 { (exit 1); exit 1; }; }
55875 cat >conftest.$ac_ext <<_ACEOF
55876 /* confdefs.h. */
55877 _ACEOF
55878 cat confdefs.h >>conftest.$ac_ext
55879 cat >>conftest.$ac_ext <<_ACEOF
55880 /* end confdefs.h. */
55881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55883 #define $ac_func innocuous_$ac_func
55885 /* System header to define __stub macros and hopefully few prototypes,
55886 which can conflict with char $ac_func (); below.
55887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55888 <limits.h> exists even on freestanding compilers. */
55890 #ifdef __STDC__
55891 # include <limits.h>
55892 #else
55893 # include <assert.h>
55894 #endif
55896 #undef $ac_func
55898 /* Override any gcc2 internal prototype to avoid an error. */
55899 #ifdef __cplusplus
55900 extern "C"
55902 #endif
55903 /* We use char because int might match the return type of a gcc2
55904 builtin and then its argument prototype would still apply. */
55905 char $ac_func ();
55906 /* The GNU C library defines this for functions which it implements
55907 to always fail with ENOSYS. Some functions are actually named
55908 something starting with __ and the normal name is an alias. */
55909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55910 choke me
55911 #else
55912 char (*f) () = $ac_func;
55913 #endif
55914 #ifdef __cplusplus
55916 #endif
55919 main ()
55921 return f != $ac_func;
55923 return 0;
55925 _ACEOF
55926 rm -f conftest.$ac_objext conftest$ac_exeext
55927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55928 (eval $ac_link) 2>conftest.er1
55929 ac_status=$?
55930 grep -v '^ *+' conftest.er1 >conftest.err
55931 rm -f conftest.er1
55932 cat conftest.err >&5
55933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55934 (exit $ac_status); } &&
55935 { ac_try='test -z "$ac_c_werror_flag"
55936 || test ! -s conftest.err'
55937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55938 (eval $ac_try) 2>&5
55939 ac_status=$?
55940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55941 (exit $ac_status); }; } &&
55942 { ac_try='test -s conftest$ac_exeext'
55943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55944 (eval $ac_try) 2>&5
55945 ac_status=$?
55946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55947 (exit $ac_status); }; }; then
55948 eval "$as_ac_var=yes"
55949 else
55950 echo "$as_me: failed program was:" >&5
55951 sed 's/^/| /' conftest.$ac_ext >&5
55953 eval "$as_ac_var=no"
55955 rm -f conftest.err conftest.$ac_objext \
55956 conftest$ac_exeext conftest.$ac_ext
55958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55960 if test `eval echo '${'$as_ac_var'}'` = yes; then
55961 cat >>confdefs.h <<_ACEOF
55962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55963 _ACEOF
55966 done
55976 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
55977 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
55978 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55979 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
55980 echo $ECHO_N "(cached) $ECHO_C" >&6
55981 else
55985 ac_ext=cc
55986 ac_cpp='$CXXCPP $CPPFLAGS'
55987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55991 cat >conftest.$ac_ext <<_ACEOF
55992 /* confdefs.h. */
55993 _ACEOF
55994 cat confdefs.h >>conftest.$ac_ext
55995 cat >>conftest.$ac_ext <<_ACEOF
55996 /* end confdefs.h. */
55997 #include <math.h>
55999 main ()
56001 frexpl(0, 0);
56003 return 0;
56005 _ACEOF
56006 rm -f conftest.$ac_objext
56007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56008 (eval $ac_compile) 2>conftest.er1
56009 ac_status=$?
56010 grep -v '^ *+' conftest.er1 >conftest.err
56011 rm -f conftest.er1
56012 cat conftest.err >&5
56013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56014 (exit $ac_status); } &&
56015 { ac_try='test -z "$ac_cxx_werror_flag"
56016 || test ! -s conftest.err'
56017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56018 (eval $ac_try) 2>&5
56019 ac_status=$?
56020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56021 (exit $ac_status); }; } &&
56022 { ac_try='test -s conftest.$ac_objext'
56023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56024 (eval $ac_try) 2>&5
56025 ac_status=$?
56026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56027 (exit $ac_status); }; }; then
56028 glibcxx_cv_func_frexpl_use=yes
56029 else
56030 echo "$as_me: failed program was:" >&5
56031 sed 's/^/| /' conftest.$ac_ext >&5
56033 glibcxx_cv_func_frexpl_use=no
56035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56036 ac_ext=c
56037 ac_cpp='$CPP $CPPFLAGS'
56038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56046 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
56047 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
56049 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56051 for ac_func in frexpl
56053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56054 echo "$as_me:$LINENO: checking for $ac_func" >&5
56055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56056 if eval "test \"\${$as_ac_var+set}\" = set"; then
56057 echo $ECHO_N "(cached) $ECHO_C" >&6
56058 else
56059 if test x$gcc_no_link = xyes; then
56060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56062 { (exit 1); exit 1; }; }
56064 cat >conftest.$ac_ext <<_ACEOF
56065 /* confdefs.h. */
56066 _ACEOF
56067 cat confdefs.h >>conftest.$ac_ext
56068 cat >>conftest.$ac_ext <<_ACEOF
56069 /* end confdefs.h. */
56070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56072 #define $ac_func innocuous_$ac_func
56074 /* System header to define __stub macros and hopefully few prototypes,
56075 which can conflict with char $ac_func (); below.
56076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56077 <limits.h> exists even on freestanding compilers. */
56079 #ifdef __STDC__
56080 # include <limits.h>
56081 #else
56082 # include <assert.h>
56083 #endif
56085 #undef $ac_func
56087 /* Override any gcc2 internal prototype to avoid an error. */
56088 #ifdef __cplusplus
56089 extern "C"
56091 #endif
56092 /* We use char because int might match the return type of a gcc2
56093 builtin and then its argument prototype would still apply. */
56094 char $ac_func ();
56095 /* The GNU C library defines this for functions which it implements
56096 to always fail with ENOSYS. Some functions are actually named
56097 something starting with __ and the normal name is an alias. */
56098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56099 choke me
56100 #else
56101 char (*f) () = $ac_func;
56102 #endif
56103 #ifdef __cplusplus
56105 #endif
56108 main ()
56110 return f != $ac_func;
56112 return 0;
56114 _ACEOF
56115 rm -f conftest.$ac_objext conftest$ac_exeext
56116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56117 (eval $ac_link) 2>conftest.er1
56118 ac_status=$?
56119 grep -v '^ *+' conftest.er1 >conftest.err
56120 rm -f conftest.er1
56121 cat conftest.err >&5
56122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56123 (exit $ac_status); } &&
56124 { ac_try='test -z "$ac_c_werror_flag"
56125 || test ! -s conftest.err'
56126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56127 (eval $ac_try) 2>&5
56128 ac_status=$?
56129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56130 (exit $ac_status); }; } &&
56131 { ac_try='test -s conftest$ac_exeext'
56132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56133 (eval $ac_try) 2>&5
56134 ac_status=$?
56135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56136 (exit $ac_status); }; }; then
56137 eval "$as_ac_var=yes"
56138 else
56139 echo "$as_me: failed program was:" >&5
56140 sed 's/^/| /' conftest.$ac_ext >&5
56142 eval "$as_ac_var=no"
56144 rm -f conftest.err conftest.$ac_objext \
56145 conftest$ac_exeext conftest.$ac_ext
56147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56149 if test `eval echo '${'$as_ac_var'}'` = yes; then
56150 cat >>confdefs.h <<_ACEOF
56151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56152 _ACEOF
56155 done
56157 else
56159 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
56160 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
56161 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56162 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
56163 echo $ECHO_N "(cached) $ECHO_C" >&6
56164 else
56168 ac_ext=cc
56169 ac_cpp='$CXXCPP $CPPFLAGS'
56170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56174 cat >conftest.$ac_ext <<_ACEOF
56175 /* confdefs.h. */
56176 _ACEOF
56177 cat confdefs.h >>conftest.$ac_ext
56178 cat >>conftest.$ac_ext <<_ACEOF
56179 /* end confdefs.h. */
56180 #include <math.h>
56182 main ()
56184 _frexpl(0, 0);
56186 return 0;
56188 _ACEOF
56189 rm -f conftest.$ac_objext
56190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56191 (eval $ac_compile) 2>conftest.er1
56192 ac_status=$?
56193 grep -v '^ *+' conftest.er1 >conftest.err
56194 rm -f conftest.er1
56195 cat conftest.err >&5
56196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56197 (exit $ac_status); } &&
56198 { ac_try='test -z "$ac_cxx_werror_flag"
56199 || test ! -s conftest.err'
56200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56201 (eval $ac_try) 2>&5
56202 ac_status=$?
56203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56204 (exit $ac_status); }; } &&
56205 { ac_try='test -s conftest.$ac_objext'
56206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56207 (eval $ac_try) 2>&5
56208 ac_status=$?
56209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56210 (exit $ac_status); }; }; then
56211 glibcxx_cv_func__frexpl_use=yes
56212 else
56213 echo "$as_me: failed program was:" >&5
56214 sed 's/^/| /' conftest.$ac_ext >&5
56216 glibcxx_cv_func__frexpl_use=no
56218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56219 ac_ext=c
56220 ac_cpp='$CPP $CPPFLAGS'
56221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56229 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
56230 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
56232 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56234 for ac_func in _frexpl
56236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56237 echo "$as_me:$LINENO: checking for $ac_func" >&5
56238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56239 if eval "test \"\${$as_ac_var+set}\" = set"; then
56240 echo $ECHO_N "(cached) $ECHO_C" >&6
56241 else
56242 if test x$gcc_no_link = xyes; then
56243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56245 { (exit 1); exit 1; }; }
56247 cat >conftest.$ac_ext <<_ACEOF
56248 /* confdefs.h. */
56249 _ACEOF
56250 cat confdefs.h >>conftest.$ac_ext
56251 cat >>conftest.$ac_ext <<_ACEOF
56252 /* end confdefs.h. */
56253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56255 #define $ac_func innocuous_$ac_func
56257 /* System header to define __stub macros and hopefully few prototypes,
56258 which can conflict with char $ac_func (); below.
56259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56260 <limits.h> exists even on freestanding compilers. */
56262 #ifdef __STDC__
56263 # include <limits.h>
56264 #else
56265 # include <assert.h>
56266 #endif
56268 #undef $ac_func
56270 /* Override any gcc2 internal prototype to avoid an error. */
56271 #ifdef __cplusplus
56272 extern "C"
56274 #endif
56275 /* We use char because int might match the return type of a gcc2
56276 builtin and then its argument prototype would still apply. */
56277 char $ac_func ();
56278 /* The GNU C library defines this for functions which it implements
56279 to always fail with ENOSYS. Some functions are actually named
56280 something starting with __ and the normal name is an alias. */
56281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56282 choke me
56283 #else
56284 char (*f) () = $ac_func;
56285 #endif
56286 #ifdef __cplusplus
56288 #endif
56291 main ()
56293 return f != $ac_func;
56295 return 0;
56297 _ACEOF
56298 rm -f conftest.$ac_objext conftest$ac_exeext
56299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56300 (eval $ac_link) 2>conftest.er1
56301 ac_status=$?
56302 grep -v '^ *+' conftest.er1 >conftest.err
56303 rm -f conftest.er1
56304 cat conftest.err >&5
56305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56306 (exit $ac_status); } &&
56307 { ac_try='test -z "$ac_c_werror_flag"
56308 || test ! -s conftest.err'
56309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56310 (eval $ac_try) 2>&5
56311 ac_status=$?
56312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56313 (exit $ac_status); }; } &&
56314 { ac_try='test -s conftest$ac_exeext'
56315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56316 (eval $ac_try) 2>&5
56317 ac_status=$?
56318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56319 (exit $ac_status); }; }; then
56320 eval "$as_ac_var=yes"
56321 else
56322 echo "$as_me: failed program was:" >&5
56323 sed 's/^/| /' conftest.$ac_ext >&5
56325 eval "$as_ac_var=no"
56327 rm -f conftest.err conftest.$ac_objext \
56328 conftest$ac_exeext conftest.$ac_ext
56330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56332 if test `eval echo '${'$as_ac_var'}'` = yes; then
56333 cat >>confdefs.h <<_ACEOF
56334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56335 _ACEOF
56338 done
56348 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
56349 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
56350 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56351 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
56352 echo $ECHO_N "(cached) $ECHO_C" >&6
56353 else
56357 ac_ext=cc
56358 ac_cpp='$CXXCPP $CPPFLAGS'
56359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56363 cat >conftest.$ac_ext <<_ACEOF
56364 /* confdefs.h. */
56365 _ACEOF
56366 cat confdefs.h >>conftest.$ac_ext
56367 cat >>conftest.$ac_ext <<_ACEOF
56368 /* end confdefs.h. */
56369 #include <math.h>
56371 main ()
56373 hypotl(0, 0);
56375 return 0;
56377 _ACEOF
56378 rm -f conftest.$ac_objext
56379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56380 (eval $ac_compile) 2>conftest.er1
56381 ac_status=$?
56382 grep -v '^ *+' conftest.er1 >conftest.err
56383 rm -f conftest.er1
56384 cat conftest.err >&5
56385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56386 (exit $ac_status); } &&
56387 { ac_try='test -z "$ac_cxx_werror_flag"
56388 || test ! -s conftest.err'
56389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56390 (eval $ac_try) 2>&5
56391 ac_status=$?
56392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56393 (exit $ac_status); }; } &&
56394 { ac_try='test -s conftest.$ac_objext'
56395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56396 (eval $ac_try) 2>&5
56397 ac_status=$?
56398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56399 (exit $ac_status); }; }; then
56400 glibcxx_cv_func_hypotl_use=yes
56401 else
56402 echo "$as_me: failed program was:" >&5
56403 sed 's/^/| /' conftest.$ac_ext >&5
56405 glibcxx_cv_func_hypotl_use=no
56407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56408 ac_ext=c
56409 ac_cpp='$CPP $CPPFLAGS'
56410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56418 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
56419 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
56421 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56423 for ac_func in hypotl
56425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56426 echo "$as_me:$LINENO: checking for $ac_func" >&5
56427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56428 if eval "test \"\${$as_ac_var+set}\" = set"; then
56429 echo $ECHO_N "(cached) $ECHO_C" >&6
56430 else
56431 if test x$gcc_no_link = xyes; then
56432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56434 { (exit 1); exit 1; }; }
56436 cat >conftest.$ac_ext <<_ACEOF
56437 /* confdefs.h. */
56438 _ACEOF
56439 cat confdefs.h >>conftest.$ac_ext
56440 cat >>conftest.$ac_ext <<_ACEOF
56441 /* end confdefs.h. */
56442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56444 #define $ac_func innocuous_$ac_func
56446 /* System header to define __stub macros and hopefully few prototypes,
56447 which can conflict with char $ac_func (); below.
56448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56449 <limits.h> exists even on freestanding compilers. */
56451 #ifdef __STDC__
56452 # include <limits.h>
56453 #else
56454 # include <assert.h>
56455 #endif
56457 #undef $ac_func
56459 /* Override any gcc2 internal prototype to avoid an error. */
56460 #ifdef __cplusplus
56461 extern "C"
56463 #endif
56464 /* We use char because int might match the return type of a gcc2
56465 builtin and then its argument prototype would still apply. */
56466 char $ac_func ();
56467 /* The GNU C library defines this for functions which it implements
56468 to always fail with ENOSYS. Some functions are actually named
56469 something starting with __ and the normal name is an alias. */
56470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56471 choke me
56472 #else
56473 char (*f) () = $ac_func;
56474 #endif
56475 #ifdef __cplusplus
56477 #endif
56480 main ()
56482 return f != $ac_func;
56484 return 0;
56486 _ACEOF
56487 rm -f conftest.$ac_objext conftest$ac_exeext
56488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56489 (eval $ac_link) 2>conftest.er1
56490 ac_status=$?
56491 grep -v '^ *+' conftest.er1 >conftest.err
56492 rm -f conftest.er1
56493 cat conftest.err >&5
56494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56495 (exit $ac_status); } &&
56496 { ac_try='test -z "$ac_c_werror_flag"
56497 || test ! -s conftest.err'
56498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56499 (eval $ac_try) 2>&5
56500 ac_status=$?
56501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56502 (exit $ac_status); }; } &&
56503 { ac_try='test -s conftest$ac_exeext'
56504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56505 (eval $ac_try) 2>&5
56506 ac_status=$?
56507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56508 (exit $ac_status); }; }; then
56509 eval "$as_ac_var=yes"
56510 else
56511 echo "$as_me: failed program was:" >&5
56512 sed 's/^/| /' conftest.$ac_ext >&5
56514 eval "$as_ac_var=no"
56516 rm -f conftest.err conftest.$ac_objext \
56517 conftest$ac_exeext conftest.$ac_ext
56519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56521 if test `eval echo '${'$as_ac_var'}'` = yes; then
56522 cat >>confdefs.h <<_ACEOF
56523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56524 _ACEOF
56527 done
56529 else
56531 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
56532 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
56533 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56534 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
56535 echo $ECHO_N "(cached) $ECHO_C" >&6
56536 else
56540 ac_ext=cc
56541 ac_cpp='$CXXCPP $CPPFLAGS'
56542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56546 cat >conftest.$ac_ext <<_ACEOF
56547 /* confdefs.h. */
56548 _ACEOF
56549 cat confdefs.h >>conftest.$ac_ext
56550 cat >>conftest.$ac_ext <<_ACEOF
56551 /* end confdefs.h. */
56552 #include <math.h>
56554 main ()
56556 _hypotl(0, 0);
56558 return 0;
56560 _ACEOF
56561 rm -f conftest.$ac_objext
56562 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56563 (eval $ac_compile) 2>conftest.er1
56564 ac_status=$?
56565 grep -v '^ *+' conftest.er1 >conftest.err
56566 rm -f conftest.er1
56567 cat conftest.err >&5
56568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56569 (exit $ac_status); } &&
56570 { ac_try='test -z "$ac_cxx_werror_flag"
56571 || test ! -s conftest.err'
56572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56573 (eval $ac_try) 2>&5
56574 ac_status=$?
56575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56576 (exit $ac_status); }; } &&
56577 { ac_try='test -s conftest.$ac_objext'
56578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56579 (eval $ac_try) 2>&5
56580 ac_status=$?
56581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56582 (exit $ac_status); }; }; then
56583 glibcxx_cv_func__hypotl_use=yes
56584 else
56585 echo "$as_me: failed program was:" >&5
56586 sed 's/^/| /' conftest.$ac_ext >&5
56588 glibcxx_cv_func__hypotl_use=no
56590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56591 ac_ext=c
56592 ac_cpp='$CPP $CPPFLAGS'
56593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56601 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
56602 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
56604 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56606 for ac_func in _hypotl
56608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56609 echo "$as_me:$LINENO: checking for $ac_func" >&5
56610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56611 if eval "test \"\${$as_ac_var+set}\" = set"; then
56612 echo $ECHO_N "(cached) $ECHO_C" >&6
56613 else
56614 if test x$gcc_no_link = xyes; then
56615 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56617 { (exit 1); exit 1; }; }
56619 cat >conftest.$ac_ext <<_ACEOF
56620 /* confdefs.h. */
56621 _ACEOF
56622 cat confdefs.h >>conftest.$ac_ext
56623 cat >>conftest.$ac_ext <<_ACEOF
56624 /* end confdefs.h. */
56625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56627 #define $ac_func innocuous_$ac_func
56629 /* System header to define __stub macros and hopefully few prototypes,
56630 which can conflict with char $ac_func (); below.
56631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56632 <limits.h> exists even on freestanding compilers. */
56634 #ifdef __STDC__
56635 # include <limits.h>
56636 #else
56637 # include <assert.h>
56638 #endif
56640 #undef $ac_func
56642 /* Override any gcc2 internal prototype to avoid an error. */
56643 #ifdef __cplusplus
56644 extern "C"
56646 #endif
56647 /* We use char because int might match the return type of a gcc2
56648 builtin and then its argument prototype would still apply. */
56649 char $ac_func ();
56650 /* The GNU C library defines this for functions which it implements
56651 to always fail with ENOSYS. Some functions are actually named
56652 something starting with __ and the normal name is an alias. */
56653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56654 choke me
56655 #else
56656 char (*f) () = $ac_func;
56657 #endif
56658 #ifdef __cplusplus
56660 #endif
56663 main ()
56665 return f != $ac_func;
56667 return 0;
56669 _ACEOF
56670 rm -f conftest.$ac_objext conftest$ac_exeext
56671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56672 (eval $ac_link) 2>conftest.er1
56673 ac_status=$?
56674 grep -v '^ *+' conftest.er1 >conftest.err
56675 rm -f conftest.er1
56676 cat conftest.err >&5
56677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56678 (exit $ac_status); } &&
56679 { ac_try='test -z "$ac_c_werror_flag"
56680 || test ! -s conftest.err'
56681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56682 (eval $ac_try) 2>&5
56683 ac_status=$?
56684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56685 (exit $ac_status); }; } &&
56686 { ac_try='test -s conftest$ac_exeext'
56687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56688 (eval $ac_try) 2>&5
56689 ac_status=$?
56690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56691 (exit $ac_status); }; }; then
56692 eval "$as_ac_var=yes"
56693 else
56694 echo "$as_me: failed program was:" >&5
56695 sed 's/^/| /' conftest.$ac_ext >&5
56697 eval "$as_ac_var=no"
56699 rm -f conftest.err conftest.$ac_objext \
56700 conftest$ac_exeext conftest.$ac_ext
56702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56704 if test `eval echo '${'$as_ac_var'}'` = yes; then
56705 cat >>confdefs.h <<_ACEOF
56706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56707 _ACEOF
56710 done
56720 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
56721 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
56722 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56723 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
56724 echo $ECHO_N "(cached) $ECHO_C" >&6
56725 else
56729 ac_ext=cc
56730 ac_cpp='$CXXCPP $CPPFLAGS'
56731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56735 cat >conftest.$ac_ext <<_ACEOF
56736 /* confdefs.h. */
56737 _ACEOF
56738 cat confdefs.h >>conftest.$ac_ext
56739 cat >>conftest.$ac_ext <<_ACEOF
56740 /* end confdefs.h. */
56741 #include <math.h>
56743 main ()
56745 ldexpl(0, 0);
56747 return 0;
56749 _ACEOF
56750 rm -f conftest.$ac_objext
56751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56752 (eval $ac_compile) 2>conftest.er1
56753 ac_status=$?
56754 grep -v '^ *+' conftest.er1 >conftest.err
56755 rm -f conftest.er1
56756 cat conftest.err >&5
56757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56758 (exit $ac_status); } &&
56759 { ac_try='test -z "$ac_cxx_werror_flag"
56760 || test ! -s conftest.err'
56761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56762 (eval $ac_try) 2>&5
56763 ac_status=$?
56764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56765 (exit $ac_status); }; } &&
56766 { ac_try='test -s conftest.$ac_objext'
56767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56768 (eval $ac_try) 2>&5
56769 ac_status=$?
56770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56771 (exit $ac_status); }; }; then
56772 glibcxx_cv_func_ldexpl_use=yes
56773 else
56774 echo "$as_me: failed program was:" >&5
56775 sed 's/^/| /' conftest.$ac_ext >&5
56777 glibcxx_cv_func_ldexpl_use=no
56779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56780 ac_ext=c
56781 ac_cpp='$CPP $CPPFLAGS'
56782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56790 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
56791 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
56793 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56795 for ac_func in ldexpl
56797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56798 echo "$as_me:$LINENO: checking for $ac_func" >&5
56799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56800 if eval "test \"\${$as_ac_var+set}\" = set"; then
56801 echo $ECHO_N "(cached) $ECHO_C" >&6
56802 else
56803 if test x$gcc_no_link = xyes; then
56804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56806 { (exit 1); exit 1; }; }
56808 cat >conftest.$ac_ext <<_ACEOF
56809 /* confdefs.h. */
56810 _ACEOF
56811 cat confdefs.h >>conftest.$ac_ext
56812 cat >>conftest.$ac_ext <<_ACEOF
56813 /* end confdefs.h. */
56814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56816 #define $ac_func innocuous_$ac_func
56818 /* System header to define __stub macros and hopefully few prototypes,
56819 which can conflict with char $ac_func (); below.
56820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56821 <limits.h> exists even on freestanding compilers. */
56823 #ifdef __STDC__
56824 # include <limits.h>
56825 #else
56826 # include <assert.h>
56827 #endif
56829 #undef $ac_func
56831 /* Override any gcc2 internal prototype to avoid an error. */
56832 #ifdef __cplusplus
56833 extern "C"
56835 #endif
56836 /* We use char because int might match the return type of a gcc2
56837 builtin and then its argument prototype would still apply. */
56838 char $ac_func ();
56839 /* The GNU C library defines this for functions which it implements
56840 to always fail with ENOSYS. Some functions are actually named
56841 something starting with __ and the normal name is an alias. */
56842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56843 choke me
56844 #else
56845 char (*f) () = $ac_func;
56846 #endif
56847 #ifdef __cplusplus
56849 #endif
56852 main ()
56854 return f != $ac_func;
56856 return 0;
56858 _ACEOF
56859 rm -f conftest.$ac_objext conftest$ac_exeext
56860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56861 (eval $ac_link) 2>conftest.er1
56862 ac_status=$?
56863 grep -v '^ *+' conftest.er1 >conftest.err
56864 rm -f conftest.er1
56865 cat conftest.err >&5
56866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56867 (exit $ac_status); } &&
56868 { ac_try='test -z "$ac_c_werror_flag"
56869 || test ! -s conftest.err'
56870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56871 (eval $ac_try) 2>&5
56872 ac_status=$?
56873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56874 (exit $ac_status); }; } &&
56875 { ac_try='test -s conftest$ac_exeext'
56876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56877 (eval $ac_try) 2>&5
56878 ac_status=$?
56879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56880 (exit $ac_status); }; }; then
56881 eval "$as_ac_var=yes"
56882 else
56883 echo "$as_me: failed program was:" >&5
56884 sed 's/^/| /' conftest.$ac_ext >&5
56886 eval "$as_ac_var=no"
56888 rm -f conftest.err conftest.$ac_objext \
56889 conftest$ac_exeext conftest.$ac_ext
56891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56893 if test `eval echo '${'$as_ac_var'}'` = yes; then
56894 cat >>confdefs.h <<_ACEOF
56895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56896 _ACEOF
56899 done
56901 else
56903 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
56904 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
56905 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56906 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
56907 echo $ECHO_N "(cached) $ECHO_C" >&6
56908 else
56912 ac_ext=cc
56913 ac_cpp='$CXXCPP $CPPFLAGS'
56914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56918 cat >conftest.$ac_ext <<_ACEOF
56919 /* confdefs.h. */
56920 _ACEOF
56921 cat confdefs.h >>conftest.$ac_ext
56922 cat >>conftest.$ac_ext <<_ACEOF
56923 /* end confdefs.h. */
56924 #include <math.h>
56926 main ()
56928 _ldexpl(0, 0);
56930 return 0;
56932 _ACEOF
56933 rm -f conftest.$ac_objext
56934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56935 (eval $ac_compile) 2>conftest.er1
56936 ac_status=$?
56937 grep -v '^ *+' conftest.er1 >conftest.err
56938 rm -f conftest.er1
56939 cat conftest.err >&5
56940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56941 (exit $ac_status); } &&
56942 { ac_try='test -z "$ac_cxx_werror_flag"
56943 || test ! -s conftest.err'
56944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56945 (eval $ac_try) 2>&5
56946 ac_status=$?
56947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56948 (exit $ac_status); }; } &&
56949 { ac_try='test -s conftest.$ac_objext'
56950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56951 (eval $ac_try) 2>&5
56952 ac_status=$?
56953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56954 (exit $ac_status); }; }; then
56955 glibcxx_cv_func__ldexpl_use=yes
56956 else
56957 echo "$as_me: failed program was:" >&5
56958 sed 's/^/| /' conftest.$ac_ext >&5
56960 glibcxx_cv_func__ldexpl_use=no
56962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56963 ac_ext=c
56964 ac_cpp='$CPP $CPPFLAGS'
56965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56973 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
56974 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
56976 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56978 for ac_func in _ldexpl
56980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56981 echo "$as_me:$LINENO: checking for $ac_func" >&5
56982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56983 if eval "test \"\${$as_ac_var+set}\" = set"; then
56984 echo $ECHO_N "(cached) $ECHO_C" >&6
56985 else
56986 if test x$gcc_no_link = xyes; then
56987 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56989 { (exit 1); exit 1; }; }
56991 cat >conftest.$ac_ext <<_ACEOF
56992 /* confdefs.h. */
56993 _ACEOF
56994 cat confdefs.h >>conftest.$ac_ext
56995 cat >>conftest.$ac_ext <<_ACEOF
56996 /* end confdefs.h. */
56997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56999 #define $ac_func innocuous_$ac_func
57001 /* System header to define __stub macros and hopefully few prototypes,
57002 which can conflict with char $ac_func (); below.
57003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57004 <limits.h> exists even on freestanding compilers. */
57006 #ifdef __STDC__
57007 # include <limits.h>
57008 #else
57009 # include <assert.h>
57010 #endif
57012 #undef $ac_func
57014 /* Override any gcc2 internal prototype to avoid an error. */
57015 #ifdef __cplusplus
57016 extern "C"
57018 #endif
57019 /* We use char because int might match the return type of a gcc2
57020 builtin and then its argument prototype would still apply. */
57021 char $ac_func ();
57022 /* The GNU C library defines this for functions which it implements
57023 to always fail with ENOSYS. Some functions are actually named
57024 something starting with __ and the normal name is an alias. */
57025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57026 choke me
57027 #else
57028 char (*f) () = $ac_func;
57029 #endif
57030 #ifdef __cplusplus
57032 #endif
57035 main ()
57037 return f != $ac_func;
57039 return 0;
57041 _ACEOF
57042 rm -f conftest.$ac_objext conftest$ac_exeext
57043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57044 (eval $ac_link) 2>conftest.er1
57045 ac_status=$?
57046 grep -v '^ *+' conftest.er1 >conftest.err
57047 rm -f conftest.er1
57048 cat conftest.err >&5
57049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57050 (exit $ac_status); } &&
57051 { ac_try='test -z "$ac_c_werror_flag"
57052 || test ! -s conftest.err'
57053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57054 (eval $ac_try) 2>&5
57055 ac_status=$?
57056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57057 (exit $ac_status); }; } &&
57058 { ac_try='test -s conftest$ac_exeext'
57059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57060 (eval $ac_try) 2>&5
57061 ac_status=$?
57062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57063 (exit $ac_status); }; }; then
57064 eval "$as_ac_var=yes"
57065 else
57066 echo "$as_me: failed program was:" >&5
57067 sed 's/^/| /' conftest.$ac_ext >&5
57069 eval "$as_ac_var=no"
57071 rm -f conftest.err conftest.$ac_objext \
57072 conftest$ac_exeext conftest.$ac_ext
57074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57076 if test `eval echo '${'$as_ac_var'}'` = yes; then
57077 cat >>confdefs.h <<_ACEOF
57078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57079 _ACEOF
57082 done
57092 echo "$as_me:$LINENO: checking for logl declaration" >&5
57093 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
57094 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57095 if test "${glibcxx_cv_func_logl_use+set}" = set; then
57096 echo $ECHO_N "(cached) $ECHO_C" >&6
57097 else
57101 ac_ext=cc
57102 ac_cpp='$CXXCPP $CPPFLAGS'
57103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57107 cat >conftest.$ac_ext <<_ACEOF
57108 /* confdefs.h. */
57109 _ACEOF
57110 cat confdefs.h >>conftest.$ac_ext
57111 cat >>conftest.$ac_ext <<_ACEOF
57112 /* end confdefs.h. */
57113 #include <math.h>
57114 #ifdef HAVE_IEEEFP_H
57115 #include <ieeefp.h>
57116 #endif
57119 main ()
57121 logl(0);
57123 return 0;
57125 _ACEOF
57126 rm -f conftest.$ac_objext
57127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57128 (eval $ac_compile) 2>conftest.er1
57129 ac_status=$?
57130 grep -v '^ *+' conftest.er1 >conftest.err
57131 rm -f conftest.er1
57132 cat conftest.err >&5
57133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57134 (exit $ac_status); } &&
57135 { ac_try='test -z "$ac_cxx_werror_flag"
57136 || test ! -s conftest.err'
57137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57138 (eval $ac_try) 2>&5
57139 ac_status=$?
57140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57141 (exit $ac_status); }; } &&
57142 { ac_try='test -s conftest.$ac_objext'
57143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57144 (eval $ac_try) 2>&5
57145 ac_status=$?
57146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57147 (exit $ac_status); }; }; then
57148 glibcxx_cv_func_logl_use=yes
57149 else
57150 echo "$as_me: failed program was:" >&5
57151 sed 's/^/| /' conftest.$ac_ext >&5
57153 glibcxx_cv_func_logl_use=no
57155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57156 ac_ext=c
57157 ac_cpp='$CPP $CPPFLAGS'
57158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57166 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
57167 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
57169 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57171 for ac_func in logl
57173 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57174 echo "$as_me:$LINENO: checking for $ac_func" >&5
57175 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57176 if eval "test \"\${$as_ac_var+set}\" = set"; then
57177 echo $ECHO_N "(cached) $ECHO_C" >&6
57178 else
57179 if test x$gcc_no_link = xyes; then
57180 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57181 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57182 { (exit 1); exit 1; }; }
57184 cat >conftest.$ac_ext <<_ACEOF
57185 /* confdefs.h. */
57186 _ACEOF
57187 cat confdefs.h >>conftest.$ac_ext
57188 cat >>conftest.$ac_ext <<_ACEOF
57189 /* end confdefs.h. */
57190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57192 #define $ac_func innocuous_$ac_func
57194 /* System header to define __stub macros and hopefully few prototypes,
57195 which can conflict with char $ac_func (); below.
57196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57197 <limits.h> exists even on freestanding compilers. */
57199 #ifdef __STDC__
57200 # include <limits.h>
57201 #else
57202 # include <assert.h>
57203 #endif
57205 #undef $ac_func
57207 /* Override any gcc2 internal prototype to avoid an error. */
57208 #ifdef __cplusplus
57209 extern "C"
57211 #endif
57212 /* We use char because int might match the return type of a gcc2
57213 builtin and then its argument prototype would still apply. */
57214 char $ac_func ();
57215 /* The GNU C library defines this for functions which it implements
57216 to always fail with ENOSYS. Some functions are actually named
57217 something starting with __ and the normal name is an alias. */
57218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57219 choke me
57220 #else
57221 char (*f) () = $ac_func;
57222 #endif
57223 #ifdef __cplusplus
57225 #endif
57228 main ()
57230 return f != $ac_func;
57232 return 0;
57234 _ACEOF
57235 rm -f conftest.$ac_objext conftest$ac_exeext
57236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57237 (eval $ac_link) 2>conftest.er1
57238 ac_status=$?
57239 grep -v '^ *+' conftest.er1 >conftest.err
57240 rm -f conftest.er1
57241 cat conftest.err >&5
57242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57243 (exit $ac_status); } &&
57244 { ac_try='test -z "$ac_c_werror_flag"
57245 || test ! -s conftest.err'
57246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57247 (eval $ac_try) 2>&5
57248 ac_status=$?
57249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57250 (exit $ac_status); }; } &&
57251 { ac_try='test -s conftest$ac_exeext'
57252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57253 (eval $ac_try) 2>&5
57254 ac_status=$?
57255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57256 (exit $ac_status); }; }; then
57257 eval "$as_ac_var=yes"
57258 else
57259 echo "$as_me: failed program was:" >&5
57260 sed 's/^/| /' conftest.$ac_ext >&5
57262 eval "$as_ac_var=no"
57264 rm -f conftest.err conftest.$ac_objext \
57265 conftest$ac_exeext conftest.$ac_ext
57267 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57268 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57269 if test `eval echo '${'$as_ac_var'}'` = yes; then
57270 cat >>confdefs.h <<_ACEOF
57271 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57272 _ACEOF
57275 done
57277 else
57279 echo "$as_me:$LINENO: checking for _logl declaration" >&5
57280 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
57281 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57282 if test "${glibcxx_cv_func__logl_use+set}" = set; then
57283 echo $ECHO_N "(cached) $ECHO_C" >&6
57284 else
57288 ac_ext=cc
57289 ac_cpp='$CXXCPP $CPPFLAGS'
57290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57294 cat >conftest.$ac_ext <<_ACEOF
57295 /* confdefs.h. */
57296 _ACEOF
57297 cat confdefs.h >>conftest.$ac_ext
57298 cat >>conftest.$ac_ext <<_ACEOF
57299 /* end confdefs.h. */
57300 #include <math.h>
57301 #ifdef HAVE_IEEEFP_H
57302 #include <ieeefp.h>
57303 #endif
57306 main ()
57308 _logl(0);
57310 return 0;
57312 _ACEOF
57313 rm -f conftest.$ac_objext
57314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57315 (eval $ac_compile) 2>conftest.er1
57316 ac_status=$?
57317 grep -v '^ *+' conftest.er1 >conftest.err
57318 rm -f conftest.er1
57319 cat conftest.err >&5
57320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57321 (exit $ac_status); } &&
57322 { ac_try='test -z "$ac_cxx_werror_flag"
57323 || test ! -s conftest.err'
57324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57325 (eval $ac_try) 2>&5
57326 ac_status=$?
57327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57328 (exit $ac_status); }; } &&
57329 { ac_try='test -s conftest.$ac_objext'
57330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57331 (eval $ac_try) 2>&5
57332 ac_status=$?
57333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57334 (exit $ac_status); }; }; then
57335 glibcxx_cv_func__logl_use=yes
57336 else
57337 echo "$as_me: failed program was:" >&5
57338 sed 's/^/| /' conftest.$ac_ext >&5
57340 glibcxx_cv_func__logl_use=no
57342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57343 ac_ext=c
57344 ac_cpp='$CPP $CPPFLAGS'
57345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57353 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
57354 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
57356 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57358 for ac_func in _logl
57360 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57361 echo "$as_me:$LINENO: checking for $ac_func" >&5
57362 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57363 if eval "test \"\${$as_ac_var+set}\" = set"; then
57364 echo $ECHO_N "(cached) $ECHO_C" >&6
57365 else
57366 if test x$gcc_no_link = xyes; then
57367 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57368 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57369 { (exit 1); exit 1; }; }
57371 cat >conftest.$ac_ext <<_ACEOF
57372 /* confdefs.h. */
57373 _ACEOF
57374 cat confdefs.h >>conftest.$ac_ext
57375 cat >>conftest.$ac_ext <<_ACEOF
57376 /* end confdefs.h. */
57377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57379 #define $ac_func innocuous_$ac_func
57381 /* System header to define __stub macros and hopefully few prototypes,
57382 which can conflict with char $ac_func (); below.
57383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57384 <limits.h> exists even on freestanding compilers. */
57386 #ifdef __STDC__
57387 # include <limits.h>
57388 #else
57389 # include <assert.h>
57390 #endif
57392 #undef $ac_func
57394 /* Override any gcc2 internal prototype to avoid an error. */
57395 #ifdef __cplusplus
57396 extern "C"
57398 #endif
57399 /* We use char because int might match the return type of a gcc2
57400 builtin and then its argument prototype would still apply. */
57401 char $ac_func ();
57402 /* The GNU C library defines this for functions which it implements
57403 to always fail with ENOSYS. Some functions are actually named
57404 something starting with __ and the normal name is an alias. */
57405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57406 choke me
57407 #else
57408 char (*f) () = $ac_func;
57409 #endif
57410 #ifdef __cplusplus
57412 #endif
57415 main ()
57417 return f != $ac_func;
57419 return 0;
57421 _ACEOF
57422 rm -f conftest.$ac_objext conftest$ac_exeext
57423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57424 (eval $ac_link) 2>conftest.er1
57425 ac_status=$?
57426 grep -v '^ *+' conftest.er1 >conftest.err
57427 rm -f conftest.er1
57428 cat conftest.err >&5
57429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57430 (exit $ac_status); } &&
57431 { ac_try='test -z "$ac_c_werror_flag"
57432 || test ! -s conftest.err'
57433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57434 (eval $ac_try) 2>&5
57435 ac_status=$?
57436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57437 (exit $ac_status); }; } &&
57438 { ac_try='test -s conftest$ac_exeext'
57439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57440 (eval $ac_try) 2>&5
57441 ac_status=$?
57442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57443 (exit $ac_status); }; }; then
57444 eval "$as_ac_var=yes"
57445 else
57446 echo "$as_me: failed program was:" >&5
57447 sed 's/^/| /' conftest.$ac_ext >&5
57449 eval "$as_ac_var=no"
57451 rm -f conftest.err conftest.$ac_objext \
57452 conftest$ac_exeext conftest.$ac_ext
57454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57455 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57456 if test `eval echo '${'$as_ac_var'}'` = yes; then
57457 cat >>confdefs.h <<_ACEOF
57458 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57459 _ACEOF
57462 done
57472 echo "$as_me:$LINENO: checking for log10l declaration" >&5
57473 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
57474 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57475 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
57476 echo $ECHO_N "(cached) $ECHO_C" >&6
57477 else
57481 ac_ext=cc
57482 ac_cpp='$CXXCPP $CPPFLAGS'
57483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57487 cat >conftest.$ac_ext <<_ACEOF
57488 /* confdefs.h. */
57489 _ACEOF
57490 cat confdefs.h >>conftest.$ac_ext
57491 cat >>conftest.$ac_ext <<_ACEOF
57492 /* end confdefs.h. */
57493 #include <math.h>
57494 #ifdef HAVE_IEEEFP_H
57495 #include <ieeefp.h>
57496 #endif
57499 main ()
57501 log10l(0);
57503 return 0;
57505 _ACEOF
57506 rm -f conftest.$ac_objext
57507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57508 (eval $ac_compile) 2>conftest.er1
57509 ac_status=$?
57510 grep -v '^ *+' conftest.er1 >conftest.err
57511 rm -f conftest.er1
57512 cat conftest.err >&5
57513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57514 (exit $ac_status); } &&
57515 { ac_try='test -z "$ac_cxx_werror_flag"
57516 || test ! -s conftest.err'
57517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57518 (eval $ac_try) 2>&5
57519 ac_status=$?
57520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57521 (exit $ac_status); }; } &&
57522 { ac_try='test -s conftest.$ac_objext'
57523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57524 (eval $ac_try) 2>&5
57525 ac_status=$?
57526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57527 (exit $ac_status); }; }; then
57528 glibcxx_cv_func_log10l_use=yes
57529 else
57530 echo "$as_me: failed program was:" >&5
57531 sed 's/^/| /' conftest.$ac_ext >&5
57533 glibcxx_cv_func_log10l_use=no
57535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57536 ac_ext=c
57537 ac_cpp='$CPP $CPPFLAGS'
57538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57546 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
57547 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
57549 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57551 for ac_func in log10l
57553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57554 echo "$as_me:$LINENO: checking for $ac_func" >&5
57555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57556 if eval "test \"\${$as_ac_var+set}\" = set"; then
57557 echo $ECHO_N "(cached) $ECHO_C" >&6
57558 else
57559 if test x$gcc_no_link = xyes; then
57560 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57562 { (exit 1); exit 1; }; }
57564 cat >conftest.$ac_ext <<_ACEOF
57565 /* confdefs.h. */
57566 _ACEOF
57567 cat confdefs.h >>conftest.$ac_ext
57568 cat >>conftest.$ac_ext <<_ACEOF
57569 /* end confdefs.h. */
57570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57572 #define $ac_func innocuous_$ac_func
57574 /* System header to define __stub macros and hopefully few prototypes,
57575 which can conflict with char $ac_func (); below.
57576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57577 <limits.h> exists even on freestanding compilers. */
57579 #ifdef __STDC__
57580 # include <limits.h>
57581 #else
57582 # include <assert.h>
57583 #endif
57585 #undef $ac_func
57587 /* Override any gcc2 internal prototype to avoid an error. */
57588 #ifdef __cplusplus
57589 extern "C"
57591 #endif
57592 /* We use char because int might match the return type of a gcc2
57593 builtin and then its argument prototype would still apply. */
57594 char $ac_func ();
57595 /* The GNU C library defines this for functions which it implements
57596 to always fail with ENOSYS. Some functions are actually named
57597 something starting with __ and the normal name is an alias. */
57598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57599 choke me
57600 #else
57601 char (*f) () = $ac_func;
57602 #endif
57603 #ifdef __cplusplus
57605 #endif
57608 main ()
57610 return f != $ac_func;
57612 return 0;
57614 _ACEOF
57615 rm -f conftest.$ac_objext conftest$ac_exeext
57616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57617 (eval $ac_link) 2>conftest.er1
57618 ac_status=$?
57619 grep -v '^ *+' conftest.er1 >conftest.err
57620 rm -f conftest.er1
57621 cat conftest.err >&5
57622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57623 (exit $ac_status); } &&
57624 { ac_try='test -z "$ac_c_werror_flag"
57625 || test ! -s conftest.err'
57626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57627 (eval $ac_try) 2>&5
57628 ac_status=$?
57629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57630 (exit $ac_status); }; } &&
57631 { ac_try='test -s conftest$ac_exeext'
57632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57633 (eval $ac_try) 2>&5
57634 ac_status=$?
57635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57636 (exit $ac_status); }; }; then
57637 eval "$as_ac_var=yes"
57638 else
57639 echo "$as_me: failed program was:" >&5
57640 sed 's/^/| /' conftest.$ac_ext >&5
57642 eval "$as_ac_var=no"
57644 rm -f conftest.err conftest.$ac_objext \
57645 conftest$ac_exeext conftest.$ac_ext
57647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57649 if test `eval echo '${'$as_ac_var'}'` = yes; then
57650 cat >>confdefs.h <<_ACEOF
57651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57652 _ACEOF
57655 done
57657 else
57659 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
57660 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
57661 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57662 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
57663 echo $ECHO_N "(cached) $ECHO_C" >&6
57664 else
57668 ac_ext=cc
57669 ac_cpp='$CXXCPP $CPPFLAGS'
57670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57674 cat >conftest.$ac_ext <<_ACEOF
57675 /* confdefs.h. */
57676 _ACEOF
57677 cat confdefs.h >>conftest.$ac_ext
57678 cat >>conftest.$ac_ext <<_ACEOF
57679 /* end confdefs.h. */
57680 #include <math.h>
57681 #ifdef HAVE_IEEEFP_H
57682 #include <ieeefp.h>
57683 #endif
57686 main ()
57688 _log10l(0);
57690 return 0;
57692 _ACEOF
57693 rm -f conftest.$ac_objext
57694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57695 (eval $ac_compile) 2>conftest.er1
57696 ac_status=$?
57697 grep -v '^ *+' conftest.er1 >conftest.err
57698 rm -f conftest.er1
57699 cat conftest.err >&5
57700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57701 (exit $ac_status); } &&
57702 { ac_try='test -z "$ac_cxx_werror_flag"
57703 || test ! -s conftest.err'
57704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57705 (eval $ac_try) 2>&5
57706 ac_status=$?
57707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57708 (exit $ac_status); }; } &&
57709 { ac_try='test -s conftest.$ac_objext'
57710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57711 (eval $ac_try) 2>&5
57712 ac_status=$?
57713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57714 (exit $ac_status); }; }; then
57715 glibcxx_cv_func__log10l_use=yes
57716 else
57717 echo "$as_me: failed program was:" >&5
57718 sed 's/^/| /' conftest.$ac_ext >&5
57720 glibcxx_cv_func__log10l_use=no
57722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57723 ac_ext=c
57724 ac_cpp='$CPP $CPPFLAGS'
57725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57733 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
57734 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
57736 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57738 for ac_func in _log10l
57740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57741 echo "$as_me:$LINENO: checking for $ac_func" >&5
57742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57743 if eval "test \"\${$as_ac_var+set}\" = set"; then
57744 echo $ECHO_N "(cached) $ECHO_C" >&6
57745 else
57746 if test x$gcc_no_link = xyes; then
57747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57749 { (exit 1); exit 1; }; }
57751 cat >conftest.$ac_ext <<_ACEOF
57752 /* confdefs.h. */
57753 _ACEOF
57754 cat confdefs.h >>conftest.$ac_ext
57755 cat >>conftest.$ac_ext <<_ACEOF
57756 /* end confdefs.h. */
57757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57759 #define $ac_func innocuous_$ac_func
57761 /* System header to define __stub macros and hopefully few prototypes,
57762 which can conflict with char $ac_func (); below.
57763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57764 <limits.h> exists even on freestanding compilers. */
57766 #ifdef __STDC__
57767 # include <limits.h>
57768 #else
57769 # include <assert.h>
57770 #endif
57772 #undef $ac_func
57774 /* Override any gcc2 internal prototype to avoid an error. */
57775 #ifdef __cplusplus
57776 extern "C"
57778 #endif
57779 /* We use char because int might match the return type of a gcc2
57780 builtin and then its argument prototype would still apply. */
57781 char $ac_func ();
57782 /* The GNU C library defines this for functions which it implements
57783 to always fail with ENOSYS. Some functions are actually named
57784 something starting with __ and the normal name is an alias. */
57785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57786 choke me
57787 #else
57788 char (*f) () = $ac_func;
57789 #endif
57790 #ifdef __cplusplus
57792 #endif
57795 main ()
57797 return f != $ac_func;
57799 return 0;
57801 _ACEOF
57802 rm -f conftest.$ac_objext conftest$ac_exeext
57803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57804 (eval $ac_link) 2>conftest.er1
57805 ac_status=$?
57806 grep -v '^ *+' conftest.er1 >conftest.err
57807 rm -f conftest.er1
57808 cat conftest.err >&5
57809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57810 (exit $ac_status); } &&
57811 { ac_try='test -z "$ac_c_werror_flag"
57812 || test ! -s conftest.err'
57813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57814 (eval $ac_try) 2>&5
57815 ac_status=$?
57816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57817 (exit $ac_status); }; } &&
57818 { ac_try='test -s conftest$ac_exeext'
57819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57820 (eval $ac_try) 2>&5
57821 ac_status=$?
57822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57823 (exit $ac_status); }; }; then
57824 eval "$as_ac_var=yes"
57825 else
57826 echo "$as_me: failed program was:" >&5
57827 sed 's/^/| /' conftest.$ac_ext >&5
57829 eval "$as_ac_var=no"
57831 rm -f conftest.err conftest.$ac_objext \
57832 conftest$ac_exeext conftest.$ac_ext
57834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57836 if test `eval echo '${'$as_ac_var'}'` = yes; then
57837 cat >>confdefs.h <<_ACEOF
57838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57839 _ACEOF
57842 done
57852 echo "$as_me:$LINENO: checking for modfl declaration" >&5
57853 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
57854 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57855 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
57856 echo $ECHO_N "(cached) $ECHO_C" >&6
57857 else
57861 ac_ext=cc
57862 ac_cpp='$CXXCPP $CPPFLAGS'
57863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57867 cat >conftest.$ac_ext <<_ACEOF
57868 /* confdefs.h. */
57869 _ACEOF
57870 cat confdefs.h >>conftest.$ac_ext
57871 cat >>conftest.$ac_ext <<_ACEOF
57872 /* end confdefs.h. */
57873 #include <math.h>
57875 main ()
57877 modfl(0, 0);
57879 return 0;
57881 _ACEOF
57882 rm -f conftest.$ac_objext
57883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57884 (eval $ac_compile) 2>conftest.er1
57885 ac_status=$?
57886 grep -v '^ *+' conftest.er1 >conftest.err
57887 rm -f conftest.er1
57888 cat conftest.err >&5
57889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57890 (exit $ac_status); } &&
57891 { ac_try='test -z "$ac_cxx_werror_flag"
57892 || test ! -s conftest.err'
57893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57894 (eval $ac_try) 2>&5
57895 ac_status=$?
57896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57897 (exit $ac_status); }; } &&
57898 { ac_try='test -s conftest.$ac_objext'
57899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57900 (eval $ac_try) 2>&5
57901 ac_status=$?
57902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57903 (exit $ac_status); }; }; then
57904 glibcxx_cv_func_modfl_use=yes
57905 else
57906 echo "$as_me: failed program was:" >&5
57907 sed 's/^/| /' conftest.$ac_ext >&5
57909 glibcxx_cv_func_modfl_use=no
57911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57912 ac_ext=c
57913 ac_cpp='$CPP $CPPFLAGS'
57914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57922 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
57923 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
57925 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57927 for ac_func in modfl
57929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57930 echo "$as_me:$LINENO: checking for $ac_func" >&5
57931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57932 if eval "test \"\${$as_ac_var+set}\" = set"; then
57933 echo $ECHO_N "(cached) $ECHO_C" >&6
57934 else
57935 if test x$gcc_no_link = xyes; then
57936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57938 { (exit 1); exit 1; }; }
57940 cat >conftest.$ac_ext <<_ACEOF
57941 /* confdefs.h. */
57942 _ACEOF
57943 cat confdefs.h >>conftest.$ac_ext
57944 cat >>conftest.$ac_ext <<_ACEOF
57945 /* end confdefs.h. */
57946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57948 #define $ac_func innocuous_$ac_func
57950 /* System header to define __stub macros and hopefully few prototypes,
57951 which can conflict with char $ac_func (); below.
57952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57953 <limits.h> exists even on freestanding compilers. */
57955 #ifdef __STDC__
57956 # include <limits.h>
57957 #else
57958 # include <assert.h>
57959 #endif
57961 #undef $ac_func
57963 /* Override any gcc2 internal prototype to avoid an error. */
57964 #ifdef __cplusplus
57965 extern "C"
57967 #endif
57968 /* We use char because int might match the return type of a gcc2
57969 builtin and then its argument prototype would still apply. */
57970 char $ac_func ();
57971 /* The GNU C library defines this for functions which it implements
57972 to always fail with ENOSYS. Some functions are actually named
57973 something starting with __ and the normal name is an alias. */
57974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57975 choke me
57976 #else
57977 char (*f) () = $ac_func;
57978 #endif
57979 #ifdef __cplusplus
57981 #endif
57984 main ()
57986 return f != $ac_func;
57988 return 0;
57990 _ACEOF
57991 rm -f conftest.$ac_objext conftest$ac_exeext
57992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57993 (eval $ac_link) 2>conftest.er1
57994 ac_status=$?
57995 grep -v '^ *+' conftest.er1 >conftest.err
57996 rm -f conftest.er1
57997 cat conftest.err >&5
57998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57999 (exit $ac_status); } &&
58000 { ac_try='test -z "$ac_c_werror_flag"
58001 || test ! -s conftest.err'
58002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58003 (eval $ac_try) 2>&5
58004 ac_status=$?
58005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58006 (exit $ac_status); }; } &&
58007 { ac_try='test -s conftest$ac_exeext'
58008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58009 (eval $ac_try) 2>&5
58010 ac_status=$?
58011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58012 (exit $ac_status); }; }; then
58013 eval "$as_ac_var=yes"
58014 else
58015 echo "$as_me: failed program was:" >&5
58016 sed 's/^/| /' conftest.$ac_ext >&5
58018 eval "$as_ac_var=no"
58020 rm -f conftest.err conftest.$ac_objext \
58021 conftest$ac_exeext conftest.$ac_ext
58023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58025 if test `eval echo '${'$as_ac_var'}'` = yes; then
58026 cat >>confdefs.h <<_ACEOF
58027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58028 _ACEOF
58031 done
58033 else
58035 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
58036 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
58037 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58038 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
58039 echo $ECHO_N "(cached) $ECHO_C" >&6
58040 else
58044 ac_ext=cc
58045 ac_cpp='$CXXCPP $CPPFLAGS'
58046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58050 cat >conftest.$ac_ext <<_ACEOF
58051 /* confdefs.h. */
58052 _ACEOF
58053 cat confdefs.h >>conftest.$ac_ext
58054 cat >>conftest.$ac_ext <<_ACEOF
58055 /* end confdefs.h. */
58056 #include <math.h>
58058 main ()
58060 _modfl(0, 0);
58062 return 0;
58064 _ACEOF
58065 rm -f conftest.$ac_objext
58066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58067 (eval $ac_compile) 2>conftest.er1
58068 ac_status=$?
58069 grep -v '^ *+' conftest.er1 >conftest.err
58070 rm -f conftest.er1
58071 cat conftest.err >&5
58072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58073 (exit $ac_status); } &&
58074 { ac_try='test -z "$ac_cxx_werror_flag"
58075 || test ! -s conftest.err'
58076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58077 (eval $ac_try) 2>&5
58078 ac_status=$?
58079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58080 (exit $ac_status); }; } &&
58081 { ac_try='test -s conftest.$ac_objext'
58082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58083 (eval $ac_try) 2>&5
58084 ac_status=$?
58085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58086 (exit $ac_status); }; }; then
58087 glibcxx_cv_func__modfl_use=yes
58088 else
58089 echo "$as_me: failed program was:" >&5
58090 sed 's/^/| /' conftest.$ac_ext >&5
58092 glibcxx_cv_func__modfl_use=no
58094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58095 ac_ext=c
58096 ac_cpp='$CPP $CPPFLAGS'
58097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58105 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
58106 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
58108 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58110 for ac_func in _modfl
58112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58113 echo "$as_me:$LINENO: checking for $ac_func" >&5
58114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58115 if eval "test \"\${$as_ac_var+set}\" = set"; then
58116 echo $ECHO_N "(cached) $ECHO_C" >&6
58117 else
58118 if test x$gcc_no_link = xyes; then
58119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58121 { (exit 1); exit 1; }; }
58123 cat >conftest.$ac_ext <<_ACEOF
58124 /* confdefs.h. */
58125 _ACEOF
58126 cat confdefs.h >>conftest.$ac_ext
58127 cat >>conftest.$ac_ext <<_ACEOF
58128 /* end confdefs.h. */
58129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58131 #define $ac_func innocuous_$ac_func
58133 /* System header to define __stub macros and hopefully few prototypes,
58134 which can conflict with char $ac_func (); below.
58135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58136 <limits.h> exists even on freestanding compilers. */
58138 #ifdef __STDC__
58139 # include <limits.h>
58140 #else
58141 # include <assert.h>
58142 #endif
58144 #undef $ac_func
58146 /* Override any gcc2 internal prototype to avoid an error. */
58147 #ifdef __cplusplus
58148 extern "C"
58150 #endif
58151 /* We use char because int might match the return type of a gcc2
58152 builtin and then its argument prototype would still apply. */
58153 char $ac_func ();
58154 /* The GNU C library defines this for functions which it implements
58155 to always fail with ENOSYS. Some functions are actually named
58156 something starting with __ and the normal name is an alias. */
58157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58158 choke me
58159 #else
58160 char (*f) () = $ac_func;
58161 #endif
58162 #ifdef __cplusplus
58164 #endif
58167 main ()
58169 return f != $ac_func;
58171 return 0;
58173 _ACEOF
58174 rm -f conftest.$ac_objext conftest$ac_exeext
58175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58176 (eval $ac_link) 2>conftest.er1
58177 ac_status=$?
58178 grep -v '^ *+' conftest.er1 >conftest.err
58179 rm -f conftest.er1
58180 cat conftest.err >&5
58181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58182 (exit $ac_status); } &&
58183 { ac_try='test -z "$ac_c_werror_flag"
58184 || test ! -s conftest.err'
58185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58186 (eval $ac_try) 2>&5
58187 ac_status=$?
58188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58189 (exit $ac_status); }; } &&
58190 { ac_try='test -s conftest$ac_exeext'
58191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58192 (eval $ac_try) 2>&5
58193 ac_status=$?
58194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58195 (exit $ac_status); }; }; then
58196 eval "$as_ac_var=yes"
58197 else
58198 echo "$as_me: failed program was:" >&5
58199 sed 's/^/| /' conftest.$ac_ext >&5
58201 eval "$as_ac_var=no"
58203 rm -f conftest.err conftest.$ac_objext \
58204 conftest$ac_exeext conftest.$ac_ext
58206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58208 if test `eval echo '${'$as_ac_var'}'` = yes; then
58209 cat >>confdefs.h <<_ACEOF
58210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58211 _ACEOF
58214 done
58224 echo "$as_me:$LINENO: checking for powl declaration" >&5
58225 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
58226 if test x${glibcxx_cv_func_powl_use+set} != xset; then
58227 if test "${glibcxx_cv_func_powl_use+set}" = set; then
58228 echo $ECHO_N "(cached) $ECHO_C" >&6
58229 else
58233 ac_ext=cc
58234 ac_cpp='$CXXCPP $CPPFLAGS'
58235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58239 cat >conftest.$ac_ext <<_ACEOF
58240 /* confdefs.h. */
58241 _ACEOF
58242 cat confdefs.h >>conftest.$ac_ext
58243 cat >>conftest.$ac_ext <<_ACEOF
58244 /* end confdefs.h. */
58245 #include <math.h>
58247 main ()
58249 powl(0, 0);
58251 return 0;
58253 _ACEOF
58254 rm -f conftest.$ac_objext
58255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58256 (eval $ac_compile) 2>conftest.er1
58257 ac_status=$?
58258 grep -v '^ *+' conftest.er1 >conftest.err
58259 rm -f conftest.er1
58260 cat conftest.err >&5
58261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58262 (exit $ac_status); } &&
58263 { ac_try='test -z "$ac_cxx_werror_flag"
58264 || test ! -s conftest.err'
58265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58266 (eval $ac_try) 2>&5
58267 ac_status=$?
58268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58269 (exit $ac_status); }; } &&
58270 { ac_try='test -s conftest.$ac_objext'
58271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58272 (eval $ac_try) 2>&5
58273 ac_status=$?
58274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58275 (exit $ac_status); }; }; then
58276 glibcxx_cv_func_powl_use=yes
58277 else
58278 echo "$as_me: failed program was:" >&5
58279 sed 's/^/| /' conftest.$ac_ext >&5
58281 glibcxx_cv_func_powl_use=no
58283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58284 ac_ext=c
58285 ac_cpp='$CPP $CPPFLAGS'
58286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58294 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
58295 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
58297 if test x$glibcxx_cv_func_powl_use = x"yes"; then
58299 for ac_func in powl
58301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58302 echo "$as_me:$LINENO: checking for $ac_func" >&5
58303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58304 if eval "test \"\${$as_ac_var+set}\" = set"; then
58305 echo $ECHO_N "(cached) $ECHO_C" >&6
58306 else
58307 if test x$gcc_no_link = xyes; then
58308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58310 { (exit 1); exit 1; }; }
58312 cat >conftest.$ac_ext <<_ACEOF
58313 /* confdefs.h. */
58314 _ACEOF
58315 cat confdefs.h >>conftest.$ac_ext
58316 cat >>conftest.$ac_ext <<_ACEOF
58317 /* end confdefs.h. */
58318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58320 #define $ac_func innocuous_$ac_func
58322 /* System header to define __stub macros and hopefully few prototypes,
58323 which can conflict with char $ac_func (); below.
58324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58325 <limits.h> exists even on freestanding compilers. */
58327 #ifdef __STDC__
58328 # include <limits.h>
58329 #else
58330 # include <assert.h>
58331 #endif
58333 #undef $ac_func
58335 /* Override any gcc2 internal prototype to avoid an error. */
58336 #ifdef __cplusplus
58337 extern "C"
58339 #endif
58340 /* We use char because int might match the return type of a gcc2
58341 builtin and then its argument prototype would still apply. */
58342 char $ac_func ();
58343 /* The GNU C library defines this for functions which it implements
58344 to always fail with ENOSYS. Some functions are actually named
58345 something starting with __ and the normal name is an alias. */
58346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58347 choke me
58348 #else
58349 char (*f) () = $ac_func;
58350 #endif
58351 #ifdef __cplusplus
58353 #endif
58356 main ()
58358 return f != $ac_func;
58360 return 0;
58362 _ACEOF
58363 rm -f conftest.$ac_objext conftest$ac_exeext
58364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58365 (eval $ac_link) 2>conftest.er1
58366 ac_status=$?
58367 grep -v '^ *+' conftest.er1 >conftest.err
58368 rm -f conftest.er1
58369 cat conftest.err >&5
58370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58371 (exit $ac_status); } &&
58372 { ac_try='test -z "$ac_c_werror_flag"
58373 || test ! -s conftest.err'
58374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58375 (eval $ac_try) 2>&5
58376 ac_status=$?
58377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58378 (exit $ac_status); }; } &&
58379 { ac_try='test -s conftest$ac_exeext'
58380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58381 (eval $ac_try) 2>&5
58382 ac_status=$?
58383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58384 (exit $ac_status); }; }; then
58385 eval "$as_ac_var=yes"
58386 else
58387 echo "$as_me: failed program was:" >&5
58388 sed 's/^/| /' conftest.$ac_ext >&5
58390 eval "$as_ac_var=no"
58392 rm -f conftest.err conftest.$ac_objext \
58393 conftest$ac_exeext conftest.$ac_ext
58395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58397 if test `eval echo '${'$as_ac_var'}'` = yes; then
58398 cat >>confdefs.h <<_ACEOF
58399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58400 _ACEOF
58403 done
58405 else
58407 echo "$as_me:$LINENO: checking for _powl declaration" >&5
58408 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
58409 if test x${glibcxx_cv_func__powl_use+set} != xset; then
58410 if test "${glibcxx_cv_func__powl_use+set}" = set; then
58411 echo $ECHO_N "(cached) $ECHO_C" >&6
58412 else
58416 ac_ext=cc
58417 ac_cpp='$CXXCPP $CPPFLAGS'
58418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58422 cat >conftest.$ac_ext <<_ACEOF
58423 /* confdefs.h. */
58424 _ACEOF
58425 cat confdefs.h >>conftest.$ac_ext
58426 cat >>conftest.$ac_ext <<_ACEOF
58427 /* end confdefs.h. */
58428 #include <math.h>
58430 main ()
58432 _powl(0, 0);
58434 return 0;
58436 _ACEOF
58437 rm -f conftest.$ac_objext
58438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58439 (eval $ac_compile) 2>conftest.er1
58440 ac_status=$?
58441 grep -v '^ *+' conftest.er1 >conftest.err
58442 rm -f conftest.er1
58443 cat conftest.err >&5
58444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58445 (exit $ac_status); } &&
58446 { ac_try='test -z "$ac_cxx_werror_flag"
58447 || test ! -s conftest.err'
58448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58449 (eval $ac_try) 2>&5
58450 ac_status=$?
58451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58452 (exit $ac_status); }; } &&
58453 { ac_try='test -s conftest.$ac_objext'
58454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58455 (eval $ac_try) 2>&5
58456 ac_status=$?
58457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58458 (exit $ac_status); }; }; then
58459 glibcxx_cv_func__powl_use=yes
58460 else
58461 echo "$as_me: failed program was:" >&5
58462 sed 's/^/| /' conftest.$ac_ext >&5
58464 glibcxx_cv_func__powl_use=no
58466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58467 ac_ext=c
58468 ac_cpp='$CPP $CPPFLAGS'
58469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58477 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
58478 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
58480 if test x$glibcxx_cv_func__powl_use = x"yes"; then
58482 for ac_func in _powl
58484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58485 echo "$as_me:$LINENO: checking for $ac_func" >&5
58486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58487 if eval "test \"\${$as_ac_var+set}\" = set"; then
58488 echo $ECHO_N "(cached) $ECHO_C" >&6
58489 else
58490 if test x$gcc_no_link = xyes; then
58491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58493 { (exit 1); exit 1; }; }
58495 cat >conftest.$ac_ext <<_ACEOF
58496 /* confdefs.h. */
58497 _ACEOF
58498 cat confdefs.h >>conftest.$ac_ext
58499 cat >>conftest.$ac_ext <<_ACEOF
58500 /* end confdefs.h. */
58501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58503 #define $ac_func innocuous_$ac_func
58505 /* System header to define __stub macros and hopefully few prototypes,
58506 which can conflict with char $ac_func (); below.
58507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58508 <limits.h> exists even on freestanding compilers. */
58510 #ifdef __STDC__
58511 # include <limits.h>
58512 #else
58513 # include <assert.h>
58514 #endif
58516 #undef $ac_func
58518 /* Override any gcc2 internal prototype to avoid an error. */
58519 #ifdef __cplusplus
58520 extern "C"
58522 #endif
58523 /* We use char because int might match the return type of a gcc2
58524 builtin and then its argument prototype would still apply. */
58525 char $ac_func ();
58526 /* The GNU C library defines this for functions which it implements
58527 to always fail with ENOSYS. Some functions are actually named
58528 something starting with __ and the normal name is an alias. */
58529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58530 choke me
58531 #else
58532 char (*f) () = $ac_func;
58533 #endif
58534 #ifdef __cplusplus
58536 #endif
58539 main ()
58541 return f != $ac_func;
58543 return 0;
58545 _ACEOF
58546 rm -f conftest.$ac_objext conftest$ac_exeext
58547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58548 (eval $ac_link) 2>conftest.er1
58549 ac_status=$?
58550 grep -v '^ *+' conftest.er1 >conftest.err
58551 rm -f conftest.er1
58552 cat conftest.err >&5
58553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58554 (exit $ac_status); } &&
58555 { ac_try='test -z "$ac_c_werror_flag"
58556 || test ! -s conftest.err'
58557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58558 (eval $ac_try) 2>&5
58559 ac_status=$?
58560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58561 (exit $ac_status); }; } &&
58562 { ac_try='test -s conftest$ac_exeext'
58563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58564 (eval $ac_try) 2>&5
58565 ac_status=$?
58566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58567 (exit $ac_status); }; }; then
58568 eval "$as_ac_var=yes"
58569 else
58570 echo "$as_me: failed program was:" >&5
58571 sed 's/^/| /' conftest.$ac_ext >&5
58573 eval "$as_ac_var=no"
58575 rm -f conftest.err conftest.$ac_objext \
58576 conftest$ac_exeext conftest.$ac_ext
58578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58580 if test `eval echo '${'$as_ac_var'}'` = yes; then
58581 cat >>confdefs.h <<_ACEOF
58582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58583 _ACEOF
58586 done
58596 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
58597 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
58598 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
58599 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
58600 echo $ECHO_N "(cached) $ECHO_C" >&6
58601 else
58605 ac_ext=cc
58606 ac_cpp='$CXXCPP $CPPFLAGS'
58607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58611 cat >conftest.$ac_ext <<_ACEOF
58612 /* confdefs.h. */
58613 _ACEOF
58614 cat confdefs.h >>conftest.$ac_ext
58615 cat >>conftest.$ac_ext <<_ACEOF
58616 /* end confdefs.h. */
58617 #include <math.h>
58618 #ifdef HAVE_IEEEFP_H
58619 #include <ieeefp.h>
58620 #endif
58623 main ()
58625 sqrtl(0);
58627 return 0;
58629 _ACEOF
58630 rm -f conftest.$ac_objext
58631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58632 (eval $ac_compile) 2>conftest.er1
58633 ac_status=$?
58634 grep -v '^ *+' conftest.er1 >conftest.err
58635 rm -f conftest.er1
58636 cat conftest.err >&5
58637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58638 (exit $ac_status); } &&
58639 { ac_try='test -z "$ac_cxx_werror_flag"
58640 || test ! -s conftest.err'
58641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58642 (eval $ac_try) 2>&5
58643 ac_status=$?
58644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58645 (exit $ac_status); }; } &&
58646 { ac_try='test -s conftest.$ac_objext'
58647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58648 (eval $ac_try) 2>&5
58649 ac_status=$?
58650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58651 (exit $ac_status); }; }; then
58652 glibcxx_cv_func_sqrtl_use=yes
58653 else
58654 echo "$as_me: failed program was:" >&5
58655 sed 's/^/| /' conftest.$ac_ext >&5
58657 glibcxx_cv_func_sqrtl_use=no
58659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58660 ac_ext=c
58661 ac_cpp='$CPP $CPPFLAGS'
58662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58670 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
58671 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
58673 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
58675 for ac_func in sqrtl
58677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58678 echo "$as_me:$LINENO: checking for $ac_func" >&5
58679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58680 if eval "test \"\${$as_ac_var+set}\" = set"; then
58681 echo $ECHO_N "(cached) $ECHO_C" >&6
58682 else
58683 if test x$gcc_no_link = xyes; then
58684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58686 { (exit 1); exit 1; }; }
58688 cat >conftest.$ac_ext <<_ACEOF
58689 /* confdefs.h. */
58690 _ACEOF
58691 cat confdefs.h >>conftest.$ac_ext
58692 cat >>conftest.$ac_ext <<_ACEOF
58693 /* end confdefs.h. */
58694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58696 #define $ac_func innocuous_$ac_func
58698 /* System header to define __stub macros and hopefully few prototypes,
58699 which can conflict with char $ac_func (); below.
58700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58701 <limits.h> exists even on freestanding compilers. */
58703 #ifdef __STDC__
58704 # include <limits.h>
58705 #else
58706 # include <assert.h>
58707 #endif
58709 #undef $ac_func
58711 /* Override any gcc2 internal prototype to avoid an error. */
58712 #ifdef __cplusplus
58713 extern "C"
58715 #endif
58716 /* We use char because int might match the return type of a gcc2
58717 builtin and then its argument prototype would still apply. */
58718 char $ac_func ();
58719 /* The GNU C library defines this for functions which it implements
58720 to always fail with ENOSYS. Some functions are actually named
58721 something starting with __ and the normal name is an alias. */
58722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58723 choke me
58724 #else
58725 char (*f) () = $ac_func;
58726 #endif
58727 #ifdef __cplusplus
58729 #endif
58732 main ()
58734 return f != $ac_func;
58736 return 0;
58738 _ACEOF
58739 rm -f conftest.$ac_objext conftest$ac_exeext
58740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58741 (eval $ac_link) 2>conftest.er1
58742 ac_status=$?
58743 grep -v '^ *+' conftest.er1 >conftest.err
58744 rm -f conftest.er1
58745 cat conftest.err >&5
58746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58747 (exit $ac_status); } &&
58748 { ac_try='test -z "$ac_c_werror_flag"
58749 || test ! -s conftest.err'
58750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58751 (eval $ac_try) 2>&5
58752 ac_status=$?
58753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58754 (exit $ac_status); }; } &&
58755 { ac_try='test -s conftest$ac_exeext'
58756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58757 (eval $ac_try) 2>&5
58758 ac_status=$?
58759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58760 (exit $ac_status); }; }; then
58761 eval "$as_ac_var=yes"
58762 else
58763 echo "$as_me: failed program was:" >&5
58764 sed 's/^/| /' conftest.$ac_ext >&5
58766 eval "$as_ac_var=no"
58768 rm -f conftest.err conftest.$ac_objext \
58769 conftest$ac_exeext conftest.$ac_ext
58771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58773 if test `eval echo '${'$as_ac_var'}'` = yes; then
58774 cat >>confdefs.h <<_ACEOF
58775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58776 _ACEOF
58779 done
58781 else
58783 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
58784 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
58785 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
58786 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
58787 echo $ECHO_N "(cached) $ECHO_C" >&6
58788 else
58792 ac_ext=cc
58793 ac_cpp='$CXXCPP $CPPFLAGS'
58794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58798 cat >conftest.$ac_ext <<_ACEOF
58799 /* confdefs.h. */
58800 _ACEOF
58801 cat confdefs.h >>conftest.$ac_ext
58802 cat >>conftest.$ac_ext <<_ACEOF
58803 /* end confdefs.h. */
58804 #include <math.h>
58805 #ifdef HAVE_IEEEFP_H
58806 #include <ieeefp.h>
58807 #endif
58810 main ()
58812 _sqrtl(0);
58814 return 0;
58816 _ACEOF
58817 rm -f conftest.$ac_objext
58818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58819 (eval $ac_compile) 2>conftest.er1
58820 ac_status=$?
58821 grep -v '^ *+' conftest.er1 >conftest.err
58822 rm -f conftest.er1
58823 cat conftest.err >&5
58824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58825 (exit $ac_status); } &&
58826 { ac_try='test -z "$ac_cxx_werror_flag"
58827 || test ! -s conftest.err'
58828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58829 (eval $ac_try) 2>&5
58830 ac_status=$?
58831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58832 (exit $ac_status); }; } &&
58833 { ac_try='test -s conftest.$ac_objext'
58834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58835 (eval $ac_try) 2>&5
58836 ac_status=$?
58837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58838 (exit $ac_status); }; }; then
58839 glibcxx_cv_func__sqrtl_use=yes
58840 else
58841 echo "$as_me: failed program was:" >&5
58842 sed 's/^/| /' conftest.$ac_ext >&5
58844 glibcxx_cv_func__sqrtl_use=no
58846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58847 ac_ext=c
58848 ac_cpp='$CPP $CPPFLAGS'
58849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58857 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
58858 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
58860 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
58862 for ac_func in _sqrtl
58864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58865 echo "$as_me:$LINENO: checking for $ac_func" >&5
58866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58867 if eval "test \"\${$as_ac_var+set}\" = set"; then
58868 echo $ECHO_N "(cached) $ECHO_C" >&6
58869 else
58870 if test x$gcc_no_link = xyes; then
58871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58873 { (exit 1); exit 1; }; }
58875 cat >conftest.$ac_ext <<_ACEOF
58876 /* confdefs.h. */
58877 _ACEOF
58878 cat confdefs.h >>conftest.$ac_ext
58879 cat >>conftest.$ac_ext <<_ACEOF
58880 /* end confdefs.h. */
58881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58883 #define $ac_func innocuous_$ac_func
58885 /* System header to define __stub macros and hopefully few prototypes,
58886 which can conflict with char $ac_func (); below.
58887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58888 <limits.h> exists even on freestanding compilers. */
58890 #ifdef __STDC__
58891 # include <limits.h>
58892 #else
58893 # include <assert.h>
58894 #endif
58896 #undef $ac_func
58898 /* Override any gcc2 internal prototype to avoid an error. */
58899 #ifdef __cplusplus
58900 extern "C"
58902 #endif
58903 /* We use char because int might match the return type of a gcc2
58904 builtin and then its argument prototype would still apply. */
58905 char $ac_func ();
58906 /* The GNU C library defines this for functions which it implements
58907 to always fail with ENOSYS. Some functions are actually named
58908 something starting with __ and the normal name is an alias. */
58909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58910 choke me
58911 #else
58912 char (*f) () = $ac_func;
58913 #endif
58914 #ifdef __cplusplus
58916 #endif
58919 main ()
58921 return f != $ac_func;
58923 return 0;
58925 _ACEOF
58926 rm -f conftest.$ac_objext conftest$ac_exeext
58927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58928 (eval $ac_link) 2>conftest.er1
58929 ac_status=$?
58930 grep -v '^ *+' conftest.er1 >conftest.err
58931 rm -f conftest.er1
58932 cat conftest.err >&5
58933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58934 (exit $ac_status); } &&
58935 { ac_try='test -z "$ac_c_werror_flag"
58936 || test ! -s conftest.err'
58937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58938 (eval $ac_try) 2>&5
58939 ac_status=$?
58940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58941 (exit $ac_status); }; } &&
58942 { ac_try='test -s conftest$ac_exeext'
58943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58944 (eval $ac_try) 2>&5
58945 ac_status=$?
58946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58947 (exit $ac_status); }; }; then
58948 eval "$as_ac_var=yes"
58949 else
58950 echo "$as_me: failed program was:" >&5
58951 sed 's/^/| /' conftest.$ac_ext >&5
58953 eval "$as_ac_var=no"
58955 rm -f conftest.err conftest.$ac_objext \
58956 conftest$ac_exeext conftest.$ac_ext
58958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58960 if test `eval echo '${'$as_ac_var'}'` = yes; then
58961 cat >>confdefs.h <<_ACEOF
58962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58963 _ACEOF
58966 done
58976 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
58977 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
58978 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
58979 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
58980 echo $ECHO_N "(cached) $ECHO_C" >&6
58981 else
58985 ac_ext=cc
58986 ac_cpp='$CXXCPP $CPPFLAGS'
58987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58991 cat >conftest.$ac_ext <<_ACEOF
58992 /* confdefs.h. */
58993 _ACEOF
58994 cat confdefs.h >>conftest.$ac_ext
58995 cat >>conftest.$ac_ext <<_ACEOF
58996 /* end confdefs.h. */
58997 #include <math.h>
58999 main ()
59001 sincosl(0, 0, 0);
59003 return 0;
59005 _ACEOF
59006 rm -f conftest.$ac_objext
59007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59008 (eval $ac_compile) 2>conftest.er1
59009 ac_status=$?
59010 grep -v '^ *+' conftest.er1 >conftest.err
59011 rm -f conftest.er1
59012 cat conftest.err >&5
59013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59014 (exit $ac_status); } &&
59015 { ac_try='test -z "$ac_cxx_werror_flag"
59016 || test ! -s conftest.err'
59017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59018 (eval $ac_try) 2>&5
59019 ac_status=$?
59020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59021 (exit $ac_status); }; } &&
59022 { ac_try='test -s conftest.$ac_objext'
59023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59024 (eval $ac_try) 2>&5
59025 ac_status=$?
59026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59027 (exit $ac_status); }; }; then
59028 glibcxx_cv_func_sincosl_use=yes
59029 else
59030 echo "$as_me: failed program was:" >&5
59031 sed 's/^/| /' conftest.$ac_ext >&5
59033 glibcxx_cv_func_sincosl_use=no
59035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59036 ac_ext=c
59037 ac_cpp='$CPP $CPPFLAGS'
59038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59046 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
59047 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
59049 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59051 for ac_func in sincosl
59053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59054 echo "$as_me:$LINENO: checking for $ac_func" >&5
59055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59056 if eval "test \"\${$as_ac_var+set}\" = set"; then
59057 echo $ECHO_N "(cached) $ECHO_C" >&6
59058 else
59059 if test x$gcc_no_link = xyes; then
59060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59062 { (exit 1); exit 1; }; }
59064 cat >conftest.$ac_ext <<_ACEOF
59065 /* confdefs.h. */
59066 _ACEOF
59067 cat confdefs.h >>conftest.$ac_ext
59068 cat >>conftest.$ac_ext <<_ACEOF
59069 /* end confdefs.h. */
59070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59072 #define $ac_func innocuous_$ac_func
59074 /* System header to define __stub macros and hopefully few prototypes,
59075 which can conflict with char $ac_func (); below.
59076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59077 <limits.h> exists even on freestanding compilers. */
59079 #ifdef __STDC__
59080 # include <limits.h>
59081 #else
59082 # include <assert.h>
59083 #endif
59085 #undef $ac_func
59087 /* Override any gcc2 internal prototype to avoid an error. */
59088 #ifdef __cplusplus
59089 extern "C"
59091 #endif
59092 /* We use char because int might match the return type of a gcc2
59093 builtin and then its argument prototype would still apply. */
59094 char $ac_func ();
59095 /* The GNU C library defines this for functions which it implements
59096 to always fail with ENOSYS. Some functions are actually named
59097 something starting with __ and the normal name is an alias. */
59098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59099 choke me
59100 #else
59101 char (*f) () = $ac_func;
59102 #endif
59103 #ifdef __cplusplus
59105 #endif
59108 main ()
59110 return f != $ac_func;
59112 return 0;
59114 _ACEOF
59115 rm -f conftest.$ac_objext conftest$ac_exeext
59116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59117 (eval $ac_link) 2>conftest.er1
59118 ac_status=$?
59119 grep -v '^ *+' conftest.er1 >conftest.err
59120 rm -f conftest.er1
59121 cat conftest.err >&5
59122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59123 (exit $ac_status); } &&
59124 { ac_try='test -z "$ac_c_werror_flag"
59125 || test ! -s conftest.err'
59126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59127 (eval $ac_try) 2>&5
59128 ac_status=$?
59129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59130 (exit $ac_status); }; } &&
59131 { ac_try='test -s conftest$ac_exeext'
59132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59133 (eval $ac_try) 2>&5
59134 ac_status=$?
59135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59136 (exit $ac_status); }; }; then
59137 eval "$as_ac_var=yes"
59138 else
59139 echo "$as_me: failed program was:" >&5
59140 sed 's/^/| /' conftest.$ac_ext >&5
59142 eval "$as_ac_var=no"
59144 rm -f conftest.err conftest.$ac_objext \
59145 conftest$ac_exeext conftest.$ac_ext
59147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59149 if test `eval echo '${'$as_ac_var'}'` = yes; then
59150 cat >>confdefs.h <<_ACEOF
59151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59152 _ACEOF
59155 done
59157 else
59159 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
59160 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
59161 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59162 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
59163 echo $ECHO_N "(cached) $ECHO_C" >&6
59164 else
59168 ac_ext=cc
59169 ac_cpp='$CXXCPP $CPPFLAGS'
59170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59174 cat >conftest.$ac_ext <<_ACEOF
59175 /* confdefs.h. */
59176 _ACEOF
59177 cat confdefs.h >>conftest.$ac_ext
59178 cat >>conftest.$ac_ext <<_ACEOF
59179 /* end confdefs.h. */
59180 #include <math.h>
59182 main ()
59184 _sincosl(0, 0, 0);
59186 return 0;
59188 _ACEOF
59189 rm -f conftest.$ac_objext
59190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59191 (eval $ac_compile) 2>conftest.er1
59192 ac_status=$?
59193 grep -v '^ *+' conftest.er1 >conftest.err
59194 rm -f conftest.er1
59195 cat conftest.err >&5
59196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59197 (exit $ac_status); } &&
59198 { ac_try='test -z "$ac_cxx_werror_flag"
59199 || test ! -s conftest.err'
59200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59201 (eval $ac_try) 2>&5
59202 ac_status=$?
59203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59204 (exit $ac_status); }; } &&
59205 { ac_try='test -s conftest.$ac_objext'
59206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59207 (eval $ac_try) 2>&5
59208 ac_status=$?
59209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59210 (exit $ac_status); }; }; then
59211 glibcxx_cv_func__sincosl_use=yes
59212 else
59213 echo "$as_me: failed program was:" >&5
59214 sed 's/^/| /' conftest.$ac_ext >&5
59216 glibcxx_cv_func__sincosl_use=no
59218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59219 ac_ext=c
59220 ac_cpp='$CPP $CPPFLAGS'
59221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59229 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
59230 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
59232 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59234 for ac_func in _sincosl
59236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59237 echo "$as_me:$LINENO: checking for $ac_func" >&5
59238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59239 if eval "test \"\${$as_ac_var+set}\" = set"; then
59240 echo $ECHO_N "(cached) $ECHO_C" >&6
59241 else
59242 if test x$gcc_no_link = xyes; then
59243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59245 { (exit 1); exit 1; }; }
59247 cat >conftest.$ac_ext <<_ACEOF
59248 /* confdefs.h. */
59249 _ACEOF
59250 cat confdefs.h >>conftest.$ac_ext
59251 cat >>conftest.$ac_ext <<_ACEOF
59252 /* end confdefs.h. */
59253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59255 #define $ac_func innocuous_$ac_func
59257 /* System header to define __stub macros and hopefully few prototypes,
59258 which can conflict with char $ac_func (); below.
59259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59260 <limits.h> exists even on freestanding compilers. */
59262 #ifdef __STDC__
59263 # include <limits.h>
59264 #else
59265 # include <assert.h>
59266 #endif
59268 #undef $ac_func
59270 /* Override any gcc2 internal prototype to avoid an error. */
59271 #ifdef __cplusplus
59272 extern "C"
59274 #endif
59275 /* We use char because int might match the return type of a gcc2
59276 builtin and then its argument prototype would still apply. */
59277 char $ac_func ();
59278 /* The GNU C library defines this for functions which it implements
59279 to always fail with ENOSYS. Some functions are actually named
59280 something starting with __ and the normal name is an alias. */
59281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59282 choke me
59283 #else
59284 char (*f) () = $ac_func;
59285 #endif
59286 #ifdef __cplusplus
59288 #endif
59291 main ()
59293 return f != $ac_func;
59295 return 0;
59297 _ACEOF
59298 rm -f conftest.$ac_objext conftest$ac_exeext
59299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59300 (eval $ac_link) 2>conftest.er1
59301 ac_status=$?
59302 grep -v '^ *+' conftest.er1 >conftest.err
59303 rm -f conftest.er1
59304 cat conftest.err >&5
59305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59306 (exit $ac_status); } &&
59307 { ac_try='test -z "$ac_c_werror_flag"
59308 || test ! -s conftest.err'
59309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59310 (eval $ac_try) 2>&5
59311 ac_status=$?
59312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59313 (exit $ac_status); }; } &&
59314 { ac_try='test -s conftest$ac_exeext'
59315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59316 (eval $ac_try) 2>&5
59317 ac_status=$?
59318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59319 (exit $ac_status); }; }; then
59320 eval "$as_ac_var=yes"
59321 else
59322 echo "$as_me: failed program was:" >&5
59323 sed 's/^/| /' conftest.$ac_ext >&5
59325 eval "$as_ac_var=no"
59327 rm -f conftest.err conftest.$ac_objext \
59328 conftest$ac_exeext conftest.$ac_ext
59330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59332 if test `eval echo '${'$as_ac_var'}'` = yes; then
59333 cat >>confdefs.h <<_ACEOF
59334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59335 _ACEOF
59338 done
59348 echo "$as_me:$LINENO: checking for finitel declaration" >&5
59349 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
59350 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59351 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
59352 echo $ECHO_N "(cached) $ECHO_C" >&6
59353 else
59357 ac_ext=cc
59358 ac_cpp='$CXXCPP $CPPFLAGS'
59359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59363 cat >conftest.$ac_ext <<_ACEOF
59364 /* confdefs.h. */
59365 _ACEOF
59366 cat confdefs.h >>conftest.$ac_ext
59367 cat >>conftest.$ac_ext <<_ACEOF
59368 /* end confdefs.h. */
59369 #include <math.h>
59370 #ifdef HAVE_IEEEFP_H
59371 #include <ieeefp.h>
59372 #endif
59375 main ()
59377 finitel(0);
59379 return 0;
59381 _ACEOF
59382 rm -f conftest.$ac_objext
59383 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59384 (eval $ac_compile) 2>conftest.er1
59385 ac_status=$?
59386 grep -v '^ *+' conftest.er1 >conftest.err
59387 rm -f conftest.er1
59388 cat conftest.err >&5
59389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59390 (exit $ac_status); } &&
59391 { ac_try='test -z "$ac_cxx_werror_flag"
59392 || test ! -s conftest.err'
59393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59394 (eval $ac_try) 2>&5
59395 ac_status=$?
59396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59397 (exit $ac_status); }; } &&
59398 { ac_try='test -s conftest.$ac_objext'
59399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59400 (eval $ac_try) 2>&5
59401 ac_status=$?
59402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59403 (exit $ac_status); }; }; then
59404 glibcxx_cv_func_finitel_use=yes
59405 else
59406 echo "$as_me: failed program was:" >&5
59407 sed 's/^/| /' conftest.$ac_ext >&5
59409 glibcxx_cv_func_finitel_use=no
59411 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59412 ac_ext=c
59413 ac_cpp='$CPP $CPPFLAGS'
59414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59422 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
59423 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
59425 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59427 for ac_func in finitel
59429 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59430 echo "$as_me:$LINENO: checking for $ac_func" >&5
59431 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59432 if eval "test \"\${$as_ac_var+set}\" = set"; then
59433 echo $ECHO_N "(cached) $ECHO_C" >&6
59434 else
59435 if test x$gcc_no_link = xyes; then
59436 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59437 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59438 { (exit 1); exit 1; }; }
59440 cat >conftest.$ac_ext <<_ACEOF
59441 /* confdefs.h. */
59442 _ACEOF
59443 cat confdefs.h >>conftest.$ac_ext
59444 cat >>conftest.$ac_ext <<_ACEOF
59445 /* end confdefs.h. */
59446 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59447 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59448 #define $ac_func innocuous_$ac_func
59450 /* System header to define __stub macros and hopefully few prototypes,
59451 which can conflict with char $ac_func (); below.
59452 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59453 <limits.h> exists even on freestanding compilers. */
59455 #ifdef __STDC__
59456 # include <limits.h>
59457 #else
59458 # include <assert.h>
59459 #endif
59461 #undef $ac_func
59463 /* Override any gcc2 internal prototype to avoid an error. */
59464 #ifdef __cplusplus
59465 extern "C"
59467 #endif
59468 /* We use char because int might match the return type of a gcc2
59469 builtin and then its argument prototype would still apply. */
59470 char $ac_func ();
59471 /* The GNU C library defines this for functions which it implements
59472 to always fail with ENOSYS. Some functions are actually named
59473 something starting with __ and the normal name is an alias. */
59474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59475 choke me
59476 #else
59477 char (*f) () = $ac_func;
59478 #endif
59479 #ifdef __cplusplus
59481 #endif
59484 main ()
59486 return f != $ac_func;
59488 return 0;
59490 _ACEOF
59491 rm -f conftest.$ac_objext conftest$ac_exeext
59492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59493 (eval $ac_link) 2>conftest.er1
59494 ac_status=$?
59495 grep -v '^ *+' conftest.er1 >conftest.err
59496 rm -f conftest.er1
59497 cat conftest.err >&5
59498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59499 (exit $ac_status); } &&
59500 { ac_try='test -z "$ac_c_werror_flag"
59501 || test ! -s conftest.err'
59502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59503 (eval $ac_try) 2>&5
59504 ac_status=$?
59505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59506 (exit $ac_status); }; } &&
59507 { ac_try='test -s conftest$ac_exeext'
59508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59509 (eval $ac_try) 2>&5
59510 ac_status=$?
59511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59512 (exit $ac_status); }; }; then
59513 eval "$as_ac_var=yes"
59514 else
59515 echo "$as_me: failed program was:" >&5
59516 sed 's/^/| /' conftest.$ac_ext >&5
59518 eval "$as_ac_var=no"
59520 rm -f conftest.err conftest.$ac_objext \
59521 conftest$ac_exeext conftest.$ac_ext
59523 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59524 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59525 if test `eval echo '${'$as_ac_var'}'` = yes; then
59526 cat >>confdefs.h <<_ACEOF
59527 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59528 _ACEOF
59531 done
59533 else
59535 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
59536 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
59537 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59538 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
59539 echo $ECHO_N "(cached) $ECHO_C" >&6
59540 else
59544 ac_ext=cc
59545 ac_cpp='$CXXCPP $CPPFLAGS'
59546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59550 cat >conftest.$ac_ext <<_ACEOF
59551 /* confdefs.h. */
59552 _ACEOF
59553 cat confdefs.h >>conftest.$ac_ext
59554 cat >>conftest.$ac_ext <<_ACEOF
59555 /* end confdefs.h. */
59556 #include <math.h>
59557 #ifdef HAVE_IEEEFP_H
59558 #include <ieeefp.h>
59559 #endif
59562 main ()
59564 _finitel(0);
59566 return 0;
59568 _ACEOF
59569 rm -f conftest.$ac_objext
59570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59571 (eval $ac_compile) 2>conftest.er1
59572 ac_status=$?
59573 grep -v '^ *+' conftest.er1 >conftest.err
59574 rm -f conftest.er1
59575 cat conftest.err >&5
59576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59577 (exit $ac_status); } &&
59578 { ac_try='test -z "$ac_cxx_werror_flag"
59579 || test ! -s conftest.err'
59580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59581 (eval $ac_try) 2>&5
59582 ac_status=$?
59583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59584 (exit $ac_status); }; } &&
59585 { ac_try='test -s conftest.$ac_objext'
59586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59587 (eval $ac_try) 2>&5
59588 ac_status=$?
59589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59590 (exit $ac_status); }; }; then
59591 glibcxx_cv_func__finitel_use=yes
59592 else
59593 echo "$as_me: failed program was:" >&5
59594 sed 's/^/| /' conftest.$ac_ext >&5
59596 glibcxx_cv_func__finitel_use=no
59598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59599 ac_ext=c
59600 ac_cpp='$CPP $CPPFLAGS'
59601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59609 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
59610 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
59612 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59614 for ac_func in _finitel
59616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59617 echo "$as_me:$LINENO: checking for $ac_func" >&5
59618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59619 if eval "test \"\${$as_ac_var+set}\" = set"; then
59620 echo $ECHO_N "(cached) $ECHO_C" >&6
59621 else
59622 if test x$gcc_no_link = xyes; then
59623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59625 { (exit 1); exit 1; }; }
59627 cat >conftest.$ac_ext <<_ACEOF
59628 /* confdefs.h. */
59629 _ACEOF
59630 cat confdefs.h >>conftest.$ac_ext
59631 cat >>conftest.$ac_ext <<_ACEOF
59632 /* end confdefs.h. */
59633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59635 #define $ac_func innocuous_$ac_func
59637 /* System header to define __stub macros and hopefully few prototypes,
59638 which can conflict with char $ac_func (); below.
59639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59640 <limits.h> exists even on freestanding compilers. */
59642 #ifdef __STDC__
59643 # include <limits.h>
59644 #else
59645 # include <assert.h>
59646 #endif
59648 #undef $ac_func
59650 /* Override any gcc2 internal prototype to avoid an error. */
59651 #ifdef __cplusplus
59652 extern "C"
59654 #endif
59655 /* We use char because int might match the return type of a gcc2
59656 builtin and then its argument prototype would still apply. */
59657 char $ac_func ();
59658 /* The GNU C library defines this for functions which it implements
59659 to always fail with ENOSYS. Some functions are actually named
59660 something starting with __ and the normal name is an alias. */
59661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59662 choke me
59663 #else
59664 char (*f) () = $ac_func;
59665 #endif
59666 #ifdef __cplusplus
59668 #endif
59671 main ()
59673 return f != $ac_func;
59675 return 0;
59677 _ACEOF
59678 rm -f conftest.$ac_objext conftest$ac_exeext
59679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59680 (eval $ac_link) 2>conftest.er1
59681 ac_status=$?
59682 grep -v '^ *+' conftest.er1 >conftest.err
59683 rm -f conftest.er1
59684 cat conftest.err >&5
59685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59686 (exit $ac_status); } &&
59687 { ac_try='test -z "$ac_c_werror_flag"
59688 || test ! -s conftest.err'
59689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59690 (eval $ac_try) 2>&5
59691 ac_status=$?
59692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59693 (exit $ac_status); }; } &&
59694 { ac_try='test -s conftest$ac_exeext'
59695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59696 (eval $ac_try) 2>&5
59697 ac_status=$?
59698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59699 (exit $ac_status); }; }; then
59700 eval "$as_ac_var=yes"
59701 else
59702 echo "$as_me: failed program was:" >&5
59703 sed 's/^/| /' conftest.$ac_ext >&5
59705 eval "$as_ac_var=no"
59707 rm -f conftest.err conftest.$ac_objext \
59708 conftest$ac_exeext conftest.$ac_ext
59710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59712 if test `eval echo '${'$as_ac_var'}'` = yes; then
59713 cat >>confdefs.h <<_ACEOF
59714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59715 _ACEOF
59718 done
59727 LIBS="$ac_save_LIBS"
59728 CXXFLAGS="$ac_save_CXXFLAGS"
59732 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
59733 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
59734 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
59735 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
59736 echo $ECHO_N "(cached) $ECHO_C" >&6
59737 else
59741 ac_ext=cc
59742 ac_cpp='$CXXCPP $CPPFLAGS'
59743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59747 cat >conftest.$ac_ext <<_ACEOF
59748 /* confdefs.h. */
59749 _ACEOF
59750 cat confdefs.h >>conftest.$ac_ext
59751 cat >>conftest.$ac_ext <<_ACEOF
59752 /* end confdefs.h. */
59753 #include <math.h>
59755 main ()
59757 __builtin_abs(0);
59759 return 0;
59761 _ACEOF
59762 rm -f conftest.$ac_objext
59763 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59764 (eval $ac_compile) 2>conftest.er1
59765 ac_status=$?
59766 grep -v '^ *+' conftest.er1 >conftest.err
59767 rm -f conftest.er1
59768 cat conftest.err >&5
59769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59770 (exit $ac_status); } &&
59771 { ac_try='test -z "$ac_cxx_werror_flag"
59772 || test ! -s conftest.err'
59773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59774 (eval $ac_try) 2>&5
59775 ac_status=$?
59776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59777 (exit $ac_status); }; } &&
59778 { ac_try='test -s conftest.$ac_objext'
59779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59780 (eval $ac_try) 2>&5
59781 ac_status=$?
59782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59783 (exit $ac_status); }; }; then
59784 glibcxx_cv_func___builtin_abs_use=yes
59785 else
59786 echo "$as_me: failed program was:" >&5
59787 sed 's/^/| /' conftest.$ac_ext >&5
59789 glibcxx_cv_func___builtin_abs_use=no
59791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59792 ac_ext=c
59793 ac_cpp='$CPP $CPPFLAGS'
59794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59802 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
59803 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
59804 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
59805 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
59806 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
59807 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
59808 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
59809 echo $ECHO_N "(cached) $ECHO_C" >&6
59810 else
59812 if test x$gcc_no_link = xyes; then
59813 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59814 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59815 { (exit 1); exit 1; }; }
59817 cat >conftest.$ac_ext <<_ACEOF
59818 /* confdefs.h. */
59819 _ACEOF
59820 cat confdefs.h >>conftest.$ac_ext
59821 cat >>conftest.$ac_ext <<_ACEOF
59822 /* end confdefs.h. */
59823 #include <math.h>
59825 main ()
59827 __builtin_abs(0);
59829 return 0;
59831 _ACEOF
59832 rm -f conftest.$ac_objext conftest$ac_exeext
59833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59834 (eval $ac_link) 2>conftest.er1
59835 ac_status=$?
59836 grep -v '^ *+' conftest.er1 >conftest.err
59837 rm -f conftest.er1
59838 cat conftest.err >&5
59839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59840 (exit $ac_status); } &&
59841 { ac_try='test -z "$ac_c_werror_flag"
59842 || test ! -s conftest.err'
59843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59844 (eval $ac_try) 2>&5
59845 ac_status=$?
59846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59847 (exit $ac_status); }; } &&
59848 { ac_try='test -s conftest$ac_exeext'
59849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59850 (eval $ac_try) 2>&5
59851 ac_status=$?
59852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59853 (exit $ac_status); }; }; then
59854 glibcxx_cv_func___builtin_abs_link=yes
59855 else
59856 echo "$as_me: failed program was:" >&5
59857 sed 's/^/| /' conftest.$ac_ext >&5
59859 glibcxx_cv_func___builtin_abs_link=no
59861 rm -f conftest.err conftest.$ac_objext \
59862 conftest$ac_exeext conftest.$ac_ext
59867 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
59868 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
59870 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
59872 cat >>confdefs.h <<\_ACEOF
59873 #define HAVE___BUILTIN_ABS 1
59874 _ACEOF
59881 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
59882 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
59883 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
59884 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
59885 echo $ECHO_N "(cached) $ECHO_C" >&6
59886 else
59890 ac_ext=cc
59891 ac_cpp='$CXXCPP $CPPFLAGS'
59892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59896 cat >conftest.$ac_ext <<_ACEOF
59897 /* confdefs.h. */
59898 _ACEOF
59899 cat confdefs.h >>conftest.$ac_ext
59900 cat >>conftest.$ac_ext <<_ACEOF
59901 /* end confdefs.h. */
59902 #include <math.h>
59904 main ()
59906 __builtin_fabsf(0);
59908 return 0;
59910 _ACEOF
59911 rm -f conftest.$ac_objext
59912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59913 (eval $ac_compile) 2>conftest.er1
59914 ac_status=$?
59915 grep -v '^ *+' conftest.er1 >conftest.err
59916 rm -f conftest.er1
59917 cat conftest.err >&5
59918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59919 (exit $ac_status); } &&
59920 { ac_try='test -z "$ac_cxx_werror_flag"
59921 || test ! -s conftest.err'
59922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59923 (eval $ac_try) 2>&5
59924 ac_status=$?
59925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59926 (exit $ac_status); }; } &&
59927 { ac_try='test -s conftest.$ac_objext'
59928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59929 (eval $ac_try) 2>&5
59930 ac_status=$?
59931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59932 (exit $ac_status); }; }; then
59933 glibcxx_cv_func___builtin_fabsf_use=yes
59934 else
59935 echo "$as_me: failed program was:" >&5
59936 sed 's/^/| /' conftest.$ac_ext >&5
59938 glibcxx_cv_func___builtin_fabsf_use=no
59940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59941 ac_ext=c
59942 ac_cpp='$CPP $CPPFLAGS'
59943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59951 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
59952 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
59953 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
59954 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
59955 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
59956 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
59957 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
59958 echo $ECHO_N "(cached) $ECHO_C" >&6
59959 else
59961 if test x$gcc_no_link = xyes; then
59962 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59964 { (exit 1); exit 1; }; }
59966 cat >conftest.$ac_ext <<_ACEOF
59967 /* confdefs.h. */
59968 _ACEOF
59969 cat confdefs.h >>conftest.$ac_ext
59970 cat >>conftest.$ac_ext <<_ACEOF
59971 /* end confdefs.h. */
59972 #include <math.h>
59974 main ()
59976 __builtin_fabsf(0);
59978 return 0;
59980 _ACEOF
59981 rm -f conftest.$ac_objext conftest$ac_exeext
59982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59983 (eval $ac_link) 2>conftest.er1
59984 ac_status=$?
59985 grep -v '^ *+' conftest.er1 >conftest.err
59986 rm -f conftest.er1
59987 cat conftest.err >&5
59988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59989 (exit $ac_status); } &&
59990 { ac_try='test -z "$ac_c_werror_flag"
59991 || test ! -s conftest.err'
59992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59993 (eval $ac_try) 2>&5
59994 ac_status=$?
59995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59996 (exit $ac_status); }; } &&
59997 { ac_try='test -s conftest$ac_exeext'
59998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59999 (eval $ac_try) 2>&5
60000 ac_status=$?
60001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60002 (exit $ac_status); }; }; then
60003 glibcxx_cv_func___builtin_fabsf_link=yes
60004 else
60005 echo "$as_me: failed program was:" >&5
60006 sed 's/^/| /' conftest.$ac_ext >&5
60008 glibcxx_cv_func___builtin_fabsf_link=no
60010 rm -f conftest.err conftest.$ac_objext \
60011 conftest$ac_exeext conftest.$ac_ext
60016 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
60017 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
60019 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
60021 cat >>confdefs.h <<\_ACEOF
60022 #define HAVE___BUILTIN_FABSF 1
60023 _ACEOF
60030 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
60031 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
60032 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
60033 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
60034 echo $ECHO_N "(cached) $ECHO_C" >&6
60035 else
60039 ac_ext=cc
60040 ac_cpp='$CXXCPP $CPPFLAGS'
60041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60045 cat >conftest.$ac_ext <<_ACEOF
60046 /* confdefs.h. */
60047 _ACEOF
60048 cat confdefs.h >>conftest.$ac_ext
60049 cat >>conftest.$ac_ext <<_ACEOF
60050 /* end confdefs.h. */
60051 #include <math.h>
60053 main ()
60055 __builtin_fabs(0);
60057 return 0;
60059 _ACEOF
60060 rm -f conftest.$ac_objext
60061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60062 (eval $ac_compile) 2>conftest.er1
60063 ac_status=$?
60064 grep -v '^ *+' conftest.er1 >conftest.err
60065 rm -f conftest.er1
60066 cat conftest.err >&5
60067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60068 (exit $ac_status); } &&
60069 { ac_try='test -z "$ac_cxx_werror_flag"
60070 || test ! -s conftest.err'
60071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60072 (eval $ac_try) 2>&5
60073 ac_status=$?
60074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60075 (exit $ac_status); }; } &&
60076 { ac_try='test -s conftest.$ac_objext'
60077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60078 (eval $ac_try) 2>&5
60079 ac_status=$?
60080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60081 (exit $ac_status); }; }; then
60082 glibcxx_cv_func___builtin_fabs_use=yes
60083 else
60084 echo "$as_me: failed program was:" >&5
60085 sed 's/^/| /' conftest.$ac_ext >&5
60087 glibcxx_cv_func___builtin_fabs_use=no
60089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60090 ac_ext=c
60091 ac_cpp='$CPP $CPPFLAGS'
60092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60100 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
60101 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
60102 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
60103 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
60104 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
60105 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
60106 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
60107 echo $ECHO_N "(cached) $ECHO_C" >&6
60108 else
60110 if test x$gcc_no_link = xyes; then
60111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60113 { (exit 1); exit 1; }; }
60115 cat >conftest.$ac_ext <<_ACEOF
60116 /* confdefs.h. */
60117 _ACEOF
60118 cat confdefs.h >>conftest.$ac_ext
60119 cat >>conftest.$ac_ext <<_ACEOF
60120 /* end confdefs.h. */
60121 #include <math.h>
60123 main ()
60125 __builtin_fabs(0);
60127 return 0;
60129 _ACEOF
60130 rm -f conftest.$ac_objext conftest$ac_exeext
60131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60132 (eval $ac_link) 2>conftest.er1
60133 ac_status=$?
60134 grep -v '^ *+' conftest.er1 >conftest.err
60135 rm -f conftest.er1
60136 cat conftest.err >&5
60137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60138 (exit $ac_status); } &&
60139 { ac_try='test -z "$ac_c_werror_flag"
60140 || test ! -s conftest.err'
60141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60142 (eval $ac_try) 2>&5
60143 ac_status=$?
60144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60145 (exit $ac_status); }; } &&
60146 { ac_try='test -s conftest$ac_exeext'
60147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60148 (eval $ac_try) 2>&5
60149 ac_status=$?
60150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60151 (exit $ac_status); }; }; then
60152 glibcxx_cv_func___builtin_fabs_link=yes
60153 else
60154 echo "$as_me: failed program was:" >&5
60155 sed 's/^/| /' conftest.$ac_ext >&5
60157 glibcxx_cv_func___builtin_fabs_link=no
60159 rm -f conftest.err conftest.$ac_objext \
60160 conftest$ac_exeext conftest.$ac_ext
60165 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
60166 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
60168 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
60170 cat >>confdefs.h <<\_ACEOF
60171 #define HAVE___BUILTIN_FABS 1
60172 _ACEOF
60179 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
60180 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
60181 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
60182 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
60183 echo $ECHO_N "(cached) $ECHO_C" >&6
60184 else
60188 ac_ext=cc
60189 ac_cpp='$CXXCPP $CPPFLAGS'
60190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60194 cat >conftest.$ac_ext <<_ACEOF
60195 /* confdefs.h. */
60196 _ACEOF
60197 cat confdefs.h >>conftest.$ac_ext
60198 cat >>conftest.$ac_ext <<_ACEOF
60199 /* end confdefs.h. */
60200 #include <math.h>
60202 main ()
60204 __builtin_fabsl(0);
60206 return 0;
60208 _ACEOF
60209 rm -f conftest.$ac_objext
60210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60211 (eval $ac_compile) 2>conftest.er1
60212 ac_status=$?
60213 grep -v '^ *+' conftest.er1 >conftest.err
60214 rm -f conftest.er1
60215 cat conftest.err >&5
60216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60217 (exit $ac_status); } &&
60218 { ac_try='test -z "$ac_cxx_werror_flag"
60219 || test ! -s conftest.err'
60220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60221 (eval $ac_try) 2>&5
60222 ac_status=$?
60223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60224 (exit $ac_status); }; } &&
60225 { ac_try='test -s conftest.$ac_objext'
60226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60227 (eval $ac_try) 2>&5
60228 ac_status=$?
60229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60230 (exit $ac_status); }; }; then
60231 glibcxx_cv_func___builtin_fabsl_use=yes
60232 else
60233 echo "$as_me: failed program was:" >&5
60234 sed 's/^/| /' conftest.$ac_ext >&5
60236 glibcxx_cv_func___builtin_fabsl_use=no
60238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60239 ac_ext=c
60240 ac_cpp='$CPP $CPPFLAGS'
60241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60249 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
60250 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
60251 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
60252 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
60253 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
60254 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
60255 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
60256 echo $ECHO_N "(cached) $ECHO_C" >&6
60257 else
60259 if test x$gcc_no_link = xyes; then
60260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60262 { (exit 1); exit 1; }; }
60264 cat >conftest.$ac_ext <<_ACEOF
60265 /* confdefs.h. */
60266 _ACEOF
60267 cat confdefs.h >>conftest.$ac_ext
60268 cat >>conftest.$ac_ext <<_ACEOF
60269 /* end confdefs.h. */
60270 #include <math.h>
60272 main ()
60274 __builtin_fabsl(0);
60276 return 0;
60278 _ACEOF
60279 rm -f conftest.$ac_objext conftest$ac_exeext
60280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60281 (eval $ac_link) 2>conftest.er1
60282 ac_status=$?
60283 grep -v '^ *+' conftest.er1 >conftest.err
60284 rm -f conftest.er1
60285 cat conftest.err >&5
60286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60287 (exit $ac_status); } &&
60288 { ac_try='test -z "$ac_c_werror_flag"
60289 || test ! -s conftest.err'
60290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60291 (eval $ac_try) 2>&5
60292 ac_status=$?
60293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60294 (exit $ac_status); }; } &&
60295 { ac_try='test -s conftest$ac_exeext'
60296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60297 (eval $ac_try) 2>&5
60298 ac_status=$?
60299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60300 (exit $ac_status); }; }; then
60301 glibcxx_cv_func___builtin_fabsl_link=yes
60302 else
60303 echo "$as_me: failed program was:" >&5
60304 sed 's/^/| /' conftest.$ac_ext >&5
60306 glibcxx_cv_func___builtin_fabsl_link=no
60308 rm -f conftest.err conftest.$ac_objext \
60309 conftest$ac_exeext conftest.$ac_ext
60314 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
60315 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
60317 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
60319 cat >>confdefs.h <<\_ACEOF
60320 #define HAVE___BUILTIN_FABSL 1
60321 _ACEOF
60328 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
60329 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
60330 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
60331 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
60332 echo $ECHO_N "(cached) $ECHO_C" >&6
60333 else
60337 ac_ext=cc
60338 ac_cpp='$CXXCPP $CPPFLAGS'
60339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60343 cat >conftest.$ac_ext <<_ACEOF
60344 /* confdefs.h. */
60345 _ACEOF
60346 cat confdefs.h >>conftest.$ac_ext
60347 cat >>conftest.$ac_ext <<_ACEOF
60348 /* end confdefs.h. */
60349 #include <math.h>
60351 main ()
60353 __builtin_labs(0);
60355 return 0;
60357 _ACEOF
60358 rm -f conftest.$ac_objext
60359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60360 (eval $ac_compile) 2>conftest.er1
60361 ac_status=$?
60362 grep -v '^ *+' conftest.er1 >conftest.err
60363 rm -f conftest.er1
60364 cat conftest.err >&5
60365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60366 (exit $ac_status); } &&
60367 { ac_try='test -z "$ac_cxx_werror_flag"
60368 || test ! -s conftest.err'
60369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60370 (eval $ac_try) 2>&5
60371 ac_status=$?
60372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60373 (exit $ac_status); }; } &&
60374 { ac_try='test -s conftest.$ac_objext'
60375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60376 (eval $ac_try) 2>&5
60377 ac_status=$?
60378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60379 (exit $ac_status); }; }; then
60380 glibcxx_cv_func___builtin_labs_use=yes
60381 else
60382 echo "$as_me: failed program was:" >&5
60383 sed 's/^/| /' conftest.$ac_ext >&5
60385 glibcxx_cv_func___builtin_labs_use=no
60387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60388 ac_ext=c
60389 ac_cpp='$CPP $CPPFLAGS'
60390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60398 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
60399 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
60400 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
60401 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
60402 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
60403 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
60404 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
60405 echo $ECHO_N "(cached) $ECHO_C" >&6
60406 else
60408 if test x$gcc_no_link = xyes; then
60409 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60410 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60411 { (exit 1); exit 1; }; }
60413 cat >conftest.$ac_ext <<_ACEOF
60414 /* confdefs.h. */
60415 _ACEOF
60416 cat confdefs.h >>conftest.$ac_ext
60417 cat >>conftest.$ac_ext <<_ACEOF
60418 /* end confdefs.h. */
60419 #include <math.h>
60421 main ()
60423 __builtin_labs(0);
60425 return 0;
60427 _ACEOF
60428 rm -f conftest.$ac_objext conftest$ac_exeext
60429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60430 (eval $ac_link) 2>conftest.er1
60431 ac_status=$?
60432 grep -v '^ *+' conftest.er1 >conftest.err
60433 rm -f conftest.er1
60434 cat conftest.err >&5
60435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60436 (exit $ac_status); } &&
60437 { ac_try='test -z "$ac_c_werror_flag"
60438 || test ! -s conftest.err'
60439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60440 (eval $ac_try) 2>&5
60441 ac_status=$?
60442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60443 (exit $ac_status); }; } &&
60444 { ac_try='test -s conftest$ac_exeext'
60445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60446 (eval $ac_try) 2>&5
60447 ac_status=$?
60448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60449 (exit $ac_status); }; }; then
60450 glibcxx_cv_func___builtin_labs_link=yes
60451 else
60452 echo "$as_me: failed program was:" >&5
60453 sed 's/^/| /' conftest.$ac_ext >&5
60455 glibcxx_cv_func___builtin_labs_link=no
60457 rm -f conftest.err conftest.$ac_objext \
60458 conftest$ac_exeext conftest.$ac_ext
60463 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
60464 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
60466 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
60468 cat >>confdefs.h <<\_ACEOF
60469 #define HAVE___BUILTIN_LABS 1
60470 _ACEOF
60478 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
60479 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
60480 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
60481 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
60482 echo $ECHO_N "(cached) $ECHO_C" >&6
60483 else
60487 ac_ext=cc
60488 ac_cpp='$CXXCPP $CPPFLAGS'
60489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60493 cat >conftest.$ac_ext <<_ACEOF
60494 /* confdefs.h. */
60495 _ACEOF
60496 cat confdefs.h >>conftest.$ac_ext
60497 cat >>conftest.$ac_ext <<_ACEOF
60498 /* end confdefs.h. */
60499 #include <math.h>
60501 main ()
60503 __builtin_sqrtf(0);
60505 return 0;
60507 _ACEOF
60508 rm -f conftest.$ac_objext
60509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60510 (eval $ac_compile) 2>conftest.er1
60511 ac_status=$?
60512 grep -v '^ *+' conftest.er1 >conftest.err
60513 rm -f conftest.er1
60514 cat conftest.err >&5
60515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60516 (exit $ac_status); } &&
60517 { ac_try='test -z "$ac_cxx_werror_flag"
60518 || test ! -s conftest.err'
60519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60520 (eval $ac_try) 2>&5
60521 ac_status=$?
60522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60523 (exit $ac_status); }; } &&
60524 { ac_try='test -s conftest.$ac_objext'
60525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60526 (eval $ac_try) 2>&5
60527 ac_status=$?
60528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60529 (exit $ac_status); }; }; then
60530 glibcxx_cv_func___builtin_sqrtf_use=yes
60531 else
60532 echo "$as_me: failed program was:" >&5
60533 sed 's/^/| /' conftest.$ac_ext >&5
60535 glibcxx_cv_func___builtin_sqrtf_use=no
60537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60538 ac_ext=c
60539 ac_cpp='$CPP $CPPFLAGS'
60540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60548 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
60549 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
60550 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
60551 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
60552 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
60553 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
60554 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
60555 echo $ECHO_N "(cached) $ECHO_C" >&6
60556 else
60558 if test x$gcc_no_link = xyes; then
60559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60561 { (exit 1); exit 1; }; }
60563 cat >conftest.$ac_ext <<_ACEOF
60564 /* confdefs.h. */
60565 _ACEOF
60566 cat confdefs.h >>conftest.$ac_ext
60567 cat >>conftest.$ac_ext <<_ACEOF
60568 /* end confdefs.h. */
60569 #include <math.h>
60571 main ()
60573 __builtin_sqrtf(0);
60575 return 0;
60577 _ACEOF
60578 rm -f conftest.$ac_objext conftest$ac_exeext
60579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60580 (eval $ac_link) 2>conftest.er1
60581 ac_status=$?
60582 grep -v '^ *+' conftest.er1 >conftest.err
60583 rm -f conftest.er1
60584 cat conftest.err >&5
60585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60586 (exit $ac_status); } &&
60587 { ac_try='test -z "$ac_c_werror_flag"
60588 || test ! -s conftest.err'
60589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60590 (eval $ac_try) 2>&5
60591 ac_status=$?
60592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60593 (exit $ac_status); }; } &&
60594 { ac_try='test -s conftest$ac_exeext'
60595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60596 (eval $ac_try) 2>&5
60597 ac_status=$?
60598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60599 (exit $ac_status); }; }; then
60600 glibcxx_cv_func___builtin_sqrtf_link=yes
60601 else
60602 echo "$as_me: failed program was:" >&5
60603 sed 's/^/| /' conftest.$ac_ext >&5
60605 glibcxx_cv_func___builtin_sqrtf_link=no
60607 rm -f conftest.err conftest.$ac_objext \
60608 conftest$ac_exeext conftest.$ac_ext
60613 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
60614 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
60616 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
60618 cat >>confdefs.h <<\_ACEOF
60619 #define HAVE___BUILTIN_SQRTF 1
60620 _ACEOF
60627 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
60628 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
60629 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
60630 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
60631 echo $ECHO_N "(cached) $ECHO_C" >&6
60632 else
60636 ac_ext=cc
60637 ac_cpp='$CXXCPP $CPPFLAGS'
60638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60642 cat >conftest.$ac_ext <<_ACEOF
60643 /* confdefs.h. */
60644 _ACEOF
60645 cat confdefs.h >>conftest.$ac_ext
60646 cat >>conftest.$ac_ext <<_ACEOF
60647 /* end confdefs.h. */
60648 #include <math.h>
60650 main ()
60652 __builtin_sqrt(0);
60654 return 0;
60656 _ACEOF
60657 rm -f conftest.$ac_objext
60658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60659 (eval $ac_compile) 2>conftest.er1
60660 ac_status=$?
60661 grep -v '^ *+' conftest.er1 >conftest.err
60662 rm -f conftest.er1
60663 cat conftest.err >&5
60664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60665 (exit $ac_status); } &&
60666 { ac_try='test -z "$ac_cxx_werror_flag"
60667 || test ! -s conftest.err'
60668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60669 (eval $ac_try) 2>&5
60670 ac_status=$?
60671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60672 (exit $ac_status); }; } &&
60673 { ac_try='test -s conftest.$ac_objext'
60674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60675 (eval $ac_try) 2>&5
60676 ac_status=$?
60677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60678 (exit $ac_status); }; }; then
60679 glibcxx_cv_func___builtin_sqrt_use=yes
60680 else
60681 echo "$as_me: failed program was:" >&5
60682 sed 's/^/| /' conftest.$ac_ext >&5
60684 glibcxx_cv_func___builtin_sqrt_use=no
60686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60687 ac_ext=c
60688 ac_cpp='$CPP $CPPFLAGS'
60689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60697 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
60698 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
60699 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
60700 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
60701 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
60702 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
60703 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
60704 echo $ECHO_N "(cached) $ECHO_C" >&6
60705 else
60707 if test x$gcc_no_link = xyes; then
60708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60710 { (exit 1); exit 1; }; }
60712 cat >conftest.$ac_ext <<_ACEOF
60713 /* confdefs.h. */
60714 _ACEOF
60715 cat confdefs.h >>conftest.$ac_ext
60716 cat >>conftest.$ac_ext <<_ACEOF
60717 /* end confdefs.h. */
60718 #include <math.h>
60720 main ()
60722 __builtin_sqrt(0);
60724 return 0;
60726 _ACEOF
60727 rm -f conftest.$ac_objext conftest$ac_exeext
60728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60729 (eval $ac_link) 2>conftest.er1
60730 ac_status=$?
60731 grep -v '^ *+' conftest.er1 >conftest.err
60732 rm -f conftest.er1
60733 cat conftest.err >&5
60734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60735 (exit $ac_status); } &&
60736 { ac_try='test -z "$ac_c_werror_flag"
60737 || test ! -s conftest.err'
60738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60739 (eval $ac_try) 2>&5
60740 ac_status=$?
60741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60742 (exit $ac_status); }; } &&
60743 { ac_try='test -s conftest$ac_exeext'
60744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60745 (eval $ac_try) 2>&5
60746 ac_status=$?
60747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60748 (exit $ac_status); }; }; then
60749 glibcxx_cv_func___builtin_sqrt_link=yes
60750 else
60751 echo "$as_me: failed program was:" >&5
60752 sed 's/^/| /' conftest.$ac_ext >&5
60754 glibcxx_cv_func___builtin_sqrt_link=no
60756 rm -f conftest.err conftest.$ac_objext \
60757 conftest$ac_exeext conftest.$ac_ext
60762 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
60763 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
60765 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
60767 cat >>confdefs.h <<\_ACEOF
60768 #define HAVE___BUILTIN_SQRT 1
60769 _ACEOF
60776 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
60777 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
60778 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
60779 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
60780 echo $ECHO_N "(cached) $ECHO_C" >&6
60781 else
60785 ac_ext=cc
60786 ac_cpp='$CXXCPP $CPPFLAGS'
60787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60791 cat >conftest.$ac_ext <<_ACEOF
60792 /* confdefs.h. */
60793 _ACEOF
60794 cat confdefs.h >>conftest.$ac_ext
60795 cat >>conftest.$ac_ext <<_ACEOF
60796 /* end confdefs.h. */
60797 #include <math.h>
60799 main ()
60801 __builtin_sqrtl(0);
60803 return 0;
60805 _ACEOF
60806 rm -f conftest.$ac_objext
60807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60808 (eval $ac_compile) 2>conftest.er1
60809 ac_status=$?
60810 grep -v '^ *+' conftest.er1 >conftest.err
60811 rm -f conftest.er1
60812 cat conftest.err >&5
60813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60814 (exit $ac_status); } &&
60815 { ac_try='test -z "$ac_cxx_werror_flag"
60816 || test ! -s conftest.err'
60817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60818 (eval $ac_try) 2>&5
60819 ac_status=$?
60820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60821 (exit $ac_status); }; } &&
60822 { ac_try='test -s conftest.$ac_objext'
60823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60824 (eval $ac_try) 2>&5
60825 ac_status=$?
60826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60827 (exit $ac_status); }; }; then
60828 glibcxx_cv_func___builtin_sqrtl_use=yes
60829 else
60830 echo "$as_me: failed program was:" >&5
60831 sed 's/^/| /' conftest.$ac_ext >&5
60833 glibcxx_cv_func___builtin_sqrtl_use=no
60835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60836 ac_ext=c
60837 ac_cpp='$CPP $CPPFLAGS'
60838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60846 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
60847 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
60848 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
60849 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
60850 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
60851 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
60852 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
60853 echo $ECHO_N "(cached) $ECHO_C" >&6
60854 else
60856 if test x$gcc_no_link = xyes; then
60857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60859 { (exit 1); exit 1; }; }
60861 cat >conftest.$ac_ext <<_ACEOF
60862 /* confdefs.h. */
60863 _ACEOF
60864 cat confdefs.h >>conftest.$ac_ext
60865 cat >>conftest.$ac_ext <<_ACEOF
60866 /* end confdefs.h. */
60867 #include <math.h>
60869 main ()
60871 __builtin_sqrtl(0);
60873 return 0;
60875 _ACEOF
60876 rm -f conftest.$ac_objext conftest$ac_exeext
60877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60878 (eval $ac_link) 2>conftest.er1
60879 ac_status=$?
60880 grep -v '^ *+' conftest.er1 >conftest.err
60881 rm -f conftest.er1
60882 cat conftest.err >&5
60883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60884 (exit $ac_status); } &&
60885 { ac_try='test -z "$ac_c_werror_flag"
60886 || test ! -s conftest.err'
60887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60888 (eval $ac_try) 2>&5
60889 ac_status=$?
60890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60891 (exit $ac_status); }; } &&
60892 { ac_try='test -s conftest$ac_exeext'
60893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60894 (eval $ac_try) 2>&5
60895 ac_status=$?
60896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60897 (exit $ac_status); }; }; then
60898 glibcxx_cv_func___builtin_sqrtl_link=yes
60899 else
60900 echo "$as_me: failed program was:" >&5
60901 sed 's/^/| /' conftest.$ac_ext >&5
60903 glibcxx_cv_func___builtin_sqrtl_link=no
60905 rm -f conftest.err conftest.$ac_objext \
60906 conftest$ac_exeext conftest.$ac_ext
60911 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
60912 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
60914 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
60916 cat >>confdefs.h <<\_ACEOF
60917 #define HAVE___BUILTIN_SQRTL 1
60918 _ACEOF
60926 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
60927 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
60928 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
60929 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
60930 echo $ECHO_N "(cached) $ECHO_C" >&6
60931 else
60935 ac_ext=cc
60936 ac_cpp='$CXXCPP $CPPFLAGS'
60937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60941 cat >conftest.$ac_ext <<_ACEOF
60942 /* confdefs.h. */
60943 _ACEOF
60944 cat confdefs.h >>conftest.$ac_ext
60945 cat >>conftest.$ac_ext <<_ACEOF
60946 /* end confdefs.h. */
60947 #include <math.h>
60949 main ()
60951 __builtin_sinf(0);
60953 return 0;
60955 _ACEOF
60956 rm -f conftest.$ac_objext
60957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60958 (eval $ac_compile) 2>conftest.er1
60959 ac_status=$?
60960 grep -v '^ *+' conftest.er1 >conftest.err
60961 rm -f conftest.er1
60962 cat conftest.err >&5
60963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60964 (exit $ac_status); } &&
60965 { ac_try='test -z "$ac_cxx_werror_flag"
60966 || test ! -s conftest.err'
60967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60968 (eval $ac_try) 2>&5
60969 ac_status=$?
60970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60971 (exit $ac_status); }; } &&
60972 { ac_try='test -s conftest.$ac_objext'
60973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60974 (eval $ac_try) 2>&5
60975 ac_status=$?
60976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60977 (exit $ac_status); }; }; then
60978 glibcxx_cv_func___builtin_sinf_use=yes
60979 else
60980 echo "$as_me: failed program was:" >&5
60981 sed 's/^/| /' conftest.$ac_ext >&5
60983 glibcxx_cv_func___builtin_sinf_use=no
60985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60986 ac_ext=c
60987 ac_cpp='$CPP $CPPFLAGS'
60988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60996 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
60997 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
60998 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
60999 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
61000 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
61001 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
61002 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
61003 echo $ECHO_N "(cached) $ECHO_C" >&6
61004 else
61006 if test x$gcc_no_link = xyes; then
61007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61009 { (exit 1); exit 1; }; }
61011 cat >conftest.$ac_ext <<_ACEOF
61012 /* confdefs.h. */
61013 _ACEOF
61014 cat confdefs.h >>conftest.$ac_ext
61015 cat >>conftest.$ac_ext <<_ACEOF
61016 /* end confdefs.h. */
61017 #include <math.h>
61019 main ()
61021 __builtin_sinf(0);
61023 return 0;
61025 _ACEOF
61026 rm -f conftest.$ac_objext conftest$ac_exeext
61027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61028 (eval $ac_link) 2>conftest.er1
61029 ac_status=$?
61030 grep -v '^ *+' conftest.er1 >conftest.err
61031 rm -f conftest.er1
61032 cat conftest.err >&5
61033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61034 (exit $ac_status); } &&
61035 { ac_try='test -z "$ac_c_werror_flag"
61036 || test ! -s conftest.err'
61037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61038 (eval $ac_try) 2>&5
61039 ac_status=$?
61040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61041 (exit $ac_status); }; } &&
61042 { ac_try='test -s conftest$ac_exeext'
61043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61044 (eval $ac_try) 2>&5
61045 ac_status=$?
61046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61047 (exit $ac_status); }; }; then
61048 glibcxx_cv_func___builtin_sinf_link=yes
61049 else
61050 echo "$as_me: failed program was:" >&5
61051 sed 's/^/| /' conftest.$ac_ext >&5
61053 glibcxx_cv_func___builtin_sinf_link=no
61055 rm -f conftest.err conftest.$ac_objext \
61056 conftest$ac_exeext conftest.$ac_ext
61061 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
61062 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
61064 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
61066 cat >>confdefs.h <<\_ACEOF
61067 #define HAVE___BUILTIN_SINF 1
61068 _ACEOF
61075 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
61076 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
61077 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
61078 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
61079 echo $ECHO_N "(cached) $ECHO_C" >&6
61080 else
61084 ac_ext=cc
61085 ac_cpp='$CXXCPP $CPPFLAGS'
61086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61090 cat >conftest.$ac_ext <<_ACEOF
61091 /* confdefs.h. */
61092 _ACEOF
61093 cat confdefs.h >>conftest.$ac_ext
61094 cat >>conftest.$ac_ext <<_ACEOF
61095 /* end confdefs.h. */
61096 #include <math.h>
61098 main ()
61100 __builtin_sin(0);
61102 return 0;
61104 _ACEOF
61105 rm -f conftest.$ac_objext
61106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61107 (eval $ac_compile) 2>conftest.er1
61108 ac_status=$?
61109 grep -v '^ *+' conftest.er1 >conftest.err
61110 rm -f conftest.er1
61111 cat conftest.err >&5
61112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61113 (exit $ac_status); } &&
61114 { ac_try='test -z "$ac_cxx_werror_flag"
61115 || test ! -s conftest.err'
61116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61117 (eval $ac_try) 2>&5
61118 ac_status=$?
61119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61120 (exit $ac_status); }; } &&
61121 { ac_try='test -s conftest.$ac_objext'
61122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61123 (eval $ac_try) 2>&5
61124 ac_status=$?
61125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61126 (exit $ac_status); }; }; then
61127 glibcxx_cv_func___builtin_sin_use=yes
61128 else
61129 echo "$as_me: failed program was:" >&5
61130 sed 's/^/| /' conftest.$ac_ext >&5
61132 glibcxx_cv_func___builtin_sin_use=no
61134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61135 ac_ext=c
61136 ac_cpp='$CPP $CPPFLAGS'
61137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61145 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
61146 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
61147 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
61148 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
61149 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
61150 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
61151 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
61152 echo $ECHO_N "(cached) $ECHO_C" >&6
61153 else
61155 if test x$gcc_no_link = xyes; then
61156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61158 { (exit 1); exit 1; }; }
61160 cat >conftest.$ac_ext <<_ACEOF
61161 /* confdefs.h. */
61162 _ACEOF
61163 cat confdefs.h >>conftest.$ac_ext
61164 cat >>conftest.$ac_ext <<_ACEOF
61165 /* end confdefs.h. */
61166 #include <math.h>
61168 main ()
61170 __builtin_sin(0);
61172 return 0;
61174 _ACEOF
61175 rm -f conftest.$ac_objext conftest$ac_exeext
61176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61177 (eval $ac_link) 2>conftest.er1
61178 ac_status=$?
61179 grep -v '^ *+' conftest.er1 >conftest.err
61180 rm -f conftest.er1
61181 cat conftest.err >&5
61182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61183 (exit $ac_status); } &&
61184 { ac_try='test -z "$ac_c_werror_flag"
61185 || test ! -s conftest.err'
61186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61187 (eval $ac_try) 2>&5
61188 ac_status=$?
61189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61190 (exit $ac_status); }; } &&
61191 { ac_try='test -s conftest$ac_exeext'
61192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61193 (eval $ac_try) 2>&5
61194 ac_status=$?
61195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61196 (exit $ac_status); }; }; then
61197 glibcxx_cv_func___builtin_sin_link=yes
61198 else
61199 echo "$as_me: failed program was:" >&5
61200 sed 's/^/| /' conftest.$ac_ext >&5
61202 glibcxx_cv_func___builtin_sin_link=no
61204 rm -f conftest.err conftest.$ac_objext \
61205 conftest$ac_exeext conftest.$ac_ext
61210 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
61211 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
61213 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
61215 cat >>confdefs.h <<\_ACEOF
61216 #define HAVE___BUILTIN_SIN 1
61217 _ACEOF
61224 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
61225 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
61226 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
61227 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
61228 echo $ECHO_N "(cached) $ECHO_C" >&6
61229 else
61233 ac_ext=cc
61234 ac_cpp='$CXXCPP $CPPFLAGS'
61235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61239 cat >conftest.$ac_ext <<_ACEOF
61240 /* confdefs.h. */
61241 _ACEOF
61242 cat confdefs.h >>conftest.$ac_ext
61243 cat >>conftest.$ac_ext <<_ACEOF
61244 /* end confdefs.h. */
61245 #include <math.h>
61247 main ()
61249 __builtin_sinl(0);
61251 return 0;
61253 _ACEOF
61254 rm -f conftest.$ac_objext
61255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61256 (eval $ac_compile) 2>conftest.er1
61257 ac_status=$?
61258 grep -v '^ *+' conftest.er1 >conftest.err
61259 rm -f conftest.er1
61260 cat conftest.err >&5
61261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61262 (exit $ac_status); } &&
61263 { ac_try='test -z "$ac_cxx_werror_flag"
61264 || test ! -s conftest.err'
61265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61266 (eval $ac_try) 2>&5
61267 ac_status=$?
61268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61269 (exit $ac_status); }; } &&
61270 { ac_try='test -s conftest.$ac_objext'
61271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61272 (eval $ac_try) 2>&5
61273 ac_status=$?
61274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61275 (exit $ac_status); }; }; then
61276 glibcxx_cv_func___builtin_sinl_use=yes
61277 else
61278 echo "$as_me: failed program was:" >&5
61279 sed 's/^/| /' conftest.$ac_ext >&5
61281 glibcxx_cv_func___builtin_sinl_use=no
61283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61284 ac_ext=c
61285 ac_cpp='$CPP $CPPFLAGS'
61286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61294 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
61295 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
61296 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
61297 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
61298 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
61299 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
61300 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
61301 echo $ECHO_N "(cached) $ECHO_C" >&6
61302 else
61304 if test x$gcc_no_link = xyes; then
61305 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61307 { (exit 1); exit 1; }; }
61309 cat >conftest.$ac_ext <<_ACEOF
61310 /* confdefs.h. */
61311 _ACEOF
61312 cat confdefs.h >>conftest.$ac_ext
61313 cat >>conftest.$ac_ext <<_ACEOF
61314 /* end confdefs.h. */
61315 #include <math.h>
61317 main ()
61319 __builtin_sinl(0);
61321 return 0;
61323 _ACEOF
61324 rm -f conftest.$ac_objext conftest$ac_exeext
61325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61326 (eval $ac_link) 2>conftest.er1
61327 ac_status=$?
61328 grep -v '^ *+' conftest.er1 >conftest.err
61329 rm -f conftest.er1
61330 cat conftest.err >&5
61331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61332 (exit $ac_status); } &&
61333 { ac_try='test -z "$ac_c_werror_flag"
61334 || test ! -s conftest.err'
61335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61336 (eval $ac_try) 2>&5
61337 ac_status=$?
61338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61339 (exit $ac_status); }; } &&
61340 { ac_try='test -s conftest$ac_exeext'
61341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61342 (eval $ac_try) 2>&5
61343 ac_status=$?
61344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61345 (exit $ac_status); }; }; then
61346 glibcxx_cv_func___builtin_sinl_link=yes
61347 else
61348 echo "$as_me: failed program was:" >&5
61349 sed 's/^/| /' conftest.$ac_ext >&5
61351 glibcxx_cv_func___builtin_sinl_link=no
61353 rm -f conftest.err conftest.$ac_objext \
61354 conftest$ac_exeext conftest.$ac_ext
61359 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
61360 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
61362 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
61364 cat >>confdefs.h <<\_ACEOF
61365 #define HAVE___BUILTIN_SINL 1
61366 _ACEOF
61374 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
61375 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
61376 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
61377 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
61378 echo $ECHO_N "(cached) $ECHO_C" >&6
61379 else
61383 ac_ext=cc
61384 ac_cpp='$CXXCPP $CPPFLAGS'
61385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61389 cat >conftest.$ac_ext <<_ACEOF
61390 /* confdefs.h. */
61391 _ACEOF
61392 cat confdefs.h >>conftest.$ac_ext
61393 cat >>conftest.$ac_ext <<_ACEOF
61394 /* end confdefs.h. */
61395 #include <math.h>
61397 main ()
61399 __builtin_cosf(0);
61401 return 0;
61403 _ACEOF
61404 rm -f conftest.$ac_objext
61405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61406 (eval $ac_compile) 2>conftest.er1
61407 ac_status=$?
61408 grep -v '^ *+' conftest.er1 >conftest.err
61409 rm -f conftest.er1
61410 cat conftest.err >&5
61411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61412 (exit $ac_status); } &&
61413 { ac_try='test -z "$ac_cxx_werror_flag"
61414 || test ! -s conftest.err'
61415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61416 (eval $ac_try) 2>&5
61417 ac_status=$?
61418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61419 (exit $ac_status); }; } &&
61420 { ac_try='test -s conftest.$ac_objext'
61421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61422 (eval $ac_try) 2>&5
61423 ac_status=$?
61424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61425 (exit $ac_status); }; }; then
61426 glibcxx_cv_func___builtin_cosf_use=yes
61427 else
61428 echo "$as_me: failed program was:" >&5
61429 sed 's/^/| /' conftest.$ac_ext >&5
61431 glibcxx_cv_func___builtin_cosf_use=no
61433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61434 ac_ext=c
61435 ac_cpp='$CPP $CPPFLAGS'
61436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61444 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
61445 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
61446 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
61447 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
61448 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
61449 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
61450 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
61451 echo $ECHO_N "(cached) $ECHO_C" >&6
61452 else
61454 if test x$gcc_no_link = xyes; then
61455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61457 { (exit 1); exit 1; }; }
61459 cat >conftest.$ac_ext <<_ACEOF
61460 /* confdefs.h. */
61461 _ACEOF
61462 cat confdefs.h >>conftest.$ac_ext
61463 cat >>conftest.$ac_ext <<_ACEOF
61464 /* end confdefs.h. */
61465 #include <math.h>
61467 main ()
61469 __builtin_cosf(0);
61471 return 0;
61473 _ACEOF
61474 rm -f conftest.$ac_objext conftest$ac_exeext
61475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61476 (eval $ac_link) 2>conftest.er1
61477 ac_status=$?
61478 grep -v '^ *+' conftest.er1 >conftest.err
61479 rm -f conftest.er1
61480 cat conftest.err >&5
61481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61482 (exit $ac_status); } &&
61483 { ac_try='test -z "$ac_c_werror_flag"
61484 || test ! -s conftest.err'
61485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61486 (eval $ac_try) 2>&5
61487 ac_status=$?
61488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61489 (exit $ac_status); }; } &&
61490 { ac_try='test -s conftest$ac_exeext'
61491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61492 (eval $ac_try) 2>&5
61493 ac_status=$?
61494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61495 (exit $ac_status); }; }; then
61496 glibcxx_cv_func___builtin_cosf_link=yes
61497 else
61498 echo "$as_me: failed program was:" >&5
61499 sed 's/^/| /' conftest.$ac_ext >&5
61501 glibcxx_cv_func___builtin_cosf_link=no
61503 rm -f conftest.err conftest.$ac_objext \
61504 conftest$ac_exeext conftest.$ac_ext
61509 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
61510 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
61512 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
61514 cat >>confdefs.h <<\_ACEOF
61515 #define HAVE___BUILTIN_COSF 1
61516 _ACEOF
61523 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
61524 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
61525 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
61526 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
61527 echo $ECHO_N "(cached) $ECHO_C" >&6
61528 else
61532 ac_ext=cc
61533 ac_cpp='$CXXCPP $CPPFLAGS'
61534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61538 cat >conftest.$ac_ext <<_ACEOF
61539 /* confdefs.h. */
61540 _ACEOF
61541 cat confdefs.h >>conftest.$ac_ext
61542 cat >>conftest.$ac_ext <<_ACEOF
61543 /* end confdefs.h. */
61544 #include <math.h>
61546 main ()
61548 __builtin_cos(0);
61550 return 0;
61552 _ACEOF
61553 rm -f conftest.$ac_objext
61554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61555 (eval $ac_compile) 2>conftest.er1
61556 ac_status=$?
61557 grep -v '^ *+' conftest.er1 >conftest.err
61558 rm -f conftest.er1
61559 cat conftest.err >&5
61560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61561 (exit $ac_status); } &&
61562 { ac_try='test -z "$ac_cxx_werror_flag"
61563 || test ! -s conftest.err'
61564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61565 (eval $ac_try) 2>&5
61566 ac_status=$?
61567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61568 (exit $ac_status); }; } &&
61569 { ac_try='test -s conftest.$ac_objext'
61570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61571 (eval $ac_try) 2>&5
61572 ac_status=$?
61573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61574 (exit $ac_status); }; }; then
61575 glibcxx_cv_func___builtin_cos_use=yes
61576 else
61577 echo "$as_me: failed program was:" >&5
61578 sed 's/^/| /' conftest.$ac_ext >&5
61580 glibcxx_cv_func___builtin_cos_use=no
61582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61583 ac_ext=c
61584 ac_cpp='$CPP $CPPFLAGS'
61585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61593 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
61594 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
61595 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
61596 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
61597 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
61598 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
61599 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
61600 echo $ECHO_N "(cached) $ECHO_C" >&6
61601 else
61603 if test x$gcc_no_link = xyes; then
61604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61606 { (exit 1); exit 1; }; }
61608 cat >conftest.$ac_ext <<_ACEOF
61609 /* confdefs.h. */
61610 _ACEOF
61611 cat confdefs.h >>conftest.$ac_ext
61612 cat >>conftest.$ac_ext <<_ACEOF
61613 /* end confdefs.h. */
61614 #include <math.h>
61616 main ()
61618 __builtin_cos(0);
61620 return 0;
61622 _ACEOF
61623 rm -f conftest.$ac_objext conftest$ac_exeext
61624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61625 (eval $ac_link) 2>conftest.er1
61626 ac_status=$?
61627 grep -v '^ *+' conftest.er1 >conftest.err
61628 rm -f conftest.er1
61629 cat conftest.err >&5
61630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61631 (exit $ac_status); } &&
61632 { ac_try='test -z "$ac_c_werror_flag"
61633 || test ! -s conftest.err'
61634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61635 (eval $ac_try) 2>&5
61636 ac_status=$?
61637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61638 (exit $ac_status); }; } &&
61639 { ac_try='test -s conftest$ac_exeext'
61640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61641 (eval $ac_try) 2>&5
61642 ac_status=$?
61643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61644 (exit $ac_status); }; }; then
61645 glibcxx_cv_func___builtin_cos_link=yes
61646 else
61647 echo "$as_me: failed program was:" >&5
61648 sed 's/^/| /' conftest.$ac_ext >&5
61650 glibcxx_cv_func___builtin_cos_link=no
61652 rm -f conftest.err conftest.$ac_objext \
61653 conftest$ac_exeext conftest.$ac_ext
61658 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
61659 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
61661 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
61663 cat >>confdefs.h <<\_ACEOF
61664 #define HAVE___BUILTIN_COS 1
61665 _ACEOF
61672 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
61673 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
61674 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
61675 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
61676 echo $ECHO_N "(cached) $ECHO_C" >&6
61677 else
61681 ac_ext=cc
61682 ac_cpp='$CXXCPP $CPPFLAGS'
61683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61687 cat >conftest.$ac_ext <<_ACEOF
61688 /* confdefs.h. */
61689 _ACEOF
61690 cat confdefs.h >>conftest.$ac_ext
61691 cat >>conftest.$ac_ext <<_ACEOF
61692 /* end confdefs.h. */
61693 #include <math.h>
61695 main ()
61697 __builtin_cosl(0);
61699 return 0;
61701 _ACEOF
61702 rm -f conftest.$ac_objext
61703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61704 (eval $ac_compile) 2>conftest.er1
61705 ac_status=$?
61706 grep -v '^ *+' conftest.er1 >conftest.err
61707 rm -f conftest.er1
61708 cat conftest.err >&5
61709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61710 (exit $ac_status); } &&
61711 { ac_try='test -z "$ac_cxx_werror_flag"
61712 || test ! -s conftest.err'
61713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61714 (eval $ac_try) 2>&5
61715 ac_status=$?
61716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61717 (exit $ac_status); }; } &&
61718 { ac_try='test -s conftest.$ac_objext'
61719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61720 (eval $ac_try) 2>&5
61721 ac_status=$?
61722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61723 (exit $ac_status); }; }; then
61724 glibcxx_cv_func___builtin_cosl_use=yes
61725 else
61726 echo "$as_me: failed program was:" >&5
61727 sed 's/^/| /' conftest.$ac_ext >&5
61729 glibcxx_cv_func___builtin_cosl_use=no
61731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61732 ac_ext=c
61733 ac_cpp='$CPP $CPPFLAGS'
61734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61742 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
61743 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
61744 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
61745 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
61746 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
61747 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
61748 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
61749 echo $ECHO_N "(cached) $ECHO_C" >&6
61750 else
61752 if test x$gcc_no_link = xyes; then
61753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61755 { (exit 1); exit 1; }; }
61757 cat >conftest.$ac_ext <<_ACEOF
61758 /* confdefs.h. */
61759 _ACEOF
61760 cat confdefs.h >>conftest.$ac_ext
61761 cat >>conftest.$ac_ext <<_ACEOF
61762 /* end confdefs.h. */
61763 #include <math.h>
61765 main ()
61767 __builtin_cosl(0);
61769 return 0;
61771 _ACEOF
61772 rm -f conftest.$ac_objext conftest$ac_exeext
61773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61774 (eval $ac_link) 2>conftest.er1
61775 ac_status=$?
61776 grep -v '^ *+' conftest.er1 >conftest.err
61777 rm -f conftest.er1
61778 cat conftest.err >&5
61779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61780 (exit $ac_status); } &&
61781 { ac_try='test -z "$ac_c_werror_flag"
61782 || test ! -s conftest.err'
61783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61784 (eval $ac_try) 2>&5
61785 ac_status=$?
61786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61787 (exit $ac_status); }; } &&
61788 { ac_try='test -s conftest$ac_exeext'
61789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61790 (eval $ac_try) 2>&5
61791 ac_status=$?
61792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61793 (exit $ac_status); }; }; then
61794 glibcxx_cv_func___builtin_cosl_link=yes
61795 else
61796 echo "$as_me: failed program was:" >&5
61797 sed 's/^/| /' conftest.$ac_ext >&5
61799 glibcxx_cv_func___builtin_cosl_link=no
61801 rm -f conftest.err conftest.$ac_objext \
61802 conftest$ac_exeext conftest.$ac_ext
61807 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
61808 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
61810 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
61812 cat >>confdefs.h <<\_ACEOF
61813 #define HAVE___BUILTIN_COSL 1
61814 _ACEOF
61823 echo "$as_me:$LINENO: checking for main in -lm" >&5
61824 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
61825 if test "${ac_cv_lib_m_main+set}" = set; then
61826 echo $ECHO_N "(cached) $ECHO_C" >&6
61827 else
61828 ac_check_lib_save_LIBS=$LIBS
61829 LIBS="-lm $LIBS"
61830 if test x$gcc_no_link = xyes; then
61831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61833 { (exit 1); exit 1; }; }
61835 cat >conftest.$ac_ext <<_ACEOF
61836 /* confdefs.h. */
61837 _ACEOF
61838 cat confdefs.h >>conftest.$ac_ext
61839 cat >>conftest.$ac_ext <<_ACEOF
61840 /* end confdefs.h. */
61844 main ()
61846 main ();
61848 return 0;
61850 _ACEOF
61851 rm -f conftest.$ac_objext conftest$ac_exeext
61852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61853 (eval $ac_link) 2>conftest.er1
61854 ac_status=$?
61855 grep -v '^ *+' conftest.er1 >conftest.err
61856 rm -f conftest.er1
61857 cat conftest.err >&5
61858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61859 (exit $ac_status); } &&
61860 { ac_try='test -z "$ac_c_werror_flag"
61861 || test ! -s conftest.err'
61862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61863 (eval $ac_try) 2>&5
61864 ac_status=$?
61865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61866 (exit $ac_status); }; } &&
61867 { ac_try='test -s conftest$ac_exeext'
61868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61869 (eval $ac_try) 2>&5
61870 ac_status=$?
61871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61872 (exit $ac_status); }; }; then
61873 ac_cv_lib_m_main=yes
61874 else
61875 echo "$as_me: failed program was:" >&5
61876 sed 's/^/| /' conftest.$ac_ext >&5
61878 ac_cv_lib_m_main=no
61880 rm -f conftest.err conftest.$ac_objext \
61881 conftest$ac_exeext conftest.$ac_ext
61882 LIBS=$ac_check_lib_save_LIBS
61884 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
61885 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
61886 if test $ac_cv_lib_m_main = yes; then
61887 cat >>confdefs.h <<_ACEOF
61888 #define HAVE_LIBM 1
61889 _ACEOF
61891 LIBS="-lm $LIBS"
61896 for ac_func in copysignf
61898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61899 echo "$as_me:$LINENO: checking for $ac_func" >&5
61900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61901 if eval "test \"\${$as_ac_var+set}\" = set"; then
61902 echo $ECHO_N "(cached) $ECHO_C" >&6
61903 else
61904 if test x$gcc_no_link = xyes; then
61905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61907 { (exit 1); exit 1; }; }
61909 cat >conftest.$ac_ext <<_ACEOF
61910 /* confdefs.h. */
61911 _ACEOF
61912 cat confdefs.h >>conftest.$ac_ext
61913 cat >>conftest.$ac_ext <<_ACEOF
61914 /* end confdefs.h. */
61915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61917 #define $ac_func innocuous_$ac_func
61919 /* System header to define __stub macros and hopefully few prototypes,
61920 which can conflict with char $ac_func (); below.
61921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61922 <limits.h> exists even on freestanding compilers. */
61924 #ifdef __STDC__
61925 # include <limits.h>
61926 #else
61927 # include <assert.h>
61928 #endif
61930 #undef $ac_func
61932 /* Override any gcc2 internal prototype to avoid an error. */
61933 #ifdef __cplusplus
61934 extern "C"
61936 #endif
61937 /* We use char because int might match the return type of a gcc2
61938 builtin and then its argument prototype would still apply. */
61939 char $ac_func ();
61940 /* The GNU C library defines this for functions which it implements
61941 to always fail with ENOSYS. Some functions are actually named
61942 something starting with __ and the normal name is an alias. */
61943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61944 choke me
61945 #else
61946 char (*f) () = $ac_func;
61947 #endif
61948 #ifdef __cplusplus
61950 #endif
61953 main ()
61955 return f != $ac_func;
61957 return 0;
61959 _ACEOF
61960 rm -f conftest.$ac_objext conftest$ac_exeext
61961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61962 (eval $ac_link) 2>conftest.er1
61963 ac_status=$?
61964 grep -v '^ *+' conftest.er1 >conftest.err
61965 rm -f conftest.er1
61966 cat conftest.err >&5
61967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61968 (exit $ac_status); } &&
61969 { ac_try='test -z "$ac_c_werror_flag"
61970 || test ! -s conftest.err'
61971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61972 (eval $ac_try) 2>&5
61973 ac_status=$?
61974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61975 (exit $ac_status); }; } &&
61976 { ac_try='test -s conftest$ac_exeext'
61977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61978 (eval $ac_try) 2>&5
61979 ac_status=$?
61980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61981 (exit $ac_status); }; }; then
61982 eval "$as_ac_var=yes"
61983 else
61984 echo "$as_me: failed program was:" >&5
61985 sed 's/^/| /' conftest.$ac_ext >&5
61987 eval "$as_ac_var=no"
61989 rm -f conftest.err conftest.$ac_objext \
61990 conftest$ac_exeext conftest.$ac_ext
61992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61994 if test `eval echo '${'$as_ac_var'}'` = yes; then
61995 cat >>confdefs.h <<_ACEOF
61996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61997 _ACEOF
61999 else
62000 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
62002 done
62006 for ac_func in __signbit
62008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62009 echo "$as_me:$LINENO: checking for $ac_func" >&5
62010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62011 if eval "test \"\${$as_ac_var+set}\" = set"; then
62012 echo $ECHO_N "(cached) $ECHO_C" >&6
62013 else
62014 if test x$gcc_no_link = xyes; then
62015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62017 { (exit 1); exit 1; }; }
62019 cat >conftest.$ac_ext <<_ACEOF
62020 /* confdefs.h. */
62021 _ACEOF
62022 cat confdefs.h >>conftest.$ac_ext
62023 cat >>conftest.$ac_ext <<_ACEOF
62024 /* end confdefs.h. */
62025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62027 #define $ac_func innocuous_$ac_func
62029 /* System header to define __stub macros and hopefully few prototypes,
62030 which can conflict with char $ac_func (); below.
62031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62032 <limits.h> exists even on freestanding compilers. */
62034 #ifdef __STDC__
62035 # include <limits.h>
62036 #else
62037 # include <assert.h>
62038 #endif
62040 #undef $ac_func
62042 /* Override any gcc2 internal prototype to avoid an error. */
62043 #ifdef __cplusplus
62044 extern "C"
62046 #endif
62047 /* We use char because int might match the return type of a gcc2
62048 builtin and then its argument prototype would still apply. */
62049 char $ac_func ();
62050 /* The GNU C library defines this for functions which it implements
62051 to always fail with ENOSYS. Some functions are actually named
62052 something starting with __ and the normal name is an alias. */
62053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62054 choke me
62055 #else
62056 char (*f) () = $ac_func;
62057 #endif
62058 #ifdef __cplusplus
62060 #endif
62063 main ()
62065 return f != $ac_func;
62067 return 0;
62069 _ACEOF
62070 rm -f conftest.$ac_objext conftest$ac_exeext
62071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62072 (eval $ac_link) 2>conftest.er1
62073 ac_status=$?
62074 grep -v '^ *+' conftest.er1 >conftest.err
62075 rm -f conftest.er1
62076 cat conftest.err >&5
62077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62078 (exit $ac_status); } &&
62079 { ac_try='test -z "$ac_c_werror_flag"
62080 || test ! -s conftest.err'
62081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62082 (eval $ac_try) 2>&5
62083 ac_status=$?
62084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62085 (exit $ac_status); }; } &&
62086 { ac_try='test -s conftest$ac_exeext'
62087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62088 (eval $ac_try) 2>&5
62089 ac_status=$?
62090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62091 (exit $ac_status); }; }; then
62092 eval "$as_ac_var=yes"
62093 else
62094 echo "$as_me: failed program was:" >&5
62095 sed 's/^/| /' conftest.$ac_ext >&5
62097 eval "$as_ac_var=no"
62099 rm -f conftest.err conftest.$ac_objext \
62100 conftest$ac_exeext conftest.$ac_ext
62102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62104 if test `eval echo '${'$as_ac_var'}'` = yes; then
62105 cat >>confdefs.h <<_ACEOF
62106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62107 _ACEOF
62109 else
62110 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
62112 done
62116 for ac_func in __signbitf
62118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62119 echo "$as_me:$LINENO: checking for $ac_func" >&5
62120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62121 if eval "test \"\${$as_ac_var+set}\" = set"; then
62122 echo $ECHO_N "(cached) $ECHO_C" >&6
62123 else
62124 if test x$gcc_no_link = xyes; then
62125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62127 { (exit 1); exit 1; }; }
62129 cat >conftest.$ac_ext <<_ACEOF
62130 /* confdefs.h. */
62131 _ACEOF
62132 cat confdefs.h >>conftest.$ac_ext
62133 cat >>conftest.$ac_ext <<_ACEOF
62134 /* end confdefs.h. */
62135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62137 #define $ac_func innocuous_$ac_func
62139 /* System header to define __stub macros and hopefully few prototypes,
62140 which can conflict with char $ac_func (); below.
62141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62142 <limits.h> exists even on freestanding compilers. */
62144 #ifdef __STDC__
62145 # include <limits.h>
62146 #else
62147 # include <assert.h>
62148 #endif
62150 #undef $ac_func
62152 /* Override any gcc2 internal prototype to avoid an error. */
62153 #ifdef __cplusplus
62154 extern "C"
62156 #endif
62157 /* We use char because int might match the return type of a gcc2
62158 builtin and then its argument prototype would still apply. */
62159 char $ac_func ();
62160 /* The GNU C library defines this for functions which it implements
62161 to always fail with ENOSYS. Some functions are actually named
62162 something starting with __ and the normal name is an alias. */
62163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62164 choke me
62165 #else
62166 char (*f) () = $ac_func;
62167 #endif
62168 #ifdef __cplusplus
62170 #endif
62173 main ()
62175 return f != $ac_func;
62177 return 0;
62179 _ACEOF
62180 rm -f conftest.$ac_objext conftest$ac_exeext
62181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62182 (eval $ac_link) 2>conftest.er1
62183 ac_status=$?
62184 grep -v '^ *+' conftest.er1 >conftest.err
62185 rm -f conftest.er1
62186 cat conftest.err >&5
62187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62188 (exit $ac_status); } &&
62189 { ac_try='test -z "$ac_c_werror_flag"
62190 || test ! -s conftest.err'
62191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62192 (eval $ac_try) 2>&5
62193 ac_status=$?
62194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62195 (exit $ac_status); }; } &&
62196 { ac_try='test -s conftest$ac_exeext'
62197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62198 (eval $ac_try) 2>&5
62199 ac_status=$?
62200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62201 (exit $ac_status); }; }; then
62202 eval "$as_ac_var=yes"
62203 else
62204 echo "$as_me: failed program was:" >&5
62205 sed 's/^/| /' conftest.$ac_ext >&5
62207 eval "$as_ac_var=no"
62209 rm -f conftest.err conftest.$ac_objext \
62210 conftest$ac_exeext conftest.$ac_ext
62212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62214 if test `eval echo '${'$as_ac_var'}'` = yes; then
62215 cat >>confdefs.h <<_ACEOF
62216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62217 _ACEOF
62219 else
62220 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
62222 done
62225 if test x$ac_cv_func_copysignl = x"yes"; then
62227 for ac_func in __signbitl
62229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62230 echo "$as_me:$LINENO: checking for $ac_func" >&5
62231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62232 if eval "test \"\${$as_ac_var+set}\" = set"; then
62233 echo $ECHO_N "(cached) $ECHO_C" >&6
62234 else
62235 if test x$gcc_no_link = xyes; then
62236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62238 { (exit 1); exit 1; }; }
62240 cat >conftest.$ac_ext <<_ACEOF
62241 /* confdefs.h. */
62242 _ACEOF
62243 cat confdefs.h >>conftest.$ac_ext
62244 cat >>conftest.$ac_ext <<_ACEOF
62245 /* end confdefs.h. */
62246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62248 #define $ac_func innocuous_$ac_func
62250 /* System header to define __stub macros and hopefully few prototypes,
62251 which can conflict with char $ac_func (); below.
62252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62253 <limits.h> exists even on freestanding compilers. */
62255 #ifdef __STDC__
62256 # include <limits.h>
62257 #else
62258 # include <assert.h>
62259 #endif
62261 #undef $ac_func
62263 /* Override any gcc2 internal prototype to avoid an error. */
62264 #ifdef __cplusplus
62265 extern "C"
62267 #endif
62268 /* We use char because int might match the return type of a gcc2
62269 builtin and then its argument prototype would still apply. */
62270 char $ac_func ();
62271 /* The GNU C library defines this for functions which it implements
62272 to always fail with ENOSYS. Some functions are actually named
62273 something starting with __ and the normal name is an alias. */
62274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62275 choke me
62276 #else
62277 char (*f) () = $ac_func;
62278 #endif
62279 #ifdef __cplusplus
62281 #endif
62284 main ()
62286 return f != $ac_func;
62288 return 0;
62290 _ACEOF
62291 rm -f conftest.$ac_objext conftest$ac_exeext
62292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62293 (eval $ac_link) 2>conftest.er1
62294 ac_status=$?
62295 grep -v '^ *+' conftest.er1 >conftest.err
62296 rm -f conftest.er1
62297 cat conftest.err >&5
62298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62299 (exit $ac_status); } &&
62300 { ac_try='test -z "$ac_c_werror_flag"
62301 || test ! -s conftest.err'
62302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62303 (eval $ac_try) 2>&5
62304 ac_status=$?
62305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62306 (exit $ac_status); }; } &&
62307 { ac_try='test -s conftest$ac_exeext'
62308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62309 (eval $ac_try) 2>&5
62310 ac_status=$?
62311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62312 (exit $ac_status); }; }; then
62313 eval "$as_ac_var=yes"
62314 else
62315 echo "$as_me: failed program was:" >&5
62316 sed 's/^/| /' conftest.$ac_ext >&5
62318 eval "$as_ac_var=no"
62320 rm -f conftest.err conftest.$ac_objext \
62321 conftest$ac_exeext conftest.$ac_ext
62323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62325 if test `eval echo '${'$as_ac_var'}'` = yes; then
62326 cat >>confdefs.h <<_ACEOF
62327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62328 _ACEOF
62330 else
62331 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
62333 done
62337 # Used in libmath/Makefile.am.
62338 if test -n "$LIBMATHOBJS"; then
62339 need_libmath=yes
62344 ac_test_CXXFLAGS="${CXXFLAGS+set}"
62345 ac_save_CXXFLAGS="$CXXFLAGS"
62346 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
62349 echo "$as_me:$LINENO: checking for strtold declaration" >&5
62350 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
62351 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
62352 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
62353 echo $ECHO_N "(cached) $ECHO_C" >&6
62354 else
62358 ac_ext=cc
62359 ac_cpp='$CXXCPP $CPPFLAGS'
62360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62364 cat >conftest.$ac_ext <<_ACEOF
62365 /* confdefs.h. */
62366 _ACEOF
62367 cat confdefs.h >>conftest.$ac_ext
62368 cat >>conftest.$ac_ext <<_ACEOF
62369 /* end confdefs.h. */
62370 #include <stdlib.h>
62372 main ()
62374 strtold(0, 0);
62376 return 0;
62378 _ACEOF
62379 rm -f conftest.$ac_objext
62380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62381 (eval $ac_compile) 2>conftest.er1
62382 ac_status=$?
62383 grep -v '^ *+' conftest.er1 >conftest.err
62384 rm -f conftest.er1
62385 cat conftest.err >&5
62386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62387 (exit $ac_status); } &&
62388 { ac_try='test -z "$ac_cxx_werror_flag"
62389 || test ! -s conftest.err'
62390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62391 (eval $ac_try) 2>&5
62392 ac_status=$?
62393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62394 (exit $ac_status); }; } &&
62395 { ac_try='test -s conftest.$ac_objext'
62396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62397 (eval $ac_try) 2>&5
62398 ac_status=$?
62399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62400 (exit $ac_status); }; }; then
62401 glibcxx_cv_func_strtold_use=yes
62402 else
62403 echo "$as_me: failed program was:" >&5
62404 sed 's/^/| /' conftest.$ac_ext >&5
62406 glibcxx_cv_func_strtold_use=no
62408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62409 ac_ext=c
62410 ac_cpp='$CPP $CPPFLAGS'
62411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62419 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
62420 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
62421 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
62423 for ac_func in strtold
62425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62426 echo "$as_me:$LINENO: checking for $ac_func" >&5
62427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62428 if eval "test \"\${$as_ac_var+set}\" = set"; then
62429 echo $ECHO_N "(cached) $ECHO_C" >&6
62430 else
62431 if test x$gcc_no_link = xyes; then
62432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62434 { (exit 1); exit 1; }; }
62436 cat >conftest.$ac_ext <<_ACEOF
62437 /* confdefs.h. */
62438 _ACEOF
62439 cat confdefs.h >>conftest.$ac_ext
62440 cat >>conftest.$ac_ext <<_ACEOF
62441 /* end confdefs.h. */
62442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62444 #define $ac_func innocuous_$ac_func
62446 /* System header to define __stub macros and hopefully few prototypes,
62447 which can conflict with char $ac_func (); below.
62448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62449 <limits.h> exists even on freestanding compilers. */
62451 #ifdef __STDC__
62452 # include <limits.h>
62453 #else
62454 # include <assert.h>
62455 #endif
62457 #undef $ac_func
62459 /* Override any gcc2 internal prototype to avoid an error. */
62460 #ifdef __cplusplus
62461 extern "C"
62463 #endif
62464 /* We use char because int might match the return type of a gcc2
62465 builtin and then its argument prototype would still apply. */
62466 char $ac_func ();
62467 /* The GNU C library defines this for functions which it implements
62468 to always fail with ENOSYS. Some functions are actually named
62469 something starting with __ and the normal name is an alias. */
62470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62471 choke me
62472 #else
62473 char (*f) () = $ac_func;
62474 #endif
62475 #ifdef __cplusplus
62477 #endif
62480 main ()
62482 return f != $ac_func;
62484 return 0;
62486 _ACEOF
62487 rm -f conftest.$ac_objext conftest$ac_exeext
62488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62489 (eval $ac_link) 2>conftest.er1
62490 ac_status=$?
62491 grep -v '^ *+' conftest.er1 >conftest.err
62492 rm -f conftest.er1
62493 cat conftest.err >&5
62494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62495 (exit $ac_status); } &&
62496 { ac_try='test -z "$ac_c_werror_flag"
62497 || test ! -s conftest.err'
62498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62499 (eval $ac_try) 2>&5
62500 ac_status=$?
62501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62502 (exit $ac_status); }; } &&
62503 { ac_try='test -s conftest$ac_exeext'
62504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62505 (eval $ac_try) 2>&5
62506 ac_status=$?
62507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62508 (exit $ac_status); }; }; then
62509 eval "$as_ac_var=yes"
62510 else
62511 echo "$as_me: failed program was:" >&5
62512 sed 's/^/| /' conftest.$ac_ext >&5
62514 eval "$as_ac_var=no"
62516 rm -f conftest.err conftest.$ac_objext \
62517 conftest$ac_exeext conftest.$ac_ext
62519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62521 if test `eval echo '${'$as_ac_var'}'` = yes; then
62522 cat >>confdefs.h <<_ACEOF
62523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62524 _ACEOF
62527 done
62535 echo "$as_me:$LINENO: checking for strtof declaration" >&5
62536 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
62537 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
62538 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
62539 echo $ECHO_N "(cached) $ECHO_C" >&6
62540 else
62544 ac_ext=cc
62545 ac_cpp='$CXXCPP $CPPFLAGS'
62546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62550 cat >conftest.$ac_ext <<_ACEOF
62551 /* confdefs.h. */
62552 _ACEOF
62553 cat confdefs.h >>conftest.$ac_ext
62554 cat >>conftest.$ac_ext <<_ACEOF
62555 /* end confdefs.h. */
62556 #include <stdlib.h>
62558 main ()
62560 strtof(0, 0);
62562 return 0;
62564 _ACEOF
62565 rm -f conftest.$ac_objext
62566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62567 (eval $ac_compile) 2>conftest.er1
62568 ac_status=$?
62569 grep -v '^ *+' conftest.er1 >conftest.err
62570 rm -f conftest.er1
62571 cat conftest.err >&5
62572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62573 (exit $ac_status); } &&
62574 { ac_try='test -z "$ac_cxx_werror_flag"
62575 || test ! -s conftest.err'
62576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62577 (eval $ac_try) 2>&5
62578 ac_status=$?
62579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62580 (exit $ac_status); }; } &&
62581 { ac_try='test -s conftest.$ac_objext'
62582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62583 (eval $ac_try) 2>&5
62584 ac_status=$?
62585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62586 (exit $ac_status); }; }; then
62587 glibcxx_cv_func_strtof_use=yes
62588 else
62589 echo "$as_me: failed program was:" >&5
62590 sed 's/^/| /' conftest.$ac_ext >&5
62592 glibcxx_cv_func_strtof_use=no
62594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62595 ac_ext=c
62596 ac_cpp='$CPP $CPPFLAGS'
62597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62605 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
62606 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
62607 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
62609 for ac_func in strtof
62611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62612 echo "$as_me:$LINENO: checking for $ac_func" >&5
62613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62614 if eval "test \"\${$as_ac_var+set}\" = set"; then
62615 echo $ECHO_N "(cached) $ECHO_C" >&6
62616 else
62617 if test x$gcc_no_link = xyes; then
62618 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62620 { (exit 1); exit 1; }; }
62622 cat >conftest.$ac_ext <<_ACEOF
62623 /* confdefs.h. */
62624 _ACEOF
62625 cat confdefs.h >>conftest.$ac_ext
62626 cat >>conftest.$ac_ext <<_ACEOF
62627 /* end confdefs.h. */
62628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62630 #define $ac_func innocuous_$ac_func
62632 /* System header to define __stub macros and hopefully few prototypes,
62633 which can conflict with char $ac_func (); below.
62634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62635 <limits.h> exists even on freestanding compilers. */
62637 #ifdef __STDC__
62638 # include <limits.h>
62639 #else
62640 # include <assert.h>
62641 #endif
62643 #undef $ac_func
62645 /* Override any gcc2 internal prototype to avoid an error. */
62646 #ifdef __cplusplus
62647 extern "C"
62649 #endif
62650 /* We use char because int might match the return type of a gcc2
62651 builtin and then its argument prototype would still apply. */
62652 char $ac_func ();
62653 /* The GNU C library defines this for functions which it implements
62654 to always fail with ENOSYS. Some functions are actually named
62655 something starting with __ and the normal name is an alias. */
62656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62657 choke me
62658 #else
62659 char (*f) () = $ac_func;
62660 #endif
62661 #ifdef __cplusplus
62663 #endif
62666 main ()
62668 return f != $ac_func;
62670 return 0;
62672 _ACEOF
62673 rm -f conftest.$ac_objext conftest$ac_exeext
62674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62675 (eval $ac_link) 2>conftest.er1
62676 ac_status=$?
62677 grep -v '^ *+' conftest.er1 >conftest.err
62678 rm -f conftest.er1
62679 cat conftest.err >&5
62680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62681 (exit $ac_status); } &&
62682 { ac_try='test -z "$ac_c_werror_flag"
62683 || test ! -s conftest.err'
62684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62685 (eval $ac_try) 2>&5
62686 ac_status=$?
62687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62688 (exit $ac_status); }; } &&
62689 { ac_try='test -s conftest$ac_exeext'
62690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62691 (eval $ac_try) 2>&5
62692 ac_status=$?
62693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62694 (exit $ac_status); }; }; then
62695 eval "$as_ac_var=yes"
62696 else
62697 echo "$as_me: failed program was:" >&5
62698 sed 's/^/| /' conftest.$ac_ext >&5
62700 eval "$as_ac_var=no"
62702 rm -f conftest.err conftest.$ac_objext \
62703 conftest$ac_exeext conftest.$ac_ext
62705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62707 if test `eval echo '${'$as_ac_var'}'` = yes; then
62708 cat >>confdefs.h <<_ACEOF
62709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62710 _ACEOF
62713 done
62721 CXXFLAGS="$ac_save_CXXFLAGS"
62724 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
62725 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
62726 if test "${glibcxx_cv_S_ISREG+set}" = set; then
62727 echo $ECHO_N "(cached) $ECHO_C" >&6
62728 else
62730 if test x$gcc_no_link = xyes; then
62731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62733 { (exit 1); exit 1; }; }
62735 cat >conftest.$ac_ext <<_ACEOF
62736 /* confdefs.h. */
62737 _ACEOF
62738 cat confdefs.h >>conftest.$ac_ext
62739 cat >>conftest.$ac_ext <<_ACEOF
62740 /* end confdefs.h. */
62741 #include <sys/stat.h>
62743 main ()
62745 struct stat buffer;
62746 fstat(0, &buffer);
62747 S_ISREG(buffer.st_mode);
62749 return 0;
62751 _ACEOF
62752 rm -f conftest.$ac_objext conftest$ac_exeext
62753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62754 (eval $ac_link) 2>conftest.er1
62755 ac_status=$?
62756 grep -v '^ *+' conftest.er1 >conftest.err
62757 rm -f conftest.er1
62758 cat conftest.err >&5
62759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62760 (exit $ac_status); } &&
62761 { ac_try='test -z "$ac_c_werror_flag"
62762 || test ! -s conftest.err'
62763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62764 (eval $ac_try) 2>&5
62765 ac_status=$?
62766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62767 (exit $ac_status); }; } &&
62768 { ac_try='test -s conftest$ac_exeext'
62769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62770 (eval $ac_try) 2>&5
62771 ac_status=$?
62772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62773 (exit $ac_status); }; }; then
62774 glibcxx_cv_S_ISREG=yes
62775 else
62776 echo "$as_me: failed program was:" >&5
62777 sed 's/^/| /' conftest.$ac_ext >&5
62779 glibcxx_cv_S_ISREG=no
62781 rm -f conftest.err conftest.$ac_objext \
62782 conftest$ac_exeext conftest.$ac_ext
62786 if test "${glibcxx_cv_S_IFREG+set}" = set; then
62787 echo $ECHO_N "(cached) $ECHO_C" >&6
62788 else
62790 if test x$gcc_no_link = xyes; then
62791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62793 { (exit 1); exit 1; }; }
62795 cat >conftest.$ac_ext <<_ACEOF
62796 /* confdefs.h. */
62797 _ACEOF
62798 cat confdefs.h >>conftest.$ac_ext
62799 cat >>conftest.$ac_ext <<_ACEOF
62800 /* end confdefs.h. */
62801 #include <sys/stat.h>
62803 main ()
62805 struct stat buffer;
62806 fstat(0, &buffer);
62807 S_IFREG & buffer.st_mode;
62809 return 0;
62811 _ACEOF
62812 rm -f conftest.$ac_objext conftest$ac_exeext
62813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62814 (eval $ac_link) 2>conftest.er1
62815 ac_status=$?
62816 grep -v '^ *+' conftest.er1 >conftest.err
62817 rm -f conftest.er1
62818 cat conftest.err >&5
62819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62820 (exit $ac_status); } &&
62821 { ac_try='test -z "$ac_c_werror_flag"
62822 || test ! -s conftest.err'
62823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62824 (eval $ac_try) 2>&5
62825 ac_status=$?
62826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62827 (exit $ac_status); }; } &&
62828 { ac_try='test -s conftest$ac_exeext'
62829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62830 (eval $ac_try) 2>&5
62831 ac_status=$?
62832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62833 (exit $ac_status); }; }; then
62834 glibcxx_cv_S_IFREG=yes
62835 else
62836 echo "$as_me: failed program was:" >&5
62837 sed 's/^/| /' conftest.$ac_ext >&5
62839 glibcxx_cv_S_IFREG=no
62841 rm -f conftest.err conftest.$ac_objext \
62842 conftest$ac_exeext conftest.$ac_ext
62846 res=no
62847 if test $glibcxx_cv_S_ISREG = yes; then
62849 cat >>confdefs.h <<\_ACEOF
62850 #define HAVE_S_ISREG 1
62851 _ACEOF
62853 res=S_ISREG
62854 elif test $glibcxx_cv_S_IFREG = yes; then
62856 cat >>confdefs.h <<\_ACEOF
62857 #define HAVE_S_IFREG 1
62858 _ACEOF
62860 res=S_IFREG
62862 echo "$as_me:$LINENO: result: $res" >&5
62863 echo "${ECHO_T}$res" >&6
62865 cat >>confdefs.h <<\_ACEOF
62866 #define HAVE_SIGSETJMP 1
62867 _ACEOF
62869 cat >>confdefs.h <<\_ACEOF
62870 #define HAVE_GETPAGESIZE 1
62871 _ACEOF
62873 cat >>confdefs.h <<\_ACEOF
62874 #define HAVE_WRITEV 1
62875 _ACEOF
62877 cat >>confdefs.h <<\_ACEOF
62878 #define HAVE_INT64_T 1
62879 _ACEOF
62882 cat >>confdefs.h <<\_ACEOF
62883 #define HAVE_LIBM 1
62884 _ACEOF
62886 cat >>confdefs.h <<\_ACEOF
62887 #define HAVE_COPYSIGN 1
62888 _ACEOF
62890 cat >>confdefs.h <<\_ACEOF
62891 #define HAVE_FINITE 1
62892 _ACEOF
62894 cat >>confdefs.h <<\_ACEOF
62895 #define HAVE_HYPOT 1
62896 _ACEOF
62898 cat >>confdefs.h <<\_ACEOF
62899 #define HAVE_ISNAN 1
62900 _ACEOF
62902 cat >>confdefs.h <<\_ACEOF
62903 #define HAVE_ISINF 1
62904 _ACEOF
62907 cat >>confdefs.h <<\_ACEOF
62908 #define HAVE_LDEXPF 1
62909 _ACEOF
62911 cat >>confdefs.h <<\_ACEOF
62912 #define HAVE_MODF 1
62913 _ACEOF
62915 cat >>confdefs.h <<\_ACEOF
62916 #define HAVE_SQRTF 1
62917 _ACEOF
62921 *-darwin*)
62922 # Darwin versions vary, but the linker should work in a cross environment,
62923 # so we just check for all the features here.
62924 # Check for available headers.
62938 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
62939 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
62940 sys/types.h
62942 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
62943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62944 echo "$as_me:$LINENO: checking for $ac_header" >&5
62945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
62946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
62947 echo $ECHO_N "(cached) $ECHO_C" >&6
62949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
62950 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
62951 else
62952 # Is the header compilable?
62953 echo "$as_me:$LINENO: checking $ac_header usability" >&5
62954 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
62955 cat >conftest.$ac_ext <<_ACEOF
62956 /* confdefs.h. */
62957 _ACEOF
62958 cat confdefs.h >>conftest.$ac_ext
62959 cat >>conftest.$ac_ext <<_ACEOF
62960 /* end confdefs.h. */
62961 $ac_includes_default
62962 #include <$ac_header>
62963 _ACEOF
62964 rm -f conftest.$ac_objext
62965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62966 (eval $ac_compile) 2>conftest.er1
62967 ac_status=$?
62968 grep -v '^ *+' conftest.er1 >conftest.err
62969 rm -f conftest.er1
62970 cat conftest.err >&5
62971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62972 (exit $ac_status); } &&
62973 { ac_try='test -z "$ac_c_werror_flag"
62974 || test ! -s conftest.err'
62975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62976 (eval $ac_try) 2>&5
62977 ac_status=$?
62978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62979 (exit $ac_status); }; } &&
62980 { ac_try='test -s conftest.$ac_objext'
62981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62982 (eval $ac_try) 2>&5
62983 ac_status=$?
62984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62985 (exit $ac_status); }; }; then
62986 ac_header_compiler=yes
62987 else
62988 echo "$as_me: failed program was:" >&5
62989 sed 's/^/| /' conftest.$ac_ext >&5
62991 ac_header_compiler=no
62993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62994 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
62995 echo "${ECHO_T}$ac_header_compiler" >&6
62997 # Is the header present?
62998 echo "$as_me:$LINENO: checking $ac_header presence" >&5
62999 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
63000 cat >conftest.$ac_ext <<_ACEOF
63001 /* confdefs.h. */
63002 _ACEOF
63003 cat confdefs.h >>conftest.$ac_ext
63004 cat >>conftest.$ac_ext <<_ACEOF
63005 /* end confdefs.h. */
63006 #include <$ac_header>
63007 _ACEOF
63008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
63009 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
63010 ac_status=$?
63011 grep -v '^ *+' conftest.er1 >conftest.err
63012 rm -f conftest.er1
63013 cat conftest.err >&5
63014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63015 (exit $ac_status); } >/dev/null; then
63016 if test -s conftest.err; then
63017 ac_cpp_err=$ac_c_preproc_warn_flag
63018 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
63019 else
63020 ac_cpp_err=
63022 else
63023 ac_cpp_err=yes
63025 if test -z "$ac_cpp_err"; then
63026 ac_header_preproc=yes
63027 else
63028 echo "$as_me: failed program was:" >&5
63029 sed 's/^/| /' conftest.$ac_ext >&5
63031 ac_header_preproc=no
63033 rm -f conftest.err conftest.$ac_ext
63034 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
63035 echo "${ECHO_T}$ac_header_preproc" >&6
63037 # So? What about this header?
63038 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
63039 yes:no: )
63040 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
63041 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
63042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
63043 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
63044 ac_header_preproc=yes
63046 no:yes:* )
63047 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
63048 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
63049 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
63050 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
63051 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
63052 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
63053 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
63054 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
63055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
63056 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
63057 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
63058 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
63060 cat <<\_ASBOX
63061 ## ----------------------------------------- ##
63062 ## Report this to the package-unused lists. ##
63063 ## ----------------------------------------- ##
63064 _ASBOX
63066 sed "s/^/$as_me: WARNING: /" >&2
63068 esac
63069 echo "$as_me:$LINENO: checking for $ac_header" >&5
63070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
63071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
63072 echo $ECHO_N "(cached) $ECHO_C" >&6
63073 else
63074 eval "$as_ac_Header=\$ac_header_preproc"
63076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
63077 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
63080 if test `eval echo '${'$as_ac_Header'}'` = yes; then
63081 cat >>confdefs.h <<_ACEOF
63082 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
63083 _ACEOF
63087 done
63090 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
63092 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63093 ac_save_CXXFLAGS="$CXXFLAGS"
63094 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63096 echo "$as_me:$LINENO: checking for sin in -lm" >&5
63097 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
63098 if test "${ac_cv_lib_m_sin+set}" = set; then
63099 echo $ECHO_N "(cached) $ECHO_C" >&6
63100 else
63101 ac_check_lib_save_LIBS=$LIBS
63102 LIBS="-lm $LIBS"
63103 if test x$gcc_no_link = xyes; then
63104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63106 { (exit 1); exit 1; }; }
63108 cat >conftest.$ac_ext <<_ACEOF
63109 /* confdefs.h. */
63110 _ACEOF
63111 cat confdefs.h >>conftest.$ac_ext
63112 cat >>conftest.$ac_ext <<_ACEOF
63113 /* end confdefs.h. */
63115 /* Override any gcc2 internal prototype to avoid an error. */
63116 #ifdef __cplusplus
63117 extern "C"
63118 #endif
63119 /* We use char because int might match the return type of a gcc2
63120 builtin and then its argument prototype would still apply. */
63121 char sin ();
63123 main ()
63125 sin ();
63127 return 0;
63129 _ACEOF
63130 rm -f conftest.$ac_objext conftest$ac_exeext
63131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63132 (eval $ac_link) 2>conftest.er1
63133 ac_status=$?
63134 grep -v '^ *+' conftest.er1 >conftest.err
63135 rm -f conftest.er1
63136 cat conftest.err >&5
63137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63138 (exit $ac_status); } &&
63139 { ac_try='test -z "$ac_c_werror_flag"
63140 || test ! -s conftest.err'
63141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63142 (eval $ac_try) 2>&5
63143 ac_status=$?
63144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63145 (exit $ac_status); }; } &&
63146 { ac_try='test -s conftest$ac_exeext'
63147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63148 (eval $ac_try) 2>&5
63149 ac_status=$?
63150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63151 (exit $ac_status); }; }; then
63152 ac_cv_lib_m_sin=yes
63153 else
63154 echo "$as_me: failed program was:" >&5
63155 sed 's/^/| /' conftest.$ac_ext >&5
63157 ac_cv_lib_m_sin=no
63159 rm -f conftest.err conftest.$ac_objext \
63160 conftest$ac_exeext conftest.$ac_ext
63161 LIBS=$ac_check_lib_save_LIBS
63163 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
63164 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
63165 if test $ac_cv_lib_m_sin = yes; then
63166 libm="-lm"
63169 ac_save_LIBS="$LIBS"
63170 LIBS="$LIBS $libm"
63174 echo "$as_me:$LINENO: checking for isinf declaration" >&5
63175 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
63176 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
63177 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
63178 echo $ECHO_N "(cached) $ECHO_C" >&6
63179 else
63183 ac_ext=cc
63184 ac_cpp='$CXXCPP $CPPFLAGS'
63185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63189 cat >conftest.$ac_ext <<_ACEOF
63190 /* confdefs.h. */
63191 _ACEOF
63192 cat confdefs.h >>conftest.$ac_ext
63193 cat >>conftest.$ac_ext <<_ACEOF
63194 /* end confdefs.h. */
63195 #include <math.h>
63196 #ifdef HAVE_IEEEFP_H
63197 #include <ieeefp.h>
63198 #endif
63201 main ()
63203 isinf(0);
63205 return 0;
63207 _ACEOF
63208 rm -f conftest.$ac_objext
63209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63210 (eval $ac_compile) 2>conftest.er1
63211 ac_status=$?
63212 grep -v '^ *+' conftest.er1 >conftest.err
63213 rm -f conftest.er1
63214 cat conftest.err >&5
63215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63216 (exit $ac_status); } &&
63217 { ac_try='test -z "$ac_cxx_werror_flag"
63218 || test ! -s conftest.err'
63219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63220 (eval $ac_try) 2>&5
63221 ac_status=$?
63222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63223 (exit $ac_status); }; } &&
63224 { ac_try='test -s conftest.$ac_objext'
63225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63226 (eval $ac_try) 2>&5
63227 ac_status=$?
63228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63229 (exit $ac_status); }; }; then
63230 glibcxx_cv_func_isinf_use=yes
63231 else
63232 echo "$as_me: failed program was:" >&5
63233 sed 's/^/| /' conftest.$ac_ext >&5
63235 glibcxx_cv_func_isinf_use=no
63237 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63238 ac_ext=c
63239 ac_cpp='$CPP $CPPFLAGS'
63240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63248 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
63249 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
63251 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
63253 for ac_func in isinf
63255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63256 echo "$as_me:$LINENO: checking for $ac_func" >&5
63257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63258 if eval "test \"\${$as_ac_var+set}\" = set"; then
63259 echo $ECHO_N "(cached) $ECHO_C" >&6
63260 else
63261 if test x$gcc_no_link = xyes; then
63262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63264 { (exit 1); exit 1; }; }
63266 cat >conftest.$ac_ext <<_ACEOF
63267 /* confdefs.h. */
63268 _ACEOF
63269 cat confdefs.h >>conftest.$ac_ext
63270 cat >>conftest.$ac_ext <<_ACEOF
63271 /* end confdefs.h. */
63272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63274 #define $ac_func innocuous_$ac_func
63276 /* System header to define __stub macros and hopefully few prototypes,
63277 which can conflict with char $ac_func (); below.
63278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63279 <limits.h> exists even on freestanding compilers. */
63281 #ifdef __STDC__
63282 # include <limits.h>
63283 #else
63284 # include <assert.h>
63285 #endif
63287 #undef $ac_func
63289 /* Override any gcc2 internal prototype to avoid an error. */
63290 #ifdef __cplusplus
63291 extern "C"
63293 #endif
63294 /* We use char because int might match the return type of a gcc2
63295 builtin and then its argument prototype would still apply. */
63296 char $ac_func ();
63297 /* The GNU C library defines this for functions which it implements
63298 to always fail with ENOSYS. Some functions are actually named
63299 something starting with __ and the normal name is an alias. */
63300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63301 choke me
63302 #else
63303 char (*f) () = $ac_func;
63304 #endif
63305 #ifdef __cplusplus
63307 #endif
63310 main ()
63312 return f != $ac_func;
63314 return 0;
63316 _ACEOF
63317 rm -f conftest.$ac_objext conftest$ac_exeext
63318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63319 (eval $ac_link) 2>conftest.er1
63320 ac_status=$?
63321 grep -v '^ *+' conftest.er1 >conftest.err
63322 rm -f conftest.er1
63323 cat conftest.err >&5
63324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63325 (exit $ac_status); } &&
63326 { ac_try='test -z "$ac_c_werror_flag"
63327 || test ! -s conftest.err'
63328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63329 (eval $ac_try) 2>&5
63330 ac_status=$?
63331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63332 (exit $ac_status); }; } &&
63333 { ac_try='test -s conftest$ac_exeext'
63334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63335 (eval $ac_try) 2>&5
63336 ac_status=$?
63337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63338 (exit $ac_status); }; }; then
63339 eval "$as_ac_var=yes"
63340 else
63341 echo "$as_me: failed program was:" >&5
63342 sed 's/^/| /' conftest.$ac_ext >&5
63344 eval "$as_ac_var=no"
63346 rm -f conftest.err conftest.$ac_objext \
63347 conftest$ac_exeext conftest.$ac_ext
63349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63351 if test `eval echo '${'$as_ac_var'}'` = yes; then
63352 cat >>confdefs.h <<_ACEOF
63353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63354 _ACEOF
63357 done
63359 else
63361 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
63362 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
63363 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
63364 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
63365 echo $ECHO_N "(cached) $ECHO_C" >&6
63366 else
63370 ac_ext=cc
63371 ac_cpp='$CXXCPP $CPPFLAGS'
63372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63376 cat >conftest.$ac_ext <<_ACEOF
63377 /* confdefs.h. */
63378 _ACEOF
63379 cat confdefs.h >>conftest.$ac_ext
63380 cat >>conftest.$ac_ext <<_ACEOF
63381 /* end confdefs.h. */
63382 #include <math.h>
63383 #ifdef HAVE_IEEEFP_H
63384 #include <ieeefp.h>
63385 #endif
63388 main ()
63390 _isinf(0);
63392 return 0;
63394 _ACEOF
63395 rm -f conftest.$ac_objext
63396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63397 (eval $ac_compile) 2>conftest.er1
63398 ac_status=$?
63399 grep -v '^ *+' conftest.er1 >conftest.err
63400 rm -f conftest.er1
63401 cat conftest.err >&5
63402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63403 (exit $ac_status); } &&
63404 { ac_try='test -z "$ac_cxx_werror_flag"
63405 || test ! -s conftest.err'
63406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63407 (eval $ac_try) 2>&5
63408 ac_status=$?
63409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63410 (exit $ac_status); }; } &&
63411 { ac_try='test -s conftest.$ac_objext'
63412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63413 (eval $ac_try) 2>&5
63414 ac_status=$?
63415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63416 (exit $ac_status); }; }; then
63417 glibcxx_cv_func__isinf_use=yes
63418 else
63419 echo "$as_me: failed program was:" >&5
63420 sed 's/^/| /' conftest.$ac_ext >&5
63422 glibcxx_cv_func__isinf_use=no
63424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63425 ac_ext=c
63426 ac_cpp='$CPP $CPPFLAGS'
63427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63435 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
63436 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
63438 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
63440 for ac_func in _isinf
63442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63443 echo "$as_me:$LINENO: checking for $ac_func" >&5
63444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63445 if eval "test \"\${$as_ac_var+set}\" = set"; then
63446 echo $ECHO_N "(cached) $ECHO_C" >&6
63447 else
63448 if test x$gcc_no_link = xyes; then
63449 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63451 { (exit 1); exit 1; }; }
63453 cat >conftest.$ac_ext <<_ACEOF
63454 /* confdefs.h. */
63455 _ACEOF
63456 cat confdefs.h >>conftest.$ac_ext
63457 cat >>conftest.$ac_ext <<_ACEOF
63458 /* end confdefs.h. */
63459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63461 #define $ac_func innocuous_$ac_func
63463 /* System header to define __stub macros and hopefully few prototypes,
63464 which can conflict with char $ac_func (); below.
63465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63466 <limits.h> exists even on freestanding compilers. */
63468 #ifdef __STDC__
63469 # include <limits.h>
63470 #else
63471 # include <assert.h>
63472 #endif
63474 #undef $ac_func
63476 /* Override any gcc2 internal prototype to avoid an error. */
63477 #ifdef __cplusplus
63478 extern "C"
63480 #endif
63481 /* We use char because int might match the return type of a gcc2
63482 builtin and then its argument prototype would still apply. */
63483 char $ac_func ();
63484 /* The GNU C library defines this for functions which it implements
63485 to always fail with ENOSYS. Some functions are actually named
63486 something starting with __ and the normal name is an alias. */
63487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63488 choke me
63489 #else
63490 char (*f) () = $ac_func;
63491 #endif
63492 #ifdef __cplusplus
63494 #endif
63497 main ()
63499 return f != $ac_func;
63501 return 0;
63503 _ACEOF
63504 rm -f conftest.$ac_objext conftest$ac_exeext
63505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63506 (eval $ac_link) 2>conftest.er1
63507 ac_status=$?
63508 grep -v '^ *+' conftest.er1 >conftest.err
63509 rm -f conftest.er1
63510 cat conftest.err >&5
63511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63512 (exit $ac_status); } &&
63513 { ac_try='test -z "$ac_c_werror_flag"
63514 || test ! -s conftest.err'
63515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63516 (eval $ac_try) 2>&5
63517 ac_status=$?
63518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63519 (exit $ac_status); }; } &&
63520 { ac_try='test -s conftest$ac_exeext'
63521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63522 (eval $ac_try) 2>&5
63523 ac_status=$?
63524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63525 (exit $ac_status); }; }; then
63526 eval "$as_ac_var=yes"
63527 else
63528 echo "$as_me: failed program was:" >&5
63529 sed 's/^/| /' conftest.$ac_ext >&5
63531 eval "$as_ac_var=no"
63533 rm -f conftest.err conftest.$ac_objext \
63534 conftest$ac_exeext conftest.$ac_ext
63536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63538 if test `eval echo '${'$as_ac_var'}'` = yes; then
63539 cat >>confdefs.h <<_ACEOF
63540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63541 _ACEOF
63544 done
63554 echo "$as_me:$LINENO: checking for isnan declaration" >&5
63555 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
63556 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
63557 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
63558 echo $ECHO_N "(cached) $ECHO_C" >&6
63559 else
63563 ac_ext=cc
63564 ac_cpp='$CXXCPP $CPPFLAGS'
63565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63569 cat >conftest.$ac_ext <<_ACEOF
63570 /* confdefs.h. */
63571 _ACEOF
63572 cat confdefs.h >>conftest.$ac_ext
63573 cat >>conftest.$ac_ext <<_ACEOF
63574 /* end confdefs.h. */
63575 #include <math.h>
63576 #ifdef HAVE_IEEEFP_H
63577 #include <ieeefp.h>
63578 #endif
63581 main ()
63583 isnan(0);
63585 return 0;
63587 _ACEOF
63588 rm -f conftest.$ac_objext
63589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63590 (eval $ac_compile) 2>conftest.er1
63591 ac_status=$?
63592 grep -v '^ *+' conftest.er1 >conftest.err
63593 rm -f conftest.er1
63594 cat conftest.err >&5
63595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63596 (exit $ac_status); } &&
63597 { ac_try='test -z "$ac_cxx_werror_flag"
63598 || test ! -s conftest.err'
63599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63600 (eval $ac_try) 2>&5
63601 ac_status=$?
63602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63603 (exit $ac_status); }; } &&
63604 { ac_try='test -s conftest.$ac_objext'
63605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63606 (eval $ac_try) 2>&5
63607 ac_status=$?
63608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63609 (exit $ac_status); }; }; then
63610 glibcxx_cv_func_isnan_use=yes
63611 else
63612 echo "$as_me: failed program was:" >&5
63613 sed 's/^/| /' conftest.$ac_ext >&5
63615 glibcxx_cv_func_isnan_use=no
63617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63618 ac_ext=c
63619 ac_cpp='$CPP $CPPFLAGS'
63620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63628 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
63629 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
63631 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
63633 for ac_func in isnan
63635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63636 echo "$as_me:$LINENO: checking for $ac_func" >&5
63637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63638 if eval "test \"\${$as_ac_var+set}\" = set"; then
63639 echo $ECHO_N "(cached) $ECHO_C" >&6
63640 else
63641 if test x$gcc_no_link = xyes; then
63642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63644 { (exit 1); exit 1; }; }
63646 cat >conftest.$ac_ext <<_ACEOF
63647 /* confdefs.h. */
63648 _ACEOF
63649 cat confdefs.h >>conftest.$ac_ext
63650 cat >>conftest.$ac_ext <<_ACEOF
63651 /* end confdefs.h. */
63652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63654 #define $ac_func innocuous_$ac_func
63656 /* System header to define __stub macros and hopefully few prototypes,
63657 which can conflict with char $ac_func (); below.
63658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63659 <limits.h> exists even on freestanding compilers. */
63661 #ifdef __STDC__
63662 # include <limits.h>
63663 #else
63664 # include <assert.h>
63665 #endif
63667 #undef $ac_func
63669 /* Override any gcc2 internal prototype to avoid an error. */
63670 #ifdef __cplusplus
63671 extern "C"
63673 #endif
63674 /* We use char because int might match the return type of a gcc2
63675 builtin and then its argument prototype would still apply. */
63676 char $ac_func ();
63677 /* The GNU C library defines this for functions which it implements
63678 to always fail with ENOSYS. Some functions are actually named
63679 something starting with __ and the normal name is an alias. */
63680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63681 choke me
63682 #else
63683 char (*f) () = $ac_func;
63684 #endif
63685 #ifdef __cplusplus
63687 #endif
63690 main ()
63692 return f != $ac_func;
63694 return 0;
63696 _ACEOF
63697 rm -f conftest.$ac_objext conftest$ac_exeext
63698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63699 (eval $ac_link) 2>conftest.er1
63700 ac_status=$?
63701 grep -v '^ *+' conftest.er1 >conftest.err
63702 rm -f conftest.er1
63703 cat conftest.err >&5
63704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63705 (exit $ac_status); } &&
63706 { ac_try='test -z "$ac_c_werror_flag"
63707 || test ! -s conftest.err'
63708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63709 (eval $ac_try) 2>&5
63710 ac_status=$?
63711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63712 (exit $ac_status); }; } &&
63713 { ac_try='test -s conftest$ac_exeext'
63714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63715 (eval $ac_try) 2>&5
63716 ac_status=$?
63717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63718 (exit $ac_status); }; }; then
63719 eval "$as_ac_var=yes"
63720 else
63721 echo "$as_me: failed program was:" >&5
63722 sed 's/^/| /' conftest.$ac_ext >&5
63724 eval "$as_ac_var=no"
63726 rm -f conftest.err conftest.$ac_objext \
63727 conftest$ac_exeext conftest.$ac_ext
63729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63731 if test `eval echo '${'$as_ac_var'}'` = yes; then
63732 cat >>confdefs.h <<_ACEOF
63733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63734 _ACEOF
63737 done
63739 else
63741 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
63742 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
63743 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
63744 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
63745 echo $ECHO_N "(cached) $ECHO_C" >&6
63746 else
63750 ac_ext=cc
63751 ac_cpp='$CXXCPP $CPPFLAGS'
63752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63756 cat >conftest.$ac_ext <<_ACEOF
63757 /* confdefs.h. */
63758 _ACEOF
63759 cat confdefs.h >>conftest.$ac_ext
63760 cat >>conftest.$ac_ext <<_ACEOF
63761 /* end confdefs.h. */
63762 #include <math.h>
63763 #ifdef HAVE_IEEEFP_H
63764 #include <ieeefp.h>
63765 #endif
63768 main ()
63770 _isnan(0);
63772 return 0;
63774 _ACEOF
63775 rm -f conftest.$ac_objext
63776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63777 (eval $ac_compile) 2>conftest.er1
63778 ac_status=$?
63779 grep -v '^ *+' conftest.er1 >conftest.err
63780 rm -f conftest.er1
63781 cat conftest.err >&5
63782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63783 (exit $ac_status); } &&
63784 { ac_try='test -z "$ac_cxx_werror_flag"
63785 || test ! -s conftest.err'
63786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63787 (eval $ac_try) 2>&5
63788 ac_status=$?
63789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63790 (exit $ac_status); }; } &&
63791 { ac_try='test -s conftest.$ac_objext'
63792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63793 (eval $ac_try) 2>&5
63794 ac_status=$?
63795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63796 (exit $ac_status); }; }; then
63797 glibcxx_cv_func__isnan_use=yes
63798 else
63799 echo "$as_me: failed program was:" >&5
63800 sed 's/^/| /' conftest.$ac_ext >&5
63802 glibcxx_cv_func__isnan_use=no
63804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63805 ac_ext=c
63806 ac_cpp='$CPP $CPPFLAGS'
63807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63815 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
63816 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
63818 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
63820 for ac_func in _isnan
63822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63823 echo "$as_me:$LINENO: checking for $ac_func" >&5
63824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63825 if eval "test \"\${$as_ac_var+set}\" = set"; then
63826 echo $ECHO_N "(cached) $ECHO_C" >&6
63827 else
63828 if test x$gcc_no_link = xyes; then
63829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63831 { (exit 1); exit 1; }; }
63833 cat >conftest.$ac_ext <<_ACEOF
63834 /* confdefs.h. */
63835 _ACEOF
63836 cat confdefs.h >>conftest.$ac_ext
63837 cat >>conftest.$ac_ext <<_ACEOF
63838 /* end confdefs.h. */
63839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63841 #define $ac_func innocuous_$ac_func
63843 /* System header to define __stub macros and hopefully few prototypes,
63844 which can conflict with char $ac_func (); below.
63845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63846 <limits.h> exists even on freestanding compilers. */
63848 #ifdef __STDC__
63849 # include <limits.h>
63850 #else
63851 # include <assert.h>
63852 #endif
63854 #undef $ac_func
63856 /* Override any gcc2 internal prototype to avoid an error. */
63857 #ifdef __cplusplus
63858 extern "C"
63860 #endif
63861 /* We use char because int might match the return type of a gcc2
63862 builtin and then its argument prototype would still apply. */
63863 char $ac_func ();
63864 /* The GNU C library defines this for functions which it implements
63865 to always fail with ENOSYS. Some functions are actually named
63866 something starting with __ and the normal name is an alias. */
63867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63868 choke me
63869 #else
63870 char (*f) () = $ac_func;
63871 #endif
63872 #ifdef __cplusplus
63874 #endif
63877 main ()
63879 return f != $ac_func;
63881 return 0;
63883 _ACEOF
63884 rm -f conftest.$ac_objext conftest$ac_exeext
63885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63886 (eval $ac_link) 2>conftest.er1
63887 ac_status=$?
63888 grep -v '^ *+' conftest.er1 >conftest.err
63889 rm -f conftest.er1
63890 cat conftest.err >&5
63891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63892 (exit $ac_status); } &&
63893 { ac_try='test -z "$ac_c_werror_flag"
63894 || test ! -s conftest.err'
63895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63896 (eval $ac_try) 2>&5
63897 ac_status=$?
63898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63899 (exit $ac_status); }; } &&
63900 { ac_try='test -s conftest$ac_exeext'
63901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63902 (eval $ac_try) 2>&5
63903 ac_status=$?
63904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63905 (exit $ac_status); }; }; then
63906 eval "$as_ac_var=yes"
63907 else
63908 echo "$as_me: failed program was:" >&5
63909 sed 's/^/| /' conftest.$ac_ext >&5
63911 eval "$as_ac_var=no"
63913 rm -f conftest.err conftest.$ac_objext \
63914 conftest$ac_exeext conftest.$ac_ext
63916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63918 if test `eval echo '${'$as_ac_var'}'` = yes; then
63919 cat >>confdefs.h <<_ACEOF
63920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63921 _ACEOF
63924 done
63934 echo "$as_me:$LINENO: checking for finite declaration" >&5
63935 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
63936 if test x${glibcxx_cv_func_finite_use+set} != xset; then
63937 if test "${glibcxx_cv_func_finite_use+set}" = set; then
63938 echo $ECHO_N "(cached) $ECHO_C" >&6
63939 else
63943 ac_ext=cc
63944 ac_cpp='$CXXCPP $CPPFLAGS'
63945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63949 cat >conftest.$ac_ext <<_ACEOF
63950 /* confdefs.h. */
63951 _ACEOF
63952 cat confdefs.h >>conftest.$ac_ext
63953 cat >>conftest.$ac_ext <<_ACEOF
63954 /* end confdefs.h. */
63955 #include <math.h>
63956 #ifdef HAVE_IEEEFP_H
63957 #include <ieeefp.h>
63958 #endif
63961 main ()
63963 finite(0);
63965 return 0;
63967 _ACEOF
63968 rm -f conftest.$ac_objext
63969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63970 (eval $ac_compile) 2>conftest.er1
63971 ac_status=$?
63972 grep -v '^ *+' conftest.er1 >conftest.err
63973 rm -f conftest.er1
63974 cat conftest.err >&5
63975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63976 (exit $ac_status); } &&
63977 { ac_try='test -z "$ac_cxx_werror_flag"
63978 || test ! -s conftest.err'
63979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63980 (eval $ac_try) 2>&5
63981 ac_status=$?
63982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63983 (exit $ac_status); }; } &&
63984 { ac_try='test -s conftest.$ac_objext'
63985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63986 (eval $ac_try) 2>&5
63987 ac_status=$?
63988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63989 (exit $ac_status); }; }; then
63990 glibcxx_cv_func_finite_use=yes
63991 else
63992 echo "$as_me: failed program was:" >&5
63993 sed 's/^/| /' conftest.$ac_ext >&5
63995 glibcxx_cv_func_finite_use=no
63997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63998 ac_ext=c
63999 ac_cpp='$CPP $CPPFLAGS'
64000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64008 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
64009 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
64011 if test x$glibcxx_cv_func_finite_use = x"yes"; then
64013 for ac_func in finite
64015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64016 echo "$as_me:$LINENO: checking for $ac_func" >&5
64017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64018 if eval "test \"\${$as_ac_var+set}\" = set"; then
64019 echo $ECHO_N "(cached) $ECHO_C" >&6
64020 else
64021 if test x$gcc_no_link = xyes; then
64022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64024 { (exit 1); exit 1; }; }
64026 cat >conftest.$ac_ext <<_ACEOF
64027 /* confdefs.h. */
64028 _ACEOF
64029 cat confdefs.h >>conftest.$ac_ext
64030 cat >>conftest.$ac_ext <<_ACEOF
64031 /* end confdefs.h. */
64032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64034 #define $ac_func innocuous_$ac_func
64036 /* System header to define __stub macros and hopefully few prototypes,
64037 which can conflict with char $ac_func (); below.
64038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64039 <limits.h> exists even on freestanding compilers. */
64041 #ifdef __STDC__
64042 # include <limits.h>
64043 #else
64044 # include <assert.h>
64045 #endif
64047 #undef $ac_func
64049 /* Override any gcc2 internal prototype to avoid an error. */
64050 #ifdef __cplusplus
64051 extern "C"
64053 #endif
64054 /* We use char because int might match the return type of a gcc2
64055 builtin and then its argument prototype would still apply. */
64056 char $ac_func ();
64057 /* The GNU C library defines this for functions which it implements
64058 to always fail with ENOSYS. Some functions are actually named
64059 something starting with __ and the normal name is an alias. */
64060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64061 choke me
64062 #else
64063 char (*f) () = $ac_func;
64064 #endif
64065 #ifdef __cplusplus
64067 #endif
64070 main ()
64072 return f != $ac_func;
64074 return 0;
64076 _ACEOF
64077 rm -f conftest.$ac_objext conftest$ac_exeext
64078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64079 (eval $ac_link) 2>conftest.er1
64080 ac_status=$?
64081 grep -v '^ *+' conftest.er1 >conftest.err
64082 rm -f conftest.er1
64083 cat conftest.err >&5
64084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64085 (exit $ac_status); } &&
64086 { ac_try='test -z "$ac_c_werror_flag"
64087 || test ! -s conftest.err'
64088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64089 (eval $ac_try) 2>&5
64090 ac_status=$?
64091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64092 (exit $ac_status); }; } &&
64093 { ac_try='test -s conftest$ac_exeext'
64094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64095 (eval $ac_try) 2>&5
64096 ac_status=$?
64097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64098 (exit $ac_status); }; }; then
64099 eval "$as_ac_var=yes"
64100 else
64101 echo "$as_me: failed program was:" >&5
64102 sed 's/^/| /' conftest.$ac_ext >&5
64104 eval "$as_ac_var=no"
64106 rm -f conftest.err conftest.$ac_objext \
64107 conftest$ac_exeext conftest.$ac_ext
64109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64111 if test `eval echo '${'$as_ac_var'}'` = yes; then
64112 cat >>confdefs.h <<_ACEOF
64113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64114 _ACEOF
64117 done
64119 else
64121 echo "$as_me:$LINENO: checking for _finite declaration" >&5
64122 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
64123 if test x${glibcxx_cv_func__finite_use+set} != xset; then
64124 if test "${glibcxx_cv_func__finite_use+set}" = set; then
64125 echo $ECHO_N "(cached) $ECHO_C" >&6
64126 else
64130 ac_ext=cc
64131 ac_cpp='$CXXCPP $CPPFLAGS'
64132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64136 cat >conftest.$ac_ext <<_ACEOF
64137 /* confdefs.h. */
64138 _ACEOF
64139 cat confdefs.h >>conftest.$ac_ext
64140 cat >>conftest.$ac_ext <<_ACEOF
64141 /* end confdefs.h. */
64142 #include <math.h>
64143 #ifdef HAVE_IEEEFP_H
64144 #include <ieeefp.h>
64145 #endif
64148 main ()
64150 _finite(0);
64152 return 0;
64154 _ACEOF
64155 rm -f conftest.$ac_objext
64156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64157 (eval $ac_compile) 2>conftest.er1
64158 ac_status=$?
64159 grep -v '^ *+' conftest.er1 >conftest.err
64160 rm -f conftest.er1
64161 cat conftest.err >&5
64162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64163 (exit $ac_status); } &&
64164 { ac_try='test -z "$ac_cxx_werror_flag"
64165 || test ! -s conftest.err'
64166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64167 (eval $ac_try) 2>&5
64168 ac_status=$?
64169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64170 (exit $ac_status); }; } &&
64171 { ac_try='test -s conftest.$ac_objext'
64172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64173 (eval $ac_try) 2>&5
64174 ac_status=$?
64175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64176 (exit $ac_status); }; }; then
64177 glibcxx_cv_func__finite_use=yes
64178 else
64179 echo "$as_me: failed program was:" >&5
64180 sed 's/^/| /' conftest.$ac_ext >&5
64182 glibcxx_cv_func__finite_use=no
64184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64185 ac_ext=c
64186 ac_cpp='$CPP $CPPFLAGS'
64187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64195 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
64196 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
64198 if test x$glibcxx_cv_func__finite_use = x"yes"; then
64200 for ac_func in _finite
64202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64203 echo "$as_me:$LINENO: checking for $ac_func" >&5
64204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64205 if eval "test \"\${$as_ac_var+set}\" = set"; then
64206 echo $ECHO_N "(cached) $ECHO_C" >&6
64207 else
64208 if test x$gcc_no_link = xyes; then
64209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64211 { (exit 1); exit 1; }; }
64213 cat >conftest.$ac_ext <<_ACEOF
64214 /* confdefs.h. */
64215 _ACEOF
64216 cat confdefs.h >>conftest.$ac_ext
64217 cat >>conftest.$ac_ext <<_ACEOF
64218 /* end confdefs.h. */
64219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64221 #define $ac_func innocuous_$ac_func
64223 /* System header to define __stub macros and hopefully few prototypes,
64224 which can conflict with char $ac_func (); below.
64225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64226 <limits.h> exists even on freestanding compilers. */
64228 #ifdef __STDC__
64229 # include <limits.h>
64230 #else
64231 # include <assert.h>
64232 #endif
64234 #undef $ac_func
64236 /* Override any gcc2 internal prototype to avoid an error. */
64237 #ifdef __cplusplus
64238 extern "C"
64240 #endif
64241 /* We use char because int might match the return type of a gcc2
64242 builtin and then its argument prototype would still apply. */
64243 char $ac_func ();
64244 /* The GNU C library defines this for functions which it implements
64245 to always fail with ENOSYS. Some functions are actually named
64246 something starting with __ and the normal name is an alias. */
64247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64248 choke me
64249 #else
64250 char (*f) () = $ac_func;
64251 #endif
64252 #ifdef __cplusplus
64254 #endif
64257 main ()
64259 return f != $ac_func;
64261 return 0;
64263 _ACEOF
64264 rm -f conftest.$ac_objext conftest$ac_exeext
64265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64266 (eval $ac_link) 2>conftest.er1
64267 ac_status=$?
64268 grep -v '^ *+' conftest.er1 >conftest.err
64269 rm -f conftest.er1
64270 cat conftest.err >&5
64271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64272 (exit $ac_status); } &&
64273 { ac_try='test -z "$ac_c_werror_flag"
64274 || test ! -s conftest.err'
64275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64276 (eval $ac_try) 2>&5
64277 ac_status=$?
64278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64279 (exit $ac_status); }; } &&
64280 { ac_try='test -s conftest$ac_exeext'
64281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64282 (eval $ac_try) 2>&5
64283 ac_status=$?
64284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64285 (exit $ac_status); }; }; then
64286 eval "$as_ac_var=yes"
64287 else
64288 echo "$as_me: failed program was:" >&5
64289 sed 's/^/| /' conftest.$ac_ext >&5
64291 eval "$as_ac_var=no"
64293 rm -f conftest.err conftest.$ac_objext \
64294 conftest$ac_exeext conftest.$ac_ext
64296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64298 if test `eval echo '${'$as_ac_var'}'` = yes; then
64299 cat >>confdefs.h <<_ACEOF
64300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64301 _ACEOF
64304 done
64314 echo "$as_me:$LINENO: checking for copysign declaration" >&5
64315 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
64316 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
64317 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
64318 echo $ECHO_N "(cached) $ECHO_C" >&6
64319 else
64323 ac_ext=cc
64324 ac_cpp='$CXXCPP $CPPFLAGS'
64325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64329 cat >conftest.$ac_ext <<_ACEOF
64330 /* confdefs.h. */
64331 _ACEOF
64332 cat confdefs.h >>conftest.$ac_ext
64333 cat >>conftest.$ac_ext <<_ACEOF
64334 /* end confdefs.h. */
64335 #include <math.h>
64337 main ()
64339 copysign(0, 0);
64341 return 0;
64343 _ACEOF
64344 rm -f conftest.$ac_objext
64345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64346 (eval $ac_compile) 2>conftest.er1
64347 ac_status=$?
64348 grep -v '^ *+' conftest.er1 >conftest.err
64349 rm -f conftest.er1
64350 cat conftest.err >&5
64351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64352 (exit $ac_status); } &&
64353 { ac_try='test -z "$ac_cxx_werror_flag"
64354 || test ! -s conftest.err'
64355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64356 (eval $ac_try) 2>&5
64357 ac_status=$?
64358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64359 (exit $ac_status); }; } &&
64360 { ac_try='test -s conftest.$ac_objext'
64361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64362 (eval $ac_try) 2>&5
64363 ac_status=$?
64364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64365 (exit $ac_status); }; }; then
64366 glibcxx_cv_func_copysign_use=yes
64367 else
64368 echo "$as_me: failed program was:" >&5
64369 sed 's/^/| /' conftest.$ac_ext >&5
64371 glibcxx_cv_func_copysign_use=no
64373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64374 ac_ext=c
64375 ac_cpp='$CPP $CPPFLAGS'
64376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64384 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
64385 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
64387 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
64389 for ac_func in copysign
64391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64392 echo "$as_me:$LINENO: checking for $ac_func" >&5
64393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64394 if eval "test \"\${$as_ac_var+set}\" = set"; then
64395 echo $ECHO_N "(cached) $ECHO_C" >&6
64396 else
64397 if test x$gcc_no_link = xyes; then
64398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64400 { (exit 1); exit 1; }; }
64402 cat >conftest.$ac_ext <<_ACEOF
64403 /* confdefs.h. */
64404 _ACEOF
64405 cat confdefs.h >>conftest.$ac_ext
64406 cat >>conftest.$ac_ext <<_ACEOF
64407 /* end confdefs.h. */
64408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64410 #define $ac_func innocuous_$ac_func
64412 /* System header to define __stub macros and hopefully few prototypes,
64413 which can conflict with char $ac_func (); below.
64414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64415 <limits.h> exists even on freestanding compilers. */
64417 #ifdef __STDC__
64418 # include <limits.h>
64419 #else
64420 # include <assert.h>
64421 #endif
64423 #undef $ac_func
64425 /* Override any gcc2 internal prototype to avoid an error. */
64426 #ifdef __cplusplus
64427 extern "C"
64429 #endif
64430 /* We use char because int might match the return type of a gcc2
64431 builtin and then its argument prototype would still apply. */
64432 char $ac_func ();
64433 /* The GNU C library defines this for functions which it implements
64434 to always fail with ENOSYS. Some functions are actually named
64435 something starting with __ and the normal name is an alias. */
64436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64437 choke me
64438 #else
64439 char (*f) () = $ac_func;
64440 #endif
64441 #ifdef __cplusplus
64443 #endif
64446 main ()
64448 return f != $ac_func;
64450 return 0;
64452 _ACEOF
64453 rm -f conftest.$ac_objext conftest$ac_exeext
64454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64455 (eval $ac_link) 2>conftest.er1
64456 ac_status=$?
64457 grep -v '^ *+' conftest.er1 >conftest.err
64458 rm -f conftest.er1
64459 cat conftest.err >&5
64460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64461 (exit $ac_status); } &&
64462 { ac_try='test -z "$ac_c_werror_flag"
64463 || test ! -s conftest.err'
64464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64465 (eval $ac_try) 2>&5
64466 ac_status=$?
64467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64468 (exit $ac_status); }; } &&
64469 { ac_try='test -s conftest$ac_exeext'
64470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64471 (eval $ac_try) 2>&5
64472 ac_status=$?
64473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64474 (exit $ac_status); }; }; then
64475 eval "$as_ac_var=yes"
64476 else
64477 echo "$as_me: failed program was:" >&5
64478 sed 's/^/| /' conftest.$ac_ext >&5
64480 eval "$as_ac_var=no"
64482 rm -f conftest.err conftest.$ac_objext \
64483 conftest$ac_exeext conftest.$ac_ext
64485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64487 if test `eval echo '${'$as_ac_var'}'` = yes; then
64488 cat >>confdefs.h <<_ACEOF
64489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64490 _ACEOF
64493 done
64495 else
64497 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
64498 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
64499 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
64500 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
64501 echo $ECHO_N "(cached) $ECHO_C" >&6
64502 else
64506 ac_ext=cc
64507 ac_cpp='$CXXCPP $CPPFLAGS'
64508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64512 cat >conftest.$ac_ext <<_ACEOF
64513 /* confdefs.h. */
64514 _ACEOF
64515 cat confdefs.h >>conftest.$ac_ext
64516 cat >>conftest.$ac_ext <<_ACEOF
64517 /* end confdefs.h. */
64518 #include <math.h>
64520 main ()
64522 _copysign(0, 0);
64524 return 0;
64526 _ACEOF
64527 rm -f conftest.$ac_objext
64528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64529 (eval $ac_compile) 2>conftest.er1
64530 ac_status=$?
64531 grep -v '^ *+' conftest.er1 >conftest.err
64532 rm -f conftest.er1
64533 cat conftest.err >&5
64534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64535 (exit $ac_status); } &&
64536 { ac_try='test -z "$ac_cxx_werror_flag"
64537 || test ! -s conftest.err'
64538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64539 (eval $ac_try) 2>&5
64540 ac_status=$?
64541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64542 (exit $ac_status); }; } &&
64543 { ac_try='test -s conftest.$ac_objext'
64544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64545 (eval $ac_try) 2>&5
64546 ac_status=$?
64547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64548 (exit $ac_status); }; }; then
64549 glibcxx_cv_func__copysign_use=yes
64550 else
64551 echo "$as_me: failed program was:" >&5
64552 sed 's/^/| /' conftest.$ac_ext >&5
64554 glibcxx_cv_func__copysign_use=no
64556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64557 ac_ext=c
64558 ac_cpp='$CPP $CPPFLAGS'
64559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64567 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
64568 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
64570 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
64572 for ac_func in _copysign
64574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64575 echo "$as_me:$LINENO: checking for $ac_func" >&5
64576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64577 if eval "test \"\${$as_ac_var+set}\" = set"; then
64578 echo $ECHO_N "(cached) $ECHO_C" >&6
64579 else
64580 if test x$gcc_no_link = xyes; then
64581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64583 { (exit 1); exit 1; }; }
64585 cat >conftest.$ac_ext <<_ACEOF
64586 /* confdefs.h. */
64587 _ACEOF
64588 cat confdefs.h >>conftest.$ac_ext
64589 cat >>conftest.$ac_ext <<_ACEOF
64590 /* end confdefs.h. */
64591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64593 #define $ac_func innocuous_$ac_func
64595 /* System header to define __stub macros and hopefully few prototypes,
64596 which can conflict with char $ac_func (); below.
64597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64598 <limits.h> exists even on freestanding compilers. */
64600 #ifdef __STDC__
64601 # include <limits.h>
64602 #else
64603 # include <assert.h>
64604 #endif
64606 #undef $ac_func
64608 /* Override any gcc2 internal prototype to avoid an error. */
64609 #ifdef __cplusplus
64610 extern "C"
64612 #endif
64613 /* We use char because int might match the return type of a gcc2
64614 builtin and then its argument prototype would still apply. */
64615 char $ac_func ();
64616 /* The GNU C library defines this for functions which it implements
64617 to always fail with ENOSYS. Some functions are actually named
64618 something starting with __ and the normal name is an alias. */
64619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64620 choke me
64621 #else
64622 char (*f) () = $ac_func;
64623 #endif
64624 #ifdef __cplusplus
64626 #endif
64629 main ()
64631 return f != $ac_func;
64633 return 0;
64635 _ACEOF
64636 rm -f conftest.$ac_objext conftest$ac_exeext
64637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64638 (eval $ac_link) 2>conftest.er1
64639 ac_status=$?
64640 grep -v '^ *+' conftest.er1 >conftest.err
64641 rm -f conftest.er1
64642 cat conftest.err >&5
64643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64644 (exit $ac_status); } &&
64645 { ac_try='test -z "$ac_c_werror_flag"
64646 || test ! -s conftest.err'
64647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64648 (eval $ac_try) 2>&5
64649 ac_status=$?
64650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64651 (exit $ac_status); }; } &&
64652 { ac_try='test -s conftest$ac_exeext'
64653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64654 (eval $ac_try) 2>&5
64655 ac_status=$?
64656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64657 (exit $ac_status); }; }; then
64658 eval "$as_ac_var=yes"
64659 else
64660 echo "$as_me: failed program was:" >&5
64661 sed 's/^/| /' conftest.$ac_ext >&5
64663 eval "$as_ac_var=no"
64665 rm -f conftest.err conftest.$ac_objext \
64666 conftest$ac_exeext conftest.$ac_ext
64668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64670 if test `eval echo '${'$as_ac_var'}'` = yes; then
64671 cat >>confdefs.h <<_ACEOF
64672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64673 _ACEOF
64676 done
64686 echo "$as_me:$LINENO: checking for sincos declaration" >&5
64687 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
64688 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
64689 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
64690 echo $ECHO_N "(cached) $ECHO_C" >&6
64691 else
64695 ac_ext=cc
64696 ac_cpp='$CXXCPP $CPPFLAGS'
64697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64701 cat >conftest.$ac_ext <<_ACEOF
64702 /* confdefs.h. */
64703 _ACEOF
64704 cat confdefs.h >>conftest.$ac_ext
64705 cat >>conftest.$ac_ext <<_ACEOF
64706 /* end confdefs.h. */
64707 #include <math.h>
64709 main ()
64711 sincos(0, 0, 0);
64713 return 0;
64715 _ACEOF
64716 rm -f conftest.$ac_objext
64717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64718 (eval $ac_compile) 2>conftest.er1
64719 ac_status=$?
64720 grep -v '^ *+' conftest.er1 >conftest.err
64721 rm -f conftest.er1
64722 cat conftest.err >&5
64723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64724 (exit $ac_status); } &&
64725 { ac_try='test -z "$ac_cxx_werror_flag"
64726 || test ! -s conftest.err'
64727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64728 (eval $ac_try) 2>&5
64729 ac_status=$?
64730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64731 (exit $ac_status); }; } &&
64732 { ac_try='test -s conftest.$ac_objext'
64733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64734 (eval $ac_try) 2>&5
64735 ac_status=$?
64736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64737 (exit $ac_status); }; }; then
64738 glibcxx_cv_func_sincos_use=yes
64739 else
64740 echo "$as_me: failed program was:" >&5
64741 sed 's/^/| /' conftest.$ac_ext >&5
64743 glibcxx_cv_func_sincos_use=no
64745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64746 ac_ext=c
64747 ac_cpp='$CPP $CPPFLAGS'
64748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64756 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
64757 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
64759 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
64761 for ac_func in sincos
64763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64764 echo "$as_me:$LINENO: checking for $ac_func" >&5
64765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64766 if eval "test \"\${$as_ac_var+set}\" = set"; then
64767 echo $ECHO_N "(cached) $ECHO_C" >&6
64768 else
64769 if test x$gcc_no_link = xyes; then
64770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64772 { (exit 1); exit 1; }; }
64774 cat >conftest.$ac_ext <<_ACEOF
64775 /* confdefs.h. */
64776 _ACEOF
64777 cat confdefs.h >>conftest.$ac_ext
64778 cat >>conftest.$ac_ext <<_ACEOF
64779 /* end confdefs.h. */
64780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64782 #define $ac_func innocuous_$ac_func
64784 /* System header to define __stub macros and hopefully few prototypes,
64785 which can conflict with char $ac_func (); below.
64786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64787 <limits.h> exists even on freestanding compilers. */
64789 #ifdef __STDC__
64790 # include <limits.h>
64791 #else
64792 # include <assert.h>
64793 #endif
64795 #undef $ac_func
64797 /* Override any gcc2 internal prototype to avoid an error. */
64798 #ifdef __cplusplus
64799 extern "C"
64801 #endif
64802 /* We use char because int might match the return type of a gcc2
64803 builtin and then its argument prototype would still apply. */
64804 char $ac_func ();
64805 /* The GNU C library defines this for functions which it implements
64806 to always fail with ENOSYS. Some functions are actually named
64807 something starting with __ and the normal name is an alias. */
64808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64809 choke me
64810 #else
64811 char (*f) () = $ac_func;
64812 #endif
64813 #ifdef __cplusplus
64815 #endif
64818 main ()
64820 return f != $ac_func;
64822 return 0;
64824 _ACEOF
64825 rm -f conftest.$ac_objext conftest$ac_exeext
64826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64827 (eval $ac_link) 2>conftest.er1
64828 ac_status=$?
64829 grep -v '^ *+' conftest.er1 >conftest.err
64830 rm -f conftest.er1
64831 cat conftest.err >&5
64832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64833 (exit $ac_status); } &&
64834 { ac_try='test -z "$ac_c_werror_flag"
64835 || test ! -s conftest.err'
64836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64837 (eval $ac_try) 2>&5
64838 ac_status=$?
64839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64840 (exit $ac_status); }; } &&
64841 { ac_try='test -s conftest$ac_exeext'
64842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64843 (eval $ac_try) 2>&5
64844 ac_status=$?
64845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64846 (exit $ac_status); }; }; then
64847 eval "$as_ac_var=yes"
64848 else
64849 echo "$as_me: failed program was:" >&5
64850 sed 's/^/| /' conftest.$ac_ext >&5
64852 eval "$as_ac_var=no"
64854 rm -f conftest.err conftest.$ac_objext \
64855 conftest$ac_exeext conftest.$ac_ext
64857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64859 if test `eval echo '${'$as_ac_var'}'` = yes; then
64860 cat >>confdefs.h <<_ACEOF
64861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64862 _ACEOF
64865 done
64867 else
64869 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
64870 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
64871 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
64872 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
64873 echo $ECHO_N "(cached) $ECHO_C" >&6
64874 else
64878 ac_ext=cc
64879 ac_cpp='$CXXCPP $CPPFLAGS'
64880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64884 cat >conftest.$ac_ext <<_ACEOF
64885 /* confdefs.h. */
64886 _ACEOF
64887 cat confdefs.h >>conftest.$ac_ext
64888 cat >>conftest.$ac_ext <<_ACEOF
64889 /* end confdefs.h. */
64890 #include <math.h>
64892 main ()
64894 _sincos(0, 0, 0);
64896 return 0;
64898 _ACEOF
64899 rm -f conftest.$ac_objext
64900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64901 (eval $ac_compile) 2>conftest.er1
64902 ac_status=$?
64903 grep -v '^ *+' conftest.er1 >conftest.err
64904 rm -f conftest.er1
64905 cat conftest.err >&5
64906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64907 (exit $ac_status); } &&
64908 { ac_try='test -z "$ac_cxx_werror_flag"
64909 || test ! -s conftest.err'
64910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64911 (eval $ac_try) 2>&5
64912 ac_status=$?
64913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64914 (exit $ac_status); }; } &&
64915 { ac_try='test -s conftest.$ac_objext'
64916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64917 (eval $ac_try) 2>&5
64918 ac_status=$?
64919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64920 (exit $ac_status); }; }; then
64921 glibcxx_cv_func__sincos_use=yes
64922 else
64923 echo "$as_me: failed program was:" >&5
64924 sed 's/^/| /' conftest.$ac_ext >&5
64926 glibcxx_cv_func__sincos_use=no
64928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64929 ac_ext=c
64930 ac_cpp='$CPP $CPPFLAGS'
64931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64939 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
64940 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
64942 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
64944 for ac_func in _sincos
64946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64947 echo "$as_me:$LINENO: checking for $ac_func" >&5
64948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64949 if eval "test \"\${$as_ac_var+set}\" = set"; then
64950 echo $ECHO_N "(cached) $ECHO_C" >&6
64951 else
64952 if test x$gcc_no_link = xyes; then
64953 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64954 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64955 { (exit 1); exit 1; }; }
64957 cat >conftest.$ac_ext <<_ACEOF
64958 /* confdefs.h. */
64959 _ACEOF
64960 cat confdefs.h >>conftest.$ac_ext
64961 cat >>conftest.$ac_ext <<_ACEOF
64962 /* end confdefs.h. */
64963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64965 #define $ac_func innocuous_$ac_func
64967 /* System header to define __stub macros and hopefully few prototypes,
64968 which can conflict with char $ac_func (); below.
64969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64970 <limits.h> exists even on freestanding compilers. */
64972 #ifdef __STDC__
64973 # include <limits.h>
64974 #else
64975 # include <assert.h>
64976 #endif
64978 #undef $ac_func
64980 /* Override any gcc2 internal prototype to avoid an error. */
64981 #ifdef __cplusplus
64982 extern "C"
64984 #endif
64985 /* We use char because int might match the return type of a gcc2
64986 builtin and then its argument prototype would still apply. */
64987 char $ac_func ();
64988 /* The GNU C library defines this for functions which it implements
64989 to always fail with ENOSYS. Some functions are actually named
64990 something starting with __ and the normal name is an alias. */
64991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64992 choke me
64993 #else
64994 char (*f) () = $ac_func;
64995 #endif
64996 #ifdef __cplusplus
64998 #endif
65001 main ()
65003 return f != $ac_func;
65005 return 0;
65007 _ACEOF
65008 rm -f conftest.$ac_objext conftest$ac_exeext
65009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65010 (eval $ac_link) 2>conftest.er1
65011 ac_status=$?
65012 grep -v '^ *+' conftest.er1 >conftest.err
65013 rm -f conftest.er1
65014 cat conftest.err >&5
65015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65016 (exit $ac_status); } &&
65017 { ac_try='test -z "$ac_c_werror_flag"
65018 || test ! -s conftest.err'
65019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65020 (eval $ac_try) 2>&5
65021 ac_status=$?
65022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65023 (exit $ac_status); }; } &&
65024 { ac_try='test -s conftest$ac_exeext'
65025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65026 (eval $ac_try) 2>&5
65027 ac_status=$?
65028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65029 (exit $ac_status); }; }; then
65030 eval "$as_ac_var=yes"
65031 else
65032 echo "$as_me: failed program was:" >&5
65033 sed 's/^/| /' conftest.$ac_ext >&5
65035 eval "$as_ac_var=no"
65037 rm -f conftest.err conftest.$ac_objext \
65038 conftest$ac_exeext conftest.$ac_ext
65040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65042 if test `eval echo '${'$as_ac_var'}'` = yes; then
65043 cat >>confdefs.h <<_ACEOF
65044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65045 _ACEOF
65048 done
65058 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
65059 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
65060 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65061 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
65062 echo $ECHO_N "(cached) $ECHO_C" >&6
65063 else
65067 ac_ext=cc
65068 ac_cpp='$CXXCPP $CPPFLAGS'
65069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65073 cat >conftest.$ac_ext <<_ACEOF
65074 /* confdefs.h. */
65075 _ACEOF
65076 cat confdefs.h >>conftest.$ac_ext
65077 cat >>conftest.$ac_ext <<_ACEOF
65078 /* end confdefs.h. */
65079 #include <math.h>
65080 #ifdef HAVE_IEEEFP_H
65081 #include <ieeefp.h>
65082 #endif
65085 main ()
65087 fpclass(0);
65089 return 0;
65091 _ACEOF
65092 rm -f conftest.$ac_objext
65093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65094 (eval $ac_compile) 2>conftest.er1
65095 ac_status=$?
65096 grep -v '^ *+' conftest.er1 >conftest.err
65097 rm -f conftest.er1
65098 cat conftest.err >&5
65099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65100 (exit $ac_status); } &&
65101 { ac_try='test -z "$ac_cxx_werror_flag"
65102 || test ! -s conftest.err'
65103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65104 (eval $ac_try) 2>&5
65105 ac_status=$?
65106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65107 (exit $ac_status); }; } &&
65108 { ac_try='test -s conftest.$ac_objext'
65109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65110 (eval $ac_try) 2>&5
65111 ac_status=$?
65112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65113 (exit $ac_status); }; }; then
65114 glibcxx_cv_func_fpclass_use=yes
65115 else
65116 echo "$as_me: failed program was:" >&5
65117 sed 's/^/| /' conftest.$ac_ext >&5
65119 glibcxx_cv_func_fpclass_use=no
65121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65122 ac_ext=c
65123 ac_cpp='$CPP $CPPFLAGS'
65124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65132 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
65133 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
65135 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65137 for ac_func in fpclass
65139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65140 echo "$as_me:$LINENO: checking for $ac_func" >&5
65141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65142 if eval "test \"\${$as_ac_var+set}\" = set"; then
65143 echo $ECHO_N "(cached) $ECHO_C" >&6
65144 else
65145 if test x$gcc_no_link = xyes; then
65146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65148 { (exit 1); exit 1; }; }
65150 cat >conftest.$ac_ext <<_ACEOF
65151 /* confdefs.h. */
65152 _ACEOF
65153 cat confdefs.h >>conftest.$ac_ext
65154 cat >>conftest.$ac_ext <<_ACEOF
65155 /* end confdefs.h. */
65156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65158 #define $ac_func innocuous_$ac_func
65160 /* System header to define __stub macros and hopefully few prototypes,
65161 which can conflict with char $ac_func (); below.
65162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65163 <limits.h> exists even on freestanding compilers. */
65165 #ifdef __STDC__
65166 # include <limits.h>
65167 #else
65168 # include <assert.h>
65169 #endif
65171 #undef $ac_func
65173 /* Override any gcc2 internal prototype to avoid an error. */
65174 #ifdef __cplusplus
65175 extern "C"
65177 #endif
65178 /* We use char because int might match the return type of a gcc2
65179 builtin and then its argument prototype would still apply. */
65180 char $ac_func ();
65181 /* The GNU C library defines this for functions which it implements
65182 to always fail with ENOSYS. Some functions are actually named
65183 something starting with __ and the normal name is an alias. */
65184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65185 choke me
65186 #else
65187 char (*f) () = $ac_func;
65188 #endif
65189 #ifdef __cplusplus
65191 #endif
65194 main ()
65196 return f != $ac_func;
65198 return 0;
65200 _ACEOF
65201 rm -f conftest.$ac_objext conftest$ac_exeext
65202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65203 (eval $ac_link) 2>conftest.er1
65204 ac_status=$?
65205 grep -v '^ *+' conftest.er1 >conftest.err
65206 rm -f conftest.er1
65207 cat conftest.err >&5
65208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65209 (exit $ac_status); } &&
65210 { ac_try='test -z "$ac_c_werror_flag"
65211 || test ! -s conftest.err'
65212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65213 (eval $ac_try) 2>&5
65214 ac_status=$?
65215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65216 (exit $ac_status); }; } &&
65217 { ac_try='test -s conftest$ac_exeext'
65218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65219 (eval $ac_try) 2>&5
65220 ac_status=$?
65221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65222 (exit $ac_status); }; }; then
65223 eval "$as_ac_var=yes"
65224 else
65225 echo "$as_me: failed program was:" >&5
65226 sed 's/^/| /' conftest.$ac_ext >&5
65228 eval "$as_ac_var=no"
65230 rm -f conftest.err conftest.$ac_objext \
65231 conftest$ac_exeext conftest.$ac_ext
65233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65235 if test `eval echo '${'$as_ac_var'}'` = yes; then
65236 cat >>confdefs.h <<_ACEOF
65237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65238 _ACEOF
65241 done
65243 else
65245 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
65246 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
65247 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65248 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
65249 echo $ECHO_N "(cached) $ECHO_C" >&6
65250 else
65254 ac_ext=cc
65255 ac_cpp='$CXXCPP $CPPFLAGS'
65256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65260 cat >conftest.$ac_ext <<_ACEOF
65261 /* confdefs.h. */
65262 _ACEOF
65263 cat confdefs.h >>conftest.$ac_ext
65264 cat >>conftest.$ac_ext <<_ACEOF
65265 /* end confdefs.h. */
65266 #include <math.h>
65267 #ifdef HAVE_IEEEFP_H
65268 #include <ieeefp.h>
65269 #endif
65272 main ()
65274 _fpclass(0);
65276 return 0;
65278 _ACEOF
65279 rm -f conftest.$ac_objext
65280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65281 (eval $ac_compile) 2>conftest.er1
65282 ac_status=$?
65283 grep -v '^ *+' conftest.er1 >conftest.err
65284 rm -f conftest.er1
65285 cat conftest.err >&5
65286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65287 (exit $ac_status); } &&
65288 { ac_try='test -z "$ac_cxx_werror_flag"
65289 || test ! -s conftest.err'
65290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65291 (eval $ac_try) 2>&5
65292 ac_status=$?
65293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65294 (exit $ac_status); }; } &&
65295 { ac_try='test -s conftest.$ac_objext'
65296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65297 (eval $ac_try) 2>&5
65298 ac_status=$?
65299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65300 (exit $ac_status); }; }; then
65301 glibcxx_cv_func__fpclass_use=yes
65302 else
65303 echo "$as_me: failed program was:" >&5
65304 sed 's/^/| /' conftest.$ac_ext >&5
65306 glibcxx_cv_func__fpclass_use=no
65308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65309 ac_ext=c
65310 ac_cpp='$CPP $CPPFLAGS'
65311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65319 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
65320 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
65322 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65324 for ac_func in _fpclass
65326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65327 echo "$as_me:$LINENO: checking for $ac_func" >&5
65328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65329 if eval "test \"\${$as_ac_var+set}\" = set"; then
65330 echo $ECHO_N "(cached) $ECHO_C" >&6
65331 else
65332 if test x$gcc_no_link = xyes; then
65333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65335 { (exit 1); exit 1; }; }
65337 cat >conftest.$ac_ext <<_ACEOF
65338 /* confdefs.h. */
65339 _ACEOF
65340 cat confdefs.h >>conftest.$ac_ext
65341 cat >>conftest.$ac_ext <<_ACEOF
65342 /* end confdefs.h. */
65343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65345 #define $ac_func innocuous_$ac_func
65347 /* System header to define __stub macros and hopefully few prototypes,
65348 which can conflict with char $ac_func (); below.
65349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65350 <limits.h> exists even on freestanding compilers. */
65352 #ifdef __STDC__
65353 # include <limits.h>
65354 #else
65355 # include <assert.h>
65356 #endif
65358 #undef $ac_func
65360 /* Override any gcc2 internal prototype to avoid an error. */
65361 #ifdef __cplusplus
65362 extern "C"
65364 #endif
65365 /* We use char because int might match the return type of a gcc2
65366 builtin and then its argument prototype would still apply. */
65367 char $ac_func ();
65368 /* The GNU C library defines this for functions which it implements
65369 to always fail with ENOSYS. Some functions are actually named
65370 something starting with __ and the normal name is an alias. */
65371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65372 choke me
65373 #else
65374 char (*f) () = $ac_func;
65375 #endif
65376 #ifdef __cplusplus
65378 #endif
65381 main ()
65383 return f != $ac_func;
65385 return 0;
65387 _ACEOF
65388 rm -f conftest.$ac_objext conftest$ac_exeext
65389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65390 (eval $ac_link) 2>conftest.er1
65391 ac_status=$?
65392 grep -v '^ *+' conftest.er1 >conftest.err
65393 rm -f conftest.er1
65394 cat conftest.err >&5
65395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65396 (exit $ac_status); } &&
65397 { ac_try='test -z "$ac_c_werror_flag"
65398 || test ! -s conftest.err'
65399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65400 (eval $ac_try) 2>&5
65401 ac_status=$?
65402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65403 (exit $ac_status); }; } &&
65404 { ac_try='test -s conftest$ac_exeext'
65405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65406 (eval $ac_try) 2>&5
65407 ac_status=$?
65408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65409 (exit $ac_status); }; }; then
65410 eval "$as_ac_var=yes"
65411 else
65412 echo "$as_me: failed program was:" >&5
65413 sed 's/^/| /' conftest.$ac_ext >&5
65415 eval "$as_ac_var=no"
65417 rm -f conftest.err conftest.$ac_objext \
65418 conftest$ac_exeext conftest.$ac_ext
65420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65422 if test `eval echo '${'$as_ac_var'}'` = yes; then
65423 cat >>confdefs.h <<_ACEOF
65424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65425 _ACEOF
65428 done
65438 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
65439 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
65440 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
65441 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
65442 echo $ECHO_N "(cached) $ECHO_C" >&6
65443 else
65447 ac_ext=cc
65448 ac_cpp='$CXXCPP $CPPFLAGS'
65449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65453 cat >conftest.$ac_ext <<_ACEOF
65454 /* confdefs.h. */
65455 _ACEOF
65456 cat confdefs.h >>conftest.$ac_ext
65457 cat >>conftest.$ac_ext <<_ACEOF
65458 /* end confdefs.h. */
65459 #include <math.h>
65460 #ifdef HAVE_IEEEFP_H
65461 #include <ieeefp.h>
65462 #endif
65465 main ()
65467 qfpclass(0);
65469 return 0;
65471 _ACEOF
65472 rm -f conftest.$ac_objext
65473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65474 (eval $ac_compile) 2>conftest.er1
65475 ac_status=$?
65476 grep -v '^ *+' conftest.er1 >conftest.err
65477 rm -f conftest.er1
65478 cat conftest.err >&5
65479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65480 (exit $ac_status); } &&
65481 { ac_try='test -z "$ac_cxx_werror_flag"
65482 || test ! -s conftest.err'
65483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65484 (eval $ac_try) 2>&5
65485 ac_status=$?
65486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65487 (exit $ac_status); }; } &&
65488 { ac_try='test -s conftest.$ac_objext'
65489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65490 (eval $ac_try) 2>&5
65491 ac_status=$?
65492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65493 (exit $ac_status); }; }; then
65494 glibcxx_cv_func_qfpclass_use=yes
65495 else
65496 echo "$as_me: failed program was:" >&5
65497 sed 's/^/| /' conftest.$ac_ext >&5
65499 glibcxx_cv_func_qfpclass_use=no
65501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65502 ac_ext=c
65503 ac_cpp='$CPP $CPPFLAGS'
65504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65512 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
65513 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
65515 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
65517 for ac_func in qfpclass
65519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65520 echo "$as_me:$LINENO: checking for $ac_func" >&5
65521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65522 if eval "test \"\${$as_ac_var+set}\" = set"; then
65523 echo $ECHO_N "(cached) $ECHO_C" >&6
65524 else
65525 if test x$gcc_no_link = xyes; then
65526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65528 { (exit 1); exit 1; }; }
65530 cat >conftest.$ac_ext <<_ACEOF
65531 /* confdefs.h. */
65532 _ACEOF
65533 cat confdefs.h >>conftest.$ac_ext
65534 cat >>conftest.$ac_ext <<_ACEOF
65535 /* end confdefs.h. */
65536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65538 #define $ac_func innocuous_$ac_func
65540 /* System header to define __stub macros and hopefully few prototypes,
65541 which can conflict with char $ac_func (); below.
65542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65543 <limits.h> exists even on freestanding compilers. */
65545 #ifdef __STDC__
65546 # include <limits.h>
65547 #else
65548 # include <assert.h>
65549 #endif
65551 #undef $ac_func
65553 /* Override any gcc2 internal prototype to avoid an error. */
65554 #ifdef __cplusplus
65555 extern "C"
65557 #endif
65558 /* We use char because int might match the return type of a gcc2
65559 builtin and then its argument prototype would still apply. */
65560 char $ac_func ();
65561 /* The GNU C library defines this for functions which it implements
65562 to always fail with ENOSYS. Some functions are actually named
65563 something starting with __ and the normal name is an alias. */
65564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65565 choke me
65566 #else
65567 char (*f) () = $ac_func;
65568 #endif
65569 #ifdef __cplusplus
65571 #endif
65574 main ()
65576 return f != $ac_func;
65578 return 0;
65580 _ACEOF
65581 rm -f conftest.$ac_objext conftest$ac_exeext
65582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65583 (eval $ac_link) 2>conftest.er1
65584 ac_status=$?
65585 grep -v '^ *+' conftest.er1 >conftest.err
65586 rm -f conftest.er1
65587 cat conftest.err >&5
65588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65589 (exit $ac_status); } &&
65590 { ac_try='test -z "$ac_c_werror_flag"
65591 || test ! -s conftest.err'
65592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65593 (eval $ac_try) 2>&5
65594 ac_status=$?
65595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65596 (exit $ac_status); }; } &&
65597 { ac_try='test -s conftest$ac_exeext'
65598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65599 (eval $ac_try) 2>&5
65600 ac_status=$?
65601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65602 (exit $ac_status); }; }; then
65603 eval "$as_ac_var=yes"
65604 else
65605 echo "$as_me: failed program was:" >&5
65606 sed 's/^/| /' conftest.$ac_ext >&5
65608 eval "$as_ac_var=no"
65610 rm -f conftest.err conftest.$ac_objext \
65611 conftest$ac_exeext conftest.$ac_ext
65613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65615 if test `eval echo '${'$as_ac_var'}'` = yes; then
65616 cat >>confdefs.h <<_ACEOF
65617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65618 _ACEOF
65621 done
65623 else
65625 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
65626 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
65627 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
65628 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
65629 echo $ECHO_N "(cached) $ECHO_C" >&6
65630 else
65634 ac_ext=cc
65635 ac_cpp='$CXXCPP $CPPFLAGS'
65636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65640 cat >conftest.$ac_ext <<_ACEOF
65641 /* confdefs.h. */
65642 _ACEOF
65643 cat confdefs.h >>conftest.$ac_ext
65644 cat >>conftest.$ac_ext <<_ACEOF
65645 /* end confdefs.h. */
65646 #include <math.h>
65647 #ifdef HAVE_IEEEFP_H
65648 #include <ieeefp.h>
65649 #endif
65652 main ()
65654 _qfpclass(0);
65656 return 0;
65658 _ACEOF
65659 rm -f conftest.$ac_objext
65660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65661 (eval $ac_compile) 2>conftest.er1
65662 ac_status=$?
65663 grep -v '^ *+' conftest.er1 >conftest.err
65664 rm -f conftest.er1
65665 cat conftest.err >&5
65666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65667 (exit $ac_status); } &&
65668 { ac_try='test -z "$ac_cxx_werror_flag"
65669 || test ! -s conftest.err'
65670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65671 (eval $ac_try) 2>&5
65672 ac_status=$?
65673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65674 (exit $ac_status); }; } &&
65675 { ac_try='test -s conftest.$ac_objext'
65676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65677 (eval $ac_try) 2>&5
65678 ac_status=$?
65679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65680 (exit $ac_status); }; }; then
65681 glibcxx_cv_func__qfpclass_use=yes
65682 else
65683 echo "$as_me: failed program was:" >&5
65684 sed 's/^/| /' conftest.$ac_ext >&5
65686 glibcxx_cv_func__qfpclass_use=no
65688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65689 ac_ext=c
65690 ac_cpp='$CPP $CPPFLAGS'
65691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65699 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
65700 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
65702 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
65704 for ac_func in _qfpclass
65706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65707 echo "$as_me:$LINENO: checking for $ac_func" >&5
65708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65709 if eval "test \"\${$as_ac_var+set}\" = set"; then
65710 echo $ECHO_N "(cached) $ECHO_C" >&6
65711 else
65712 if test x$gcc_no_link = xyes; then
65713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65715 { (exit 1); exit 1; }; }
65717 cat >conftest.$ac_ext <<_ACEOF
65718 /* confdefs.h. */
65719 _ACEOF
65720 cat confdefs.h >>conftest.$ac_ext
65721 cat >>conftest.$ac_ext <<_ACEOF
65722 /* end confdefs.h. */
65723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65725 #define $ac_func innocuous_$ac_func
65727 /* System header to define __stub macros and hopefully few prototypes,
65728 which can conflict with char $ac_func (); below.
65729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65730 <limits.h> exists even on freestanding compilers. */
65732 #ifdef __STDC__
65733 # include <limits.h>
65734 #else
65735 # include <assert.h>
65736 #endif
65738 #undef $ac_func
65740 /* Override any gcc2 internal prototype to avoid an error. */
65741 #ifdef __cplusplus
65742 extern "C"
65744 #endif
65745 /* We use char because int might match the return type of a gcc2
65746 builtin and then its argument prototype would still apply. */
65747 char $ac_func ();
65748 /* The GNU C library defines this for functions which it implements
65749 to always fail with ENOSYS. Some functions are actually named
65750 something starting with __ and the normal name is an alias. */
65751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65752 choke me
65753 #else
65754 char (*f) () = $ac_func;
65755 #endif
65756 #ifdef __cplusplus
65758 #endif
65761 main ()
65763 return f != $ac_func;
65765 return 0;
65767 _ACEOF
65768 rm -f conftest.$ac_objext conftest$ac_exeext
65769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65770 (eval $ac_link) 2>conftest.er1
65771 ac_status=$?
65772 grep -v '^ *+' conftest.er1 >conftest.err
65773 rm -f conftest.er1
65774 cat conftest.err >&5
65775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65776 (exit $ac_status); } &&
65777 { ac_try='test -z "$ac_c_werror_flag"
65778 || test ! -s conftest.err'
65779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65780 (eval $ac_try) 2>&5
65781 ac_status=$?
65782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65783 (exit $ac_status); }; } &&
65784 { ac_try='test -s conftest$ac_exeext'
65785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65786 (eval $ac_try) 2>&5
65787 ac_status=$?
65788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65789 (exit $ac_status); }; }; then
65790 eval "$as_ac_var=yes"
65791 else
65792 echo "$as_me: failed program was:" >&5
65793 sed 's/^/| /' conftest.$ac_ext >&5
65795 eval "$as_ac_var=no"
65797 rm -f conftest.err conftest.$ac_objext \
65798 conftest$ac_exeext conftest.$ac_ext
65800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65802 if test `eval echo '${'$as_ac_var'}'` = yes; then
65803 cat >>confdefs.h <<_ACEOF
65804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65805 _ACEOF
65808 done
65818 echo "$as_me:$LINENO: checking for hypot declaration" >&5
65819 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
65820 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
65821 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
65822 echo $ECHO_N "(cached) $ECHO_C" >&6
65823 else
65827 ac_ext=cc
65828 ac_cpp='$CXXCPP $CPPFLAGS'
65829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65833 cat >conftest.$ac_ext <<_ACEOF
65834 /* confdefs.h. */
65835 _ACEOF
65836 cat confdefs.h >>conftest.$ac_ext
65837 cat >>conftest.$ac_ext <<_ACEOF
65838 /* end confdefs.h. */
65839 #include <math.h>
65841 main ()
65843 hypot(0, 0);
65845 return 0;
65847 _ACEOF
65848 rm -f conftest.$ac_objext
65849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65850 (eval $ac_compile) 2>conftest.er1
65851 ac_status=$?
65852 grep -v '^ *+' conftest.er1 >conftest.err
65853 rm -f conftest.er1
65854 cat conftest.err >&5
65855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65856 (exit $ac_status); } &&
65857 { ac_try='test -z "$ac_cxx_werror_flag"
65858 || test ! -s conftest.err'
65859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65860 (eval $ac_try) 2>&5
65861 ac_status=$?
65862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65863 (exit $ac_status); }; } &&
65864 { ac_try='test -s conftest.$ac_objext'
65865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65866 (eval $ac_try) 2>&5
65867 ac_status=$?
65868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65869 (exit $ac_status); }; }; then
65870 glibcxx_cv_func_hypot_use=yes
65871 else
65872 echo "$as_me: failed program was:" >&5
65873 sed 's/^/| /' conftest.$ac_ext >&5
65875 glibcxx_cv_func_hypot_use=no
65877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65878 ac_ext=c
65879 ac_cpp='$CPP $CPPFLAGS'
65880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65888 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
65889 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
65891 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
65893 for ac_func in hypot
65895 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65896 echo "$as_me:$LINENO: checking for $ac_func" >&5
65897 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65898 if eval "test \"\${$as_ac_var+set}\" = set"; then
65899 echo $ECHO_N "(cached) $ECHO_C" >&6
65900 else
65901 if test x$gcc_no_link = xyes; then
65902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65904 { (exit 1); exit 1; }; }
65906 cat >conftest.$ac_ext <<_ACEOF
65907 /* confdefs.h. */
65908 _ACEOF
65909 cat confdefs.h >>conftest.$ac_ext
65910 cat >>conftest.$ac_ext <<_ACEOF
65911 /* end confdefs.h. */
65912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65913 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65914 #define $ac_func innocuous_$ac_func
65916 /* System header to define __stub macros and hopefully few prototypes,
65917 which can conflict with char $ac_func (); below.
65918 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65919 <limits.h> exists even on freestanding compilers. */
65921 #ifdef __STDC__
65922 # include <limits.h>
65923 #else
65924 # include <assert.h>
65925 #endif
65927 #undef $ac_func
65929 /* Override any gcc2 internal prototype to avoid an error. */
65930 #ifdef __cplusplus
65931 extern "C"
65933 #endif
65934 /* We use char because int might match the return type of a gcc2
65935 builtin and then its argument prototype would still apply. */
65936 char $ac_func ();
65937 /* The GNU C library defines this for functions which it implements
65938 to always fail with ENOSYS. Some functions are actually named
65939 something starting with __ and the normal name is an alias. */
65940 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65941 choke me
65942 #else
65943 char (*f) () = $ac_func;
65944 #endif
65945 #ifdef __cplusplus
65947 #endif
65950 main ()
65952 return f != $ac_func;
65954 return 0;
65956 _ACEOF
65957 rm -f conftest.$ac_objext conftest$ac_exeext
65958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65959 (eval $ac_link) 2>conftest.er1
65960 ac_status=$?
65961 grep -v '^ *+' conftest.er1 >conftest.err
65962 rm -f conftest.er1
65963 cat conftest.err >&5
65964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65965 (exit $ac_status); } &&
65966 { ac_try='test -z "$ac_c_werror_flag"
65967 || test ! -s conftest.err'
65968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65969 (eval $ac_try) 2>&5
65970 ac_status=$?
65971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65972 (exit $ac_status); }; } &&
65973 { ac_try='test -s conftest$ac_exeext'
65974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65975 (eval $ac_try) 2>&5
65976 ac_status=$?
65977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65978 (exit $ac_status); }; }; then
65979 eval "$as_ac_var=yes"
65980 else
65981 echo "$as_me: failed program was:" >&5
65982 sed 's/^/| /' conftest.$ac_ext >&5
65984 eval "$as_ac_var=no"
65986 rm -f conftest.err conftest.$ac_objext \
65987 conftest$ac_exeext conftest.$ac_ext
65989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65990 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65991 if test `eval echo '${'$as_ac_var'}'` = yes; then
65992 cat >>confdefs.h <<_ACEOF
65993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65994 _ACEOF
65997 done
65999 else
66001 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
66002 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
66003 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
66004 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
66005 echo $ECHO_N "(cached) $ECHO_C" >&6
66006 else
66010 ac_ext=cc
66011 ac_cpp='$CXXCPP $CPPFLAGS'
66012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66016 cat >conftest.$ac_ext <<_ACEOF
66017 /* confdefs.h. */
66018 _ACEOF
66019 cat confdefs.h >>conftest.$ac_ext
66020 cat >>conftest.$ac_ext <<_ACEOF
66021 /* end confdefs.h. */
66022 #include <math.h>
66024 main ()
66026 _hypot(0, 0);
66028 return 0;
66030 _ACEOF
66031 rm -f conftest.$ac_objext
66032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66033 (eval $ac_compile) 2>conftest.er1
66034 ac_status=$?
66035 grep -v '^ *+' conftest.er1 >conftest.err
66036 rm -f conftest.er1
66037 cat conftest.err >&5
66038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66039 (exit $ac_status); } &&
66040 { ac_try='test -z "$ac_cxx_werror_flag"
66041 || test ! -s conftest.err'
66042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66043 (eval $ac_try) 2>&5
66044 ac_status=$?
66045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66046 (exit $ac_status); }; } &&
66047 { ac_try='test -s conftest.$ac_objext'
66048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66049 (eval $ac_try) 2>&5
66050 ac_status=$?
66051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66052 (exit $ac_status); }; }; then
66053 glibcxx_cv_func__hypot_use=yes
66054 else
66055 echo "$as_me: failed program was:" >&5
66056 sed 's/^/| /' conftest.$ac_ext >&5
66058 glibcxx_cv_func__hypot_use=no
66060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66061 ac_ext=c
66062 ac_cpp='$CPP $CPPFLAGS'
66063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66071 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
66072 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
66074 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
66076 for ac_func in _hypot
66078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66079 echo "$as_me:$LINENO: checking for $ac_func" >&5
66080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66081 if eval "test \"\${$as_ac_var+set}\" = set"; then
66082 echo $ECHO_N "(cached) $ECHO_C" >&6
66083 else
66084 if test x$gcc_no_link = xyes; then
66085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66087 { (exit 1); exit 1; }; }
66089 cat >conftest.$ac_ext <<_ACEOF
66090 /* confdefs.h. */
66091 _ACEOF
66092 cat confdefs.h >>conftest.$ac_ext
66093 cat >>conftest.$ac_ext <<_ACEOF
66094 /* end confdefs.h. */
66095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66097 #define $ac_func innocuous_$ac_func
66099 /* System header to define __stub macros and hopefully few prototypes,
66100 which can conflict with char $ac_func (); below.
66101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66102 <limits.h> exists even on freestanding compilers. */
66104 #ifdef __STDC__
66105 # include <limits.h>
66106 #else
66107 # include <assert.h>
66108 #endif
66110 #undef $ac_func
66112 /* Override any gcc2 internal prototype to avoid an error. */
66113 #ifdef __cplusplus
66114 extern "C"
66116 #endif
66117 /* We use char because int might match the return type of a gcc2
66118 builtin and then its argument prototype would still apply. */
66119 char $ac_func ();
66120 /* The GNU C library defines this for functions which it implements
66121 to always fail with ENOSYS. Some functions are actually named
66122 something starting with __ and the normal name is an alias. */
66123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66124 choke me
66125 #else
66126 char (*f) () = $ac_func;
66127 #endif
66128 #ifdef __cplusplus
66130 #endif
66133 main ()
66135 return f != $ac_func;
66137 return 0;
66139 _ACEOF
66140 rm -f conftest.$ac_objext conftest$ac_exeext
66141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66142 (eval $ac_link) 2>conftest.er1
66143 ac_status=$?
66144 grep -v '^ *+' conftest.er1 >conftest.err
66145 rm -f conftest.er1
66146 cat conftest.err >&5
66147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66148 (exit $ac_status); } &&
66149 { ac_try='test -z "$ac_c_werror_flag"
66150 || test ! -s conftest.err'
66151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66152 (eval $ac_try) 2>&5
66153 ac_status=$?
66154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66155 (exit $ac_status); }; } &&
66156 { ac_try='test -s conftest$ac_exeext'
66157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66158 (eval $ac_try) 2>&5
66159 ac_status=$?
66160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66161 (exit $ac_status); }; }; then
66162 eval "$as_ac_var=yes"
66163 else
66164 echo "$as_me: failed program was:" >&5
66165 sed 's/^/| /' conftest.$ac_ext >&5
66167 eval "$as_ac_var=no"
66169 rm -f conftest.err conftest.$ac_objext \
66170 conftest$ac_exeext conftest.$ac_ext
66172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66174 if test `eval echo '${'$as_ac_var'}'` = yes; then
66175 cat >>confdefs.h <<_ACEOF
66176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66177 _ACEOF
66180 done
66190 echo "$as_me:$LINENO: checking for float trig functions" >&5
66191 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
66192 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
66193 echo $ECHO_N "(cached) $ECHO_C" >&6
66194 else
66198 ac_ext=cc
66199 ac_cpp='$CXXCPP $CPPFLAGS'
66200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66204 cat >conftest.$ac_ext <<_ACEOF
66205 /* confdefs.h. */
66206 _ACEOF
66207 cat confdefs.h >>conftest.$ac_ext
66208 cat >>conftest.$ac_ext <<_ACEOF
66209 /* end confdefs.h. */
66210 #include <math.h>
66212 main ()
66214 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
66216 return 0;
66218 _ACEOF
66219 rm -f conftest.$ac_objext
66220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66221 (eval $ac_compile) 2>conftest.er1
66222 ac_status=$?
66223 grep -v '^ *+' conftest.er1 >conftest.err
66224 rm -f conftest.er1
66225 cat conftest.err >&5
66226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66227 (exit $ac_status); } &&
66228 { ac_try='test -z "$ac_cxx_werror_flag"
66229 || test ! -s conftest.err'
66230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66231 (eval $ac_try) 2>&5
66232 ac_status=$?
66233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66234 (exit $ac_status); }; } &&
66235 { ac_try='test -s conftest.$ac_objext'
66236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66237 (eval $ac_try) 2>&5
66238 ac_status=$?
66239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66240 (exit $ac_status); }; }; then
66241 glibcxx_cv_func_float_trig_use=yes
66242 else
66243 echo "$as_me: failed program was:" >&5
66244 sed 's/^/| /' conftest.$ac_ext >&5
66246 glibcxx_cv_func_float_trig_use=no
66248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66249 ac_ext=c
66250 ac_cpp='$CPP $CPPFLAGS'
66251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66257 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
66258 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
66259 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
66269 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
66271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66272 echo "$as_me:$LINENO: checking for $ac_func" >&5
66273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66274 if eval "test \"\${$as_ac_var+set}\" = set"; then
66275 echo $ECHO_N "(cached) $ECHO_C" >&6
66276 else
66277 if test x$gcc_no_link = xyes; then
66278 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66279 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66280 { (exit 1); exit 1; }; }
66282 cat >conftest.$ac_ext <<_ACEOF
66283 /* confdefs.h. */
66284 _ACEOF
66285 cat confdefs.h >>conftest.$ac_ext
66286 cat >>conftest.$ac_ext <<_ACEOF
66287 /* end confdefs.h. */
66288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66290 #define $ac_func innocuous_$ac_func
66292 /* System header to define __stub macros and hopefully few prototypes,
66293 which can conflict with char $ac_func (); below.
66294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66295 <limits.h> exists even on freestanding compilers. */
66297 #ifdef __STDC__
66298 # include <limits.h>
66299 #else
66300 # include <assert.h>
66301 #endif
66303 #undef $ac_func
66305 /* Override any gcc2 internal prototype to avoid an error. */
66306 #ifdef __cplusplus
66307 extern "C"
66309 #endif
66310 /* We use char because int might match the return type of a gcc2
66311 builtin and then its argument prototype would still apply. */
66312 char $ac_func ();
66313 /* The GNU C library defines this for functions which it implements
66314 to always fail with ENOSYS. Some functions are actually named
66315 something starting with __ and the normal name is an alias. */
66316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66317 choke me
66318 #else
66319 char (*f) () = $ac_func;
66320 #endif
66321 #ifdef __cplusplus
66323 #endif
66326 main ()
66328 return f != $ac_func;
66330 return 0;
66332 _ACEOF
66333 rm -f conftest.$ac_objext conftest$ac_exeext
66334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66335 (eval $ac_link) 2>conftest.er1
66336 ac_status=$?
66337 grep -v '^ *+' conftest.er1 >conftest.err
66338 rm -f conftest.er1
66339 cat conftest.err >&5
66340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66341 (exit $ac_status); } &&
66342 { ac_try='test -z "$ac_c_werror_flag"
66343 || test ! -s conftest.err'
66344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66345 (eval $ac_try) 2>&5
66346 ac_status=$?
66347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66348 (exit $ac_status); }; } &&
66349 { ac_try='test -s conftest$ac_exeext'
66350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66351 (eval $ac_try) 2>&5
66352 ac_status=$?
66353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66354 (exit $ac_status); }; }; then
66355 eval "$as_ac_var=yes"
66356 else
66357 echo "$as_me: failed program was:" >&5
66358 sed 's/^/| /' conftest.$ac_ext >&5
66360 eval "$as_ac_var=no"
66362 rm -f conftest.err conftest.$ac_objext \
66363 conftest$ac_exeext conftest.$ac_ext
66365 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66366 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66367 if test `eval echo '${'$as_ac_var'}'` = yes; then
66368 cat >>confdefs.h <<_ACEOF
66369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66370 _ACEOF
66373 done
66375 else
66376 echo "$as_me:$LINENO: checking for _float trig functions" >&5
66377 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
66378 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
66379 echo $ECHO_N "(cached) $ECHO_C" >&6
66380 else
66384 ac_ext=cc
66385 ac_cpp='$CXXCPP $CPPFLAGS'
66386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66390 cat >conftest.$ac_ext <<_ACEOF
66391 /* confdefs.h. */
66392 _ACEOF
66393 cat confdefs.h >>conftest.$ac_ext
66394 cat >>conftest.$ac_ext <<_ACEOF
66395 /* end confdefs.h. */
66396 #include <math.h>
66398 main ()
66400 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
66402 return 0;
66404 _ACEOF
66405 rm -f conftest.$ac_objext
66406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66407 (eval $ac_compile) 2>conftest.er1
66408 ac_status=$?
66409 grep -v '^ *+' conftest.er1 >conftest.err
66410 rm -f conftest.er1
66411 cat conftest.err >&5
66412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66413 (exit $ac_status); } &&
66414 { ac_try='test -z "$ac_cxx_werror_flag"
66415 || test ! -s conftest.err'
66416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66417 (eval $ac_try) 2>&5
66418 ac_status=$?
66419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66420 (exit $ac_status); }; } &&
66421 { ac_try='test -s conftest.$ac_objext'
66422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66423 (eval $ac_try) 2>&5
66424 ac_status=$?
66425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66426 (exit $ac_status); }; }; then
66427 glibcxx_cv_func__float_trig_use=yes
66428 else
66429 echo "$as_me: failed program was:" >&5
66430 sed 's/^/| /' conftest.$ac_ext >&5
66432 glibcxx_cv_func__float_trig_use=no
66434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66435 ac_ext=c
66436 ac_cpp='$CPP $CPPFLAGS'
66437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66443 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
66444 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
66445 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
66455 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
66457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66458 echo "$as_me:$LINENO: checking for $ac_func" >&5
66459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66460 if eval "test \"\${$as_ac_var+set}\" = set"; then
66461 echo $ECHO_N "(cached) $ECHO_C" >&6
66462 else
66463 if test x$gcc_no_link = xyes; then
66464 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66466 { (exit 1); exit 1; }; }
66468 cat >conftest.$ac_ext <<_ACEOF
66469 /* confdefs.h. */
66470 _ACEOF
66471 cat confdefs.h >>conftest.$ac_ext
66472 cat >>conftest.$ac_ext <<_ACEOF
66473 /* end confdefs.h. */
66474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66476 #define $ac_func innocuous_$ac_func
66478 /* System header to define __stub macros and hopefully few prototypes,
66479 which can conflict with char $ac_func (); below.
66480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66481 <limits.h> exists even on freestanding compilers. */
66483 #ifdef __STDC__
66484 # include <limits.h>
66485 #else
66486 # include <assert.h>
66487 #endif
66489 #undef $ac_func
66491 /* Override any gcc2 internal prototype to avoid an error. */
66492 #ifdef __cplusplus
66493 extern "C"
66495 #endif
66496 /* We use char because int might match the return type of a gcc2
66497 builtin and then its argument prototype would still apply. */
66498 char $ac_func ();
66499 /* The GNU C library defines this for functions which it implements
66500 to always fail with ENOSYS. Some functions are actually named
66501 something starting with __ and the normal name is an alias. */
66502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66503 choke me
66504 #else
66505 char (*f) () = $ac_func;
66506 #endif
66507 #ifdef __cplusplus
66509 #endif
66512 main ()
66514 return f != $ac_func;
66516 return 0;
66518 _ACEOF
66519 rm -f conftest.$ac_objext conftest$ac_exeext
66520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66521 (eval $ac_link) 2>conftest.er1
66522 ac_status=$?
66523 grep -v '^ *+' conftest.er1 >conftest.err
66524 rm -f conftest.er1
66525 cat conftest.err >&5
66526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66527 (exit $ac_status); } &&
66528 { ac_try='test -z "$ac_c_werror_flag"
66529 || test ! -s conftest.err'
66530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66531 (eval $ac_try) 2>&5
66532 ac_status=$?
66533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66534 (exit $ac_status); }; } &&
66535 { ac_try='test -s conftest$ac_exeext'
66536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66537 (eval $ac_try) 2>&5
66538 ac_status=$?
66539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66540 (exit $ac_status); }; }; then
66541 eval "$as_ac_var=yes"
66542 else
66543 echo "$as_me: failed program was:" >&5
66544 sed 's/^/| /' conftest.$ac_ext >&5
66546 eval "$as_ac_var=no"
66548 rm -f conftest.err conftest.$ac_objext \
66549 conftest$ac_exeext conftest.$ac_ext
66551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66553 if test `eval echo '${'$as_ac_var'}'` = yes; then
66554 cat >>confdefs.h <<_ACEOF
66555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66556 _ACEOF
66559 done
66577 echo "$as_me:$LINENO: checking for float round functions" >&5
66578 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
66579 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
66580 echo $ECHO_N "(cached) $ECHO_C" >&6
66581 else
66585 ac_ext=cc
66586 ac_cpp='$CXXCPP $CPPFLAGS'
66587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66591 cat >conftest.$ac_ext <<_ACEOF
66592 /* confdefs.h. */
66593 _ACEOF
66594 cat confdefs.h >>conftest.$ac_ext
66595 cat >>conftest.$ac_ext <<_ACEOF
66596 /* end confdefs.h. */
66597 #include <math.h>
66599 main ()
66601 ceilf (0); floorf (0);
66603 return 0;
66605 _ACEOF
66606 rm -f conftest.$ac_objext
66607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66608 (eval $ac_compile) 2>conftest.er1
66609 ac_status=$?
66610 grep -v '^ *+' conftest.er1 >conftest.err
66611 rm -f conftest.er1
66612 cat conftest.err >&5
66613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66614 (exit $ac_status); } &&
66615 { ac_try='test -z "$ac_cxx_werror_flag"
66616 || test ! -s conftest.err'
66617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66618 (eval $ac_try) 2>&5
66619 ac_status=$?
66620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66621 (exit $ac_status); }; } &&
66622 { ac_try='test -s conftest.$ac_objext'
66623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66624 (eval $ac_try) 2>&5
66625 ac_status=$?
66626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66627 (exit $ac_status); }; }; then
66628 glibcxx_cv_func_float_round_use=yes
66629 else
66630 echo "$as_me: failed program was:" >&5
66631 sed 's/^/| /' conftest.$ac_ext >&5
66633 glibcxx_cv_func_float_round_use=no
66635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66636 ac_ext=c
66637 ac_cpp='$CPP $CPPFLAGS'
66638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66644 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
66645 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
66646 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66649 for ac_func in ceilf floorf
66651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66652 echo "$as_me:$LINENO: checking for $ac_func" >&5
66653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66654 if eval "test \"\${$as_ac_var+set}\" = set"; then
66655 echo $ECHO_N "(cached) $ECHO_C" >&6
66656 else
66657 if test x$gcc_no_link = xyes; then
66658 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66659 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66660 { (exit 1); exit 1; }; }
66662 cat >conftest.$ac_ext <<_ACEOF
66663 /* confdefs.h. */
66664 _ACEOF
66665 cat confdefs.h >>conftest.$ac_ext
66666 cat >>conftest.$ac_ext <<_ACEOF
66667 /* end confdefs.h. */
66668 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66669 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66670 #define $ac_func innocuous_$ac_func
66672 /* System header to define __stub macros and hopefully few prototypes,
66673 which can conflict with char $ac_func (); below.
66674 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66675 <limits.h> exists even on freestanding compilers. */
66677 #ifdef __STDC__
66678 # include <limits.h>
66679 #else
66680 # include <assert.h>
66681 #endif
66683 #undef $ac_func
66685 /* Override any gcc2 internal prototype to avoid an error. */
66686 #ifdef __cplusplus
66687 extern "C"
66689 #endif
66690 /* We use char because int might match the return type of a gcc2
66691 builtin and then its argument prototype would still apply. */
66692 char $ac_func ();
66693 /* The GNU C library defines this for functions which it implements
66694 to always fail with ENOSYS. Some functions are actually named
66695 something starting with __ and the normal name is an alias. */
66696 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66697 choke me
66698 #else
66699 char (*f) () = $ac_func;
66700 #endif
66701 #ifdef __cplusplus
66703 #endif
66706 main ()
66708 return f != $ac_func;
66710 return 0;
66712 _ACEOF
66713 rm -f conftest.$ac_objext conftest$ac_exeext
66714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66715 (eval $ac_link) 2>conftest.er1
66716 ac_status=$?
66717 grep -v '^ *+' conftest.er1 >conftest.err
66718 rm -f conftest.er1
66719 cat conftest.err >&5
66720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66721 (exit $ac_status); } &&
66722 { ac_try='test -z "$ac_c_werror_flag"
66723 || test ! -s conftest.err'
66724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66725 (eval $ac_try) 2>&5
66726 ac_status=$?
66727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66728 (exit $ac_status); }; } &&
66729 { ac_try='test -s conftest$ac_exeext'
66730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66731 (eval $ac_try) 2>&5
66732 ac_status=$?
66733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66734 (exit $ac_status); }; }; then
66735 eval "$as_ac_var=yes"
66736 else
66737 echo "$as_me: failed program was:" >&5
66738 sed 's/^/| /' conftest.$ac_ext >&5
66740 eval "$as_ac_var=no"
66742 rm -f conftest.err conftest.$ac_objext \
66743 conftest$ac_exeext conftest.$ac_ext
66745 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66746 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66747 if test `eval echo '${'$as_ac_var'}'` = yes; then
66748 cat >>confdefs.h <<_ACEOF
66749 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66750 _ACEOF
66753 done
66755 else
66756 echo "$as_me:$LINENO: checking for _float round functions" >&5
66757 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
66758 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
66759 echo $ECHO_N "(cached) $ECHO_C" >&6
66760 else
66764 ac_ext=cc
66765 ac_cpp='$CXXCPP $CPPFLAGS'
66766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66770 cat >conftest.$ac_ext <<_ACEOF
66771 /* confdefs.h. */
66772 _ACEOF
66773 cat confdefs.h >>conftest.$ac_ext
66774 cat >>conftest.$ac_ext <<_ACEOF
66775 /* end confdefs.h. */
66776 #include <math.h>
66778 main ()
66780 _ceilf (0); _floorf (0);
66782 return 0;
66784 _ACEOF
66785 rm -f conftest.$ac_objext
66786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66787 (eval $ac_compile) 2>conftest.er1
66788 ac_status=$?
66789 grep -v '^ *+' conftest.er1 >conftest.err
66790 rm -f conftest.er1
66791 cat conftest.err >&5
66792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66793 (exit $ac_status); } &&
66794 { ac_try='test -z "$ac_cxx_werror_flag"
66795 || test ! -s conftest.err'
66796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66797 (eval $ac_try) 2>&5
66798 ac_status=$?
66799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66800 (exit $ac_status); }; } &&
66801 { ac_try='test -s conftest.$ac_objext'
66802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66803 (eval $ac_try) 2>&5
66804 ac_status=$?
66805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66806 (exit $ac_status); }; }; then
66807 glibcxx_cv_func__float_round_use=yes
66808 else
66809 echo "$as_me: failed program was:" >&5
66810 sed 's/^/| /' conftest.$ac_ext >&5
66812 glibcxx_cv_func__float_round_use=no
66814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66815 ac_ext=c
66816 ac_cpp='$CPP $CPPFLAGS'
66817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66823 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
66824 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
66825 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66828 for ac_func in _ceilf _floorf
66830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66831 echo "$as_me:$LINENO: checking for $ac_func" >&5
66832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66833 if eval "test \"\${$as_ac_var+set}\" = set"; then
66834 echo $ECHO_N "(cached) $ECHO_C" >&6
66835 else
66836 if test x$gcc_no_link = xyes; then
66837 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66839 { (exit 1); exit 1; }; }
66841 cat >conftest.$ac_ext <<_ACEOF
66842 /* confdefs.h. */
66843 _ACEOF
66844 cat confdefs.h >>conftest.$ac_ext
66845 cat >>conftest.$ac_ext <<_ACEOF
66846 /* end confdefs.h. */
66847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66849 #define $ac_func innocuous_$ac_func
66851 /* System header to define __stub macros and hopefully few prototypes,
66852 which can conflict with char $ac_func (); below.
66853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66854 <limits.h> exists even on freestanding compilers. */
66856 #ifdef __STDC__
66857 # include <limits.h>
66858 #else
66859 # include <assert.h>
66860 #endif
66862 #undef $ac_func
66864 /* Override any gcc2 internal prototype to avoid an error. */
66865 #ifdef __cplusplus
66866 extern "C"
66868 #endif
66869 /* We use char because int might match the return type of a gcc2
66870 builtin and then its argument prototype would still apply. */
66871 char $ac_func ();
66872 /* The GNU C library defines this for functions which it implements
66873 to always fail with ENOSYS. Some functions are actually named
66874 something starting with __ and the normal name is an alias. */
66875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66876 choke me
66877 #else
66878 char (*f) () = $ac_func;
66879 #endif
66880 #ifdef __cplusplus
66882 #endif
66885 main ()
66887 return f != $ac_func;
66889 return 0;
66891 _ACEOF
66892 rm -f conftest.$ac_objext conftest$ac_exeext
66893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66894 (eval $ac_link) 2>conftest.er1
66895 ac_status=$?
66896 grep -v '^ *+' conftest.er1 >conftest.err
66897 rm -f conftest.er1
66898 cat conftest.err >&5
66899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66900 (exit $ac_status); } &&
66901 { ac_try='test -z "$ac_c_werror_flag"
66902 || test ! -s conftest.err'
66903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66904 (eval $ac_try) 2>&5
66905 ac_status=$?
66906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66907 (exit $ac_status); }; } &&
66908 { ac_try='test -s conftest$ac_exeext'
66909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66910 (eval $ac_try) 2>&5
66911 ac_status=$?
66912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66913 (exit $ac_status); }; }; then
66914 eval "$as_ac_var=yes"
66915 else
66916 echo "$as_me: failed program was:" >&5
66917 sed 's/^/| /' conftest.$ac_ext >&5
66919 eval "$as_ac_var=no"
66921 rm -f conftest.err conftest.$ac_objext \
66922 conftest$ac_exeext conftest.$ac_ext
66924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66926 if test `eval echo '${'$as_ac_var'}'` = yes; then
66927 cat >>confdefs.h <<_ACEOF
66928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66929 _ACEOF
66932 done
66944 echo "$as_me:$LINENO: checking for expf declaration" >&5
66945 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
66946 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66947 if test "${glibcxx_cv_func_expf_use+set}" = set; then
66948 echo $ECHO_N "(cached) $ECHO_C" >&6
66949 else
66953 ac_ext=cc
66954 ac_cpp='$CXXCPP $CPPFLAGS'
66955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66959 cat >conftest.$ac_ext <<_ACEOF
66960 /* confdefs.h. */
66961 _ACEOF
66962 cat confdefs.h >>conftest.$ac_ext
66963 cat >>conftest.$ac_ext <<_ACEOF
66964 /* end confdefs.h. */
66965 #include <math.h>
66966 #ifdef HAVE_IEEEFP_H
66967 #include <ieeefp.h>
66968 #endif
66971 main ()
66973 expf(0);
66975 return 0;
66977 _ACEOF
66978 rm -f conftest.$ac_objext
66979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66980 (eval $ac_compile) 2>conftest.er1
66981 ac_status=$?
66982 grep -v '^ *+' conftest.er1 >conftest.err
66983 rm -f conftest.er1
66984 cat conftest.err >&5
66985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66986 (exit $ac_status); } &&
66987 { ac_try='test -z "$ac_cxx_werror_flag"
66988 || test ! -s conftest.err'
66989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66990 (eval $ac_try) 2>&5
66991 ac_status=$?
66992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66993 (exit $ac_status); }; } &&
66994 { ac_try='test -s conftest.$ac_objext'
66995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66996 (eval $ac_try) 2>&5
66997 ac_status=$?
66998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66999 (exit $ac_status); }; }; then
67000 glibcxx_cv_func_expf_use=yes
67001 else
67002 echo "$as_me: failed program was:" >&5
67003 sed 's/^/| /' conftest.$ac_ext >&5
67005 glibcxx_cv_func_expf_use=no
67007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67008 ac_ext=c
67009 ac_cpp='$CPP $CPPFLAGS'
67010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67018 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
67019 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
67021 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67023 for ac_func in expf
67025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67026 echo "$as_me:$LINENO: checking for $ac_func" >&5
67027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67028 if eval "test \"\${$as_ac_var+set}\" = set"; then
67029 echo $ECHO_N "(cached) $ECHO_C" >&6
67030 else
67031 if test x$gcc_no_link = xyes; then
67032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67034 { (exit 1); exit 1; }; }
67036 cat >conftest.$ac_ext <<_ACEOF
67037 /* confdefs.h. */
67038 _ACEOF
67039 cat confdefs.h >>conftest.$ac_ext
67040 cat >>conftest.$ac_ext <<_ACEOF
67041 /* end confdefs.h. */
67042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67044 #define $ac_func innocuous_$ac_func
67046 /* System header to define __stub macros and hopefully few prototypes,
67047 which can conflict with char $ac_func (); below.
67048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67049 <limits.h> exists even on freestanding compilers. */
67051 #ifdef __STDC__
67052 # include <limits.h>
67053 #else
67054 # include <assert.h>
67055 #endif
67057 #undef $ac_func
67059 /* Override any gcc2 internal prototype to avoid an error. */
67060 #ifdef __cplusplus
67061 extern "C"
67063 #endif
67064 /* We use char because int might match the return type of a gcc2
67065 builtin and then its argument prototype would still apply. */
67066 char $ac_func ();
67067 /* The GNU C library defines this for functions which it implements
67068 to always fail with ENOSYS. Some functions are actually named
67069 something starting with __ and the normal name is an alias. */
67070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67071 choke me
67072 #else
67073 char (*f) () = $ac_func;
67074 #endif
67075 #ifdef __cplusplus
67077 #endif
67080 main ()
67082 return f != $ac_func;
67084 return 0;
67086 _ACEOF
67087 rm -f conftest.$ac_objext conftest$ac_exeext
67088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67089 (eval $ac_link) 2>conftest.er1
67090 ac_status=$?
67091 grep -v '^ *+' conftest.er1 >conftest.err
67092 rm -f conftest.er1
67093 cat conftest.err >&5
67094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67095 (exit $ac_status); } &&
67096 { ac_try='test -z "$ac_c_werror_flag"
67097 || test ! -s conftest.err'
67098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67099 (eval $ac_try) 2>&5
67100 ac_status=$?
67101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67102 (exit $ac_status); }; } &&
67103 { ac_try='test -s conftest$ac_exeext'
67104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67105 (eval $ac_try) 2>&5
67106 ac_status=$?
67107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67108 (exit $ac_status); }; }; then
67109 eval "$as_ac_var=yes"
67110 else
67111 echo "$as_me: failed program was:" >&5
67112 sed 's/^/| /' conftest.$ac_ext >&5
67114 eval "$as_ac_var=no"
67116 rm -f conftest.err conftest.$ac_objext \
67117 conftest$ac_exeext conftest.$ac_ext
67119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67121 if test `eval echo '${'$as_ac_var'}'` = yes; then
67122 cat >>confdefs.h <<_ACEOF
67123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67124 _ACEOF
67127 done
67129 else
67131 echo "$as_me:$LINENO: checking for _expf declaration" >&5
67132 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
67133 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67134 if test "${glibcxx_cv_func__expf_use+set}" = set; then
67135 echo $ECHO_N "(cached) $ECHO_C" >&6
67136 else
67140 ac_ext=cc
67141 ac_cpp='$CXXCPP $CPPFLAGS'
67142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67146 cat >conftest.$ac_ext <<_ACEOF
67147 /* confdefs.h. */
67148 _ACEOF
67149 cat confdefs.h >>conftest.$ac_ext
67150 cat >>conftest.$ac_ext <<_ACEOF
67151 /* end confdefs.h. */
67152 #include <math.h>
67153 #ifdef HAVE_IEEEFP_H
67154 #include <ieeefp.h>
67155 #endif
67158 main ()
67160 _expf(0);
67162 return 0;
67164 _ACEOF
67165 rm -f conftest.$ac_objext
67166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67167 (eval $ac_compile) 2>conftest.er1
67168 ac_status=$?
67169 grep -v '^ *+' conftest.er1 >conftest.err
67170 rm -f conftest.er1
67171 cat conftest.err >&5
67172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67173 (exit $ac_status); } &&
67174 { ac_try='test -z "$ac_cxx_werror_flag"
67175 || test ! -s conftest.err'
67176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67177 (eval $ac_try) 2>&5
67178 ac_status=$?
67179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67180 (exit $ac_status); }; } &&
67181 { ac_try='test -s conftest.$ac_objext'
67182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67183 (eval $ac_try) 2>&5
67184 ac_status=$?
67185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67186 (exit $ac_status); }; }; then
67187 glibcxx_cv_func__expf_use=yes
67188 else
67189 echo "$as_me: failed program was:" >&5
67190 sed 's/^/| /' conftest.$ac_ext >&5
67192 glibcxx_cv_func__expf_use=no
67194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67195 ac_ext=c
67196 ac_cpp='$CPP $CPPFLAGS'
67197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67205 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
67206 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
67208 if test x$glibcxx_cv_func__expf_use = x"yes"; then
67210 for ac_func in _expf
67212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67213 echo "$as_me:$LINENO: checking for $ac_func" >&5
67214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67215 if eval "test \"\${$as_ac_var+set}\" = set"; then
67216 echo $ECHO_N "(cached) $ECHO_C" >&6
67217 else
67218 if test x$gcc_no_link = xyes; then
67219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67221 { (exit 1); exit 1; }; }
67223 cat >conftest.$ac_ext <<_ACEOF
67224 /* confdefs.h. */
67225 _ACEOF
67226 cat confdefs.h >>conftest.$ac_ext
67227 cat >>conftest.$ac_ext <<_ACEOF
67228 /* end confdefs.h. */
67229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67231 #define $ac_func innocuous_$ac_func
67233 /* System header to define __stub macros and hopefully few prototypes,
67234 which can conflict with char $ac_func (); below.
67235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67236 <limits.h> exists even on freestanding compilers. */
67238 #ifdef __STDC__
67239 # include <limits.h>
67240 #else
67241 # include <assert.h>
67242 #endif
67244 #undef $ac_func
67246 /* Override any gcc2 internal prototype to avoid an error. */
67247 #ifdef __cplusplus
67248 extern "C"
67250 #endif
67251 /* We use char because int might match the return type of a gcc2
67252 builtin and then its argument prototype would still apply. */
67253 char $ac_func ();
67254 /* The GNU C library defines this for functions which it implements
67255 to always fail with ENOSYS. Some functions are actually named
67256 something starting with __ and the normal name is an alias. */
67257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67258 choke me
67259 #else
67260 char (*f) () = $ac_func;
67261 #endif
67262 #ifdef __cplusplus
67264 #endif
67267 main ()
67269 return f != $ac_func;
67271 return 0;
67273 _ACEOF
67274 rm -f conftest.$ac_objext conftest$ac_exeext
67275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67276 (eval $ac_link) 2>conftest.er1
67277 ac_status=$?
67278 grep -v '^ *+' conftest.er1 >conftest.err
67279 rm -f conftest.er1
67280 cat conftest.err >&5
67281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67282 (exit $ac_status); } &&
67283 { ac_try='test -z "$ac_c_werror_flag"
67284 || test ! -s conftest.err'
67285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67286 (eval $ac_try) 2>&5
67287 ac_status=$?
67288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67289 (exit $ac_status); }; } &&
67290 { ac_try='test -s conftest$ac_exeext'
67291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67292 (eval $ac_try) 2>&5
67293 ac_status=$?
67294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67295 (exit $ac_status); }; }; then
67296 eval "$as_ac_var=yes"
67297 else
67298 echo "$as_me: failed program was:" >&5
67299 sed 's/^/| /' conftest.$ac_ext >&5
67301 eval "$as_ac_var=no"
67303 rm -f conftest.err conftest.$ac_objext \
67304 conftest$ac_exeext conftest.$ac_ext
67306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67308 if test `eval echo '${'$as_ac_var'}'` = yes; then
67309 cat >>confdefs.h <<_ACEOF
67310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67311 _ACEOF
67314 done
67324 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
67325 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
67326 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
67327 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
67328 echo $ECHO_N "(cached) $ECHO_C" >&6
67329 else
67333 ac_ext=cc
67334 ac_cpp='$CXXCPP $CPPFLAGS'
67335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67339 cat >conftest.$ac_ext <<_ACEOF
67340 /* confdefs.h. */
67341 _ACEOF
67342 cat confdefs.h >>conftest.$ac_ext
67343 cat >>conftest.$ac_ext <<_ACEOF
67344 /* end confdefs.h. */
67345 #include <math.h>
67346 #ifdef HAVE_IEEEFP_H
67347 #include <ieeefp.h>
67348 #endif
67351 main ()
67353 isnanf(0);
67355 return 0;
67357 _ACEOF
67358 rm -f conftest.$ac_objext
67359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67360 (eval $ac_compile) 2>conftest.er1
67361 ac_status=$?
67362 grep -v '^ *+' conftest.er1 >conftest.err
67363 rm -f conftest.er1
67364 cat conftest.err >&5
67365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67366 (exit $ac_status); } &&
67367 { ac_try='test -z "$ac_cxx_werror_flag"
67368 || test ! -s conftest.err'
67369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67370 (eval $ac_try) 2>&5
67371 ac_status=$?
67372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67373 (exit $ac_status); }; } &&
67374 { ac_try='test -s conftest.$ac_objext'
67375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67376 (eval $ac_try) 2>&5
67377 ac_status=$?
67378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67379 (exit $ac_status); }; }; then
67380 glibcxx_cv_func_isnanf_use=yes
67381 else
67382 echo "$as_me: failed program was:" >&5
67383 sed 's/^/| /' conftest.$ac_ext >&5
67385 glibcxx_cv_func_isnanf_use=no
67387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67388 ac_ext=c
67389 ac_cpp='$CPP $CPPFLAGS'
67390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67398 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
67399 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
67401 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
67403 for ac_func in isnanf
67405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67406 echo "$as_me:$LINENO: checking for $ac_func" >&5
67407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67408 if eval "test \"\${$as_ac_var+set}\" = set"; then
67409 echo $ECHO_N "(cached) $ECHO_C" >&6
67410 else
67411 if test x$gcc_no_link = xyes; then
67412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67414 { (exit 1); exit 1; }; }
67416 cat >conftest.$ac_ext <<_ACEOF
67417 /* confdefs.h. */
67418 _ACEOF
67419 cat confdefs.h >>conftest.$ac_ext
67420 cat >>conftest.$ac_ext <<_ACEOF
67421 /* end confdefs.h. */
67422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67424 #define $ac_func innocuous_$ac_func
67426 /* System header to define __stub macros and hopefully few prototypes,
67427 which can conflict with char $ac_func (); below.
67428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67429 <limits.h> exists even on freestanding compilers. */
67431 #ifdef __STDC__
67432 # include <limits.h>
67433 #else
67434 # include <assert.h>
67435 #endif
67437 #undef $ac_func
67439 /* Override any gcc2 internal prototype to avoid an error. */
67440 #ifdef __cplusplus
67441 extern "C"
67443 #endif
67444 /* We use char because int might match the return type of a gcc2
67445 builtin and then its argument prototype would still apply. */
67446 char $ac_func ();
67447 /* The GNU C library defines this for functions which it implements
67448 to always fail with ENOSYS. Some functions are actually named
67449 something starting with __ and the normal name is an alias. */
67450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67451 choke me
67452 #else
67453 char (*f) () = $ac_func;
67454 #endif
67455 #ifdef __cplusplus
67457 #endif
67460 main ()
67462 return f != $ac_func;
67464 return 0;
67466 _ACEOF
67467 rm -f conftest.$ac_objext conftest$ac_exeext
67468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67469 (eval $ac_link) 2>conftest.er1
67470 ac_status=$?
67471 grep -v '^ *+' conftest.er1 >conftest.err
67472 rm -f conftest.er1
67473 cat conftest.err >&5
67474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67475 (exit $ac_status); } &&
67476 { ac_try='test -z "$ac_c_werror_flag"
67477 || test ! -s conftest.err'
67478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67479 (eval $ac_try) 2>&5
67480 ac_status=$?
67481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67482 (exit $ac_status); }; } &&
67483 { ac_try='test -s conftest$ac_exeext'
67484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67485 (eval $ac_try) 2>&5
67486 ac_status=$?
67487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67488 (exit $ac_status); }; }; then
67489 eval "$as_ac_var=yes"
67490 else
67491 echo "$as_me: failed program was:" >&5
67492 sed 's/^/| /' conftest.$ac_ext >&5
67494 eval "$as_ac_var=no"
67496 rm -f conftest.err conftest.$ac_objext \
67497 conftest$ac_exeext conftest.$ac_ext
67499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67501 if test `eval echo '${'$as_ac_var'}'` = yes; then
67502 cat >>confdefs.h <<_ACEOF
67503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67504 _ACEOF
67507 done
67509 else
67511 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
67512 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
67513 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
67514 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
67515 echo $ECHO_N "(cached) $ECHO_C" >&6
67516 else
67520 ac_ext=cc
67521 ac_cpp='$CXXCPP $CPPFLAGS'
67522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67526 cat >conftest.$ac_ext <<_ACEOF
67527 /* confdefs.h. */
67528 _ACEOF
67529 cat confdefs.h >>conftest.$ac_ext
67530 cat >>conftest.$ac_ext <<_ACEOF
67531 /* end confdefs.h. */
67532 #include <math.h>
67533 #ifdef HAVE_IEEEFP_H
67534 #include <ieeefp.h>
67535 #endif
67538 main ()
67540 _isnanf(0);
67542 return 0;
67544 _ACEOF
67545 rm -f conftest.$ac_objext
67546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67547 (eval $ac_compile) 2>conftest.er1
67548 ac_status=$?
67549 grep -v '^ *+' conftest.er1 >conftest.err
67550 rm -f conftest.er1
67551 cat conftest.err >&5
67552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67553 (exit $ac_status); } &&
67554 { ac_try='test -z "$ac_cxx_werror_flag"
67555 || test ! -s conftest.err'
67556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67557 (eval $ac_try) 2>&5
67558 ac_status=$?
67559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67560 (exit $ac_status); }; } &&
67561 { ac_try='test -s conftest.$ac_objext'
67562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67563 (eval $ac_try) 2>&5
67564 ac_status=$?
67565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67566 (exit $ac_status); }; }; then
67567 glibcxx_cv_func__isnanf_use=yes
67568 else
67569 echo "$as_me: failed program was:" >&5
67570 sed 's/^/| /' conftest.$ac_ext >&5
67572 glibcxx_cv_func__isnanf_use=no
67574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67575 ac_ext=c
67576 ac_cpp='$CPP $CPPFLAGS'
67577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67585 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
67586 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
67588 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
67590 for ac_func in _isnanf
67592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67593 echo "$as_me:$LINENO: checking for $ac_func" >&5
67594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67595 if eval "test \"\${$as_ac_var+set}\" = set"; then
67596 echo $ECHO_N "(cached) $ECHO_C" >&6
67597 else
67598 if test x$gcc_no_link = xyes; then
67599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67601 { (exit 1); exit 1; }; }
67603 cat >conftest.$ac_ext <<_ACEOF
67604 /* confdefs.h. */
67605 _ACEOF
67606 cat confdefs.h >>conftest.$ac_ext
67607 cat >>conftest.$ac_ext <<_ACEOF
67608 /* end confdefs.h. */
67609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67611 #define $ac_func innocuous_$ac_func
67613 /* System header to define __stub macros and hopefully few prototypes,
67614 which can conflict with char $ac_func (); below.
67615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67616 <limits.h> exists even on freestanding compilers. */
67618 #ifdef __STDC__
67619 # include <limits.h>
67620 #else
67621 # include <assert.h>
67622 #endif
67624 #undef $ac_func
67626 /* Override any gcc2 internal prototype to avoid an error. */
67627 #ifdef __cplusplus
67628 extern "C"
67630 #endif
67631 /* We use char because int might match the return type of a gcc2
67632 builtin and then its argument prototype would still apply. */
67633 char $ac_func ();
67634 /* The GNU C library defines this for functions which it implements
67635 to always fail with ENOSYS. Some functions are actually named
67636 something starting with __ and the normal name is an alias. */
67637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67638 choke me
67639 #else
67640 char (*f) () = $ac_func;
67641 #endif
67642 #ifdef __cplusplus
67644 #endif
67647 main ()
67649 return f != $ac_func;
67651 return 0;
67653 _ACEOF
67654 rm -f conftest.$ac_objext conftest$ac_exeext
67655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67656 (eval $ac_link) 2>conftest.er1
67657 ac_status=$?
67658 grep -v '^ *+' conftest.er1 >conftest.err
67659 rm -f conftest.er1
67660 cat conftest.err >&5
67661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67662 (exit $ac_status); } &&
67663 { ac_try='test -z "$ac_c_werror_flag"
67664 || test ! -s conftest.err'
67665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67666 (eval $ac_try) 2>&5
67667 ac_status=$?
67668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67669 (exit $ac_status); }; } &&
67670 { ac_try='test -s conftest$ac_exeext'
67671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67672 (eval $ac_try) 2>&5
67673 ac_status=$?
67674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67675 (exit $ac_status); }; }; then
67676 eval "$as_ac_var=yes"
67677 else
67678 echo "$as_me: failed program was:" >&5
67679 sed 's/^/| /' conftest.$ac_ext >&5
67681 eval "$as_ac_var=no"
67683 rm -f conftest.err conftest.$ac_objext \
67684 conftest$ac_exeext conftest.$ac_ext
67686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67688 if test `eval echo '${'$as_ac_var'}'` = yes; then
67689 cat >>confdefs.h <<_ACEOF
67690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67691 _ACEOF
67694 done
67704 echo "$as_me:$LINENO: checking for isinff declaration" >&5
67705 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
67706 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
67707 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
67708 echo $ECHO_N "(cached) $ECHO_C" >&6
67709 else
67713 ac_ext=cc
67714 ac_cpp='$CXXCPP $CPPFLAGS'
67715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67719 cat >conftest.$ac_ext <<_ACEOF
67720 /* confdefs.h. */
67721 _ACEOF
67722 cat confdefs.h >>conftest.$ac_ext
67723 cat >>conftest.$ac_ext <<_ACEOF
67724 /* end confdefs.h. */
67725 #include <math.h>
67726 #ifdef HAVE_IEEEFP_H
67727 #include <ieeefp.h>
67728 #endif
67731 main ()
67733 isinff(0);
67735 return 0;
67737 _ACEOF
67738 rm -f conftest.$ac_objext
67739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67740 (eval $ac_compile) 2>conftest.er1
67741 ac_status=$?
67742 grep -v '^ *+' conftest.er1 >conftest.err
67743 rm -f conftest.er1
67744 cat conftest.err >&5
67745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67746 (exit $ac_status); } &&
67747 { ac_try='test -z "$ac_cxx_werror_flag"
67748 || test ! -s conftest.err'
67749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67750 (eval $ac_try) 2>&5
67751 ac_status=$?
67752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67753 (exit $ac_status); }; } &&
67754 { ac_try='test -s conftest.$ac_objext'
67755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67756 (eval $ac_try) 2>&5
67757 ac_status=$?
67758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67759 (exit $ac_status); }; }; then
67760 glibcxx_cv_func_isinff_use=yes
67761 else
67762 echo "$as_me: failed program was:" >&5
67763 sed 's/^/| /' conftest.$ac_ext >&5
67765 glibcxx_cv_func_isinff_use=no
67767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67768 ac_ext=c
67769 ac_cpp='$CPP $CPPFLAGS'
67770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67778 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
67779 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
67781 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
67783 for ac_func in isinff
67785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67786 echo "$as_me:$LINENO: checking for $ac_func" >&5
67787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67788 if eval "test \"\${$as_ac_var+set}\" = set"; then
67789 echo $ECHO_N "(cached) $ECHO_C" >&6
67790 else
67791 if test x$gcc_no_link = xyes; then
67792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67794 { (exit 1); exit 1; }; }
67796 cat >conftest.$ac_ext <<_ACEOF
67797 /* confdefs.h. */
67798 _ACEOF
67799 cat confdefs.h >>conftest.$ac_ext
67800 cat >>conftest.$ac_ext <<_ACEOF
67801 /* end confdefs.h. */
67802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67804 #define $ac_func innocuous_$ac_func
67806 /* System header to define __stub macros and hopefully few prototypes,
67807 which can conflict with char $ac_func (); below.
67808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67809 <limits.h> exists even on freestanding compilers. */
67811 #ifdef __STDC__
67812 # include <limits.h>
67813 #else
67814 # include <assert.h>
67815 #endif
67817 #undef $ac_func
67819 /* Override any gcc2 internal prototype to avoid an error. */
67820 #ifdef __cplusplus
67821 extern "C"
67823 #endif
67824 /* We use char because int might match the return type of a gcc2
67825 builtin and then its argument prototype would still apply. */
67826 char $ac_func ();
67827 /* The GNU C library defines this for functions which it implements
67828 to always fail with ENOSYS. Some functions are actually named
67829 something starting with __ and the normal name is an alias. */
67830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67831 choke me
67832 #else
67833 char (*f) () = $ac_func;
67834 #endif
67835 #ifdef __cplusplus
67837 #endif
67840 main ()
67842 return f != $ac_func;
67844 return 0;
67846 _ACEOF
67847 rm -f conftest.$ac_objext conftest$ac_exeext
67848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67849 (eval $ac_link) 2>conftest.er1
67850 ac_status=$?
67851 grep -v '^ *+' conftest.er1 >conftest.err
67852 rm -f conftest.er1
67853 cat conftest.err >&5
67854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67855 (exit $ac_status); } &&
67856 { ac_try='test -z "$ac_c_werror_flag"
67857 || test ! -s conftest.err'
67858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67859 (eval $ac_try) 2>&5
67860 ac_status=$?
67861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67862 (exit $ac_status); }; } &&
67863 { ac_try='test -s conftest$ac_exeext'
67864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67865 (eval $ac_try) 2>&5
67866 ac_status=$?
67867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67868 (exit $ac_status); }; }; then
67869 eval "$as_ac_var=yes"
67870 else
67871 echo "$as_me: failed program was:" >&5
67872 sed 's/^/| /' conftest.$ac_ext >&5
67874 eval "$as_ac_var=no"
67876 rm -f conftest.err conftest.$ac_objext \
67877 conftest$ac_exeext conftest.$ac_ext
67879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67881 if test `eval echo '${'$as_ac_var'}'` = yes; then
67882 cat >>confdefs.h <<_ACEOF
67883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67884 _ACEOF
67887 done
67889 else
67891 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
67892 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
67893 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
67894 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
67895 echo $ECHO_N "(cached) $ECHO_C" >&6
67896 else
67900 ac_ext=cc
67901 ac_cpp='$CXXCPP $CPPFLAGS'
67902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67906 cat >conftest.$ac_ext <<_ACEOF
67907 /* confdefs.h. */
67908 _ACEOF
67909 cat confdefs.h >>conftest.$ac_ext
67910 cat >>conftest.$ac_ext <<_ACEOF
67911 /* end confdefs.h. */
67912 #include <math.h>
67913 #ifdef HAVE_IEEEFP_H
67914 #include <ieeefp.h>
67915 #endif
67918 main ()
67920 _isinff(0);
67922 return 0;
67924 _ACEOF
67925 rm -f conftest.$ac_objext
67926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67927 (eval $ac_compile) 2>conftest.er1
67928 ac_status=$?
67929 grep -v '^ *+' conftest.er1 >conftest.err
67930 rm -f conftest.er1
67931 cat conftest.err >&5
67932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67933 (exit $ac_status); } &&
67934 { ac_try='test -z "$ac_cxx_werror_flag"
67935 || test ! -s conftest.err'
67936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67937 (eval $ac_try) 2>&5
67938 ac_status=$?
67939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67940 (exit $ac_status); }; } &&
67941 { ac_try='test -s conftest.$ac_objext'
67942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67943 (eval $ac_try) 2>&5
67944 ac_status=$?
67945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67946 (exit $ac_status); }; }; then
67947 glibcxx_cv_func__isinff_use=yes
67948 else
67949 echo "$as_me: failed program was:" >&5
67950 sed 's/^/| /' conftest.$ac_ext >&5
67952 glibcxx_cv_func__isinff_use=no
67954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67955 ac_ext=c
67956 ac_cpp='$CPP $CPPFLAGS'
67957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67965 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
67966 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
67968 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
67970 for ac_func in _isinff
67972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67973 echo "$as_me:$LINENO: checking for $ac_func" >&5
67974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67975 if eval "test \"\${$as_ac_var+set}\" = set"; then
67976 echo $ECHO_N "(cached) $ECHO_C" >&6
67977 else
67978 if test x$gcc_no_link = xyes; then
67979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67981 { (exit 1); exit 1; }; }
67983 cat >conftest.$ac_ext <<_ACEOF
67984 /* confdefs.h. */
67985 _ACEOF
67986 cat confdefs.h >>conftest.$ac_ext
67987 cat >>conftest.$ac_ext <<_ACEOF
67988 /* end confdefs.h. */
67989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67991 #define $ac_func innocuous_$ac_func
67993 /* System header to define __stub macros and hopefully few prototypes,
67994 which can conflict with char $ac_func (); below.
67995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67996 <limits.h> exists even on freestanding compilers. */
67998 #ifdef __STDC__
67999 # include <limits.h>
68000 #else
68001 # include <assert.h>
68002 #endif
68004 #undef $ac_func
68006 /* Override any gcc2 internal prototype to avoid an error. */
68007 #ifdef __cplusplus
68008 extern "C"
68010 #endif
68011 /* We use char because int might match the return type of a gcc2
68012 builtin and then its argument prototype would still apply. */
68013 char $ac_func ();
68014 /* The GNU C library defines this for functions which it implements
68015 to always fail with ENOSYS. Some functions are actually named
68016 something starting with __ and the normal name is an alias. */
68017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68018 choke me
68019 #else
68020 char (*f) () = $ac_func;
68021 #endif
68022 #ifdef __cplusplus
68024 #endif
68027 main ()
68029 return f != $ac_func;
68031 return 0;
68033 _ACEOF
68034 rm -f conftest.$ac_objext conftest$ac_exeext
68035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68036 (eval $ac_link) 2>conftest.er1
68037 ac_status=$?
68038 grep -v '^ *+' conftest.er1 >conftest.err
68039 rm -f conftest.er1
68040 cat conftest.err >&5
68041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68042 (exit $ac_status); } &&
68043 { ac_try='test -z "$ac_c_werror_flag"
68044 || test ! -s conftest.err'
68045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68046 (eval $ac_try) 2>&5
68047 ac_status=$?
68048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68049 (exit $ac_status); }; } &&
68050 { ac_try='test -s conftest$ac_exeext'
68051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68052 (eval $ac_try) 2>&5
68053 ac_status=$?
68054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68055 (exit $ac_status); }; }; then
68056 eval "$as_ac_var=yes"
68057 else
68058 echo "$as_me: failed program was:" >&5
68059 sed 's/^/| /' conftest.$ac_ext >&5
68061 eval "$as_ac_var=no"
68063 rm -f conftest.err conftest.$ac_objext \
68064 conftest$ac_exeext conftest.$ac_ext
68066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68068 if test `eval echo '${'$as_ac_var'}'` = yes; then
68069 cat >>confdefs.h <<_ACEOF
68070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68071 _ACEOF
68074 done
68084 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
68085 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
68086 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68087 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
68088 echo $ECHO_N "(cached) $ECHO_C" >&6
68089 else
68093 ac_ext=cc
68094 ac_cpp='$CXXCPP $CPPFLAGS'
68095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68099 cat >conftest.$ac_ext <<_ACEOF
68100 /* confdefs.h. */
68101 _ACEOF
68102 cat confdefs.h >>conftest.$ac_ext
68103 cat >>conftest.$ac_ext <<_ACEOF
68104 /* end confdefs.h. */
68105 #include <math.h>
68107 main ()
68109 atan2f(0, 0);
68111 return 0;
68113 _ACEOF
68114 rm -f conftest.$ac_objext
68115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68116 (eval $ac_compile) 2>conftest.er1
68117 ac_status=$?
68118 grep -v '^ *+' conftest.er1 >conftest.err
68119 rm -f conftest.er1
68120 cat conftest.err >&5
68121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68122 (exit $ac_status); } &&
68123 { ac_try='test -z "$ac_cxx_werror_flag"
68124 || test ! -s conftest.err'
68125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68126 (eval $ac_try) 2>&5
68127 ac_status=$?
68128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68129 (exit $ac_status); }; } &&
68130 { ac_try='test -s conftest.$ac_objext'
68131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68132 (eval $ac_try) 2>&5
68133 ac_status=$?
68134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68135 (exit $ac_status); }; }; then
68136 glibcxx_cv_func_atan2f_use=yes
68137 else
68138 echo "$as_me: failed program was:" >&5
68139 sed 's/^/| /' conftest.$ac_ext >&5
68141 glibcxx_cv_func_atan2f_use=no
68143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68144 ac_ext=c
68145 ac_cpp='$CPP $CPPFLAGS'
68146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68154 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
68155 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
68157 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68159 for ac_func in atan2f
68161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68162 echo "$as_me:$LINENO: checking for $ac_func" >&5
68163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68164 if eval "test \"\${$as_ac_var+set}\" = set"; then
68165 echo $ECHO_N "(cached) $ECHO_C" >&6
68166 else
68167 if test x$gcc_no_link = xyes; then
68168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68170 { (exit 1); exit 1; }; }
68172 cat >conftest.$ac_ext <<_ACEOF
68173 /* confdefs.h. */
68174 _ACEOF
68175 cat confdefs.h >>conftest.$ac_ext
68176 cat >>conftest.$ac_ext <<_ACEOF
68177 /* end confdefs.h. */
68178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68180 #define $ac_func innocuous_$ac_func
68182 /* System header to define __stub macros and hopefully few prototypes,
68183 which can conflict with char $ac_func (); below.
68184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68185 <limits.h> exists even on freestanding compilers. */
68187 #ifdef __STDC__
68188 # include <limits.h>
68189 #else
68190 # include <assert.h>
68191 #endif
68193 #undef $ac_func
68195 /* Override any gcc2 internal prototype to avoid an error. */
68196 #ifdef __cplusplus
68197 extern "C"
68199 #endif
68200 /* We use char because int might match the return type of a gcc2
68201 builtin and then its argument prototype would still apply. */
68202 char $ac_func ();
68203 /* The GNU C library defines this for functions which it implements
68204 to always fail with ENOSYS. Some functions are actually named
68205 something starting with __ and the normal name is an alias. */
68206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68207 choke me
68208 #else
68209 char (*f) () = $ac_func;
68210 #endif
68211 #ifdef __cplusplus
68213 #endif
68216 main ()
68218 return f != $ac_func;
68220 return 0;
68222 _ACEOF
68223 rm -f conftest.$ac_objext conftest$ac_exeext
68224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68225 (eval $ac_link) 2>conftest.er1
68226 ac_status=$?
68227 grep -v '^ *+' conftest.er1 >conftest.err
68228 rm -f conftest.er1
68229 cat conftest.err >&5
68230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68231 (exit $ac_status); } &&
68232 { ac_try='test -z "$ac_c_werror_flag"
68233 || test ! -s conftest.err'
68234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68235 (eval $ac_try) 2>&5
68236 ac_status=$?
68237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68238 (exit $ac_status); }; } &&
68239 { ac_try='test -s conftest$ac_exeext'
68240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68241 (eval $ac_try) 2>&5
68242 ac_status=$?
68243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68244 (exit $ac_status); }; }; then
68245 eval "$as_ac_var=yes"
68246 else
68247 echo "$as_me: failed program was:" >&5
68248 sed 's/^/| /' conftest.$ac_ext >&5
68250 eval "$as_ac_var=no"
68252 rm -f conftest.err conftest.$ac_objext \
68253 conftest$ac_exeext conftest.$ac_ext
68255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68257 if test `eval echo '${'$as_ac_var'}'` = yes; then
68258 cat >>confdefs.h <<_ACEOF
68259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68260 _ACEOF
68263 done
68265 else
68267 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
68268 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
68269 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68270 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
68271 echo $ECHO_N "(cached) $ECHO_C" >&6
68272 else
68276 ac_ext=cc
68277 ac_cpp='$CXXCPP $CPPFLAGS'
68278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68282 cat >conftest.$ac_ext <<_ACEOF
68283 /* confdefs.h. */
68284 _ACEOF
68285 cat confdefs.h >>conftest.$ac_ext
68286 cat >>conftest.$ac_ext <<_ACEOF
68287 /* end confdefs.h. */
68288 #include <math.h>
68290 main ()
68292 _atan2f(0, 0);
68294 return 0;
68296 _ACEOF
68297 rm -f conftest.$ac_objext
68298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68299 (eval $ac_compile) 2>conftest.er1
68300 ac_status=$?
68301 grep -v '^ *+' conftest.er1 >conftest.err
68302 rm -f conftest.er1
68303 cat conftest.err >&5
68304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68305 (exit $ac_status); } &&
68306 { ac_try='test -z "$ac_cxx_werror_flag"
68307 || test ! -s conftest.err'
68308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68309 (eval $ac_try) 2>&5
68310 ac_status=$?
68311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68312 (exit $ac_status); }; } &&
68313 { ac_try='test -s conftest.$ac_objext'
68314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68315 (eval $ac_try) 2>&5
68316 ac_status=$?
68317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68318 (exit $ac_status); }; }; then
68319 glibcxx_cv_func__atan2f_use=yes
68320 else
68321 echo "$as_me: failed program was:" >&5
68322 sed 's/^/| /' conftest.$ac_ext >&5
68324 glibcxx_cv_func__atan2f_use=no
68326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68327 ac_ext=c
68328 ac_cpp='$CPP $CPPFLAGS'
68329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68337 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
68338 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
68340 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68342 for ac_func in _atan2f
68344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68345 echo "$as_me:$LINENO: checking for $ac_func" >&5
68346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68347 if eval "test \"\${$as_ac_var+set}\" = set"; then
68348 echo $ECHO_N "(cached) $ECHO_C" >&6
68349 else
68350 if test x$gcc_no_link = xyes; then
68351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68353 { (exit 1); exit 1; }; }
68355 cat >conftest.$ac_ext <<_ACEOF
68356 /* confdefs.h. */
68357 _ACEOF
68358 cat confdefs.h >>conftest.$ac_ext
68359 cat >>conftest.$ac_ext <<_ACEOF
68360 /* end confdefs.h. */
68361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68363 #define $ac_func innocuous_$ac_func
68365 /* System header to define __stub macros and hopefully few prototypes,
68366 which can conflict with char $ac_func (); below.
68367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68368 <limits.h> exists even on freestanding compilers. */
68370 #ifdef __STDC__
68371 # include <limits.h>
68372 #else
68373 # include <assert.h>
68374 #endif
68376 #undef $ac_func
68378 /* Override any gcc2 internal prototype to avoid an error. */
68379 #ifdef __cplusplus
68380 extern "C"
68382 #endif
68383 /* We use char because int might match the return type of a gcc2
68384 builtin and then its argument prototype would still apply. */
68385 char $ac_func ();
68386 /* The GNU C library defines this for functions which it implements
68387 to always fail with ENOSYS. Some functions are actually named
68388 something starting with __ and the normal name is an alias. */
68389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68390 choke me
68391 #else
68392 char (*f) () = $ac_func;
68393 #endif
68394 #ifdef __cplusplus
68396 #endif
68399 main ()
68401 return f != $ac_func;
68403 return 0;
68405 _ACEOF
68406 rm -f conftest.$ac_objext conftest$ac_exeext
68407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68408 (eval $ac_link) 2>conftest.er1
68409 ac_status=$?
68410 grep -v '^ *+' conftest.er1 >conftest.err
68411 rm -f conftest.er1
68412 cat conftest.err >&5
68413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68414 (exit $ac_status); } &&
68415 { ac_try='test -z "$ac_c_werror_flag"
68416 || test ! -s conftest.err'
68417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68418 (eval $ac_try) 2>&5
68419 ac_status=$?
68420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68421 (exit $ac_status); }; } &&
68422 { ac_try='test -s conftest$ac_exeext'
68423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68424 (eval $ac_try) 2>&5
68425 ac_status=$?
68426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68427 (exit $ac_status); }; }; then
68428 eval "$as_ac_var=yes"
68429 else
68430 echo "$as_me: failed program was:" >&5
68431 sed 's/^/| /' conftest.$ac_ext >&5
68433 eval "$as_ac_var=no"
68435 rm -f conftest.err conftest.$ac_objext \
68436 conftest$ac_exeext conftest.$ac_ext
68438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68440 if test `eval echo '${'$as_ac_var'}'` = yes; then
68441 cat >>confdefs.h <<_ACEOF
68442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68443 _ACEOF
68446 done
68456 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
68457 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
68458 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68459 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
68460 echo $ECHO_N "(cached) $ECHO_C" >&6
68461 else
68465 ac_ext=cc
68466 ac_cpp='$CXXCPP $CPPFLAGS'
68467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68471 cat >conftest.$ac_ext <<_ACEOF
68472 /* confdefs.h. */
68473 _ACEOF
68474 cat confdefs.h >>conftest.$ac_ext
68475 cat >>conftest.$ac_ext <<_ACEOF
68476 /* end confdefs.h. */
68477 #include <math.h>
68478 #ifdef HAVE_IEEEFP_H
68479 #include <ieeefp.h>
68480 #endif
68483 main ()
68485 fabsf(0);
68487 return 0;
68489 _ACEOF
68490 rm -f conftest.$ac_objext
68491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68492 (eval $ac_compile) 2>conftest.er1
68493 ac_status=$?
68494 grep -v '^ *+' conftest.er1 >conftest.err
68495 rm -f conftest.er1
68496 cat conftest.err >&5
68497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68498 (exit $ac_status); } &&
68499 { ac_try='test -z "$ac_cxx_werror_flag"
68500 || test ! -s conftest.err'
68501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68502 (eval $ac_try) 2>&5
68503 ac_status=$?
68504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68505 (exit $ac_status); }; } &&
68506 { ac_try='test -s conftest.$ac_objext'
68507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68508 (eval $ac_try) 2>&5
68509 ac_status=$?
68510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68511 (exit $ac_status); }; }; then
68512 glibcxx_cv_func_fabsf_use=yes
68513 else
68514 echo "$as_me: failed program was:" >&5
68515 sed 's/^/| /' conftest.$ac_ext >&5
68517 glibcxx_cv_func_fabsf_use=no
68519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68520 ac_ext=c
68521 ac_cpp='$CPP $CPPFLAGS'
68522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68530 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
68531 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
68533 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68535 for ac_func in fabsf
68537 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68538 echo "$as_me:$LINENO: checking for $ac_func" >&5
68539 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68540 if eval "test \"\${$as_ac_var+set}\" = set"; then
68541 echo $ECHO_N "(cached) $ECHO_C" >&6
68542 else
68543 if test x$gcc_no_link = xyes; then
68544 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68545 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68546 { (exit 1); exit 1; }; }
68548 cat >conftest.$ac_ext <<_ACEOF
68549 /* confdefs.h. */
68550 _ACEOF
68551 cat confdefs.h >>conftest.$ac_ext
68552 cat >>conftest.$ac_ext <<_ACEOF
68553 /* end confdefs.h. */
68554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68556 #define $ac_func innocuous_$ac_func
68558 /* System header to define __stub macros and hopefully few prototypes,
68559 which can conflict with char $ac_func (); below.
68560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68561 <limits.h> exists even on freestanding compilers. */
68563 #ifdef __STDC__
68564 # include <limits.h>
68565 #else
68566 # include <assert.h>
68567 #endif
68569 #undef $ac_func
68571 /* Override any gcc2 internal prototype to avoid an error. */
68572 #ifdef __cplusplus
68573 extern "C"
68575 #endif
68576 /* We use char because int might match the return type of a gcc2
68577 builtin and then its argument prototype would still apply. */
68578 char $ac_func ();
68579 /* The GNU C library defines this for functions which it implements
68580 to always fail with ENOSYS. Some functions are actually named
68581 something starting with __ and the normal name is an alias. */
68582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68583 choke me
68584 #else
68585 char (*f) () = $ac_func;
68586 #endif
68587 #ifdef __cplusplus
68589 #endif
68592 main ()
68594 return f != $ac_func;
68596 return 0;
68598 _ACEOF
68599 rm -f conftest.$ac_objext conftest$ac_exeext
68600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68601 (eval $ac_link) 2>conftest.er1
68602 ac_status=$?
68603 grep -v '^ *+' conftest.er1 >conftest.err
68604 rm -f conftest.er1
68605 cat conftest.err >&5
68606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68607 (exit $ac_status); } &&
68608 { ac_try='test -z "$ac_c_werror_flag"
68609 || test ! -s conftest.err'
68610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68611 (eval $ac_try) 2>&5
68612 ac_status=$?
68613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68614 (exit $ac_status); }; } &&
68615 { ac_try='test -s conftest$ac_exeext'
68616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68617 (eval $ac_try) 2>&5
68618 ac_status=$?
68619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68620 (exit $ac_status); }; }; then
68621 eval "$as_ac_var=yes"
68622 else
68623 echo "$as_me: failed program was:" >&5
68624 sed 's/^/| /' conftest.$ac_ext >&5
68626 eval "$as_ac_var=no"
68628 rm -f conftest.err conftest.$ac_objext \
68629 conftest$ac_exeext conftest.$ac_ext
68631 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68632 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68633 if test `eval echo '${'$as_ac_var'}'` = yes; then
68634 cat >>confdefs.h <<_ACEOF
68635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68636 _ACEOF
68639 done
68641 else
68643 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
68644 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
68645 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68646 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
68647 echo $ECHO_N "(cached) $ECHO_C" >&6
68648 else
68652 ac_ext=cc
68653 ac_cpp='$CXXCPP $CPPFLAGS'
68654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68658 cat >conftest.$ac_ext <<_ACEOF
68659 /* confdefs.h. */
68660 _ACEOF
68661 cat confdefs.h >>conftest.$ac_ext
68662 cat >>conftest.$ac_ext <<_ACEOF
68663 /* end confdefs.h. */
68664 #include <math.h>
68665 #ifdef HAVE_IEEEFP_H
68666 #include <ieeefp.h>
68667 #endif
68670 main ()
68672 _fabsf(0);
68674 return 0;
68676 _ACEOF
68677 rm -f conftest.$ac_objext
68678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68679 (eval $ac_compile) 2>conftest.er1
68680 ac_status=$?
68681 grep -v '^ *+' conftest.er1 >conftest.err
68682 rm -f conftest.er1
68683 cat conftest.err >&5
68684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68685 (exit $ac_status); } &&
68686 { ac_try='test -z "$ac_cxx_werror_flag"
68687 || test ! -s conftest.err'
68688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68689 (eval $ac_try) 2>&5
68690 ac_status=$?
68691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68692 (exit $ac_status); }; } &&
68693 { ac_try='test -s conftest.$ac_objext'
68694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68695 (eval $ac_try) 2>&5
68696 ac_status=$?
68697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68698 (exit $ac_status); }; }; then
68699 glibcxx_cv_func__fabsf_use=yes
68700 else
68701 echo "$as_me: failed program was:" >&5
68702 sed 's/^/| /' conftest.$ac_ext >&5
68704 glibcxx_cv_func__fabsf_use=no
68706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68707 ac_ext=c
68708 ac_cpp='$CPP $CPPFLAGS'
68709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68717 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
68718 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
68720 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68722 for ac_func in _fabsf
68724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68725 echo "$as_me:$LINENO: checking for $ac_func" >&5
68726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68727 if eval "test \"\${$as_ac_var+set}\" = set"; then
68728 echo $ECHO_N "(cached) $ECHO_C" >&6
68729 else
68730 if test x$gcc_no_link = xyes; then
68731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68733 { (exit 1); exit 1; }; }
68735 cat >conftest.$ac_ext <<_ACEOF
68736 /* confdefs.h. */
68737 _ACEOF
68738 cat confdefs.h >>conftest.$ac_ext
68739 cat >>conftest.$ac_ext <<_ACEOF
68740 /* end confdefs.h. */
68741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68743 #define $ac_func innocuous_$ac_func
68745 /* System header to define __stub macros and hopefully few prototypes,
68746 which can conflict with char $ac_func (); below.
68747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68748 <limits.h> exists even on freestanding compilers. */
68750 #ifdef __STDC__
68751 # include <limits.h>
68752 #else
68753 # include <assert.h>
68754 #endif
68756 #undef $ac_func
68758 /* Override any gcc2 internal prototype to avoid an error. */
68759 #ifdef __cplusplus
68760 extern "C"
68762 #endif
68763 /* We use char because int might match the return type of a gcc2
68764 builtin and then its argument prototype would still apply. */
68765 char $ac_func ();
68766 /* The GNU C library defines this for functions which it implements
68767 to always fail with ENOSYS. Some functions are actually named
68768 something starting with __ and the normal name is an alias. */
68769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68770 choke me
68771 #else
68772 char (*f) () = $ac_func;
68773 #endif
68774 #ifdef __cplusplus
68776 #endif
68779 main ()
68781 return f != $ac_func;
68783 return 0;
68785 _ACEOF
68786 rm -f conftest.$ac_objext conftest$ac_exeext
68787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68788 (eval $ac_link) 2>conftest.er1
68789 ac_status=$?
68790 grep -v '^ *+' conftest.er1 >conftest.err
68791 rm -f conftest.er1
68792 cat conftest.err >&5
68793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68794 (exit $ac_status); } &&
68795 { ac_try='test -z "$ac_c_werror_flag"
68796 || test ! -s conftest.err'
68797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68798 (eval $ac_try) 2>&5
68799 ac_status=$?
68800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68801 (exit $ac_status); }; } &&
68802 { ac_try='test -s conftest$ac_exeext'
68803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68804 (eval $ac_try) 2>&5
68805 ac_status=$?
68806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68807 (exit $ac_status); }; }; then
68808 eval "$as_ac_var=yes"
68809 else
68810 echo "$as_me: failed program was:" >&5
68811 sed 's/^/| /' conftest.$ac_ext >&5
68813 eval "$as_ac_var=no"
68815 rm -f conftest.err conftest.$ac_objext \
68816 conftest$ac_exeext conftest.$ac_ext
68818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68820 if test `eval echo '${'$as_ac_var'}'` = yes; then
68821 cat >>confdefs.h <<_ACEOF
68822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68823 _ACEOF
68826 done
68836 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
68837 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
68838 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68839 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
68840 echo $ECHO_N "(cached) $ECHO_C" >&6
68841 else
68845 ac_ext=cc
68846 ac_cpp='$CXXCPP $CPPFLAGS'
68847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68851 cat >conftest.$ac_ext <<_ACEOF
68852 /* confdefs.h. */
68853 _ACEOF
68854 cat confdefs.h >>conftest.$ac_ext
68855 cat >>conftest.$ac_ext <<_ACEOF
68856 /* end confdefs.h. */
68857 #include <math.h>
68859 main ()
68861 fmodf(0, 0);
68863 return 0;
68865 _ACEOF
68866 rm -f conftest.$ac_objext
68867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68868 (eval $ac_compile) 2>conftest.er1
68869 ac_status=$?
68870 grep -v '^ *+' conftest.er1 >conftest.err
68871 rm -f conftest.er1
68872 cat conftest.err >&5
68873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68874 (exit $ac_status); } &&
68875 { ac_try='test -z "$ac_cxx_werror_flag"
68876 || test ! -s conftest.err'
68877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68878 (eval $ac_try) 2>&5
68879 ac_status=$?
68880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68881 (exit $ac_status); }; } &&
68882 { ac_try='test -s conftest.$ac_objext'
68883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68884 (eval $ac_try) 2>&5
68885 ac_status=$?
68886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68887 (exit $ac_status); }; }; then
68888 glibcxx_cv_func_fmodf_use=yes
68889 else
68890 echo "$as_me: failed program was:" >&5
68891 sed 's/^/| /' conftest.$ac_ext >&5
68893 glibcxx_cv_func_fmodf_use=no
68895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68896 ac_ext=c
68897 ac_cpp='$CPP $CPPFLAGS'
68898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68906 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
68907 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
68909 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68911 for ac_func in fmodf
68913 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68914 echo "$as_me:$LINENO: checking for $ac_func" >&5
68915 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68916 if eval "test \"\${$as_ac_var+set}\" = set"; then
68917 echo $ECHO_N "(cached) $ECHO_C" >&6
68918 else
68919 if test x$gcc_no_link = xyes; then
68920 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68921 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68922 { (exit 1); exit 1; }; }
68924 cat >conftest.$ac_ext <<_ACEOF
68925 /* confdefs.h. */
68926 _ACEOF
68927 cat confdefs.h >>conftest.$ac_ext
68928 cat >>conftest.$ac_ext <<_ACEOF
68929 /* end confdefs.h. */
68930 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68931 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68932 #define $ac_func innocuous_$ac_func
68934 /* System header to define __stub macros and hopefully few prototypes,
68935 which can conflict with char $ac_func (); below.
68936 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68937 <limits.h> exists even on freestanding compilers. */
68939 #ifdef __STDC__
68940 # include <limits.h>
68941 #else
68942 # include <assert.h>
68943 #endif
68945 #undef $ac_func
68947 /* Override any gcc2 internal prototype to avoid an error. */
68948 #ifdef __cplusplus
68949 extern "C"
68951 #endif
68952 /* We use char because int might match the return type of a gcc2
68953 builtin and then its argument prototype would still apply. */
68954 char $ac_func ();
68955 /* The GNU C library defines this for functions which it implements
68956 to always fail with ENOSYS. Some functions are actually named
68957 something starting with __ and the normal name is an alias. */
68958 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68959 choke me
68960 #else
68961 char (*f) () = $ac_func;
68962 #endif
68963 #ifdef __cplusplus
68965 #endif
68968 main ()
68970 return f != $ac_func;
68972 return 0;
68974 _ACEOF
68975 rm -f conftest.$ac_objext conftest$ac_exeext
68976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68977 (eval $ac_link) 2>conftest.er1
68978 ac_status=$?
68979 grep -v '^ *+' conftest.er1 >conftest.err
68980 rm -f conftest.er1
68981 cat conftest.err >&5
68982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68983 (exit $ac_status); } &&
68984 { ac_try='test -z "$ac_c_werror_flag"
68985 || test ! -s conftest.err'
68986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68987 (eval $ac_try) 2>&5
68988 ac_status=$?
68989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68990 (exit $ac_status); }; } &&
68991 { ac_try='test -s conftest$ac_exeext'
68992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68993 (eval $ac_try) 2>&5
68994 ac_status=$?
68995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68996 (exit $ac_status); }; }; then
68997 eval "$as_ac_var=yes"
68998 else
68999 echo "$as_me: failed program was:" >&5
69000 sed 's/^/| /' conftest.$ac_ext >&5
69002 eval "$as_ac_var=no"
69004 rm -f conftest.err conftest.$ac_objext \
69005 conftest$ac_exeext conftest.$ac_ext
69007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69008 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69009 if test `eval echo '${'$as_ac_var'}'` = yes; then
69010 cat >>confdefs.h <<_ACEOF
69011 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69012 _ACEOF
69015 done
69017 else
69019 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
69020 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
69021 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
69022 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
69023 echo $ECHO_N "(cached) $ECHO_C" >&6
69024 else
69028 ac_ext=cc
69029 ac_cpp='$CXXCPP $CPPFLAGS'
69030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69034 cat >conftest.$ac_ext <<_ACEOF
69035 /* confdefs.h. */
69036 _ACEOF
69037 cat confdefs.h >>conftest.$ac_ext
69038 cat >>conftest.$ac_ext <<_ACEOF
69039 /* end confdefs.h. */
69040 #include <math.h>
69042 main ()
69044 _fmodf(0, 0);
69046 return 0;
69048 _ACEOF
69049 rm -f conftest.$ac_objext
69050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69051 (eval $ac_compile) 2>conftest.er1
69052 ac_status=$?
69053 grep -v '^ *+' conftest.er1 >conftest.err
69054 rm -f conftest.er1
69055 cat conftest.err >&5
69056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69057 (exit $ac_status); } &&
69058 { ac_try='test -z "$ac_cxx_werror_flag"
69059 || test ! -s conftest.err'
69060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69061 (eval $ac_try) 2>&5
69062 ac_status=$?
69063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69064 (exit $ac_status); }; } &&
69065 { ac_try='test -s conftest.$ac_objext'
69066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69067 (eval $ac_try) 2>&5
69068 ac_status=$?
69069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69070 (exit $ac_status); }; }; then
69071 glibcxx_cv_func__fmodf_use=yes
69072 else
69073 echo "$as_me: failed program was:" >&5
69074 sed 's/^/| /' conftest.$ac_ext >&5
69076 glibcxx_cv_func__fmodf_use=no
69078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69079 ac_ext=c
69080 ac_cpp='$CPP $CPPFLAGS'
69081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69089 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
69090 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
69092 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
69094 for ac_func in _fmodf
69096 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69097 echo "$as_me:$LINENO: checking for $ac_func" >&5
69098 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69099 if eval "test \"\${$as_ac_var+set}\" = set"; then
69100 echo $ECHO_N "(cached) $ECHO_C" >&6
69101 else
69102 if test x$gcc_no_link = xyes; then
69103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69105 { (exit 1); exit 1; }; }
69107 cat >conftest.$ac_ext <<_ACEOF
69108 /* confdefs.h. */
69109 _ACEOF
69110 cat confdefs.h >>conftest.$ac_ext
69111 cat >>conftest.$ac_ext <<_ACEOF
69112 /* end confdefs.h. */
69113 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69114 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69115 #define $ac_func innocuous_$ac_func
69117 /* System header to define __stub macros and hopefully few prototypes,
69118 which can conflict with char $ac_func (); below.
69119 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69120 <limits.h> exists even on freestanding compilers. */
69122 #ifdef __STDC__
69123 # include <limits.h>
69124 #else
69125 # include <assert.h>
69126 #endif
69128 #undef $ac_func
69130 /* Override any gcc2 internal prototype to avoid an error. */
69131 #ifdef __cplusplus
69132 extern "C"
69134 #endif
69135 /* We use char because int might match the return type of a gcc2
69136 builtin and then its argument prototype would still apply. */
69137 char $ac_func ();
69138 /* The GNU C library defines this for functions which it implements
69139 to always fail with ENOSYS. Some functions are actually named
69140 something starting with __ and the normal name is an alias. */
69141 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69142 choke me
69143 #else
69144 char (*f) () = $ac_func;
69145 #endif
69146 #ifdef __cplusplus
69148 #endif
69151 main ()
69153 return f != $ac_func;
69155 return 0;
69157 _ACEOF
69158 rm -f conftest.$ac_objext conftest$ac_exeext
69159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69160 (eval $ac_link) 2>conftest.er1
69161 ac_status=$?
69162 grep -v '^ *+' conftest.er1 >conftest.err
69163 rm -f conftest.er1
69164 cat conftest.err >&5
69165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69166 (exit $ac_status); } &&
69167 { ac_try='test -z "$ac_c_werror_flag"
69168 || test ! -s conftest.err'
69169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69170 (eval $ac_try) 2>&5
69171 ac_status=$?
69172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69173 (exit $ac_status); }; } &&
69174 { ac_try='test -s conftest$ac_exeext'
69175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69176 (eval $ac_try) 2>&5
69177 ac_status=$?
69178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69179 (exit $ac_status); }; }; then
69180 eval "$as_ac_var=yes"
69181 else
69182 echo "$as_me: failed program was:" >&5
69183 sed 's/^/| /' conftest.$ac_ext >&5
69185 eval "$as_ac_var=no"
69187 rm -f conftest.err conftest.$ac_objext \
69188 conftest$ac_exeext conftest.$ac_ext
69190 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69191 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69192 if test `eval echo '${'$as_ac_var'}'` = yes; then
69193 cat >>confdefs.h <<_ACEOF
69194 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69195 _ACEOF
69198 done
69208 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
69209 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
69210 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
69211 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
69212 echo $ECHO_N "(cached) $ECHO_C" >&6
69213 else
69217 ac_ext=cc
69218 ac_cpp='$CXXCPP $CPPFLAGS'
69219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69223 cat >conftest.$ac_ext <<_ACEOF
69224 /* confdefs.h. */
69225 _ACEOF
69226 cat confdefs.h >>conftest.$ac_ext
69227 cat >>conftest.$ac_ext <<_ACEOF
69228 /* end confdefs.h. */
69229 #include <math.h>
69231 main ()
69233 frexpf(0, 0);
69235 return 0;
69237 _ACEOF
69238 rm -f conftest.$ac_objext
69239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69240 (eval $ac_compile) 2>conftest.er1
69241 ac_status=$?
69242 grep -v '^ *+' conftest.er1 >conftest.err
69243 rm -f conftest.er1
69244 cat conftest.err >&5
69245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69246 (exit $ac_status); } &&
69247 { ac_try='test -z "$ac_cxx_werror_flag"
69248 || test ! -s conftest.err'
69249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69250 (eval $ac_try) 2>&5
69251 ac_status=$?
69252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69253 (exit $ac_status); }; } &&
69254 { ac_try='test -s conftest.$ac_objext'
69255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69256 (eval $ac_try) 2>&5
69257 ac_status=$?
69258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69259 (exit $ac_status); }; }; then
69260 glibcxx_cv_func_frexpf_use=yes
69261 else
69262 echo "$as_me: failed program was:" >&5
69263 sed 's/^/| /' conftest.$ac_ext >&5
69265 glibcxx_cv_func_frexpf_use=no
69267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69268 ac_ext=c
69269 ac_cpp='$CPP $CPPFLAGS'
69270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69278 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
69279 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
69281 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
69283 for ac_func in frexpf
69285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69286 echo "$as_me:$LINENO: checking for $ac_func" >&5
69287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69288 if eval "test \"\${$as_ac_var+set}\" = set"; then
69289 echo $ECHO_N "(cached) $ECHO_C" >&6
69290 else
69291 if test x$gcc_no_link = xyes; then
69292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69294 { (exit 1); exit 1; }; }
69296 cat >conftest.$ac_ext <<_ACEOF
69297 /* confdefs.h. */
69298 _ACEOF
69299 cat confdefs.h >>conftest.$ac_ext
69300 cat >>conftest.$ac_ext <<_ACEOF
69301 /* end confdefs.h. */
69302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69304 #define $ac_func innocuous_$ac_func
69306 /* System header to define __stub macros and hopefully few prototypes,
69307 which can conflict with char $ac_func (); below.
69308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69309 <limits.h> exists even on freestanding compilers. */
69311 #ifdef __STDC__
69312 # include <limits.h>
69313 #else
69314 # include <assert.h>
69315 #endif
69317 #undef $ac_func
69319 /* Override any gcc2 internal prototype to avoid an error. */
69320 #ifdef __cplusplus
69321 extern "C"
69323 #endif
69324 /* We use char because int might match the return type of a gcc2
69325 builtin and then its argument prototype would still apply. */
69326 char $ac_func ();
69327 /* The GNU C library defines this for functions which it implements
69328 to always fail with ENOSYS. Some functions are actually named
69329 something starting with __ and the normal name is an alias. */
69330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69331 choke me
69332 #else
69333 char (*f) () = $ac_func;
69334 #endif
69335 #ifdef __cplusplus
69337 #endif
69340 main ()
69342 return f != $ac_func;
69344 return 0;
69346 _ACEOF
69347 rm -f conftest.$ac_objext conftest$ac_exeext
69348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69349 (eval $ac_link) 2>conftest.er1
69350 ac_status=$?
69351 grep -v '^ *+' conftest.er1 >conftest.err
69352 rm -f conftest.er1
69353 cat conftest.err >&5
69354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69355 (exit $ac_status); } &&
69356 { ac_try='test -z "$ac_c_werror_flag"
69357 || test ! -s conftest.err'
69358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69359 (eval $ac_try) 2>&5
69360 ac_status=$?
69361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69362 (exit $ac_status); }; } &&
69363 { ac_try='test -s conftest$ac_exeext'
69364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69365 (eval $ac_try) 2>&5
69366 ac_status=$?
69367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69368 (exit $ac_status); }; }; then
69369 eval "$as_ac_var=yes"
69370 else
69371 echo "$as_me: failed program was:" >&5
69372 sed 's/^/| /' conftest.$ac_ext >&5
69374 eval "$as_ac_var=no"
69376 rm -f conftest.err conftest.$ac_objext \
69377 conftest$ac_exeext conftest.$ac_ext
69379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69381 if test `eval echo '${'$as_ac_var'}'` = yes; then
69382 cat >>confdefs.h <<_ACEOF
69383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69384 _ACEOF
69387 done
69389 else
69391 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
69392 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
69393 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
69394 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
69395 echo $ECHO_N "(cached) $ECHO_C" >&6
69396 else
69400 ac_ext=cc
69401 ac_cpp='$CXXCPP $CPPFLAGS'
69402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69406 cat >conftest.$ac_ext <<_ACEOF
69407 /* confdefs.h. */
69408 _ACEOF
69409 cat confdefs.h >>conftest.$ac_ext
69410 cat >>conftest.$ac_ext <<_ACEOF
69411 /* end confdefs.h. */
69412 #include <math.h>
69414 main ()
69416 _frexpf(0, 0);
69418 return 0;
69420 _ACEOF
69421 rm -f conftest.$ac_objext
69422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69423 (eval $ac_compile) 2>conftest.er1
69424 ac_status=$?
69425 grep -v '^ *+' conftest.er1 >conftest.err
69426 rm -f conftest.er1
69427 cat conftest.err >&5
69428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69429 (exit $ac_status); } &&
69430 { ac_try='test -z "$ac_cxx_werror_flag"
69431 || test ! -s conftest.err'
69432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69433 (eval $ac_try) 2>&5
69434 ac_status=$?
69435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69436 (exit $ac_status); }; } &&
69437 { ac_try='test -s conftest.$ac_objext'
69438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69439 (eval $ac_try) 2>&5
69440 ac_status=$?
69441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69442 (exit $ac_status); }; }; then
69443 glibcxx_cv_func__frexpf_use=yes
69444 else
69445 echo "$as_me: failed program was:" >&5
69446 sed 's/^/| /' conftest.$ac_ext >&5
69448 glibcxx_cv_func__frexpf_use=no
69450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69451 ac_ext=c
69452 ac_cpp='$CPP $CPPFLAGS'
69453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69461 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
69462 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
69464 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
69466 for ac_func in _frexpf
69468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69469 echo "$as_me:$LINENO: checking for $ac_func" >&5
69470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69471 if eval "test \"\${$as_ac_var+set}\" = set"; then
69472 echo $ECHO_N "(cached) $ECHO_C" >&6
69473 else
69474 if test x$gcc_no_link = xyes; then
69475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69477 { (exit 1); exit 1; }; }
69479 cat >conftest.$ac_ext <<_ACEOF
69480 /* confdefs.h. */
69481 _ACEOF
69482 cat confdefs.h >>conftest.$ac_ext
69483 cat >>conftest.$ac_ext <<_ACEOF
69484 /* end confdefs.h. */
69485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69487 #define $ac_func innocuous_$ac_func
69489 /* System header to define __stub macros and hopefully few prototypes,
69490 which can conflict with char $ac_func (); below.
69491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69492 <limits.h> exists even on freestanding compilers. */
69494 #ifdef __STDC__
69495 # include <limits.h>
69496 #else
69497 # include <assert.h>
69498 #endif
69500 #undef $ac_func
69502 /* Override any gcc2 internal prototype to avoid an error. */
69503 #ifdef __cplusplus
69504 extern "C"
69506 #endif
69507 /* We use char because int might match the return type of a gcc2
69508 builtin and then its argument prototype would still apply. */
69509 char $ac_func ();
69510 /* The GNU C library defines this for functions which it implements
69511 to always fail with ENOSYS. Some functions are actually named
69512 something starting with __ and the normal name is an alias. */
69513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69514 choke me
69515 #else
69516 char (*f) () = $ac_func;
69517 #endif
69518 #ifdef __cplusplus
69520 #endif
69523 main ()
69525 return f != $ac_func;
69527 return 0;
69529 _ACEOF
69530 rm -f conftest.$ac_objext conftest$ac_exeext
69531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69532 (eval $ac_link) 2>conftest.er1
69533 ac_status=$?
69534 grep -v '^ *+' conftest.er1 >conftest.err
69535 rm -f conftest.er1
69536 cat conftest.err >&5
69537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69538 (exit $ac_status); } &&
69539 { ac_try='test -z "$ac_c_werror_flag"
69540 || test ! -s conftest.err'
69541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69542 (eval $ac_try) 2>&5
69543 ac_status=$?
69544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69545 (exit $ac_status); }; } &&
69546 { ac_try='test -s conftest$ac_exeext'
69547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69548 (eval $ac_try) 2>&5
69549 ac_status=$?
69550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69551 (exit $ac_status); }; }; then
69552 eval "$as_ac_var=yes"
69553 else
69554 echo "$as_me: failed program was:" >&5
69555 sed 's/^/| /' conftest.$ac_ext >&5
69557 eval "$as_ac_var=no"
69559 rm -f conftest.err conftest.$ac_objext \
69560 conftest$ac_exeext conftest.$ac_ext
69562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69564 if test `eval echo '${'$as_ac_var'}'` = yes; then
69565 cat >>confdefs.h <<_ACEOF
69566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69567 _ACEOF
69570 done
69580 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
69581 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
69582 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
69583 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
69584 echo $ECHO_N "(cached) $ECHO_C" >&6
69585 else
69589 ac_ext=cc
69590 ac_cpp='$CXXCPP $CPPFLAGS'
69591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69595 cat >conftest.$ac_ext <<_ACEOF
69596 /* confdefs.h. */
69597 _ACEOF
69598 cat confdefs.h >>conftest.$ac_ext
69599 cat >>conftest.$ac_ext <<_ACEOF
69600 /* end confdefs.h. */
69601 #include <math.h>
69603 main ()
69605 hypotf(0, 0);
69607 return 0;
69609 _ACEOF
69610 rm -f conftest.$ac_objext
69611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69612 (eval $ac_compile) 2>conftest.er1
69613 ac_status=$?
69614 grep -v '^ *+' conftest.er1 >conftest.err
69615 rm -f conftest.er1
69616 cat conftest.err >&5
69617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69618 (exit $ac_status); } &&
69619 { ac_try='test -z "$ac_cxx_werror_flag"
69620 || test ! -s conftest.err'
69621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69622 (eval $ac_try) 2>&5
69623 ac_status=$?
69624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69625 (exit $ac_status); }; } &&
69626 { ac_try='test -s conftest.$ac_objext'
69627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69628 (eval $ac_try) 2>&5
69629 ac_status=$?
69630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69631 (exit $ac_status); }; }; then
69632 glibcxx_cv_func_hypotf_use=yes
69633 else
69634 echo "$as_me: failed program was:" >&5
69635 sed 's/^/| /' conftest.$ac_ext >&5
69637 glibcxx_cv_func_hypotf_use=no
69639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69640 ac_ext=c
69641 ac_cpp='$CPP $CPPFLAGS'
69642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69650 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
69651 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
69653 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
69655 for ac_func in hypotf
69657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69658 echo "$as_me:$LINENO: checking for $ac_func" >&5
69659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69660 if eval "test \"\${$as_ac_var+set}\" = set"; then
69661 echo $ECHO_N "(cached) $ECHO_C" >&6
69662 else
69663 if test x$gcc_no_link = xyes; then
69664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69666 { (exit 1); exit 1; }; }
69668 cat >conftest.$ac_ext <<_ACEOF
69669 /* confdefs.h. */
69670 _ACEOF
69671 cat confdefs.h >>conftest.$ac_ext
69672 cat >>conftest.$ac_ext <<_ACEOF
69673 /* end confdefs.h. */
69674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69676 #define $ac_func innocuous_$ac_func
69678 /* System header to define __stub macros and hopefully few prototypes,
69679 which can conflict with char $ac_func (); below.
69680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69681 <limits.h> exists even on freestanding compilers. */
69683 #ifdef __STDC__
69684 # include <limits.h>
69685 #else
69686 # include <assert.h>
69687 #endif
69689 #undef $ac_func
69691 /* Override any gcc2 internal prototype to avoid an error. */
69692 #ifdef __cplusplus
69693 extern "C"
69695 #endif
69696 /* We use char because int might match the return type of a gcc2
69697 builtin and then its argument prototype would still apply. */
69698 char $ac_func ();
69699 /* The GNU C library defines this for functions which it implements
69700 to always fail with ENOSYS. Some functions are actually named
69701 something starting with __ and the normal name is an alias. */
69702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69703 choke me
69704 #else
69705 char (*f) () = $ac_func;
69706 #endif
69707 #ifdef __cplusplus
69709 #endif
69712 main ()
69714 return f != $ac_func;
69716 return 0;
69718 _ACEOF
69719 rm -f conftest.$ac_objext conftest$ac_exeext
69720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69721 (eval $ac_link) 2>conftest.er1
69722 ac_status=$?
69723 grep -v '^ *+' conftest.er1 >conftest.err
69724 rm -f conftest.er1
69725 cat conftest.err >&5
69726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69727 (exit $ac_status); } &&
69728 { ac_try='test -z "$ac_c_werror_flag"
69729 || test ! -s conftest.err'
69730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69731 (eval $ac_try) 2>&5
69732 ac_status=$?
69733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69734 (exit $ac_status); }; } &&
69735 { ac_try='test -s conftest$ac_exeext'
69736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69737 (eval $ac_try) 2>&5
69738 ac_status=$?
69739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69740 (exit $ac_status); }; }; then
69741 eval "$as_ac_var=yes"
69742 else
69743 echo "$as_me: failed program was:" >&5
69744 sed 's/^/| /' conftest.$ac_ext >&5
69746 eval "$as_ac_var=no"
69748 rm -f conftest.err conftest.$ac_objext \
69749 conftest$ac_exeext conftest.$ac_ext
69751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69753 if test `eval echo '${'$as_ac_var'}'` = yes; then
69754 cat >>confdefs.h <<_ACEOF
69755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69756 _ACEOF
69759 done
69761 else
69763 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
69764 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
69765 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
69766 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
69767 echo $ECHO_N "(cached) $ECHO_C" >&6
69768 else
69772 ac_ext=cc
69773 ac_cpp='$CXXCPP $CPPFLAGS'
69774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69778 cat >conftest.$ac_ext <<_ACEOF
69779 /* confdefs.h. */
69780 _ACEOF
69781 cat confdefs.h >>conftest.$ac_ext
69782 cat >>conftest.$ac_ext <<_ACEOF
69783 /* end confdefs.h. */
69784 #include <math.h>
69786 main ()
69788 _hypotf(0, 0);
69790 return 0;
69792 _ACEOF
69793 rm -f conftest.$ac_objext
69794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69795 (eval $ac_compile) 2>conftest.er1
69796 ac_status=$?
69797 grep -v '^ *+' conftest.er1 >conftest.err
69798 rm -f conftest.er1
69799 cat conftest.err >&5
69800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69801 (exit $ac_status); } &&
69802 { ac_try='test -z "$ac_cxx_werror_flag"
69803 || test ! -s conftest.err'
69804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69805 (eval $ac_try) 2>&5
69806 ac_status=$?
69807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69808 (exit $ac_status); }; } &&
69809 { ac_try='test -s conftest.$ac_objext'
69810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69811 (eval $ac_try) 2>&5
69812 ac_status=$?
69813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69814 (exit $ac_status); }; }; then
69815 glibcxx_cv_func__hypotf_use=yes
69816 else
69817 echo "$as_me: failed program was:" >&5
69818 sed 's/^/| /' conftest.$ac_ext >&5
69820 glibcxx_cv_func__hypotf_use=no
69822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69823 ac_ext=c
69824 ac_cpp='$CPP $CPPFLAGS'
69825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69833 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
69834 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
69836 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
69838 for ac_func in _hypotf
69840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69841 echo "$as_me:$LINENO: checking for $ac_func" >&5
69842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69843 if eval "test \"\${$as_ac_var+set}\" = set"; then
69844 echo $ECHO_N "(cached) $ECHO_C" >&6
69845 else
69846 if test x$gcc_no_link = xyes; then
69847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69849 { (exit 1); exit 1; }; }
69851 cat >conftest.$ac_ext <<_ACEOF
69852 /* confdefs.h. */
69853 _ACEOF
69854 cat confdefs.h >>conftest.$ac_ext
69855 cat >>conftest.$ac_ext <<_ACEOF
69856 /* end confdefs.h. */
69857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69859 #define $ac_func innocuous_$ac_func
69861 /* System header to define __stub macros and hopefully few prototypes,
69862 which can conflict with char $ac_func (); below.
69863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69864 <limits.h> exists even on freestanding compilers. */
69866 #ifdef __STDC__
69867 # include <limits.h>
69868 #else
69869 # include <assert.h>
69870 #endif
69872 #undef $ac_func
69874 /* Override any gcc2 internal prototype to avoid an error. */
69875 #ifdef __cplusplus
69876 extern "C"
69878 #endif
69879 /* We use char because int might match the return type of a gcc2
69880 builtin and then its argument prototype would still apply. */
69881 char $ac_func ();
69882 /* The GNU C library defines this for functions which it implements
69883 to always fail with ENOSYS. Some functions are actually named
69884 something starting with __ and the normal name is an alias. */
69885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69886 choke me
69887 #else
69888 char (*f) () = $ac_func;
69889 #endif
69890 #ifdef __cplusplus
69892 #endif
69895 main ()
69897 return f != $ac_func;
69899 return 0;
69901 _ACEOF
69902 rm -f conftest.$ac_objext conftest$ac_exeext
69903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69904 (eval $ac_link) 2>conftest.er1
69905 ac_status=$?
69906 grep -v '^ *+' conftest.er1 >conftest.err
69907 rm -f conftest.er1
69908 cat conftest.err >&5
69909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69910 (exit $ac_status); } &&
69911 { ac_try='test -z "$ac_c_werror_flag"
69912 || test ! -s conftest.err'
69913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69914 (eval $ac_try) 2>&5
69915 ac_status=$?
69916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69917 (exit $ac_status); }; } &&
69918 { ac_try='test -s conftest$ac_exeext'
69919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69920 (eval $ac_try) 2>&5
69921 ac_status=$?
69922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69923 (exit $ac_status); }; }; then
69924 eval "$as_ac_var=yes"
69925 else
69926 echo "$as_me: failed program was:" >&5
69927 sed 's/^/| /' conftest.$ac_ext >&5
69929 eval "$as_ac_var=no"
69931 rm -f conftest.err conftest.$ac_objext \
69932 conftest$ac_exeext conftest.$ac_ext
69934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69936 if test `eval echo '${'$as_ac_var'}'` = yes; then
69937 cat >>confdefs.h <<_ACEOF
69938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69939 _ACEOF
69942 done
69952 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
69953 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
69954 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
69955 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
69956 echo $ECHO_N "(cached) $ECHO_C" >&6
69957 else
69961 ac_ext=cc
69962 ac_cpp='$CXXCPP $CPPFLAGS'
69963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69967 cat >conftest.$ac_ext <<_ACEOF
69968 /* confdefs.h. */
69969 _ACEOF
69970 cat confdefs.h >>conftest.$ac_ext
69971 cat >>conftest.$ac_ext <<_ACEOF
69972 /* end confdefs.h. */
69973 #include <math.h>
69975 main ()
69977 ldexpf(0, 0);
69979 return 0;
69981 _ACEOF
69982 rm -f conftest.$ac_objext
69983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69984 (eval $ac_compile) 2>conftest.er1
69985 ac_status=$?
69986 grep -v '^ *+' conftest.er1 >conftest.err
69987 rm -f conftest.er1
69988 cat conftest.err >&5
69989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69990 (exit $ac_status); } &&
69991 { ac_try='test -z "$ac_cxx_werror_flag"
69992 || test ! -s conftest.err'
69993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69994 (eval $ac_try) 2>&5
69995 ac_status=$?
69996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69997 (exit $ac_status); }; } &&
69998 { ac_try='test -s conftest.$ac_objext'
69999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70000 (eval $ac_try) 2>&5
70001 ac_status=$?
70002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70003 (exit $ac_status); }; }; then
70004 glibcxx_cv_func_ldexpf_use=yes
70005 else
70006 echo "$as_me: failed program was:" >&5
70007 sed 's/^/| /' conftest.$ac_ext >&5
70009 glibcxx_cv_func_ldexpf_use=no
70011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70012 ac_ext=c
70013 ac_cpp='$CPP $CPPFLAGS'
70014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70022 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
70023 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
70025 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
70027 for ac_func in ldexpf
70029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70030 echo "$as_me:$LINENO: checking for $ac_func" >&5
70031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70032 if eval "test \"\${$as_ac_var+set}\" = set"; then
70033 echo $ECHO_N "(cached) $ECHO_C" >&6
70034 else
70035 if test x$gcc_no_link = xyes; then
70036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70038 { (exit 1); exit 1; }; }
70040 cat >conftest.$ac_ext <<_ACEOF
70041 /* confdefs.h. */
70042 _ACEOF
70043 cat confdefs.h >>conftest.$ac_ext
70044 cat >>conftest.$ac_ext <<_ACEOF
70045 /* end confdefs.h. */
70046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70048 #define $ac_func innocuous_$ac_func
70050 /* System header to define __stub macros and hopefully few prototypes,
70051 which can conflict with char $ac_func (); below.
70052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70053 <limits.h> exists even on freestanding compilers. */
70055 #ifdef __STDC__
70056 # include <limits.h>
70057 #else
70058 # include <assert.h>
70059 #endif
70061 #undef $ac_func
70063 /* Override any gcc2 internal prototype to avoid an error. */
70064 #ifdef __cplusplus
70065 extern "C"
70067 #endif
70068 /* We use char because int might match the return type of a gcc2
70069 builtin and then its argument prototype would still apply. */
70070 char $ac_func ();
70071 /* The GNU C library defines this for functions which it implements
70072 to always fail with ENOSYS. Some functions are actually named
70073 something starting with __ and the normal name is an alias. */
70074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70075 choke me
70076 #else
70077 char (*f) () = $ac_func;
70078 #endif
70079 #ifdef __cplusplus
70081 #endif
70084 main ()
70086 return f != $ac_func;
70088 return 0;
70090 _ACEOF
70091 rm -f conftest.$ac_objext conftest$ac_exeext
70092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70093 (eval $ac_link) 2>conftest.er1
70094 ac_status=$?
70095 grep -v '^ *+' conftest.er1 >conftest.err
70096 rm -f conftest.er1
70097 cat conftest.err >&5
70098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70099 (exit $ac_status); } &&
70100 { ac_try='test -z "$ac_c_werror_flag"
70101 || test ! -s conftest.err'
70102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70103 (eval $ac_try) 2>&5
70104 ac_status=$?
70105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70106 (exit $ac_status); }; } &&
70107 { ac_try='test -s conftest$ac_exeext'
70108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70109 (eval $ac_try) 2>&5
70110 ac_status=$?
70111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70112 (exit $ac_status); }; }; then
70113 eval "$as_ac_var=yes"
70114 else
70115 echo "$as_me: failed program was:" >&5
70116 sed 's/^/| /' conftest.$ac_ext >&5
70118 eval "$as_ac_var=no"
70120 rm -f conftest.err conftest.$ac_objext \
70121 conftest$ac_exeext conftest.$ac_ext
70123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70125 if test `eval echo '${'$as_ac_var'}'` = yes; then
70126 cat >>confdefs.h <<_ACEOF
70127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70128 _ACEOF
70131 done
70133 else
70135 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
70136 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
70137 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
70138 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
70139 echo $ECHO_N "(cached) $ECHO_C" >&6
70140 else
70144 ac_ext=cc
70145 ac_cpp='$CXXCPP $CPPFLAGS'
70146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70150 cat >conftest.$ac_ext <<_ACEOF
70151 /* confdefs.h. */
70152 _ACEOF
70153 cat confdefs.h >>conftest.$ac_ext
70154 cat >>conftest.$ac_ext <<_ACEOF
70155 /* end confdefs.h. */
70156 #include <math.h>
70158 main ()
70160 _ldexpf(0, 0);
70162 return 0;
70164 _ACEOF
70165 rm -f conftest.$ac_objext
70166 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70167 (eval $ac_compile) 2>conftest.er1
70168 ac_status=$?
70169 grep -v '^ *+' conftest.er1 >conftest.err
70170 rm -f conftest.er1
70171 cat conftest.err >&5
70172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70173 (exit $ac_status); } &&
70174 { ac_try='test -z "$ac_cxx_werror_flag"
70175 || test ! -s conftest.err'
70176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70177 (eval $ac_try) 2>&5
70178 ac_status=$?
70179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70180 (exit $ac_status); }; } &&
70181 { ac_try='test -s conftest.$ac_objext'
70182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70183 (eval $ac_try) 2>&5
70184 ac_status=$?
70185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70186 (exit $ac_status); }; }; then
70187 glibcxx_cv_func__ldexpf_use=yes
70188 else
70189 echo "$as_me: failed program was:" >&5
70190 sed 's/^/| /' conftest.$ac_ext >&5
70192 glibcxx_cv_func__ldexpf_use=no
70194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70195 ac_ext=c
70196 ac_cpp='$CPP $CPPFLAGS'
70197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70205 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
70206 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
70208 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
70210 for ac_func in _ldexpf
70212 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70213 echo "$as_me:$LINENO: checking for $ac_func" >&5
70214 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70215 if eval "test \"\${$as_ac_var+set}\" = set"; then
70216 echo $ECHO_N "(cached) $ECHO_C" >&6
70217 else
70218 if test x$gcc_no_link = xyes; then
70219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70221 { (exit 1); exit 1; }; }
70223 cat >conftest.$ac_ext <<_ACEOF
70224 /* confdefs.h. */
70225 _ACEOF
70226 cat confdefs.h >>conftest.$ac_ext
70227 cat >>conftest.$ac_ext <<_ACEOF
70228 /* end confdefs.h. */
70229 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70230 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70231 #define $ac_func innocuous_$ac_func
70233 /* System header to define __stub macros and hopefully few prototypes,
70234 which can conflict with char $ac_func (); below.
70235 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70236 <limits.h> exists even on freestanding compilers. */
70238 #ifdef __STDC__
70239 # include <limits.h>
70240 #else
70241 # include <assert.h>
70242 #endif
70244 #undef $ac_func
70246 /* Override any gcc2 internal prototype to avoid an error. */
70247 #ifdef __cplusplus
70248 extern "C"
70250 #endif
70251 /* We use char because int might match the return type of a gcc2
70252 builtin and then its argument prototype would still apply. */
70253 char $ac_func ();
70254 /* The GNU C library defines this for functions which it implements
70255 to always fail with ENOSYS. Some functions are actually named
70256 something starting with __ and the normal name is an alias. */
70257 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70258 choke me
70259 #else
70260 char (*f) () = $ac_func;
70261 #endif
70262 #ifdef __cplusplus
70264 #endif
70267 main ()
70269 return f != $ac_func;
70271 return 0;
70273 _ACEOF
70274 rm -f conftest.$ac_objext conftest$ac_exeext
70275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70276 (eval $ac_link) 2>conftest.er1
70277 ac_status=$?
70278 grep -v '^ *+' conftest.er1 >conftest.err
70279 rm -f conftest.er1
70280 cat conftest.err >&5
70281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70282 (exit $ac_status); } &&
70283 { ac_try='test -z "$ac_c_werror_flag"
70284 || test ! -s conftest.err'
70285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70286 (eval $ac_try) 2>&5
70287 ac_status=$?
70288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70289 (exit $ac_status); }; } &&
70290 { ac_try='test -s conftest$ac_exeext'
70291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70292 (eval $ac_try) 2>&5
70293 ac_status=$?
70294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70295 (exit $ac_status); }; }; then
70296 eval "$as_ac_var=yes"
70297 else
70298 echo "$as_me: failed program was:" >&5
70299 sed 's/^/| /' conftest.$ac_ext >&5
70301 eval "$as_ac_var=no"
70303 rm -f conftest.err conftest.$ac_objext \
70304 conftest$ac_exeext conftest.$ac_ext
70306 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70307 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70308 if test `eval echo '${'$as_ac_var'}'` = yes; then
70309 cat >>confdefs.h <<_ACEOF
70310 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70311 _ACEOF
70314 done
70324 echo "$as_me:$LINENO: checking for logf declaration" >&5
70325 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
70326 if test x${glibcxx_cv_func_logf_use+set} != xset; then
70327 if test "${glibcxx_cv_func_logf_use+set}" = set; then
70328 echo $ECHO_N "(cached) $ECHO_C" >&6
70329 else
70333 ac_ext=cc
70334 ac_cpp='$CXXCPP $CPPFLAGS'
70335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70339 cat >conftest.$ac_ext <<_ACEOF
70340 /* confdefs.h. */
70341 _ACEOF
70342 cat confdefs.h >>conftest.$ac_ext
70343 cat >>conftest.$ac_ext <<_ACEOF
70344 /* end confdefs.h. */
70345 #include <math.h>
70346 #ifdef HAVE_IEEEFP_H
70347 #include <ieeefp.h>
70348 #endif
70351 main ()
70353 logf(0);
70355 return 0;
70357 _ACEOF
70358 rm -f conftest.$ac_objext
70359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70360 (eval $ac_compile) 2>conftest.er1
70361 ac_status=$?
70362 grep -v '^ *+' conftest.er1 >conftest.err
70363 rm -f conftest.er1
70364 cat conftest.err >&5
70365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70366 (exit $ac_status); } &&
70367 { ac_try='test -z "$ac_cxx_werror_flag"
70368 || test ! -s conftest.err'
70369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70370 (eval $ac_try) 2>&5
70371 ac_status=$?
70372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70373 (exit $ac_status); }; } &&
70374 { ac_try='test -s conftest.$ac_objext'
70375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70376 (eval $ac_try) 2>&5
70377 ac_status=$?
70378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70379 (exit $ac_status); }; }; then
70380 glibcxx_cv_func_logf_use=yes
70381 else
70382 echo "$as_me: failed program was:" >&5
70383 sed 's/^/| /' conftest.$ac_ext >&5
70385 glibcxx_cv_func_logf_use=no
70387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70388 ac_ext=c
70389 ac_cpp='$CPP $CPPFLAGS'
70390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70398 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
70399 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
70401 if test x$glibcxx_cv_func_logf_use = x"yes"; then
70403 for ac_func in logf
70405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70406 echo "$as_me:$LINENO: checking for $ac_func" >&5
70407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70408 if eval "test \"\${$as_ac_var+set}\" = set"; then
70409 echo $ECHO_N "(cached) $ECHO_C" >&6
70410 else
70411 if test x$gcc_no_link = xyes; then
70412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70414 { (exit 1); exit 1; }; }
70416 cat >conftest.$ac_ext <<_ACEOF
70417 /* confdefs.h. */
70418 _ACEOF
70419 cat confdefs.h >>conftest.$ac_ext
70420 cat >>conftest.$ac_ext <<_ACEOF
70421 /* end confdefs.h. */
70422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70424 #define $ac_func innocuous_$ac_func
70426 /* System header to define __stub macros and hopefully few prototypes,
70427 which can conflict with char $ac_func (); below.
70428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70429 <limits.h> exists even on freestanding compilers. */
70431 #ifdef __STDC__
70432 # include <limits.h>
70433 #else
70434 # include <assert.h>
70435 #endif
70437 #undef $ac_func
70439 /* Override any gcc2 internal prototype to avoid an error. */
70440 #ifdef __cplusplus
70441 extern "C"
70443 #endif
70444 /* We use char because int might match the return type of a gcc2
70445 builtin and then its argument prototype would still apply. */
70446 char $ac_func ();
70447 /* The GNU C library defines this for functions which it implements
70448 to always fail with ENOSYS. Some functions are actually named
70449 something starting with __ and the normal name is an alias. */
70450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70451 choke me
70452 #else
70453 char (*f) () = $ac_func;
70454 #endif
70455 #ifdef __cplusplus
70457 #endif
70460 main ()
70462 return f != $ac_func;
70464 return 0;
70466 _ACEOF
70467 rm -f conftest.$ac_objext conftest$ac_exeext
70468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70469 (eval $ac_link) 2>conftest.er1
70470 ac_status=$?
70471 grep -v '^ *+' conftest.er1 >conftest.err
70472 rm -f conftest.er1
70473 cat conftest.err >&5
70474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70475 (exit $ac_status); } &&
70476 { ac_try='test -z "$ac_c_werror_flag"
70477 || test ! -s conftest.err'
70478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70479 (eval $ac_try) 2>&5
70480 ac_status=$?
70481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70482 (exit $ac_status); }; } &&
70483 { ac_try='test -s conftest$ac_exeext'
70484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70485 (eval $ac_try) 2>&5
70486 ac_status=$?
70487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70488 (exit $ac_status); }; }; then
70489 eval "$as_ac_var=yes"
70490 else
70491 echo "$as_me: failed program was:" >&5
70492 sed 's/^/| /' conftest.$ac_ext >&5
70494 eval "$as_ac_var=no"
70496 rm -f conftest.err conftest.$ac_objext \
70497 conftest$ac_exeext conftest.$ac_ext
70499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70501 if test `eval echo '${'$as_ac_var'}'` = yes; then
70502 cat >>confdefs.h <<_ACEOF
70503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70504 _ACEOF
70507 done
70509 else
70511 echo "$as_me:$LINENO: checking for _logf declaration" >&5
70512 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
70513 if test x${glibcxx_cv_func__logf_use+set} != xset; then
70514 if test "${glibcxx_cv_func__logf_use+set}" = set; then
70515 echo $ECHO_N "(cached) $ECHO_C" >&6
70516 else
70520 ac_ext=cc
70521 ac_cpp='$CXXCPP $CPPFLAGS'
70522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70526 cat >conftest.$ac_ext <<_ACEOF
70527 /* confdefs.h. */
70528 _ACEOF
70529 cat confdefs.h >>conftest.$ac_ext
70530 cat >>conftest.$ac_ext <<_ACEOF
70531 /* end confdefs.h. */
70532 #include <math.h>
70533 #ifdef HAVE_IEEEFP_H
70534 #include <ieeefp.h>
70535 #endif
70538 main ()
70540 _logf(0);
70542 return 0;
70544 _ACEOF
70545 rm -f conftest.$ac_objext
70546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70547 (eval $ac_compile) 2>conftest.er1
70548 ac_status=$?
70549 grep -v '^ *+' conftest.er1 >conftest.err
70550 rm -f conftest.er1
70551 cat conftest.err >&5
70552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70553 (exit $ac_status); } &&
70554 { ac_try='test -z "$ac_cxx_werror_flag"
70555 || test ! -s conftest.err'
70556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70557 (eval $ac_try) 2>&5
70558 ac_status=$?
70559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70560 (exit $ac_status); }; } &&
70561 { ac_try='test -s conftest.$ac_objext'
70562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70563 (eval $ac_try) 2>&5
70564 ac_status=$?
70565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70566 (exit $ac_status); }; }; then
70567 glibcxx_cv_func__logf_use=yes
70568 else
70569 echo "$as_me: failed program was:" >&5
70570 sed 's/^/| /' conftest.$ac_ext >&5
70572 glibcxx_cv_func__logf_use=no
70574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70575 ac_ext=c
70576 ac_cpp='$CPP $CPPFLAGS'
70577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70585 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
70586 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
70588 if test x$glibcxx_cv_func__logf_use = x"yes"; then
70590 for ac_func in _logf
70592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70593 echo "$as_me:$LINENO: checking for $ac_func" >&5
70594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70595 if eval "test \"\${$as_ac_var+set}\" = set"; then
70596 echo $ECHO_N "(cached) $ECHO_C" >&6
70597 else
70598 if test x$gcc_no_link = xyes; then
70599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70601 { (exit 1); exit 1; }; }
70603 cat >conftest.$ac_ext <<_ACEOF
70604 /* confdefs.h. */
70605 _ACEOF
70606 cat confdefs.h >>conftest.$ac_ext
70607 cat >>conftest.$ac_ext <<_ACEOF
70608 /* end confdefs.h. */
70609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70611 #define $ac_func innocuous_$ac_func
70613 /* System header to define __stub macros and hopefully few prototypes,
70614 which can conflict with char $ac_func (); below.
70615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70616 <limits.h> exists even on freestanding compilers. */
70618 #ifdef __STDC__
70619 # include <limits.h>
70620 #else
70621 # include <assert.h>
70622 #endif
70624 #undef $ac_func
70626 /* Override any gcc2 internal prototype to avoid an error. */
70627 #ifdef __cplusplus
70628 extern "C"
70630 #endif
70631 /* We use char because int might match the return type of a gcc2
70632 builtin and then its argument prototype would still apply. */
70633 char $ac_func ();
70634 /* The GNU C library defines this for functions which it implements
70635 to always fail with ENOSYS. Some functions are actually named
70636 something starting with __ and the normal name is an alias. */
70637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70638 choke me
70639 #else
70640 char (*f) () = $ac_func;
70641 #endif
70642 #ifdef __cplusplus
70644 #endif
70647 main ()
70649 return f != $ac_func;
70651 return 0;
70653 _ACEOF
70654 rm -f conftest.$ac_objext conftest$ac_exeext
70655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70656 (eval $ac_link) 2>conftest.er1
70657 ac_status=$?
70658 grep -v '^ *+' conftest.er1 >conftest.err
70659 rm -f conftest.er1
70660 cat conftest.err >&5
70661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70662 (exit $ac_status); } &&
70663 { ac_try='test -z "$ac_c_werror_flag"
70664 || test ! -s conftest.err'
70665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70666 (eval $ac_try) 2>&5
70667 ac_status=$?
70668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70669 (exit $ac_status); }; } &&
70670 { ac_try='test -s conftest$ac_exeext'
70671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70672 (eval $ac_try) 2>&5
70673 ac_status=$?
70674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70675 (exit $ac_status); }; }; then
70676 eval "$as_ac_var=yes"
70677 else
70678 echo "$as_me: failed program was:" >&5
70679 sed 's/^/| /' conftest.$ac_ext >&5
70681 eval "$as_ac_var=no"
70683 rm -f conftest.err conftest.$ac_objext \
70684 conftest$ac_exeext conftest.$ac_ext
70686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70688 if test `eval echo '${'$as_ac_var'}'` = yes; then
70689 cat >>confdefs.h <<_ACEOF
70690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70691 _ACEOF
70694 done
70704 echo "$as_me:$LINENO: checking for log10f declaration" >&5
70705 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
70706 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
70707 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
70708 echo $ECHO_N "(cached) $ECHO_C" >&6
70709 else
70713 ac_ext=cc
70714 ac_cpp='$CXXCPP $CPPFLAGS'
70715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70719 cat >conftest.$ac_ext <<_ACEOF
70720 /* confdefs.h. */
70721 _ACEOF
70722 cat confdefs.h >>conftest.$ac_ext
70723 cat >>conftest.$ac_ext <<_ACEOF
70724 /* end confdefs.h. */
70725 #include <math.h>
70726 #ifdef HAVE_IEEEFP_H
70727 #include <ieeefp.h>
70728 #endif
70731 main ()
70733 log10f(0);
70735 return 0;
70737 _ACEOF
70738 rm -f conftest.$ac_objext
70739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70740 (eval $ac_compile) 2>conftest.er1
70741 ac_status=$?
70742 grep -v '^ *+' conftest.er1 >conftest.err
70743 rm -f conftest.er1
70744 cat conftest.err >&5
70745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70746 (exit $ac_status); } &&
70747 { ac_try='test -z "$ac_cxx_werror_flag"
70748 || test ! -s conftest.err'
70749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70750 (eval $ac_try) 2>&5
70751 ac_status=$?
70752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70753 (exit $ac_status); }; } &&
70754 { ac_try='test -s conftest.$ac_objext'
70755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70756 (eval $ac_try) 2>&5
70757 ac_status=$?
70758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70759 (exit $ac_status); }; }; then
70760 glibcxx_cv_func_log10f_use=yes
70761 else
70762 echo "$as_me: failed program was:" >&5
70763 sed 's/^/| /' conftest.$ac_ext >&5
70765 glibcxx_cv_func_log10f_use=no
70767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70768 ac_ext=c
70769 ac_cpp='$CPP $CPPFLAGS'
70770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70778 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
70779 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
70781 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
70783 for ac_func in log10f
70785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70786 echo "$as_me:$LINENO: checking for $ac_func" >&5
70787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70788 if eval "test \"\${$as_ac_var+set}\" = set"; then
70789 echo $ECHO_N "(cached) $ECHO_C" >&6
70790 else
70791 if test x$gcc_no_link = xyes; then
70792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70794 { (exit 1); exit 1; }; }
70796 cat >conftest.$ac_ext <<_ACEOF
70797 /* confdefs.h. */
70798 _ACEOF
70799 cat confdefs.h >>conftest.$ac_ext
70800 cat >>conftest.$ac_ext <<_ACEOF
70801 /* end confdefs.h. */
70802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70804 #define $ac_func innocuous_$ac_func
70806 /* System header to define __stub macros and hopefully few prototypes,
70807 which can conflict with char $ac_func (); below.
70808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70809 <limits.h> exists even on freestanding compilers. */
70811 #ifdef __STDC__
70812 # include <limits.h>
70813 #else
70814 # include <assert.h>
70815 #endif
70817 #undef $ac_func
70819 /* Override any gcc2 internal prototype to avoid an error. */
70820 #ifdef __cplusplus
70821 extern "C"
70823 #endif
70824 /* We use char because int might match the return type of a gcc2
70825 builtin and then its argument prototype would still apply. */
70826 char $ac_func ();
70827 /* The GNU C library defines this for functions which it implements
70828 to always fail with ENOSYS. Some functions are actually named
70829 something starting with __ and the normal name is an alias. */
70830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70831 choke me
70832 #else
70833 char (*f) () = $ac_func;
70834 #endif
70835 #ifdef __cplusplus
70837 #endif
70840 main ()
70842 return f != $ac_func;
70844 return 0;
70846 _ACEOF
70847 rm -f conftest.$ac_objext conftest$ac_exeext
70848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70849 (eval $ac_link) 2>conftest.er1
70850 ac_status=$?
70851 grep -v '^ *+' conftest.er1 >conftest.err
70852 rm -f conftest.er1
70853 cat conftest.err >&5
70854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70855 (exit $ac_status); } &&
70856 { ac_try='test -z "$ac_c_werror_flag"
70857 || test ! -s conftest.err'
70858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70859 (eval $ac_try) 2>&5
70860 ac_status=$?
70861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70862 (exit $ac_status); }; } &&
70863 { ac_try='test -s conftest$ac_exeext'
70864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70865 (eval $ac_try) 2>&5
70866 ac_status=$?
70867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70868 (exit $ac_status); }; }; then
70869 eval "$as_ac_var=yes"
70870 else
70871 echo "$as_me: failed program was:" >&5
70872 sed 's/^/| /' conftest.$ac_ext >&5
70874 eval "$as_ac_var=no"
70876 rm -f conftest.err conftest.$ac_objext \
70877 conftest$ac_exeext conftest.$ac_ext
70879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70881 if test `eval echo '${'$as_ac_var'}'` = yes; then
70882 cat >>confdefs.h <<_ACEOF
70883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70884 _ACEOF
70887 done
70889 else
70891 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
70892 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
70893 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
70894 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
70895 echo $ECHO_N "(cached) $ECHO_C" >&6
70896 else
70900 ac_ext=cc
70901 ac_cpp='$CXXCPP $CPPFLAGS'
70902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70906 cat >conftest.$ac_ext <<_ACEOF
70907 /* confdefs.h. */
70908 _ACEOF
70909 cat confdefs.h >>conftest.$ac_ext
70910 cat >>conftest.$ac_ext <<_ACEOF
70911 /* end confdefs.h. */
70912 #include <math.h>
70913 #ifdef HAVE_IEEEFP_H
70914 #include <ieeefp.h>
70915 #endif
70918 main ()
70920 _log10f(0);
70922 return 0;
70924 _ACEOF
70925 rm -f conftest.$ac_objext
70926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70927 (eval $ac_compile) 2>conftest.er1
70928 ac_status=$?
70929 grep -v '^ *+' conftest.er1 >conftest.err
70930 rm -f conftest.er1
70931 cat conftest.err >&5
70932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70933 (exit $ac_status); } &&
70934 { ac_try='test -z "$ac_cxx_werror_flag"
70935 || test ! -s conftest.err'
70936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70937 (eval $ac_try) 2>&5
70938 ac_status=$?
70939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70940 (exit $ac_status); }; } &&
70941 { ac_try='test -s conftest.$ac_objext'
70942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70943 (eval $ac_try) 2>&5
70944 ac_status=$?
70945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70946 (exit $ac_status); }; }; then
70947 glibcxx_cv_func__log10f_use=yes
70948 else
70949 echo "$as_me: failed program was:" >&5
70950 sed 's/^/| /' conftest.$ac_ext >&5
70952 glibcxx_cv_func__log10f_use=no
70954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70955 ac_ext=c
70956 ac_cpp='$CPP $CPPFLAGS'
70957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70965 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
70966 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
70968 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
70970 for ac_func in _log10f
70972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70973 echo "$as_me:$LINENO: checking for $ac_func" >&5
70974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70975 if eval "test \"\${$as_ac_var+set}\" = set"; then
70976 echo $ECHO_N "(cached) $ECHO_C" >&6
70977 else
70978 if test x$gcc_no_link = xyes; then
70979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70981 { (exit 1); exit 1; }; }
70983 cat >conftest.$ac_ext <<_ACEOF
70984 /* confdefs.h. */
70985 _ACEOF
70986 cat confdefs.h >>conftest.$ac_ext
70987 cat >>conftest.$ac_ext <<_ACEOF
70988 /* end confdefs.h. */
70989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70991 #define $ac_func innocuous_$ac_func
70993 /* System header to define __stub macros and hopefully few prototypes,
70994 which can conflict with char $ac_func (); below.
70995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70996 <limits.h> exists even on freestanding compilers. */
70998 #ifdef __STDC__
70999 # include <limits.h>
71000 #else
71001 # include <assert.h>
71002 #endif
71004 #undef $ac_func
71006 /* Override any gcc2 internal prototype to avoid an error. */
71007 #ifdef __cplusplus
71008 extern "C"
71010 #endif
71011 /* We use char because int might match the return type of a gcc2
71012 builtin and then its argument prototype would still apply. */
71013 char $ac_func ();
71014 /* The GNU C library defines this for functions which it implements
71015 to always fail with ENOSYS. Some functions are actually named
71016 something starting with __ and the normal name is an alias. */
71017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71018 choke me
71019 #else
71020 char (*f) () = $ac_func;
71021 #endif
71022 #ifdef __cplusplus
71024 #endif
71027 main ()
71029 return f != $ac_func;
71031 return 0;
71033 _ACEOF
71034 rm -f conftest.$ac_objext conftest$ac_exeext
71035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71036 (eval $ac_link) 2>conftest.er1
71037 ac_status=$?
71038 grep -v '^ *+' conftest.er1 >conftest.err
71039 rm -f conftest.er1
71040 cat conftest.err >&5
71041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71042 (exit $ac_status); } &&
71043 { ac_try='test -z "$ac_c_werror_flag"
71044 || test ! -s conftest.err'
71045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71046 (eval $ac_try) 2>&5
71047 ac_status=$?
71048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71049 (exit $ac_status); }; } &&
71050 { ac_try='test -s conftest$ac_exeext'
71051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71052 (eval $ac_try) 2>&5
71053 ac_status=$?
71054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71055 (exit $ac_status); }; }; then
71056 eval "$as_ac_var=yes"
71057 else
71058 echo "$as_me: failed program was:" >&5
71059 sed 's/^/| /' conftest.$ac_ext >&5
71061 eval "$as_ac_var=no"
71063 rm -f conftest.err conftest.$ac_objext \
71064 conftest$ac_exeext conftest.$ac_ext
71066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71068 if test `eval echo '${'$as_ac_var'}'` = yes; then
71069 cat >>confdefs.h <<_ACEOF
71070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71071 _ACEOF
71074 done
71084 echo "$as_me:$LINENO: checking for modff declaration" >&5
71085 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
71086 if test x${glibcxx_cv_func_modff_use+set} != xset; then
71087 if test "${glibcxx_cv_func_modff_use+set}" = set; then
71088 echo $ECHO_N "(cached) $ECHO_C" >&6
71089 else
71093 ac_ext=cc
71094 ac_cpp='$CXXCPP $CPPFLAGS'
71095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71099 cat >conftest.$ac_ext <<_ACEOF
71100 /* confdefs.h. */
71101 _ACEOF
71102 cat confdefs.h >>conftest.$ac_ext
71103 cat >>conftest.$ac_ext <<_ACEOF
71104 /* end confdefs.h. */
71105 #include <math.h>
71107 main ()
71109 modff(0, 0);
71111 return 0;
71113 _ACEOF
71114 rm -f conftest.$ac_objext
71115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71116 (eval $ac_compile) 2>conftest.er1
71117 ac_status=$?
71118 grep -v '^ *+' conftest.er1 >conftest.err
71119 rm -f conftest.er1
71120 cat conftest.err >&5
71121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71122 (exit $ac_status); } &&
71123 { ac_try='test -z "$ac_cxx_werror_flag"
71124 || test ! -s conftest.err'
71125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71126 (eval $ac_try) 2>&5
71127 ac_status=$?
71128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71129 (exit $ac_status); }; } &&
71130 { ac_try='test -s conftest.$ac_objext'
71131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71132 (eval $ac_try) 2>&5
71133 ac_status=$?
71134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71135 (exit $ac_status); }; }; then
71136 glibcxx_cv_func_modff_use=yes
71137 else
71138 echo "$as_me: failed program was:" >&5
71139 sed 's/^/| /' conftest.$ac_ext >&5
71141 glibcxx_cv_func_modff_use=no
71143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71144 ac_ext=c
71145 ac_cpp='$CPP $CPPFLAGS'
71146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71154 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
71155 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
71157 if test x$glibcxx_cv_func_modff_use = x"yes"; then
71159 for ac_func in modff
71161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71162 echo "$as_me:$LINENO: checking for $ac_func" >&5
71163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71164 if eval "test \"\${$as_ac_var+set}\" = set"; then
71165 echo $ECHO_N "(cached) $ECHO_C" >&6
71166 else
71167 if test x$gcc_no_link = xyes; then
71168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71170 { (exit 1); exit 1; }; }
71172 cat >conftest.$ac_ext <<_ACEOF
71173 /* confdefs.h. */
71174 _ACEOF
71175 cat confdefs.h >>conftest.$ac_ext
71176 cat >>conftest.$ac_ext <<_ACEOF
71177 /* end confdefs.h. */
71178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71180 #define $ac_func innocuous_$ac_func
71182 /* System header to define __stub macros and hopefully few prototypes,
71183 which can conflict with char $ac_func (); below.
71184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71185 <limits.h> exists even on freestanding compilers. */
71187 #ifdef __STDC__
71188 # include <limits.h>
71189 #else
71190 # include <assert.h>
71191 #endif
71193 #undef $ac_func
71195 /* Override any gcc2 internal prototype to avoid an error. */
71196 #ifdef __cplusplus
71197 extern "C"
71199 #endif
71200 /* We use char because int might match the return type of a gcc2
71201 builtin and then its argument prototype would still apply. */
71202 char $ac_func ();
71203 /* The GNU C library defines this for functions which it implements
71204 to always fail with ENOSYS. Some functions are actually named
71205 something starting with __ and the normal name is an alias. */
71206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71207 choke me
71208 #else
71209 char (*f) () = $ac_func;
71210 #endif
71211 #ifdef __cplusplus
71213 #endif
71216 main ()
71218 return f != $ac_func;
71220 return 0;
71222 _ACEOF
71223 rm -f conftest.$ac_objext conftest$ac_exeext
71224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71225 (eval $ac_link) 2>conftest.er1
71226 ac_status=$?
71227 grep -v '^ *+' conftest.er1 >conftest.err
71228 rm -f conftest.er1
71229 cat conftest.err >&5
71230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71231 (exit $ac_status); } &&
71232 { ac_try='test -z "$ac_c_werror_flag"
71233 || test ! -s conftest.err'
71234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71235 (eval $ac_try) 2>&5
71236 ac_status=$?
71237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71238 (exit $ac_status); }; } &&
71239 { ac_try='test -s conftest$ac_exeext'
71240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71241 (eval $ac_try) 2>&5
71242 ac_status=$?
71243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71244 (exit $ac_status); }; }; then
71245 eval "$as_ac_var=yes"
71246 else
71247 echo "$as_me: failed program was:" >&5
71248 sed 's/^/| /' conftest.$ac_ext >&5
71250 eval "$as_ac_var=no"
71252 rm -f conftest.err conftest.$ac_objext \
71253 conftest$ac_exeext conftest.$ac_ext
71255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71257 if test `eval echo '${'$as_ac_var'}'` = yes; then
71258 cat >>confdefs.h <<_ACEOF
71259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71260 _ACEOF
71263 done
71265 else
71267 echo "$as_me:$LINENO: checking for _modff declaration" >&5
71268 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
71269 if test x${glibcxx_cv_func__modff_use+set} != xset; then
71270 if test "${glibcxx_cv_func__modff_use+set}" = set; then
71271 echo $ECHO_N "(cached) $ECHO_C" >&6
71272 else
71276 ac_ext=cc
71277 ac_cpp='$CXXCPP $CPPFLAGS'
71278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71282 cat >conftest.$ac_ext <<_ACEOF
71283 /* confdefs.h. */
71284 _ACEOF
71285 cat confdefs.h >>conftest.$ac_ext
71286 cat >>conftest.$ac_ext <<_ACEOF
71287 /* end confdefs.h. */
71288 #include <math.h>
71290 main ()
71292 _modff(0, 0);
71294 return 0;
71296 _ACEOF
71297 rm -f conftest.$ac_objext
71298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71299 (eval $ac_compile) 2>conftest.er1
71300 ac_status=$?
71301 grep -v '^ *+' conftest.er1 >conftest.err
71302 rm -f conftest.er1
71303 cat conftest.err >&5
71304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71305 (exit $ac_status); } &&
71306 { ac_try='test -z "$ac_cxx_werror_flag"
71307 || test ! -s conftest.err'
71308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71309 (eval $ac_try) 2>&5
71310 ac_status=$?
71311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71312 (exit $ac_status); }; } &&
71313 { ac_try='test -s conftest.$ac_objext'
71314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71315 (eval $ac_try) 2>&5
71316 ac_status=$?
71317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71318 (exit $ac_status); }; }; then
71319 glibcxx_cv_func__modff_use=yes
71320 else
71321 echo "$as_me: failed program was:" >&5
71322 sed 's/^/| /' conftest.$ac_ext >&5
71324 glibcxx_cv_func__modff_use=no
71326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71327 ac_ext=c
71328 ac_cpp='$CPP $CPPFLAGS'
71329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71337 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
71338 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
71340 if test x$glibcxx_cv_func__modff_use = x"yes"; then
71342 for ac_func in _modff
71344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71345 echo "$as_me:$LINENO: checking for $ac_func" >&5
71346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71347 if eval "test \"\${$as_ac_var+set}\" = set"; then
71348 echo $ECHO_N "(cached) $ECHO_C" >&6
71349 else
71350 if test x$gcc_no_link = xyes; then
71351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71353 { (exit 1); exit 1; }; }
71355 cat >conftest.$ac_ext <<_ACEOF
71356 /* confdefs.h. */
71357 _ACEOF
71358 cat confdefs.h >>conftest.$ac_ext
71359 cat >>conftest.$ac_ext <<_ACEOF
71360 /* end confdefs.h. */
71361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71363 #define $ac_func innocuous_$ac_func
71365 /* System header to define __stub macros and hopefully few prototypes,
71366 which can conflict with char $ac_func (); below.
71367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71368 <limits.h> exists even on freestanding compilers. */
71370 #ifdef __STDC__
71371 # include <limits.h>
71372 #else
71373 # include <assert.h>
71374 #endif
71376 #undef $ac_func
71378 /* Override any gcc2 internal prototype to avoid an error. */
71379 #ifdef __cplusplus
71380 extern "C"
71382 #endif
71383 /* We use char because int might match the return type of a gcc2
71384 builtin and then its argument prototype would still apply. */
71385 char $ac_func ();
71386 /* The GNU C library defines this for functions which it implements
71387 to always fail with ENOSYS. Some functions are actually named
71388 something starting with __ and the normal name is an alias. */
71389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71390 choke me
71391 #else
71392 char (*f) () = $ac_func;
71393 #endif
71394 #ifdef __cplusplus
71396 #endif
71399 main ()
71401 return f != $ac_func;
71403 return 0;
71405 _ACEOF
71406 rm -f conftest.$ac_objext conftest$ac_exeext
71407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71408 (eval $ac_link) 2>conftest.er1
71409 ac_status=$?
71410 grep -v '^ *+' conftest.er1 >conftest.err
71411 rm -f conftest.er1
71412 cat conftest.err >&5
71413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71414 (exit $ac_status); } &&
71415 { ac_try='test -z "$ac_c_werror_flag"
71416 || test ! -s conftest.err'
71417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71418 (eval $ac_try) 2>&5
71419 ac_status=$?
71420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71421 (exit $ac_status); }; } &&
71422 { ac_try='test -s conftest$ac_exeext'
71423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71424 (eval $ac_try) 2>&5
71425 ac_status=$?
71426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71427 (exit $ac_status); }; }; then
71428 eval "$as_ac_var=yes"
71429 else
71430 echo "$as_me: failed program was:" >&5
71431 sed 's/^/| /' conftest.$ac_ext >&5
71433 eval "$as_ac_var=no"
71435 rm -f conftest.err conftest.$ac_objext \
71436 conftest$ac_exeext conftest.$ac_ext
71438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71440 if test `eval echo '${'$as_ac_var'}'` = yes; then
71441 cat >>confdefs.h <<_ACEOF
71442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71443 _ACEOF
71446 done
71456 echo "$as_me:$LINENO: checking for modf declaration" >&5
71457 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
71458 if test x${glibcxx_cv_func_modf_use+set} != xset; then
71459 if test "${glibcxx_cv_func_modf_use+set}" = set; then
71460 echo $ECHO_N "(cached) $ECHO_C" >&6
71461 else
71465 ac_ext=cc
71466 ac_cpp='$CXXCPP $CPPFLAGS'
71467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71471 cat >conftest.$ac_ext <<_ACEOF
71472 /* confdefs.h. */
71473 _ACEOF
71474 cat confdefs.h >>conftest.$ac_ext
71475 cat >>conftest.$ac_ext <<_ACEOF
71476 /* end confdefs.h. */
71477 #include <math.h>
71479 main ()
71481 modf(0, 0);
71483 return 0;
71485 _ACEOF
71486 rm -f conftest.$ac_objext
71487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71488 (eval $ac_compile) 2>conftest.er1
71489 ac_status=$?
71490 grep -v '^ *+' conftest.er1 >conftest.err
71491 rm -f conftest.er1
71492 cat conftest.err >&5
71493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71494 (exit $ac_status); } &&
71495 { ac_try='test -z "$ac_cxx_werror_flag"
71496 || test ! -s conftest.err'
71497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71498 (eval $ac_try) 2>&5
71499 ac_status=$?
71500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71501 (exit $ac_status); }; } &&
71502 { ac_try='test -s conftest.$ac_objext'
71503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71504 (eval $ac_try) 2>&5
71505 ac_status=$?
71506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71507 (exit $ac_status); }; }; then
71508 glibcxx_cv_func_modf_use=yes
71509 else
71510 echo "$as_me: failed program was:" >&5
71511 sed 's/^/| /' conftest.$ac_ext >&5
71513 glibcxx_cv_func_modf_use=no
71515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71516 ac_ext=c
71517 ac_cpp='$CPP $CPPFLAGS'
71518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71526 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
71527 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
71529 if test x$glibcxx_cv_func_modf_use = x"yes"; then
71531 for ac_func in modf
71533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71534 echo "$as_me:$LINENO: checking for $ac_func" >&5
71535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71536 if eval "test \"\${$as_ac_var+set}\" = set"; then
71537 echo $ECHO_N "(cached) $ECHO_C" >&6
71538 else
71539 if test x$gcc_no_link = xyes; then
71540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71542 { (exit 1); exit 1; }; }
71544 cat >conftest.$ac_ext <<_ACEOF
71545 /* confdefs.h. */
71546 _ACEOF
71547 cat confdefs.h >>conftest.$ac_ext
71548 cat >>conftest.$ac_ext <<_ACEOF
71549 /* end confdefs.h. */
71550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71552 #define $ac_func innocuous_$ac_func
71554 /* System header to define __stub macros and hopefully few prototypes,
71555 which can conflict with char $ac_func (); below.
71556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71557 <limits.h> exists even on freestanding compilers. */
71559 #ifdef __STDC__
71560 # include <limits.h>
71561 #else
71562 # include <assert.h>
71563 #endif
71565 #undef $ac_func
71567 /* Override any gcc2 internal prototype to avoid an error. */
71568 #ifdef __cplusplus
71569 extern "C"
71571 #endif
71572 /* We use char because int might match the return type of a gcc2
71573 builtin and then its argument prototype would still apply. */
71574 char $ac_func ();
71575 /* The GNU C library defines this for functions which it implements
71576 to always fail with ENOSYS. Some functions are actually named
71577 something starting with __ and the normal name is an alias. */
71578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71579 choke me
71580 #else
71581 char (*f) () = $ac_func;
71582 #endif
71583 #ifdef __cplusplus
71585 #endif
71588 main ()
71590 return f != $ac_func;
71592 return 0;
71594 _ACEOF
71595 rm -f conftest.$ac_objext conftest$ac_exeext
71596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71597 (eval $ac_link) 2>conftest.er1
71598 ac_status=$?
71599 grep -v '^ *+' conftest.er1 >conftest.err
71600 rm -f conftest.er1
71601 cat conftest.err >&5
71602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71603 (exit $ac_status); } &&
71604 { ac_try='test -z "$ac_c_werror_flag"
71605 || test ! -s conftest.err'
71606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71607 (eval $ac_try) 2>&5
71608 ac_status=$?
71609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71610 (exit $ac_status); }; } &&
71611 { ac_try='test -s conftest$ac_exeext'
71612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71613 (eval $ac_try) 2>&5
71614 ac_status=$?
71615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71616 (exit $ac_status); }; }; then
71617 eval "$as_ac_var=yes"
71618 else
71619 echo "$as_me: failed program was:" >&5
71620 sed 's/^/| /' conftest.$ac_ext >&5
71622 eval "$as_ac_var=no"
71624 rm -f conftest.err conftest.$ac_objext \
71625 conftest$ac_exeext conftest.$ac_ext
71627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71629 if test `eval echo '${'$as_ac_var'}'` = yes; then
71630 cat >>confdefs.h <<_ACEOF
71631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71632 _ACEOF
71635 done
71637 else
71639 echo "$as_me:$LINENO: checking for _modf declaration" >&5
71640 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
71641 if test x${glibcxx_cv_func__modf_use+set} != xset; then
71642 if test "${glibcxx_cv_func__modf_use+set}" = set; then
71643 echo $ECHO_N "(cached) $ECHO_C" >&6
71644 else
71648 ac_ext=cc
71649 ac_cpp='$CXXCPP $CPPFLAGS'
71650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71654 cat >conftest.$ac_ext <<_ACEOF
71655 /* confdefs.h. */
71656 _ACEOF
71657 cat confdefs.h >>conftest.$ac_ext
71658 cat >>conftest.$ac_ext <<_ACEOF
71659 /* end confdefs.h. */
71660 #include <math.h>
71662 main ()
71664 _modf(0, 0);
71666 return 0;
71668 _ACEOF
71669 rm -f conftest.$ac_objext
71670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71671 (eval $ac_compile) 2>conftest.er1
71672 ac_status=$?
71673 grep -v '^ *+' conftest.er1 >conftest.err
71674 rm -f conftest.er1
71675 cat conftest.err >&5
71676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71677 (exit $ac_status); } &&
71678 { ac_try='test -z "$ac_cxx_werror_flag"
71679 || test ! -s conftest.err'
71680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71681 (eval $ac_try) 2>&5
71682 ac_status=$?
71683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71684 (exit $ac_status); }; } &&
71685 { ac_try='test -s conftest.$ac_objext'
71686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71687 (eval $ac_try) 2>&5
71688 ac_status=$?
71689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71690 (exit $ac_status); }; }; then
71691 glibcxx_cv_func__modf_use=yes
71692 else
71693 echo "$as_me: failed program was:" >&5
71694 sed 's/^/| /' conftest.$ac_ext >&5
71696 glibcxx_cv_func__modf_use=no
71698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71699 ac_ext=c
71700 ac_cpp='$CPP $CPPFLAGS'
71701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71709 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
71710 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
71712 if test x$glibcxx_cv_func__modf_use = x"yes"; then
71714 for ac_func in _modf
71716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71717 echo "$as_me:$LINENO: checking for $ac_func" >&5
71718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71719 if eval "test \"\${$as_ac_var+set}\" = set"; then
71720 echo $ECHO_N "(cached) $ECHO_C" >&6
71721 else
71722 if test x$gcc_no_link = xyes; then
71723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71725 { (exit 1); exit 1; }; }
71727 cat >conftest.$ac_ext <<_ACEOF
71728 /* confdefs.h. */
71729 _ACEOF
71730 cat confdefs.h >>conftest.$ac_ext
71731 cat >>conftest.$ac_ext <<_ACEOF
71732 /* end confdefs.h. */
71733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71735 #define $ac_func innocuous_$ac_func
71737 /* System header to define __stub macros and hopefully few prototypes,
71738 which can conflict with char $ac_func (); below.
71739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71740 <limits.h> exists even on freestanding compilers. */
71742 #ifdef __STDC__
71743 # include <limits.h>
71744 #else
71745 # include <assert.h>
71746 #endif
71748 #undef $ac_func
71750 /* Override any gcc2 internal prototype to avoid an error. */
71751 #ifdef __cplusplus
71752 extern "C"
71754 #endif
71755 /* We use char because int might match the return type of a gcc2
71756 builtin and then its argument prototype would still apply. */
71757 char $ac_func ();
71758 /* The GNU C library defines this for functions which it implements
71759 to always fail with ENOSYS. Some functions are actually named
71760 something starting with __ and the normal name is an alias. */
71761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71762 choke me
71763 #else
71764 char (*f) () = $ac_func;
71765 #endif
71766 #ifdef __cplusplus
71768 #endif
71771 main ()
71773 return f != $ac_func;
71775 return 0;
71777 _ACEOF
71778 rm -f conftest.$ac_objext conftest$ac_exeext
71779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71780 (eval $ac_link) 2>conftest.er1
71781 ac_status=$?
71782 grep -v '^ *+' conftest.er1 >conftest.err
71783 rm -f conftest.er1
71784 cat conftest.err >&5
71785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71786 (exit $ac_status); } &&
71787 { ac_try='test -z "$ac_c_werror_flag"
71788 || test ! -s conftest.err'
71789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71790 (eval $ac_try) 2>&5
71791 ac_status=$?
71792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71793 (exit $ac_status); }; } &&
71794 { ac_try='test -s conftest$ac_exeext'
71795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71796 (eval $ac_try) 2>&5
71797 ac_status=$?
71798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71799 (exit $ac_status); }; }; then
71800 eval "$as_ac_var=yes"
71801 else
71802 echo "$as_me: failed program was:" >&5
71803 sed 's/^/| /' conftest.$ac_ext >&5
71805 eval "$as_ac_var=no"
71807 rm -f conftest.err conftest.$ac_objext \
71808 conftest$ac_exeext conftest.$ac_ext
71810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71812 if test `eval echo '${'$as_ac_var'}'` = yes; then
71813 cat >>confdefs.h <<_ACEOF
71814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71815 _ACEOF
71818 done
71828 echo "$as_me:$LINENO: checking for powf declaration" >&5
71829 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
71830 if test x${glibcxx_cv_func_powf_use+set} != xset; then
71831 if test "${glibcxx_cv_func_powf_use+set}" = set; then
71832 echo $ECHO_N "(cached) $ECHO_C" >&6
71833 else
71837 ac_ext=cc
71838 ac_cpp='$CXXCPP $CPPFLAGS'
71839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71843 cat >conftest.$ac_ext <<_ACEOF
71844 /* confdefs.h. */
71845 _ACEOF
71846 cat confdefs.h >>conftest.$ac_ext
71847 cat >>conftest.$ac_ext <<_ACEOF
71848 /* end confdefs.h. */
71849 #include <math.h>
71851 main ()
71853 powf(0, 0);
71855 return 0;
71857 _ACEOF
71858 rm -f conftest.$ac_objext
71859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71860 (eval $ac_compile) 2>conftest.er1
71861 ac_status=$?
71862 grep -v '^ *+' conftest.er1 >conftest.err
71863 rm -f conftest.er1
71864 cat conftest.err >&5
71865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71866 (exit $ac_status); } &&
71867 { ac_try='test -z "$ac_cxx_werror_flag"
71868 || test ! -s conftest.err'
71869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71870 (eval $ac_try) 2>&5
71871 ac_status=$?
71872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71873 (exit $ac_status); }; } &&
71874 { ac_try='test -s conftest.$ac_objext'
71875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71876 (eval $ac_try) 2>&5
71877 ac_status=$?
71878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71879 (exit $ac_status); }; }; then
71880 glibcxx_cv_func_powf_use=yes
71881 else
71882 echo "$as_me: failed program was:" >&5
71883 sed 's/^/| /' conftest.$ac_ext >&5
71885 glibcxx_cv_func_powf_use=no
71887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71888 ac_ext=c
71889 ac_cpp='$CPP $CPPFLAGS'
71890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71898 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
71899 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
71901 if test x$glibcxx_cv_func_powf_use = x"yes"; then
71903 for ac_func in powf
71905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71906 echo "$as_me:$LINENO: checking for $ac_func" >&5
71907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71908 if eval "test \"\${$as_ac_var+set}\" = set"; then
71909 echo $ECHO_N "(cached) $ECHO_C" >&6
71910 else
71911 if test x$gcc_no_link = xyes; then
71912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71914 { (exit 1); exit 1; }; }
71916 cat >conftest.$ac_ext <<_ACEOF
71917 /* confdefs.h. */
71918 _ACEOF
71919 cat confdefs.h >>conftest.$ac_ext
71920 cat >>conftest.$ac_ext <<_ACEOF
71921 /* end confdefs.h. */
71922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71924 #define $ac_func innocuous_$ac_func
71926 /* System header to define __stub macros and hopefully few prototypes,
71927 which can conflict with char $ac_func (); below.
71928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71929 <limits.h> exists even on freestanding compilers. */
71931 #ifdef __STDC__
71932 # include <limits.h>
71933 #else
71934 # include <assert.h>
71935 #endif
71937 #undef $ac_func
71939 /* Override any gcc2 internal prototype to avoid an error. */
71940 #ifdef __cplusplus
71941 extern "C"
71943 #endif
71944 /* We use char because int might match the return type of a gcc2
71945 builtin and then its argument prototype would still apply. */
71946 char $ac_func ();
71947 /* The GNU C library defines this for functions which it implements
71948 to always fail with ENOSYS. Some functions are actually named
71949 something starting with __ and the normal name is an alias. */
71950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71951 choke me
71952 #else
71953 char (*f) () = $ac_func;
71954 #endif
71955 #ifdef __cplusplus
71957 #endif
71960 main ()
71962 return f != $ac_func;
71964 return 0;
71966 _ACEOF
71967 rm -f conftest.$ac_objext conftest$ac_exeext
71968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71969 (eval $ac_link) 2>conftest.er1
71970 ac_status=$?
71971 grep -v '^ *+' conftest.er1 >conftest.err
71972 rm -f conftest.er1
71973 cat conftest.err >&5
71974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71975 (exit $ac_status); } &&
71976 { ac_try='test -z "$ac_c_werror_flag"
71977 || test ! -s conftest.err'
71978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71979 (eval $ac_try) 2>&5
71980 ac_status=$?
71981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71982 (exit $ac_status); }; } &&
71983 { ac_try='test -s conftest$ac_exeext'
71984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71985 (eval $ac_try) 2>&5
71986 ac_status=$?
71987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71988 (exit $ac_status); }; }; then
71989 eval "$as_ac_var=yes"
71990 else
71991 echo "$as_me: failed program was:" >&5
71992 sed 's/^/| /' conftest.$ac_ext >&5
71994 eval "$as_ac_var=no"
71996 rm -f conftest.err conftest.$ac_objext \
71997 conftest$ac_exeext conftest.$ac_ext
71999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72001 if test `eval echo '${'$as_ac_var'}'` = yes; then
72002 cat >>confdefs.h <<_ACEOF
72003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72004 _ACEOF
72007 done
72009 else
72011 echo "$as_me:$LINENO: checking for _powf declaration" >&5
72012 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
72013 if test x${glibcxx_cv_func__powf_use+set} != xset; then
72014 if test "${glibcxx_cv_func__powf_use+set}" = set; then
72015 echo $ECHO_N "(cached) $ECHO_C" >&6
72016 else
72020 ac_ext=cc
72021 ac_cpp='$CXXCPP $CPPFLAGS'
72022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72026 cat >conftest.$ac_ext <<_ACEOF
72027 /* confdefs.h. */
72028 _ACEOF
72029 cat confdefs.h >>conftest.$ac_ext
72030 cat >>conftest.$ac_ext <<_ACEOF
72031 /* end confdefs.h. */
72032 #include <math.h>
72034 main ()
72036 _powf(0, 0);
72038 return 0;
72040 _ACEOF
72041 rm -f conftest.$ac_objext
72042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72043 (eval $ac_compile) 2>conftest.er1
72044 ac_status=$?
72045 grep -v '^ *+' conftest.er1 >conftest.err
72046 rm -f conftest.er1
72047 cat conftest.err >&5
72048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72049 (exit $ac_status); } &&
72050 { ac_try='test -z "$ac_cxx_werror_flag"
72051 || test ! -s conftest.err'
72052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72053 (eval $ac_try) 2>&5
72054 ac_status=$?
72055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72056 (exit $ac_status); }; } &&
72057 { ac_try='test -s conftest.$ac_objext'
72058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72059 (eval $ac_try) 2>&5
72060 ac_status=$?
72061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72062 (exit $ac_status); }; }; then
72063 glibcxx_cv_func__powf_use=yes
72064 else
72065 echo "$as_me: failed program was:" >&5
72066 sed 's/^/| /' conftest.$ac_ext >&5
72068 glibcxx_cv_func__powf_use=no
72070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72071 ac_ext=c
72072 ac_cpp='$CPP $CPPFLAGS'
72073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72081 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
72082 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
72084 if test x$glibcxx_cv_func__powf_use = x"yes"; then
72086 for ac_func in _powf
72088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72089 echo "$as_me:$LINENO: checking for $ac_func" >&5
72090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72091 if eval "test \"\${$as_ac_var+set}\" = set"; then
72092 echo $ECHO_N "(cached) $ECHO_C" >&6
72093 else
72094 if test x$gcc_no_link = xyes; then
72095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72097 { (exit 1); exit 1; }; }
72099 cat >conftest.$ac_ext <<_ACEOF
72100 /* confdefs.h. */
72101 _ACEOF
72102 cat confdefs.h >>conftest.$ac_ext
72103 cat >>conftest.$ac_ext <<_ACEOF
72104 /* end confdefs.h. */
72105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72107 #define $ac_func innocuous_$ac_func
72109 /* System header to define __stub macros and hopefully few prototypes,
72110 which can conflict with char $ac_func (); below.
72111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72112 <limits.h> exists even on freestanding compilers. */
72114 #ifdef __STDC__
72115 # include <limits.h>
72116 #else
72117 # include <assert.h>
72118 #endif
72120 #undef $ac_func
72122 /* Override any gcc2 internal prototype to avoid an error. */
72123 #ifdef __cplusplus
72124 extern "C"
72126 #endif
72127 /* We use char because int might match the return type of a gcc2
72128 builtin and then its argument prototype would still apply. */
72129 char $ac_func ();
72130 /* The GNU C library defines this for functions which it implements
72131 to always fail with ENOSYS. Some functions are actually named
72132 something starting with __ and the normal name is an alias. */
72133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72134 choke me
72135 #else
72136 char (*f) () = $ac_func;
72137 #endif
72138 #ifdef __cplusplus
72140 #endif
72143 main ()
72145 return f != $ac_func;
72147 return 0;
72149 _ACEOF
72150 rm -f conftest.$ac_objext conftest$ac_exeext
72151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72152 (eval $ac_link) 2>conftest.er1
72153 ac_status=$?
72154 grep -v '^ *+' conftest.er1 >conftest.err
72155 rm -f conftest.er1
72156 cat conftest.err >&5
72157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72158 (exit $ac_status); } &&
72159 { ac_try='test -z "$ac_c_werror_flag"
72160 || test ! -s conftest.err'
72161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72162 (eval $ac_try) 2>&5
72163 ac_status=$?
72164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72165 (exit $ac_status); }; } &&
72166 { ac_try='test -s conftest$ac_exeext'
72167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72168 (eval $ac_try) 2>&5
72169 ac_status=$?
72170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72171 (exit $ac_status); }; }; then
72172 eval "$as_ac_var=yes"
72173 else
72174 echo "$as_me: failed program was:" >&5
72175 sed 's/^/| /' conftest.$ac_ext >&5
72177 eval "$as_ac_var=no"
72179 rm -f conftest.err conftest.$ac_objext \
72180 conftest$ac_exeext conftest.$ac_ext
72182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72184 if test `eval echo '${'$as_ac_var'}'` = yes; then
72185 cat >>confdefs.h <<_ACEOF
72186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72187 _ACEOF
72190 done
72200 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
72201 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
72202 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
72203 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
72204 echo $ECHO_N "(cached) $ECHO_C" >&6
72205 else
72209 ac_ext=cc
72210 ac_cpp='$CXXCPP $CPPFLAGS'
72211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72215 cat >conftest.$ac_ext <<_ACEOF
72216 /* confdefs.h. */
72217 _ACEOF
72218 cat confdefs.h >>conftest.$ac_ext
72219 cat >>conftest.$ac_ext <<_ACEOF
72220 /* end confdefs.h. */
72221 #include <math.h>
72222 #ifdef HAVE_IEEEFP_H
72223 #include <ieeefp.h>
72224 #endif
72227 main ()
72229 sqrtf(0);
72231 return 0;
72233 _ACEOF
72234 rm -f conftest.$ac_objext
72235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72236 (eval $ac_compile) 2>conftest.er1
72237 ac_status=$?
72238 grep -v '^ *+' conftest.er1 >conftest.err
72239 rm -f conftest.er1
72240 cat conftest.err >&5
72241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72242 (exit $ac_status); } &&
72243 { ac_try='test -z "$ac_cxx_werror_flag"
72244 || test ! -s conftest.err'
72245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72246 (eval $ac_try) 2>&5
72247 ac_status=$?
72248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72249 (exit $ac_status); }; } &&
72250 { ac_try='test -s conftest.$ac_objext'
72251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72252 (eval $ac_try) 2>&5
72253 ac_status=$?
72254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72255 (exit $ac_status); }; }; then
72256 glibcxx_cv_func_sqrtf_use=yes
72257 else
72258 echo "$as_me: failed program was:" >&5
72259 sed 's/^/| /' conftest.$ac_ext >&5
72261 glibcxx_cv_func_sqrtf_use=no
72263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72264 ac_ext=c
72265 ac_cpp='$CPP $CPPFLAGS'
72266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72274 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
72275 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
72277 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
72279 for ac_func in sqrtf
72281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72282 echo "$as_me:$LINENO: checking for $ac_func" >&5
72283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72284 if eval "test \"\${$as_ac_var+set}\" = set"; then
72285 echo $ECHO_N "(cached) $ECHO_C" >&6
72286 else
72287 if test x$gcc_no_link = xyes; then
72288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72290 { (exit 1); exit 1; }; }
72292 cat >conftest.$ac_ext <<_ACEOF
72293 /* confdefs.h. */
72294 _ACEOF
72295 cat confdefs.h >>conftest.$ac_ext
72296 cat >>conftest.$ac_ext <<_ACEOF
72297 /* end confdefs.h. */
72298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72300 #define $ac_func innocuous_$ac_func
72302 /* System header to define __stub macros and hopefully few prototypes,
72303 which can conflict with char $ac_func (); below.
72304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72305 <limits.h> exists even on freestanding compilers. */
72307 #ifdef __STDC__
72308 # include <limits.h>
72309 #else
72310 # include <assert.h>
72311 #endif
72313 #undef $ac_func
72315 /* Override any gcc2 internal prototype to avoid an error. */
72316 #ifdef __cplusplus
72317 extern "C"
72319 #endif
72320 /* We use char because int might match the return type of a gcc2
72321 builtin and then its argument prototype would still apply. */
72322 char $ac_func ();
72323 /* The GNU C library defines this for functions which it implements
72324 to always fail with ENOSYS. Some functions are actually named
72325 something starting with __ and the normal name is an alias. */
72326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72327 choke me
72328 #else
72329 char (*f) () = $ac_func;
72330 #endif
72331 #ifdef __cplusplus
72333 #endif
72336 main ()
72338 return f != $ac_func;
72340 return 0;
72342 _ACEOF
72343 rm -f conftest.$ac_objext conftest$ac_exeext
72344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72345 (eval $ac_link) 2>conftest.er1
72346 ac_status=$?
72347 grep -v '^ *+' conftest.er1 >conftest.err
72348 rm -f conftest.er1
72349 cat conftest.err >&5
72350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72351 (exit $ac_status); } &&
72352 { ac_try='test -z "$ac_c_werror_flag"
72353 || test ! -s conftest.err'
72354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72355 (eval $ac_try) 2>&5
72356 ac_status=$?
72357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72358 (exit $ac_status); }; } &&
72359 { ac_try='test -s conftest$ac_exeext'
72360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72361 (eval $ac_try) 2>&5
72362 ac_status=$?
72363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72364 (exit $ac_status); }; }; then
72365 eval "$as_ac_var=yes"
72366 else
72367 echo "$as_me: failed program was:" >&5
72368 sed 's/^/| /' conftest.$ac_ext >&5
72370 eval "$as_ac_var=no"
72372 rm -f conftest.err conftest.$ac_objext \
72373 conftest$ac_exeext conftest.$ac_ext
72375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72377 if test `eval echo '${'$as_ac_var'}'` = yes; then
72378 cat >>confdefs.h <<_ACEOF
72379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72380 _ACEOF
72383 done
72385 else
72387 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
72388 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
72389 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
72390 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
72391 echo $ECHO_N "(cached) $ECHO_C" >&6
72392 else
72396 ac_ext=cc
72397 ac_cpp='$CXXCPP $CPPFLAGS'
72398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72402 cat >conftest.$ac_ext <<_ACEOF
72403 /* confdefs.h. */
72404 _ACEOF
72405 cat confdefs.h >>conftest.$ac_ext
72406 cat >>conftest.$ac_ext <<_ACEOF
72407 /* end confdefs.h. */
72408 #include <math.h>
72409 #ifdef HAVE_IEEEFP_H
72410 #include <ieeefp.h>
72411 #endif
72414 main ()
72416 _sqrtf(0);
72418 return 0;
72420 _ACEOF
72421 rm -f conftest.$ac_objext
72422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72423 (eval $ac_compile) 2>conftest.er1
72424 ac_status=$?
72425 grep -v '^ *+' conftest.er1 >conftest.err
72426 rm -f conftest.er1
72427 cat conftest.err >&5
72428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72429 (exit $ac_status); } &&
72430 { ac_try='test -z "$ac_cxx_werror_flag"
72431 || test ! -s conftest.err'
72432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72433 (eval $ac_try) 2>&5
72434 ac_status=$?
72435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72436 (exit $ac_status); }; } &&
72437 { ac_try='test -s conftest.$ac_objext'
72438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72439 (eval $ac_try) 2>&5
72440 ac_status=$?
72441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72442 (exit $ac_status); }; }; then
72443 glibcxx_cv_func__sqrtf_use=yes
72444 else
72445 echo "$as_me: failed program was:" >&5
72446 sed 's/^/| /' conftest.$ac_ext >&5
72448 glibcxx_cv_func__sqrtf_use=no
72450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72451 ac_ext=c
72452 ac_cpp='$CPP $CPPFLAGS'
72453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72461 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
72462 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
72464 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
72466 for ac_func in _sqrtf
72468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72469 echo "$as_me:$LINENO: checking for $ac_func" >&5
72470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72471 if eval "test \"\${$as_ac_var+set}\" = set"; then
72472 echo $ECHO_N "(cached) $ECHO_C" >&6
72473 else
72474 if test x$gcc_no_link = xyes; then
72475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72477 { (exit 1); exit 1; }; }
72479 cat >conftest.$ac_ext <<_ACEOF
72480 /* confdefs.h. */
72481 _ACEOF
72482 cat confdefs.h >>conftest.$ac_ext
72483 cat >>conftest.$ac_ext <<_ACEOF
72484 /* end confdefs.h. */
72485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72487 #define $ac_func innocuous_$ac_func
72489 /* System header to define __stub macros and hopefully few prototypes,
72490 which can conflict with char $ac_func (); below.
72491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72492 <limits.h> exists even on freestanding compilers. */
72494 #ifdef __STDC__
72495 # include <limits.h>
72496 #else
72497 # include <assert.h>
72498 #endif
72500 #undef $ac_func
72502 /* Override any gcc2 internal prototype to avoid an error. */
72503 #ifdef __cplusplus
72504 extern "C"
72506 #endif
72507 /* We use char because int might match the return type of a gcc2
72508 builtin and then its argument prototype would still apply. */
72509 char $ac_func ();
72510 /* The GNU C library defines this for functions which it implements
72511 to always fail with ENOSYS. Some functions are actually named
72512 something starting with __ and the normal name is an alias. */
72513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72514 choke me
72515 #else
72516 char (*f) () = $ac_func;
72517 #endif
72518 #ifdef __cplusplus
72520 #endif
72523 main ()
72525 return f != $ac_func;
72527 return 0;
72529 _ACEOF
72530 rm -f conftest.$ac_objext conftest$ac_exeext
72531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72532 (eval $ac_link) 2>conftest.er1
72533 ac_status=$?
72534 grep -v '^ *+' conftest.er1 >conftest.err
72535 rm -f conftest.er1
72536 cat conftest.err >&5
72537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72538 (exit $ac_status); } &&
72539 { ac_try='test -z "$ac_c_werror_flag"
72540 || test ! -s conftest.err'
72541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72542 (eval $ac_try) 2>&5
72543 ac_status=$?
72544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72545 (exit $ac_status); }; } &&
72546 { ac_try='test -s conftest$ac_exeext'
72547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72548 (eval $ac_try) 2>&5
72549 ac_status=$?
72550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72551 (exit $ac_status); }; }; then
72552 eval "$as_ac_var=yes"
72553 else
72554 echo "$as_me: failed program was:" >&5
72555 sed 's/^/| /' conftest.$ac_ext >&5
72557 eval "$as_ac_var=no"
72559 rm -f conftest.err conftest.$ac_objext \
72560 conftest$ac_exeext conftest.$ac_ext
72562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72564 if test `eval echo '${'$as_ac_var'}'` = yes; then
72565 cat >>confdefs.h <<_ACEOF
72566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72567 _ACEOF
72570 done
72580 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
72581 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
72582 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
72583 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
72584 echo $ECHO_N "(cached) $ECHO_C" >&6
72585 else
72589 ac_ext=cc
72590 ac_cpp='$CXXCPP $CPPFLAGS'
72591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72595 cat >conftest.$ac_ext <<_ACEOF
72596 /* confdefs.h. */
72597 _ACEOF
72598 cat confdefs.h >>conftest.$ac_ext
72599 cat >>conftest.$ac_ext <<_ACEOF
72600 /* end confdefs.h. */
72601 #include <math.h>
72603 main ()
72605 sincosf(0, 0, 0);
72607 return 0;
72609 _ACEOF
72610 rm -f conftest.$ac_objext
72611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72612 (eval $ac_compile) 2>conftest.er1
72613 ac_status=$?
72614 grep -v '^ *+' conftest.er1 >conftest.err
72615 rm -f conftest.er1
72616 cat conftest.err >&5
72617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72618 (exit $ac_status); } &&
72619 { ac_try='test -z "$ac_cxx_werror_flag"
72620 || test ! -s conftest.err'
72621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72622 (eval $ac_try) 2>&5
72623 ac_status=$?
72624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72625 (exit $ac_status); }; } &&
72626 { ac_try='test -s conftest.$ac_objext'
72627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72628 (eval $ac_try) 2>&5
72629 ac_status=$?
72630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72631 (exit $ac_status); }; }; then
72632 glibcxx_cv_func_sincosf_use=yes
72633 else
72634 echo "$as_me: failed program was:" >&5
72635 sed 's/^/| /' conftest.$ac_ext >&5
72637 glibcxx_cv_func_sincosf_use=no
72639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72640 ac_ext=c
72641 ac_cpp='$CPP $CPPFLAGS'
72642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72650 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
72651 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
72653 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
72655 for ac_func in sincosf
72657 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72658 echo "$as_me:$LINENO: checking for $ac_func" >&5
72659 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72660 if eval "test \"\${$as_ac_var+set}\" = set"; then
72661 echo $ECHO_N "(cached) $ECHO_C" >&6
72662 else
72663 if test x$gcc_no_link = xyes; then
72664 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72665 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72666 { (exit 1); exit 1; }; }
72668 cat >conftest.$ac_ext <<_ACEOF
72669 /* confdefs.h. */
72670 _ACEOF
72671 cat confdefs.h >>conftest.$ac_ext
72672 cat >>conftest.$ac_ext <<_ACEOF
72673 /* end confdefs.h. */
72674 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72675 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72676 #define $ac_func innocuous_$ac_func
72678 /* System header to define __stub macros and hopefully few prototypes,
72679 which can conflict with char $ac_func (); below.
72680 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72681 <limits.h> exists even on freestanding compilers. */
72683 #ifdef __STDC__
72684 # include <limits.h>
72685 #else
72686 # include <assert.h>
72687 #endif
72689 #undef $ac_func
72691 /* Override any gcc2 internal prototype to avoid an error. */
72692 #ifdef __cplusplus
72693 extern "C"
72695 #endif
72696 /* We use char because int might match the return type of a gcc2
72697 builtin and then its argument prototype would still apply. */
72698 char $ac_func ();
72699 /* The GNU C library defines this for functions which it implements
72700 to always fail with ENOSYS. Some functions are actually named
72701 something starting with __ and the normal name is an alias. */
72702 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72703 choke me
72704 #else
72705 char (*f) () = $ac_func;
72706 #endif
72707 #ifdef __cplusplus
72709 #endif
72712 main ()
72714 return f != $ac_func;
72716 return 0;
72718 _ACEOF
72719 rm -f conftest.$ac_objext conftest$ac_exeext
72720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72721 (eval $ac_link) 2>conftest.er1
72722 ac_status=$?
72723 grep -v '^ *+' conftest.er1 >conftest.err
72724 rm -f conftest.er1
72725 cat conftest.err >&5
72726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72727 (exit $ac_status); } &&
72728 { ac_try='test -z "$ac_c_werror_flag"
72729 || test ! -s conftest.err'
72730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72731 (eval $ac_try) 2>&5
72732 ac_status=$?
72733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72734 (exit $ac_status); }; } &&
72735 { ac_try='test -s conftest$ac_exeext'
72736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72737 (eval $ac_try) 2>&5
72738 ac_status=$?
72739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72740 (exit $ac_status); }; }; then
72741 eval "$as_ac_var=yes"
72742 else
72743 echo "$as_me: failed program was:" >&5
72744 sed 's/^/| /' conftest.$ac_ext >&5
72746 eval "$as_ac_var=no"
72748 rm -f conftest.err conftest.$ac_objext \
72749 conftest$ac_exeext conftest.$ac_ext
72751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72752 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72753 if test `eval echo '${'$as_ac_var'}'` = yes; then
72754 cat >>confdefs.h <<_ACEOF
72755 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72756 _ACEOF
72759 done
72761 else
72763 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
72764 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
72765 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
72766 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
72767 echo $ECHO_N "(cached) $ECHO_C" >&6
72768 else
72772 ac_ext=cc
72773 ac_cpp='$CXXCPP $CPPFLAGS'
72774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72778 cat >conftest.$ac_ext <<_ACEOF
72779 /* confdefs.h. */
72780 _ACEOF
72781 cat confdefs.h >>conftest.$ac_ext
72782 cat >>conftest.$ac_ext <<_ACEOF
72783 /* end confdefs.h. */
72784 #include <math.h>
72786 main ()
72788 _sincosf(0, 0, 0);
72790 return 0;
72792 _ACEOF
72793 rm -f conftest.$ac_objext
72794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72795 (eval $ac_compile) 2>conftest.er1
72796 ac_status=$?
72797 grep -v '^ *+' conftest.er1 >conftest.err
72798 rm -f conftest.er1
72799 cat conftest.err >&5
72800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72801 (exit $ac_status); } &&
72802 { ac_try='test -z "$ac_cxx_werror_flag"
72803 || test ! -s conftest.err'
72804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72805 (eval $ac_try) 2>&5
72806 ac_status=$?
72807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72808 (exit $ac_status); }; } &&
72809 { ac_try='test -s conftest.$ac_objext'
72810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72811 (eval $ac_try) 2>&5
72812 ac_status=$?
72813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72814 (exit $ac_status); }; }; then
72815 glibcxx_cv_func__sincosf_use=yes
72816 else
72817 echo "$as_me: failed program was:" >&5
72818 sed 's/^/| /' conftest.$ac_ext >&5
72820 glibcxx_cv_func__sincosf_use=no
72822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72823 ac_ext=c
72824 ac_cpp='$CPP $CPPFLAGS'
72825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72833 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
72834 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
72836 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
72838 for ac_func in _sincosf
72840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72841 echo "$as_me:$LINENO: checking for $ac_func" >&5
72842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72843 if eval "test \"\${$as_ac_var+set}\" = set"; then
72844 echo $ECHO_N "(cached) $ECHO_C" >&6
72845 else
72846 if test x$gcc_no_link = xyes; then
72847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72849 { (exit 1); exit 1; }; }
72851 cat >conftest.$ac_ext <<_ACEOF
72852 /* confdefs.h. */
72853 _ACEOF
72854 cat confdefs.h >>conftest.$ac_ext
72855 cat >>conftest.$ac_ext <<_ACEOF
72856 /* end confdefs.h. */
72857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72859 #define $ac_func innocuous_$ac_func
72861 /* System header to define __stub macros and hopefully few prototypes,
72862 which can conflict with char $ac_func (); below.
72863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72864 <limits.h> exists even on freestanding compilers. */
72866 #ifdef __STDC__
72867 # include <limits.h>
72868 #else
72869 # include <assert.h>
72870 #endif
72872 #undef $ac_func
72874 /* Override any gcc2 internal prototype to avoid an error. */
72875 #ifdef __cplusplus
72876 extern "C"
72878 #endif
72879 /* We use char because int might match the return type of a gcc2
72880 builtin and then its argument prototype would still apply. */
72881 char $ac_func ();
72882 /* The GNU C library defines this for functions which it implements
72883 to always fail with ENOSYS. Some functions are actually named
72884 something starting with __ and the normal name is an alias. */
72885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72886 choke me
72887 #else
72888 char (*f) () = $ac_func;
72889 #endif
72890 #ifdef __cplusplus
72892 #endif
72895 main ()
72897 return f != $ac_func;
72899 return 0;
72901 _ACEOF
72902 rm -f conftest.$ac_objext conftest$ac_exeext
72903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72904 (eval $ac_link) 2>conftest.er1
72905 ac_status=$?
72906 grep -v '^ *+' conftest.er1 >conftest.err
72907 rm -f conftest.er1
72908 cat conftest.err >&5
72909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72910 (exit $ac_status); } &&
72911 { ac_try='test -z "$ac_c_werror_flag"
72912 || test ! -s conftest.err'
72913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72914 (eval $ac_try) 2>&5
72915 ac_status=$?
72916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72917 (exit $ac_status); }; } &&
72918 { ac_try='test -s conftest$ac_exeext'
72919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72920 (eval $ac_try) 2>&5
72921 ac_status=$?
72922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72923 (exit $ac_status); }; }; then
72924 eval "$as_ac_var=yes"
72925 else
72926 echo "$as_me: failed program was:" >&5
72927 sed 's/^/| /' conftest.$ac_ext >&5
72929 eval "$as_ac_var=no"
72931 rm -f conftest.err conftest.$ac_objext \
72932 conftest$ac_exeext conftest.$ac_ext
72934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72936 if test `eval echo '${'$as_ac_var'}'` = yes; then
72937 cat >>confdefs.h <<_ACEOF
72938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72939 _ACEOF
72942 done
72952 echo "$as_me:$LINENO: checking for finitef declaration" >&5
72953 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
72954 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
72955 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
72956 echo $ECHO_N "(cached) $ECHO_C" >&6
72957 else
72961 ac_ext=cc
72962 ac_cpp='$CXXCPP $CPPFLAGS'
72963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72967 cat >conftest.$ac_ext <<_ACEOF
72968 /* confdefs.h. */
72969 _ACEOF
72970 cat confdefs.h >>conftest.$ac_ext
72971 cat >>conftest.$ac_ext <<_ACEOF
72972 /* end confdefs.h. */
72973 #include <math.h>
72974 #ifdef HAVE_IEEEFP_H
72975 #include <ieeefp.h>
72976 #endif
72979 main ()
72981 finitef(0);
72983 return 0;
72985 _ACEOF
72986 rm -f conftest.$ac_objext
72987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72988 (eval $ac_compile) 2>conftest.er1
72989 ac_status=$?
72990 grep -v '^ *+' conftest.er1 >conftest.err
72991 rm -f conftest.er1
72992 cat conftest.err >&5
72993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72994 (exit $ac_status); } &&
72995 { ac_try='test -z "$ac_cxx_werror_flag"
72996 || test ! -s conftest.err'
72997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72998 (eval $ac_try) 2>&5
72999 ac_status=$?
73000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73001 (exit $ac_status); }; } &&
73002 { ac_try='test -s conftest.$ac_objext'
73003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73004 (eval $ac_try) 2>&5
73005 ac_status=$?
73006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73007 (exit $ac_status); }; }; then
73008 glibcxx_cv_func_finitef_use=yes
73009 else
73010 echo "$as_me: failed program was:" >&5
73011 sed 's/^/| /' conftest.$ac_ext >&5
73013 glibcxx_cv_func_finitef_use=no
73015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73016 ac_ext=c
73017 ac_cpp='$CPP $CPPFLAGS'
73018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73026 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
73027 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
73029 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
73031 for ac_func in finitef
73033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73034 echo "$as_me:$LINENO: checking for $ac_func" >&5
73035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73036 if eval "test \"\${$as_ac_var+set}\" = set"; then
73037 echo $ECHO_N "(cached) $ECHO_C" >&6
73038 else
73039 if test x$gcc_no_link = xyes; then
73040 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73042 { (exit 1); exit 1; }; }
73044 cat >conftest.$ac_ext <<_ACEOF
73045 /* confdefs.h. */
73046 _ACEOF
73047 cat confdefs.h >>conftest.$ac_ext
73048 cat >>conftest.$ac_ext <<_ACEOF
73049 /* end confdefs.h. */
73050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73052 #define $ac_func innocuous_$ac_func
73054 /* System header to define __stub macros and hopefully few prototypes,
73055 which can conflict with char $ac_func (); below.
73056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73057 <limits.h> exists even on freestanding compilers. */
73059 #ifdef __STDC__
73060 # include <limits.h>
73061 #else
73062 # include <assert.h>
73063 #endif
73065 #undef $ac_func
73067 /* Override any gcc2 internal prototype to avoid an error. */
73068 #ifdef __cplusplus
73069 extern "C"
73071 #endif
73072 /* We use char because int might match the return type of a gcc2
73073 builtin and then its argument prototype would still apply. */
73074 char $ac_func ();
73075 /* The GNU C library defines this for functions which it implements
73076 to always fail with ENOSYS. Some functions are actually named
73077 something starting with __ and the normal name is an alias. */
73078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73079 choke me
73080 #else
73081 char (*f) () = $ac_func;
73082 #endif
73083 #ifdef __cplusplus
73085 #endif
73088 main ()
73090 return f != $ac_func;
73092 return 0;
73094 _ACEOF
73095 rm -f conftest.$ac_objext conftest$ac_exeext
73096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73097 (eval $ac_link) 2>conftest.er1
73098 ac_status=$?
73099 grep -v '^ *+' conftest.er1 >conftest.err
73100 rm -f conftest.er1
73101 cat conftest.err >&5
73102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73103 (exit $ac_status); } &&
73104 { ac_try='test -z "$ac_c_werror_flag"
73105 || test ! -s conftest.err'
73106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73107 (eval $ac_try) 2>&5
73108 ac_status=$?
73109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73110 (exit $ac_status); }; } &&
73111 { ac_try='test -s conftest$ac_exeext'
73112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73113 (eval $ac_try) 2>&5
73114 ac_status=$?
73115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73116 (exit $ac_status); }; }; then
73117 eval "$as_ac_var=yes"
73118 else
73119 echo "$as_me: failed program was:" >&5
73120 sed 's/^/| /' conftest.$ac_ext >&5
73122 eval "$as_ac_var=no"
73124 rm -f conftest.err conftest.$ac_objext \
73125 conftest$ac_exeext conftest.$ac_ext
73127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73129 if test `eval echo '${'$as_ac_var'}'` = yes; then
73130 cat >>confdefs.h <<_ACEOF
73131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73132 _ACEOF
73135 done
73137 else
73139 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
73140 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
73141 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
73142 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
73143 echo $ECHO_N "(cached) $ECHO_C" >&6
73144 else
73148 ac_ext=cc
73149 ac_cpp='$CXXCPP $CPPFLAGS'
73150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73154 cat >conftest.$ac_ext <<_ACEOF
73155 /* confdefs.h. */
73156 _ACEOF
73157 cat confdefs.h >>conftest.$ac_ext
73158 cat >>conftest.$ac_ext <<_ACEOF
73159 /* end confdefs.h. */
73160 #include <math.h>
73161 #ifdef HAVE_IEEEFP_H
73162 #include <ieeefp.h>
73163 #endif
73166 main ()
73168 _finitef(0);
73170 return 0;
73172 _ACEOF
73173 rm -f conftest.$ac_objext
73174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73175 (eval $ac_compile) 2>conftest.er1
73176 ac_status=$?
73177 grep -v '^ *+' conftest.er1 >conftest.err
73178 rm -f conftest.er1
73179 cat conftest.err >&5
73180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73181 (exit $ac_status); } &&
73182 { ac_try='test -z "$ac_cxx_werror_flag"
73183 || test ! -s conftest.err'
73184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73185 (eval $ac_try) 2>&5
73186 ac_status=$?
73187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73188 (exit $ac_status); }; } &&
73189 { ac_try='test -s conftest.$ac_objext'
73190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73191 (eval $ac_try) 2>&5
73192 ac_status=$?
73193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73194 (exit $ac_status); }; }; then
73195 glibcxx_cv_func__finitef_use=yes
73196 else
73197 echo "$as_me: failed program was:" >&5
73198 sed 's/^/| /' conftest.$ac_ext >&5
73200 glibcxx_cv_func__finitef_use=no
73202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73203 ac_ext=c
73204 ac_cpp='$CPP $CPPFLAGS'
73205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73213 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
73214 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
73216 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
73218 for ac_func in _finitef
73220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73221 echo "$as_me:$LINENO: checking for $ac_func" >&5
73222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73223 if eval "test \"\${$as_ac_var+set}\" = set"; then
73224 echo $ECHO_N "(cached) $ECHO_C" >&6
73225 else
73226 if test x$gcc_no_link = xyes; then
73227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73229 { (exit 1); exit 1; }; }
73231 cat >conftest.$ac_ext <<_ACEOF
73232 /* confdefs.h. */
73233 _ACEOF
73234 cat confdefs.h >>conftest.$ac_ext
73235 cat >>conftest.$ac_ext <<_ACEOF
73236 /* end confdefs.h. */
73237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73239 #define $ac_func innocuous_$ac_func
73241 /* System header to define __stub macros and hopefully few prototypes,
73242 which can conflict with char $ac_func (); below.
73243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73244 <limits.h> exists even on freestanding compilers. */
73246 #ifdef __STDC__
73247 # include <limits.h>
73248 #else
73249 # include <assert.h>
73250 #endif
73252 #undef $ac_func
73254 /* Override any gcc2 internal prototype to avoid an error. */
73255 #ifdef __cplusplus
73256 extern "C"
73258 #endif
73259 /* We use char because int might match the return type of a gcc2
73260 builtin and then its argument prototype would still apply. */
73261 char $ac_func ();
73262 /* The GNU C library defines this for functions which it implements
73263 to always fail with ENOSYS. Some functions are actually named
73264 something starting with __ and the normal name is an alias. */
73265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73266 choke me
73267 #else
73268 char (*f) () = $ac_func;
73269 #endif
73270 #ifdef __cplusplus
73272 #endif
73275 main ()
73277 return f != $ac_func;
73279 return 0;
73281 _ACEOF
73282 rm -f conftest.$ac_objext conftest$ac_exeext
73283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73284 (eval $ac_link) 2>conftest.er1
73285 ac_status=$?
73286 grep -v '^ *+' conftest.er1 >conftest.err
73287 rm -f conftest.er1
73288 cat conftest.err >&5
73289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73290 (exit $ac_status); } &&
73291 { ac_try='test -z "$ac_c_werror_flag"
73292 || test ! -s conftest.err'
73293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73294 (eval $ac_try) 2>&5
73295 ac_status=$?
73296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73297 (exit $ac_status); }; } &&
73298 { ac_try='test -s conftest$ac_exeext'
73299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73300 (eval $ac_try) 2>&5
73301 ac_status=$?
73302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73303 (exit $ac_status); }; }; then
73304 eval "$as_ac_var=yes"
73305 else
73306 echo "$as_me: failed program was:" >&5
73307 sed 's/^/| /' conftest.$ac_ext >&5
73309 eval "$as_ac_var=no"
73311 rm -f conftest.err conftest.$ac_objext \
73312 conftest$ac_exeext conftest.$ac_ext
73314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73315 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73316 if test `eval echo '${'$as_ac_var'}'` = yes; then
73317 cat >>confdefs.h <<_ACEOF
73318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73319 _ACEOF
73322 done
73332 echo "$as_me:$LINENO: checking for long double trig functions" >&5
73333 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
73334 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
73335 echo $ECHO_N "(cached) $ECHO_C" >&6
73336 else
73340 ac_ext=cc
73341 ac_cpp='$CXXCPP $CPPFLAGS'
73342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73346 cat >conftest.$ac_ext <<_ACEOF
73347 /* confdefs.h. */
73348 _ACEOF
73349 cat confdefs.h >>conftest.$ac_ext
73350 cat >>conftest.$ac_ext <<_ACEOF
73351 /* end confdefs.h. */
73352 #include <math.h>
73354 main ()
73356 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
73358 return 0;
73360 _ACEOF
73361 rm -f conftest.$ac_objext
73362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73363 (eval $ac_compile) 2>conftest.er1
73364 ac_status=$?
73365 grep -v '^ *+' conftest.er1 >conftest.err
73366 rm -f conftest.er1
73367 cat conftest.err >&5
73368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73369 (exit $ac_status); } &&
73370 { ac_try='test -z "$ac_cxx_werror_flag"
73371 || test ! -s conftest.err'
73372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73373 (eval $ac_try) 2>&5
73374 ac_status=$?
73375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73376 (exit $ac_status); }; } &&
73377 { ac_try='test -s conftest.$ac_objext'
73378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73379 (eval $ac_try) 2>&5
73380 ac_status=$?
73381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73382 (exit $ac_status); }; }; then
73383 glibcxx_cv_func_long_double_trig_use=yes
73384 else
73385 echo "$as_me: failed program was:" >&5
73386 sed 's/^/| /' conftest.$ac_ext >&5
73388 glibcxx_cv_func_long_double_trig_use=no
73390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73391 ac_ext=c
73392 ac_cpp='$CPP $CPPFLAGS'
73393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73399 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
73400 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
73401 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
73411 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
73413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73414 echo "$as_me:$LINENO: checking for $ac_func" >&5
73415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73416 if eval "test \"\${$as_ac_var+set}\" = set"; then
73417 echo $ECHO_N "(cached) $ECHO_C" >&6
73418 else
73419 if test x$gcc_no_link = xyes; then
73420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73422 { (exit 1); exit 1; }; }
73424 cat >conftest.$ac_ext <<_ACEOF
73425 /* confdefs.h. */
73426 _ACEOF
73427 cat confdefs.h >>conftest.$ac_ext
73428 cat >>conftest.$ac_ext <<_ACEOF
73429 /* end confdefs.h. */
73430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73432 #define $ac_func innocuous_$ac_func
73434 /* System header to define __stub macros and hopefully few prototypes,
73435 which can conflict with char $ac_func (); below.
73436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73437 <limits.h> exists even on freestanding compilers. */
73439 #ifdef __STDC__
73440 # include <limits.h>
73441 #else
73442 # include <assert.h>
73443 #endif
73445 #undef $ac_func
73447 /* Override any gcc2 internal prototype to avoid an error. */
73448 #ifdef __cplusplus
73449 extern "C"
73451 #endif
73452 /* We use char because int might match the return type of a gcc2
73453 builtin and then its argument prototype would still apply. */
73454 char $ac_func ();
73455 /* The GNU C library defines this for functions which it implements
73456 to always fail with ENOSYS. Some functions are actually named
73457 something starting with __ and the normal name is an alias. */
73458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73459 choke me
73460 #else
73461 char (*f) () = $ac_func;
73462 #endif
73463 #ifdef __cplusplus
73465 #endif
73468 main ()
73470 return f != $ac_func;
73472 return 0;
73474 _ACEOF
73475 rm -f conftest.$ac_objext conftest$ac_exeext
73476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73477 (eval $ac_link) 2>conftest.er1
73478 ac_status=$?
73479 grep -v '^ *+' conftest.er1 >conftest.err
73480 rm -f conftest.er1
73481 cat conftest.err >&5
73482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73483 (exit $ac_status); } &&
73484 { ac_try='test -z "$ac_c_werror_flag"
73485 || test ! -s conftest.err'
73486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73487 (eval $ac_try) 2>&5
73488 ac_status=$?
73489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73490 (exit $ac_status); }; } &&
73491 { ac_try='test -s conftest$ac_exeext'
73492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73493 (eval $ac_try) 2>&5
73494 ac_status=$?
73495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73496 (exit $ac_status); }; }; then
73497 eval "$as_ac_var=yes"
73498 else
73499 echo "$as_me: failed program was:" >&5
73500 sed 's/^/| /' conftest.$ac_ext >&5
73502 eval "$as_ac_var=no"
73504 rm -f conftest.err conftest.$ac_objext \
73505 conftest$ac_exeext conftest.$ac_ext
73507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73509 if test `eval echo '${'$as_ac_var'}'` = yes; then
73510 cat >>confdefs.h <<_ACEOF
73511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73512 _ACEOF
73515 done
73517 else
73518 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
73519 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
73520 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
73521 echo $ECHO_N "(cached) $ECHO_C" >&6
73522 else
73526 ac_ext=cc
73527 ac_cpp='$CXXCPP $CPPFLAGS'
73528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73532 cat >conftest.$ac_ext <<_ACEOF
73533 /* confdefs.h. */
73534 _ACEOF
73535 cat confdefs.h >>conftest.$ac_ext
73536 cat >>conftest.$ac_ext <<_ACEOF
73537 /* end confdefs.h. */
73538 #include <math.h>
73540 main ()
73542 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
73544 return 0;
73546 _ACEOF
73547 rm -f conftest.$ac_objext
73548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73549 (eval $ac_compile) 2>conftest.er1
73550 ac_status=$?
73551 grep -v '^ *+' conftest.er1 >conftest.err
73552 rm -f conftest.er1
73553 cat conftest.err >&5
73554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73555 (exit $ac_status); } &&
73556 { ac_try='test -z "$ac_cxx_werror_flag"
73557 || test ! -s conftest.err'
73558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73559 (eval $ac_try) 2>&5
73560 ac_status=$?
73561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73562 (exit $ac_status); }; } &&
73563 { ac_try='test -s conftest.$ac_objext'
73564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73565 (eval $ac_try) 2>&5
73566 ac_status=$?
73567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73568 (exit $ac_status); }; }; then
73569 glibcxx_cv_func__long_double_trig_use=yes
73570 else
73571 echo "$as_me: failed program was:" >&5
73572 sed 's/^/| /' conftest.$ac_ext >&5
73574 glibcxx_cv_func__long_double_trig_use=no
73576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73577 ac_ext=c
73578 ac_cpp='$CPP $CPPFLAGS'
73579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73585 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
73586 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
73587 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
73597 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
73599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73600 echo "$as_me:$LINENO: checking for $ac_func" >&5
73601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73602 if eval "test \"\${$as_ac_var+set}\" = set"; then
73603 echo $ECHO_N "(cached) $ECHO_C" >&6
73604 else
73605 if test x$gcc_no_link = xyes; then
73606 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73608 { (exit 1); exit 1; }; }
73610 cat >conftest.$ac_ext <<_ACEOF
73611 /* confdefs.h. */
73612 _ACEOF
73613 cat confdefs.h >>conftest.$ac_ext
73614 cat >>conftest.$ac_ext <<_ACEOF
73615 /* end confdefs.h. */
73616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73618 #define $ac_func innocuous_$ac_func
73620 /* System header to define __stub macros and hopefully few prototypes,
73621 which can conflict with char $ac_func (); below.
73622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73623 <limits.h> exists even on freestanding compilers. */
73625 #ifdef __STDC__
73626 # include <limits.h>
73627 #else
73628 # include <assert.h>
73629 #endif
73631 #undef $ac_func
73633 /* Override any gcc2 internal prototype to avoid an error. */
73634 #ifdef __cplusplus
73635 extern "C"
73637 #endif
73638 /* We use char because int might match the return type of a gcc2
73639 builtin and then its argument prototype would still apply. */
73640 char $ac_func ();
73641 /* The GNU C library defines this for functions which it implements
73642 to always fail with ENOSYS. Some functions are actually named
73643 something starting with __ and the normal name is an alias. */
73644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73645 choke me
73646 #else
73647 char (*f) () = $ac_func;
73648 #endif
73649 #ifdef __cplusplus
73651 #endif
73654 main ()
73656 return f != $ac_func;
73658 return 0;
73660 _ACEOF
73661 rm -f conftest.$ac_objext conftest$ac_exeext
73662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73663 (eval $ac_link) 2>conftest.er1
73664 ac_status=$?
73665 grep -v '^ *+' conftest.er1 >conftest.err
73666 rm -f conftest.er1
73667 cat conftest.err >&5
73668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73669 (exit $ac_status); } &&
73670 { ac_try='test -z "$ac_c_werror_flag"
73671 || test ! -s conftest.err'
73672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73673 (eval $ac_try) 2>&5
73674 ac_status=$?
73675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73676 (exit $ac_status); }; } &&
73677 { ac_try='test -s conftest$ac_exeext'
73678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73679 (eval $ac_try) 2>&5
73680 ac_status=$?
73681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73682 (exit $ac_status); }; }; then
73683 eval "$as_ac_var=yes"
73684 else
73685 echo "$as_me: failed program was:" >&5
73686 sed 's/^/| /' conftest.$ac_ext >&5
73688 eval "$as_ac_var=no"
73690 rm -f conftest.err conftest.$ac_objext \
73691 conftest$ac_exeext conftest.$ac_ext
73693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73695 if test `eval echo '${'$as_ac_var'}'` = yes; then
73696 cat >>confdefs.h <<_ACEOF
73697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73698 _ACEOF
73701 done
73719 echo "$as_me:$LINENO: checking for long double round functions" >&5
73720 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
73721 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
73722 echo $ECHO_N "(cached) $ECHO_C" >&6
73723 else
73727 ac_ext=cc
73728 ac_cpp='$CXXCPP $CPPFLAGS'
73729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73733 cat >conftest.$ac_ext <<_ACEOF
73734 /* confdefs.h. */
73735 _ACEOF
73736 cat confdefs.h >>conftest.$ac_ext
73737 cat >>conftest.$ac_ext <<_ACEOF
73738 /* end confdefs.h. */
73739 #include <math.h>
73741 main ()
73743 ceill (0); floorl (0);
73745 return 0;
73747 _ACEOF
73748 rm -f conftest.$ac_objext
73749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73750 (eval $ac_compile) 2>conftest.er1
73751 ac_status=$?
73752 grep -v '^ *+' conftest.er1 >conftest.err
73753 rm -f conftest.er1
73754 cat conftest.err >&5
73755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73756 (exit $ac_status); } &&
73757 { ac_try='test -z "$ac_cxx_werror_flag"
73758 || test ! -s conftest.err'
73759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73760 (eval $ac_try) 2>&5
73761 ac_status=$?
73762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73763 (exit $ac_status); }; } &&
73764 { ac_try='test -s conftest.$ac_objext'
73765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73766 (eval $ac_try) 2>&5
73767 ac_status=$?
73768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73769 (exit $ac_status); }; }; then
73770 glibcxx_cv_func_long_double_round_use=yes
73771 else
73772 echo "$as_me: failed program was:" >&5
73773 sed 's/^/| /' conftest.$ac_ext >&5
73775 glibcxx_cv_func_long_double_round_use=no
73777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73778 ac_ext=c
73779 ac_cpp='$CPP $CPPFLAGS'
73780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73786 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
73787 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
73788 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
73791 for ac_func in ceill floorl
73793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73794 echo "$as_me:$LINENO: checking for $ac_func" >&5
73795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73796 if eval "test \"\${$as_ac_var+set}\" = set"; then
73797 echo $ECHO_N "(cached) $ECHO_C" >&6
73798 else
73799 if test x$gcc_no_link = xyes; then
73800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73802 { (exit 1); exit 1; }; }
73804 cat >conftest.$ac_ext <<_ACEOF
73805 /* confdefs.h. */
73806 _ACEOF
73807 cat confdefs.h >>conftest.$ac_ext
73808 cat >>conftest.$ac_ext <<_ACEOF
73809 /* end confdefs.h. */
73810 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73811 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73812 #define $ac_func innocuous_$ac_func
73814 /* System header to define __stub macros and hopefully few prototypes,
73815 which can conflict with char $ac_func (); below.
73816 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73817 <limits.h> exists even on freestanding compilers. */
73819 #ifdef __STDC__
73820 # include <limits.h>
73821 #else
73822 # include <assert.h>
73823 #endif
73825 #undef $ac_func
73827 /* Override any gcc2 internal prototype to avoid an error. */
73828 #ifdef __cplusplus
73829 extern "C"
73831 #endif
73832 /* We use char because int might match the return type of a gcc2
73833 builtin and then its argument prototype would still apply. */
73834 char $ac_func ();
73835 /* The GNU C library defines this for functions which it implements
73836 to always fail with ENOSYS. Some functions are actually named
73837 something starting with __ and the normal name is an alias. */
73838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73839 choke me
73840 #else
73841 char (*f) () = $ac_func;
73842 #endif
73843 #ifdef __cplusplus
73845 #endif
73848 main ()
73850 return f != $ac_func;
73852 return 0;
73854 _ACEOF
73855 rm -f conftest.$ac_objext conftest$ac_exeext
73856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73857 (eval $ac_link) 2>conftest.er1
73858 ac_status=$?
73859 grep -v '^ *+' conftest.er1 >conftest.err
73860 rm -f conftest.er1
73861 cat conftest.err >&5
73862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73863 (exit $ac_status); } &&
73864 { ac_try='test -z "$ac_c_werror_flag"
73865 || test ! -s conftest.err'
73866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73867 (eval $ac_try) 2>&5
73868 ac_status=$?
73869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73870 (exit $ac_status); }; } &&
73871 { ac_try='test -s conftest$ac_exeext'
73872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73873 (eval $ac_try) 2>&5
73874 ac_status=$?
73875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73876 (exit $ac_status); }; }; then
73877 eval "$as_ac_var=yes"
73878 else
73879 echo "$as_me: failed program was:" >&5
73880 sed 's/^/| /' conftest.$ac_ext >&5
73882 eval "$as_ac_var=no"
73884 rm -f conftest.err conftest.$ac_objext \
73885 conftest$ac_exeext conftest.$ac_ext
73887 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73888 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73889 if test `eval echo '${'$as_ac_var'}'` = yes; then
73890 cat >>confdefs.h <<_ACEOF
73891 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73892 _ACEOF
73895 done
73897 else
73898 echo "$as_me:$LINENO: checking for _long double round functions" >&5
73899 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
73900 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
73901 echo $ECHO_N "(cached) $ECHO_C" >&6
73902 else
73906 ac_ext=cc
73907 ac_cpp='$CXXCPP $CPPFLAGS'
73908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73912 cat >conftest.$ac_ext <<_ACEOF
73913 /* confdefs.h. */
73914 _ACEOF
73915 cat confdefs.h >>conftest.$ac_ext
73916 cat >>conftest.$ac_ext <<_ACEOF
73917 /* end confdefs.h. */
73918 #include <math.h>
73920 main ()
73922 _ceill (0); _floorl (0);
73924 return 0;
73926 _ACEOF
73927 rm -f conftest.$ac_objext
73928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73929 (eval $ac_compile) 2>conftest.er1
73930 ac_status=$?
73931 grep -v '^ *+' conftest.er1 >conftest.err
73932 rm -f conftest.er1
73933 cat conftest.err >&5
73934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73935 (exit $ac_status); } &&
73936 { ac_try='test -z "$ac_cxx_werror_flag"
73937 || test ! -s conftest.err'
73938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73939 (eval $ac_try) 2>&5
73940 ac_status=$?
73941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73942 (exit $ac_status); }; } &&
73943 { ac_try='test -s conftest.$ac_objext'
73944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73945 (eval $ac_try) 2>&5
73946 ac_status=$?
73947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73948 (exit $ac_status); }; }; then
73949 glibcxx_cv_func__long_double_round_use=yes
73950 else
73951 echo "$as_me: failed program was:" >&5
73952 sed 's/^/| /' conftest.$ac_ext >&5
73954 glibcxx_cv_func__long_double_round_use=no
73956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73957 ac_ext=c
73958 ac_cpp='$CPP $CPPFLAGS'
73959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73965 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
73966 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
73967 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
73970 for ac_func in _ceill _floorl
73972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73973 echo "$as_me:$LINENO: checking for $ac_func" >&5
73974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73975 if eval "test \"\${$as_ac_var+set}\" = set"; then
73976 echo $ECHO_N "(cached) $ECHO_C" >&6
73977 else
73978 if test x$gcc_no_link = xyes; then
73979 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73980 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73981 { (exit 1); exit 1; }; }
73983 cat >conftest.$ac_ext <<_ACEOF
73984 /* confdefs.h. */
73985 _ACEOF
73986 cat confdefs.h >>conftest.$ac_ext
73987 cat >>conftest.$ac_ext <<_ACEOF
73988 /* end confdefs.h. */
73989 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73990 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73991 #define $ac_func innocuous_$ac_func
73993 /* System header to define __stub macros and hopefully few prototypes,
73994 which can conflict with char $ac_func (); below.
73995 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73996 <limits.h> exists even on freestanding compilers. */
73998 #ifdef __STDC__
73999 # include <limits.h>
74000 #else
74001 # include <assert.h>
74002 #endif
74004 #undef $ac_func
74006 /* Override any gcc2 internal prototype to avoid an error. */
74007 #ifdef __cplusplus
74008 extern "C"
74010 #endif
74011 /* We use char because int might match the return type of a gcc2
74012 builtin and then its argument prototype would still apply. */
74013 char $ac_func ();
74014 /* The GNU C library defines this for functions which it implements
74015 to always fail with ENOSYS. Some functions are actually named
74016 something starting with __ and the normal name is an alias. */
74017 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74018 choke me
74019 #else
74020 char (*f) () = $ac_func;
74021 #endif
74022 #ifdef __cplusplus
74024 #endif
74027 main ()
74029 return f != $ac_func;
74031 return 0;
74033 _ACEOF
74034 rm -f conftest.$ac_objext conftest$ac_exeext
74035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74036 (eval $ac_link) 2>conftest.er1
74037 ac_status=$?
74038 grep -v '^ *+' conftest.er1 >conftest.err
74039 rm -f conftest.er1
74040 cat conftest.err >&5
74041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74042 (exit $ac_status); } &&
74043 { ac_try='test -z "$ac_c_werror_flag"
74044 || test ! -s conftest.err'
74045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74046 (eval $ac_try) 2>&5
74047 ac_status=$?
74048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74049 (exit $ac_status); }; } &&
74050 { ac_try='test -s conftest$ac_exeext'
74051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74052 (eval $ac_try) 2>&5
74053 ac_status=$?
74054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74055 (exit $ac_status); }; }; then
74056 eval "$as_ac_var=yes"
74057 else
74058 echo "$as_me: failed program was:" >&5
74059 sed 's/^/| /' conftest.$ac_ext >&5
74061 eval "$as_ac_var=no"
74063 rm -f conftest.err conftest.$ac_objext \
74064 conftest$ac_exeext conftest.$ac_ext
74066 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74067 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74068 if test `eval echo '${'$as_ac_var'}'` = yes; then
74069 cat >>confdefs.h <<_ACEOF
74070 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74071 _ACEOF
74074 done
74086 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
74087 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
74088 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
74089 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
74090 echo $ECHO_N "(cached) $ECHO_C" >&6
74091 else
74095 ac_ext=cc
74096 ac_cpp='$CXXCPP $CPPFLAGS'
74097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74101 cat >conftest.$ac_ext <<_ACEOF
74102 /* confdefs.h. */
74103 _ACEOF
74104 cat confdefs.h >>conftest.$ac_ext
74105 cat >>conftest.$ac_ext <<_ACEOF
74106 /* end confdefs.h. */
74107 #include <math.h>
74108 #ifdef HAVE_IEEEFP_H
74109 #include <ieeefp.h>
74110 #endif
74113 main ()
74115 isnanl(0);
74117 return 0;
74119 _ACEOF
74120 rm -f conftest.$ac_objext
74121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74122 (eval $ac_compile) 2>conftest.er1
74123 ac_status=$?
74124 grep -v '^ *+' conftest.er1 >conftest.err
74125 rm -f conftest.er1
74126 cat conftest.err >&5
74127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74128 (exit $ac_status); } &&
74129 { ac_try='test -z "$ac_cxx_werror_flag"
74130 || test ! -s conftest.err'
74131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74132 (eval $ac_try) 2>&5
74133 ac_status=$?
74134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74135 (exit $ac_status); }; } &&
74136 { ac_try='test -s conftest.$ac_objext'
74137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74138 (eval $ac_try) 2>&5
74139 ac_status=$?
74140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74141 (exit $ac_status); }; }; then
74142 glibcxx_cv_func_isnanl_use=yes
74143 else
74144 echo "$as_me: failed program was:" >&5
74145 sed 's/^/| /' conftest.$ac_ext >&5
74147 glibcxx_cv_func_isnanl_use=no
74149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74150 ac_ext=c
74151 ac_cpp='$CPP $CPPFLAGS'
74152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74160 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
74161 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
74163 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
74165 for ac_func in isnanl
74167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74168 echo "$as_me:$LINENO: checking for $ac_func" >&5
74169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74170 if eval "test \"\${$as_ac_var+set}\" = set"; then
74171 echo $ECHO_N "(cached) $ECHO_C" >&6
74172 else
74173 if test x$gcc_no_link = xyes; then
74174 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74176 { (exit 1); exit 1; }; }
74178 cat >conftest.$ac_ext <<_ACEOF
74179 /* confdefs.h. */
74180 _ACEOF
74181 cat confdefs.h >>conftest.$ac_ext
74182 cat >>conftest.$ac_ext <<_ACEOF
74183 /* end confdefs.h. */
74184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74186 #define $ac_func innocuous_$ac_func
74188 /* System header to define __stub macros and hopefully few prototypes,
74189 which can conflict with char $ac_func (); below.
74190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74191 <limits.h> exists even on freestanding compilers. */
74193 #ifdef __STDC__
74194 # include <limits.h>
74195 #else
74196 # include <assert.h>
74197 #endif
74199 #undef $ac_func
74201 /* Override any gcc2 internal prototype to avoid an error. */
74202 #ifdef __cplusplus
74203 extern "C"
74205 #endif
74206 /* We use char because int might match the return type of a gcc2
74207 builtin and then its argument prototype would still apply. */
74208 char $ac_func ();
74209 /* The GNU C library defines this for functions which it implements
74210 to always fail with ENOSYS. Some functions are actually named
74211 something starting with __ and the normal name is an alias. */
74212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74213 choke me
74214 #else
74215 char (*f) () = $ac_func;
74216 #endif
74217 #ifdef __cplusplus
74219 #endif
74222 main ()
74224 return f != $ac_func;
74226 return 0;
74228 _ACEOF
74229 rm -f conftest.$ac_objext conftest$ac_exeext
74230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74231 (eval $ac_link) 2>conftest.er1
74232 ac_status=$?
74233 grep -v '^ *+' conftest.er1 >conftest.err
74234 rm -f conftest.er1
74235 cat conftest.err >&5
74236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74237 (exit $ac_status); } &&
74238 { ac_try='test -z "$ac_c_werror_flag"
74239 || test ! -s conftest.err'
74240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74241 (eval $ac_try) 2>&5
74242 ac_status=$?
74243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74244 (exit $ac_status); }; } &&
74245 { ac_try='test -s conftest$ac_exeext'
74246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74247 (eval $ac_try) 2>&5
74248 ac_status=$?
74249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74250 (exit $ac_status); }; }; then
74251 eval "$as_ac_var=yes"
74252 else
74253 echo "$as_me: failed program was:" >&5
74254 sed 's/^/| /' conftest.$ac_ext >&5
74256 eval "$as_ac_var=no"
74258 rm -f conftest.err conftest.$ac_objext \
74259 conftest$ac_exeext conftest.$ac_ext
74261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74262 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74263 if test `eval echo '${'$as_ac_var'}'` = yes; then
74264 cat >>confdefs.h <<_ACEOF
74265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74266 _ACEOF
74269 done
74271 else
74273 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
74274 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
74275 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
74276 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
74277 echo $ECHO_N "(cached) $ECHO_C" >&6
74278 else
74282 ac_ext=cc
74283 ac_cpp='$CXXCPP $CPPFLAGS'
74284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74288 cat >conftest.$ac_ext <<_ACEOF
74289 /* confdefs.h. */
74290 _ACEOF
74291 cat confdefs.h >>conftest.$ac_ext
74292 cat >>conftest.$ac_ext <<_ACEOF
74293 /* end confdefs.h. */
74294 #include <math.h>
74295 #ifdef HAVE_IEEEFP_H
74296 #include <ieeefp.h>
74297 #endif
74300 main ()
74302 _isnanl(0);
74304 return 0;
74306 _ACEOF
74307 rm -f conftest.$ac_objext
74308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74309 (eval $ac_compile) 2>conftest.er1
74310 ac_status=$?
74311 grep -v '^ *+' conftest.er1 >conftest.err
74312 rm -f conftest.er1
74313 cat conftest.err >&5
74314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74315 (exit $ac_status); } &&
74316 { ac_try='test -z "$ac_cxx_werror_flag"
74317 || test ! -s conftest.err'
74318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74319 (eval $ac_try) 2>&5
74320 ac_status=$?
74321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74322 (exit $ac_status); }; } &&
74323 { ac_try='test -s conftest.$ac_objext'
74324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74325 (eval $ac_try) 2>&5
74326 ac_status=$?
74327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74328 (exit $ac_status); }; }; then
74329 glibcxx_cv_func__isnanl_use=yes
74330 else
74331 echo "$as_me: failed program was:" >&5
74332 sed 's/^/| /' conftest.$ac_ext >&5
74334 glibcxx_cv_func__isnanl_use=no
74336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74337 ac_ext=c
74338 ac_cpp='$CPP $CPPFLAGS'
74339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74347 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
74348 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
74350 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
74352 for ac_func in _isnanl
74354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74355 echo "$as_me:$LINENO: checking for $ac_func" >&5
74356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74357 if eval "test \"\${$as_ac_var+set}\" = set"; then
74358 echo $ECHO_N "(cached) $ECHO_C" >&6
74359 else
74360 if test x$gcc_no_link = xyes; then
74361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74363 { (exit 1); exit 1; }; }
74365 cat >conftest.$ac_ext <<_ACEOF
74366 /* confdefs.h. */
74367 _ACEOF
74368 cat confdefs.h >>conftest.$ac_ext
74369 cat >>conftest.$ac_ext <<_ACEOF
74370 /* end confdefs.h. */
74371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74373 #define $ac_func innocuous_$ac_func
74375 /* System header to define __stub macros and hopefully few prototypes,
74376 which can conflict with char $ac_func (); below.
74377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74378 <limits.h> exists even on freestanding compilers. */
74380 #ifdef __STDC__
74381 # include <limits.h>
74382 #else
74383 # include <assert.h>
74384 #endif
74386 #undef $ac_func
74388 /* Override any gcc2 internal prototype to avoid an error. */
74389 #ifdef __cplusplus
74390 extern "C"
74392 #endif
74393 /* We use char because int might match the return type of a gcc2
74394 builtin and then its argument prototype would still apply. */
74395 char $ac_func ();
74396 /* The GNU C library defines this for functions which it implements
74397 to always fail with ENOSYS. Some functions are actually named
74398 something starting with __ and the normal name is an alias. */
74399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74400 choke me
74401 #else
74402 char (*f) () = $ac_func;
74403 #endif
74404 #ifdef __cplusplus
74406 #endif
74409 main ()
74411 return f != $ac_func;
74413 return 0;
74415 _ACEOF
74416 rm -f conftest.$ac_objext conftest$ac_exeext
74417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74418 (eval $ac_link) 2>conftest.er1
74419 ac_status=$?
74420 grep -v '^ *+' conftest.er1 >conftest.err
74421 rm -f conftest.er1
74422 cat conftest.err >&5
74423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74424 (exit $ac_status); } &&
74425 { ac_try='test -z "$ac_c_werror_flag"
74426 || test ! -s conftest.err'
74427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74428 (eval $ac_try) 2>&5
74429 ac_status=$?
74430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74431 (exit $ac_status); }; } &&
74432 { ac_try='test -s conftest$ac_exeext'
74433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74434 (eval $ac_try) 2>&5
74435 ac_status=$?
74436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74437 (exit $ac_status); }; }; then
74438 eval "$as_ac_var=yes"
74439 else
74440 echo "$as_me: failed program was:" >&5
74441 sed 's/^/| /' conftest.$ac_ext >&5
74443 eval "$as_ac_var=no"
74445 rm -f conftest.err conftest.$ac_objext \
74446 conftest$ac_exeext conftest.$ac_ext
74448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74450 if test `eval echo '${'$as_ac_var'}'` = yes; then
74451 cat >>confdefs.h <<_ACEOF
74452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74453 _ACEOF
74456 done
74466 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
74467 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
74468 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
74469 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
74470 echo $ECHO_N "(cached) $ECHO_C" >&6
74471 else
74475 ac_ext=cc
74476 ac_cpp='$CXXCPP $CPPFLAGS'
74477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74481 cat >conftest.$ac_ext <<_ACEOF
74482 /* confdefs.h. */
74483 _ACEOF
74484 cat confdefs.h >>conftest.$ac_ext
74485 cat >>conftest.$ac_ext <<_ACEOF
74486 /* end confdefs.h. */
74487 #include <math.h>
74488 #ifdef HAVE_IEEEFP_H
74489 #include <ieeefp.h>
74490 #endif
74493 main ()
74495 isinfl(0);
74497 return 0;
74499 _ACEOF
74500 rm -f conftest.$ac_objext
74501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74502 (eval $ac_compile) 2>conftest.er1
74503 ac_status=$?
74504 grep -v '^ *+' conftest.er1 >conftest.err
74505 rm -f conftest.er1
74506 cat conftest.err >&5
74507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74508 (exit $ac_status); } &&
74509 { ac_try='test -z "$ac_cxx_werror_flag"
74510 || test ! -s conftest.err'
74511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74512 (eval $ac_try) 2>&5
74513 ac_status=$?
74514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74515 (exit $ac_status); }; } &&
74516 { ac_try='test -s conftest.$ac_objext'
74517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74518 (eval $ac_try) 2>&5
74519 ac_status=$?
74520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74521 (exit $ac_status); }; }; then
74522 glibcxx_cv_func_isinfl_use=yes
74523 else
74524 echo "$as_me: failed program was:" >&5
74525 sed 's/^/| /' conftest.$ac_ext >&5
74527 glibcxx_cv_func_isinfl_use=no
74529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74530 ac_ext=c
74531 ac_cpp='$CPP $CPPFLAGS'
74532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74540 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
74541 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
74543 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
74545 for ac_func in isinfl
74547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74548 echo "$as_me:$LINENO: checking for $ac_func" >&5
74549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74550 if eval "test \"\${$as_ac_var+set}\" = set"; then
74551 echo $ECHO_N "(cached) $ECHO_C" >&6
74552 else
74553 if test x$gcc_no_link = xyes; then
74554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74556 { (exit 1); exit 1; }; }
74558 cat >conftest.$ac_ext <<_ACEOF
74559 /* confdefs.h. */
74560 _ACEOF
74561 cat confdefs.h >>conftest.$ac_ext
74562 cat >>conftest.$ac_ext <<_ACEOF
74563 /* end confdefs.h. */
74564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74565 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74566 #define $ac_func innocuous_$ac_func
74568 /* System header to define __stub macros and hopefully few prototypes,
74569 which can conflict with char $ac_func (); below.
74570 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74571 <limits.h> exists even on freestanding compilers. */
74573 #ifdef __STDC__
74574 # include <limits.h>
74575 #else
74576 # include <assert.h>
74577 #endif
74579 #undef $ac_func
74581 /* Override any gcc2 internal prototype to avoid an error. */
74582 #ifdef __cplusplus
74583 extern "C"
74585 #endif
74586 /* We use char because int might match the return type of a gcc2
74587 builtin and then its argument prototype would still apply. */
74588 char $ac_func ();
74589 /* The GNU C library defines this for functions which it implements
74590 to always fail with ENOSYS. Some functions are actually named
74591 something starting with __ and the normal name is an alias. */
74592 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74593 choke me
74594 #else
74595 char (*f) () = $ac_func;
74596 #endif
74597 #ifdef __cplusplus
74599 #endif
74602 main ()
74604 return f != $ac_func;
74606 return 0;
74608 _ACEOF
74609 rm -f conftest.$ac_objext conftest$ac_exeext
74610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74611 (eval $ac_link) 2>conftest.er1
74612 ac_status=$?
74613 grep -v '^ *+' conftest.er1 >conftest.err
74614 rm -f conftest.er1
74615 cat conftest.err >&5
74616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74617 (exit $ac_status); } &&
74618 { ac_try='test -z "$ac_c_werror_flag"
74619 || test ! -s conftest.err'
74620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74621 (eval $ac_try) 2>&5
74622 ac_status=$?
74623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74624 (exit $ac_status); }; } &&
74625 { ac_try='test -s conftest$ac_exeext'
74626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74627 (eval $ac_try) 2>&5
74628 ac_status=$?
74629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74630 (exit $ac_status); }; }; then
74631 eval "$as_ac_var=yes"
74632 else
74633 echo "$as_me: failed program was:" >&5
74634 sed 's/^/| /' conftest.$ac_ext >&5
74636 eval "$as_ac_var=no"
74638 rm -f conftest.err conftest.$ac_objext \
74639 conftest$ac_exeext conftest.$ac_ext
74641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74643 if test `eval echo '${'$as_ac_var'}'` = yes; then
74644 cat >>confdefs.h <<_ACEOF
74645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74646 _ACEOF
74649 done
74651 else
74653 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
74654 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
74655 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
74656 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
74657 echo $ECHO_N "(cached) $ECHO_C" >&6
74658 else
74662 ac_ext=cc
74663 ac_cpp='$CXXCPP $CPPFLAGS'
74664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74668 cat >conftest.$ac_ext <<_ACEOF
74669 /* confdefs.h. */
74670 _ACEOF
74671 cat confdefs.h >>conftest.$ac_ext
74672 cat >>conftest.$ac_ext <<_ACEOF
74673 /* end confdefs.h. */
74674 #include <math.h>
74675 #ifdef HAVE_IEEEFP_H
74676 #include <ieeefp.h>
74677 #endif
74680 main ()
74682 _isinfl(0);
74684 return 0;
74686 _ACEOF
74687 rm -f conftest.$ac_objext
74688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74689 (eval $ac_compile) 2>conftest.er1
74690 ac_status=$?
74691 grep -v '^ *+' conftest.er1 >conftest.err
74692 rm -f conftest.er1
74693 cat conftest.err >&5
74694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74695 (exit $ac_status); } &&
74696 { ac_try='test -z "$ac_cxx_werror_flag"
74697 || test ! -s conftest.err'
74698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74699 (eval $ac_try) 2>&5
74700 ac_status=$?
74701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74702 (exit $ac_status); }; } &&
74703 { ac_try='test -s conftest.$ac_objext'
74704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74705 (eval $ac_try) 2>&5
74706 ac_status=$?
74707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74708 (exit $ac_status); }; }; then
74709 glibcxx_cv_func__isinfl_use=yes
74710 else
74711 echo "$as_me: failed program was:" >&5
74712 sed 's/^/| /' conftest.$ac_ext >&5
74714 glibcxx_cv_func__isinfl_use=no
74716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74717 ac_ext=c
74718 ac_cpp='$CPP $CPPFLAGS'
74719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74727 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
74728 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
74730 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
74732 for ac_func in _isinfl
74734 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74735 echo "$as_me:$LINENO: checking for $ac_func" >&5
74736 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74737 if eval "test \"\${$as_ac_var+set}\" = set"; then
74738 echo $ECHO_N "(cached) $ECHO_C" >&6
74739 else
74740 if test x$gcc_no_link = xyes; then
74741 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74742 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74743 { (exit 1); exit 1; }; }
74745 cat >conftest.$ac_ext <<_ACEOF
74746 /* confdefs.h. */
74747 _ACEOF
74748 cat confdefs.h >>conftest.$ac_ext
74749 cat >>conftest.$ac_ext <<_ACEOF
74750 /* end confdefs.h. */
74751 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74752 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74753 #define $ac_func innocuous_$ac_func
74755 /* System header to define __stub macros and hopefully few prototypes,
74756 which can conflict with char $ac_func (); below.
74757 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74758 <limits.h> exists even on freestanding compilers. */
74760 #ifdef __STDC__
74761 # include <limits.h>
74762 #else
74763 # include <assert.h>
74764 #endif
74766 #undef $ac_func
74768 /* Override any gcc2 internal prototype to avoid an error. */
74769 #ifdef __cplusplus
74770 extern "C"
74772 #endif
74773 /* We use char because int might match the return type of a gcc2
74774 builtin and then its argument prototype would still apply. */
74775 char $ac_func ();
74776 /* The GNU C library defines this for functions which it implements
74777 to always fail with ENOSYS. Some functions are actually named
74778 something starting with __ and the normal name is an alias. */
74779 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74780 choke me
74781 #else
74782 char (*f) () = $ac_func;
74783 #endif
74784 #ifdef __cplusplus
74786 #endif
74789 main ()
74791 return f != $ac_func;
74793 return 0;
74795 _ACEOF
74796 rm -f conftest.$ac_objext conftest$ac_exeext
74797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74798 (eval $ac_link) 2>conftest.er1
74799 ac_status=$?
74800 grep -v '^ *+' conftest.er1 >conftest.err
74801 rm -f conftest.er1
74802 cat conftest.err >&5
74803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74804 (exit $ac_status); } &&
74805 { ac_try='test -z "$ac_c_werror_flag"
74806 || test ! -s conftest.err'
74807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74808 (eval $ac_try) 2>&5
74809 ac_status=$?
74810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74811 (exit $ac_status); }; } &&
74812 { ac_try='test -s conftest$ac_exeext'
74813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74814 (eval $ac_try) 2>&5
74815 ac_status=$?
74816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74817 (exit $ac_status); }; }; then
74818 eval "$as_ac_var=yes"
74819 else
74820 echo "$as_me: failed program was:" >&5
74821 sed 's/^/| /' conftest.$ac_ext >&5
74823 eval "$as_ac_var=no"
74825 rm -f conftest.err conftest.$ac_objext \
74826 conftest$ac_exeext conftest.$ac_ext
74828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74829 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74830 if test `eval echo '${'$as_ac_var'}'` = yes; then
74831 cat >>confdefs.h <<_ACEOF
74832 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74833 _ACEOF
74836 done
74846 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
74847 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
74848 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
74849 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
74850 echo $ECHO_N "(cached) $ECHO_C" >&6
74851 else
74855 ac_ext=cc
74856 ac_cpp='$CXXCPP $CPPFLAGS'
74857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74861 cat >conftest.$ac_ext <<_ACEOF
74862 /* confdefs.h. */
74863 _ACEOF
74864 cat confdefs.h >>conftest.$ac_ext
74865 cat >>conftest.$ac_ext <<_ACEOF
74866 /* end confdefs.h. */
74867 #include <math.h>
74869 main ()
74871 copysignl(0, 0);
74873 return 0;
74875 _ACEOF
74876 rm -f conftest.$ac_objext
74877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74878 (eval $ac_compile) 2>conftest.er1
74879 ac_status=$?
74880 grep -v '^ *+' conftest.er1 >conftest.err
74881 rm -f conftest.er1
74882 cat conftest.err >&5
74883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74884 (exit $ac_status); } &&
74885 { ac_try='test -z "$ac_cxx_werror_flag"
74886 || test ! -s conftest.err'
74887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74888 (eval $ac_try) 2>&5
74889 ac_status=$?
74890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74891 (exit $ac_status); }; } &&
74892 { ac_try='test -s conftest.$ac_objext'
74893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74894 (eval $ac_try) 2>&5
74895 ac_status=$?
74896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74897 (exit $ac_status); }; }; then
74898 glibcxx_cv_func_copysignl_use=yes
74899 else
74900 echo "$as_me: failed program was:" >&5
74901 sed 's/^/| /' conftest.$ac_ext >&5
74903 glibcxx_cv_func_copysignl_use=no
74905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74906 ac_ext=c
74907 ac_cpp='$CPP $CPPFLAGS'
74908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74916 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
74917 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
74919 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
74921 for ac_func in copysignl
74923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74924 echo "$as_me:$LINENO: checking for $ac_func" >&5
74925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74926 if eval "test \"\${$as_ac_var+set}\" = set"; then
74927 echo $ECHO_N "(cached) $ECHO_C" >&6
74928 else
74929 if test x$gcc_no_link = xyes; then
74930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74932 { (exit 1); exit 1; }; }
74934 cat >conftest.$ac_ext <<_ACEOF
74935 /* confdefs.h. */
74936 _ACEOF
74937 cat confdefs.h >>conftest.$ac_ext
74938 cat >>conftest.$ac_ext <<_ACEOF
74939 /* end confdefs.h. */
74940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74942 #define $ac_func innocuous_$ac_func
74944 /* System header to define __stub macros and hopefully few prototypes,
74945 which can conflict with char $ac_func (); below.
74946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74947 <limits.h> exists even on freestanding compilers. */
74949 #ifdef __STDC__
74950 # include <limits.h>
74951 #else
74952 # include <assert.h>
74953 #endif
74955 #undef $ac_func
74957 /* Override any gcc2 internal prototype to avoid an error. */
74958 #ifdef __cplusplus
74959 extern "C"
74961 #endif
74962 /* We use char because int might match the return type of a gcc2
74963 builtin and then its argument prototype would still apply. */
74964 char $ac_func ();
74965 /* The GNU C library defines this for functions which it implements
74966 to always fail with ENOSYS. Some functions are actually named
74967 something starting with __ and the normal name is an alias. */
74968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74969 choke me
74970 #else
74971 char (*f) () = $ac_func;
74972 #endif
74973 #ifdef __cplusplus
74975 #endif
74978 main ()
74980 return f != $ac_func;
74982 return 0;
74984 _ACEOF
74985 rm -f conftest.$ac_objext conftest$ac_exeext
74986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74987 (eval $ac_link) 2>conftest.er1
74988 ac_status=$?
74989 grep -v '^ *+' conftest.er1 >conftest.err
74990 rm -f conftest.er1
74991 cat conftest.err >&5
74992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74993 (exit $ac_status); } &&
74994 { ac_try='test -z "$ac_c_werror_flag"
74995 || test ! -s conftest.err'
74996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74997 (eval $ac_try) 2>&5
74998 ac_status=$?
74999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75000 (exit $ac_status); }; } &&
75001 { ac_try='test -s conftest$ac_exeext'
75002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75003 (eval $ac_try) 2>&5
75004 ac_status=$?
75005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75006 (exit $ac_status); }; }; then
75007 eval "$as_ac_var=yes"
75008 else
75009 echo "$as_me: failed program was:" >&5
75010 sed 's/^/| /' conftest.$ac_ext >&5
75012 eval "$as_ac_var=no"
75014 rm -f conftest.err conftest.$ac_objext \
75015 conftest$ac_exeext conftest.$ac_ext
75017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75019 if test `eval echo '${'$as_ac_var'}'` = yes; then
75020 cat >>confdefs.h <<_ACEOF
75021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75022 _ACEOF
75025 done
75027 else
75029 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
75030 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
75031 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
75032 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
75033 echo $ECHO_N "(cached) $ECHO_C" >&6
75034 else
75038 ac_ext=cc
75039 ac_cpp='$CXXCPP $CPPFLAGS'
75040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75044 cat >conftest.$ac_ext <<_ACEOF
75045 /* confdefs.h. */
75046 _ACEOF
75047 cat confdefs.h >>conftest.$ac_ext
75048 cat >>conftest.$ac_ext <<_ACEOF
75049 /* end confdefs.h. */
75050 #include <math.h>
75052 main ()
75054 _copysignl(0, 0);
75056 return 0;
75058 _ACEOF
75059 rm -f conftest.$ac_objext
75060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75061 (eval $ac_compile) 2>conftest.er1
75062 ac_status=$?
75063 grep -v '^ *+' conftest.er1 >conftest.err
75064 rm -f conftest.er1
75065 cat conftest.err >&5
75066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75067 (exit $ac_status); } &&
75068 { ac_try='test -z "$ac_cxx_werror_flag"
75069 || test ! -s conftest.err'
75070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75071 (eval $ac_try) 2>&5
75072 ac_status=$?
75073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75074 (exit $ac_status); }; } &&
75075 { ac_try='test -s conftest.$ac_objext'
75076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75077 (eval $ac_try) 2>&5
75078 ac_status=$?
75079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75080 (exit $ac_status); }; }; then
75081 glibcxx_cv_func__copysignl_use=yes
75082 else
75083 echo "$as_me: failed program was:" >&5
75084 sed 's/^/| /' conftest.$ac_ext >&5
75086 glibcxx_cv_func__copysignl_use=no
75088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75089 ac_ext=c
75090 ac_cpp='$CPP $CPPFLAGS'
75091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75099 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
75100 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
75102 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
75104 for ac_func in _copysignl
75106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75107 echo "$as_me:$LINENO: checking for $ac_func" >&5
75108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75109 if eval "test \"\${$as_ac_var+set}\" = set"; then
75110 echo $ECHO_N "(cached) $ECHO_C" >&6
75111 else
75112 if test x$gcc_no_link = xyes; then
75113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75115 { (exit 1); exit 1; }; }
75117 cat >conftest.$ac_ext <<_ACEOF
75118 /* confdefs.h. */
75119 _ACEOF
75120 cat confdefs.h >>conftest.$ac_ext
75121 cat >>conftest.$ac_ext <<_ACEOF
75122 /* end confdefs.h. */
75123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75125 #define $ac_func innocuous_$ac_func
75127 /* System header to define __stub macros and hopefully few prototypes,
75128 which can conflict with char $ac_func (); below.
75129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75130 <limits.h> exists even on freestanding compilers. */
75132 #ifdef __STDC__
75133 # include <limits.h>
75134 #else
75135 # include <assert.h>
75136 #endif
75138 #undef $ac_func
75140 /* Override any gcc2 internal prototype to avoid an error. */
75141 #ifdef __cplusplus
75142 extern "C"
75144 #endif
75145 /* We use char because int might match the return type of a gcc2
75146 builtin and then its argument prototype would still apply. */
75147 char $ac_func ();
75148 /* The GNU C library defines this for functions which it implements
75149 to always fail with ENOSYS. Some functions are actually named
75150 something starting with __ and the normal name is an alias. */
75151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75152 choke me
75153 #else
75154 char (*f) () = $ac_func;
75155 #endif
75156 #ifdef __cplusplus
75158 #endif
75161 main ()
75163 return f != $ac_func;
75165 return 0;
75167 _ACEOF
75168 rm -f conftest.$ac_objext conftest$ac_exeext
75169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75170 (eval $ac_link) 2>conftest.er1
75171 ac_status=$?
75172 grep -v '^ *+' conftest.er1 >conftest.err
75173 rm -f conftest.er1
75174 cat conftest.err >&5
75175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75176 (exit $ac_status); } &&
75177 { ac_try='test -z "$ac_c_werror_flag"
75178 || test ! -s conftest.err'
75179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75180 (eval $ac_try) 2>&5
75181 ac_status=$?
75182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75183 (exit $ac_status); }; } &&
75184 { ac_try='test -s conftest$ac_exeext'
75185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75186 (eval $ac_try) 2>&5
75187 ac_status=$?
75188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75189 (exit $ac_status); }; }; then
75190 eval "$as_ac_var=yes"
75191 else
75192 echo "$as_me: failed program was:" >&5
75193 sed 's/^/| /' conftest.$ac_ext >&5
75195 eval "$as_ac_var=no"
75197 rm -f conftest.err conftest.$ac_objext \
75198 conftest$ac_exeext conftest.$ac_ext
75200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75202 if test `eval echo '${'$as_ac_var'}'` = yes; then
75203 cat >>confdefs.h <<_ACEOF
75204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75205 _ACEOF
75208 done
75218 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
75219 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
75220 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
75221 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
75222 echo $ECHO_N "(cached) $ECHO_C" >&6
75223 else
75227 ac_ext=cc
75228 ac_cpp='$CXXCPP $CPPFLAGS'
75229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75233 cat >conftest.$ac_ext <<_ACEOF
75234 /* confdefs.h. */
75235 _ACEOF
75236 cat confdefs.h >>conftest.$ac_ext
75237 cat >>conftest.$ac_ext <<_ACEOF
75238 /* end confdefs.h. */
75239 #include <math.h>
75241 main ()
75243 atan2l(0, 0);
75245 return 0;
75247 _ACEOF
75248 rm -f conftest.$ac_objext
75249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75250 (eval $ac_compile) 2>conftest.er1
75251 ac_status=$?
75252 grep -v '^ *+' conftest.er1 >conftest.err
75253 rm -f conftest.er1
75254 cat conftest.err >&5
75255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75256 (exit $ac_status); } &&
75257 { ac_try='test -z "$ac_cxx_werror_flag"
75258 || test ! -s conftest.err'
75259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75260 (eval $ac_try) 2>&5
75261 ac_status=$?
75262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75263 (exit $ac_status); }; } &&
75264 { ac_try='test -s conftest.$ac_objext'
75265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75266 (eval $ac_try) 2>&5
75267 ac_status=$?
75268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75269 (exit $ac_status); }; }; then
75270 glibcxx_cv_func_atan2l_use=yes
75271 else
75272 echo "$as_me: failed program was:" >&5
75273 sed 's/^/| /' conftest.$ac_ext >&5
75275 glibcxx_cv_func_atan2l_use=no
75277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75278 ac_ext=c
75279 ac_cpp='$CPP $CPPFLAGS'
75280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75288 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
75289 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
75291 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
75293 for ac_func in atan2l
75295 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75296 echo "$as_me:$LINENO: checking for $ac_func" >&5
75297 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75298 if eval "test \"\${$as_ac_var+set}\" = set"; then
75299 echo $ECHO_N "(cached) $ECHO_C" >&6
75300 else
75301 if test x$gcc_no_link = xyes; then
75302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75304 { (exit 1); exit 1; }; }
75306 cat >conftest.$ac_ext <<_ACEOF
75307 /* confdefs.h. */
75308 _ACEOF
75309 cat confdefs.h >>conftest.$ac_ext
75310 cat >>conftest.$ac_ext <<_ACEOF
75311 /* end confdefs.h. */
75312 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75313 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75314 #define $ac_func innocuous_$ac_func
75316 /* System header to define __stub macros and hopefully few prototypes,
75317 which can conflict with char $ac_func (); below.
75318 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75319 <limits.h> exists even on freestanding compilers. */
75321 #ifdef __STDC__
75322 # include <limits.h>
75323 #else
75324 # include <assert.h>
75325 #endif
75327 #undef $ac_func
75329 /* Override any gcc2 internal prototype to avoid an error. */
75330 #ifdef __cplusplus
75331 extern "C"
75333 #endif
75334 /* We use char because int might match the return type of a gcc2
75335 builtin and then its argument prototype would still apply. */
75336 char $ac_func ();
75337 /* The GNU C library defines this for functions which it implements
75338 to always fail with ENOSYS. Some functions are actually named
75339 something starting with __ and the normal name is an alias. */
75340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75341 choke me
75342 #else
75343 char (*f) () = $ac_func;
75344 #endif
75345 #ifdef __cplusplus
75347 #endif
75350 main ()
75352 return f != $ac_func;
75354 return 0;
75356 _ACEOF
75357 rm -f conftest.$ac_objext conftest$ac_exeext
75358 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75359 (eval $ac_link) 2>conftest.er1
75360 ac_status=$?
75361 grep -v '^ *+' conftest.er1 >conftest.err
75362 rm -f conftest.er1
75363 cat conftest.err >&5
75364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75365 (exit $ac_status); } &&
75366 { ac_try='test -z "$ac_c_werror_flag"
75367 || test ! -s conftest.err'
75368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75369 (eval $ac_try) 2>&5
75370 ac_status=$?
75371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75372 (exit $ac_status); }; } &&
75373 { ac_try='test -s conftest$ac_exeext'
75374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75375 (eval $ac_try) 2>&5
75376 ac_status=$?
75377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75378 (exit $ac_status); }; }; then
75379 eval "$as_ac_var=yes"
75380 else
75381 echo "$as_me: failed program was:" >&5
75382 sed 's/^/| /' conftest.$ac_ext >&5
75384 eval "$as_ac_var=no"
75386 rm -f conftest.err conftest.$ac_objext \
75387 conftest$ac_exeext conftest.$ac_ext
75389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75390 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75391 if test `eval echo '${'$as_ac_var'}'` = yes; then
75392 cat >>confdefs.h <<_ACEOF
75393 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75394 _ACEOF
75397 done
75399 else
75401 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
75402 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
75403 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
75404 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
75405 echo $ECHO_N "(cached) $ECHO_C" >&6
75406 else
75410 ac_ext=cc
75411 ac_cpp='$CXXCPP $CPPFLAGS'
75412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75416 cat >conftest.$ac_ext <<_ACEOF
75417 /* confdefs.h. */
75418 _ACEOF
75419 cat confdefs.h >>conftest.$ac_ext
75420 cat >>conftest.$ac_ext <<_ACEOF
75421 /* end confdefs.h. */
75422 #include <math.h>
75424 main ()
75426 _atan2l(0, 0);
75428 return 0;
75430 _ACEOF
75431 rm -f conftest.$ac_objext
75432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75433 (eval $ac_compile) 2>conftest.er1
75434 ac_status=$?
75435 grep -v '^ *+' conftest.er1 >conftest.err
75436 rm -f conftest.er1
75437 cat conftest.err >&5
75438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75439 (exit $ac_status); } &&
75440 { ac_try='test -z "$ac_cxx_werror_flag"
75441 || test ! -s conftest.err'
75442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75443 (eval $ac_try) 2>&5
75444 ac_status=$?
75445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75446 (exit $ac_status); }; } &&
75447 { ac_try='test -s conftest.$ac_objext'
75448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75449 (eval $ac_try) 2>&5
75450 ac_status=$?
75451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75452 (exit $ac_status); }; }; then
75453 glibcxx_cv_func__atan2l_use=yes
75454 else
75455 echo "$as_me: failed program was:" >&5
75456 sed 's/^/| /' conftest.$ac_ext >&5
75458 glibcxx_cv_func__atan2l_use=no
75460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75461 ac_ext=c
75462 ac_cpp='$CPP $CPPFLAGS'
75463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75471 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
75472 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
75474 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
75476 for ac_func in _atan2l
75478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75479 echo "$as_me:$LINENO: checking for $ac_func" >&5
75480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75481 if eval "test \"\${$as_ac_var+set}\" = set"; then
75482 echo $ECHO_N "(cached) $ECHO_C" >&6
75483 else
75484 if test x$gcc_no_link = xyes; then
75485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75487 { (exit 1); exit 1; }; }
75489 cat >conftest.$ac_ext <<_ACEOF
75490 /* confdefs.h. */
75491 _ACEOF
75492 cat confdefs.h >>conftest.$ac_ext
75493 cat >>conftest.$ac_ext <<_ACEOF
75494 /* end confdefs.h. */
75495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75497 #define $ac_func innocuous_$ac_func
75499 /* System header to define __stub macros and hopefully few prototypes,
75500 which can conflict with char $ac_func (); below.
75501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75502 <limits.h> exists even on freestanding compilers. */
75504 #ifdef __STDC__
75505 # include <limits.h>
75506 #else
75507 # include <assert.h>
75508 #endif
75510 #undef $ac_func
75512 /* Override any gcc2 internal prototype to avoid an error. */
75513 #ifdef __cplusplus
75514 extern "C"
75516 #endif
75517 /* We use char because int might match the return type of a gcc2
75518 builtin and then its argument prototype would still apply. */
75519 char $ac_func ();
75520 /* The GNU C library defines this for functions which it implements
75521 to always fail with ENOSYS. Some functions are actually named
75522 something starting with __ and the normal name is an alias. */
75523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75524 choke me
75525 #else
75526 char (*f) () = $ac_func;
75527 #endif
75528 #ifdef __cplusplus
75530 #endif
75533 main ()
75535 return f != $ac_func;
75537 return 0;
75539 _ACEOF
75540 rm -f conftest.$ac_objext conftest$ac_exeext
75541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75542 (eval $ac_link) 2>conftest.er1
75543 ac_status=$?
75544 grep -v '^ *+' conftest.er1 >conftest.err
75545 rm -f conftest.er1
75546 cat conftest.err >&5
75547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75548 (exit $ac_status); } &&
75549 { ac_try='test -z "$ac_c_werror_flag"
75550 || test ! -s conftest.err'
75551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75552 (eval $ac_try) 2>&5
75553 ac_status=$?
75554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75555 (exit $ac_status); }; } &&
75556 { ac_try='test -s conftest$ac_exeext'
75557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75558 (eval $ac_try) 2>&5
75559 ac_status=$?
75560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75561 (exit $ac_status); }; }; then
75562 eval "$as_ac_var=yes"
75563 else
75564 echo "$as_me: failed program was:" >&5
75565 sed 's/^/| /' conftest.$ac_ext >&5
75567 eval "$as_ac_var=no"
75569 rm -f conftest.err conftest.$ac_objext \
75570 conftest$ac_exeext conftest.$ac_ext
75572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75574 if test `eval echo '${'$as_ac_var'}'` = yes; then
75575 cat >>confdefs.h <<_ACEOF
75576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75577 _ACEOF
75580 done
75590 echo "$as_me:$LINENO: checking for expl declaration" >&5
75591 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
75592 if test x${glibcxx_cv_func_expl_use+set} != xset; then
75593 if test "${glibcxx_cv_func_expl_use+set}" = set; then
75594 echo $ECHO_N "(cached) $ECHO_C" >&6
75595 else
75599 ac_ext=cc
75600 ac_cpp='$CXXCPP $CPPFLAGS'
75601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75605 cat >conftest.$ac_ext <<_ACEOF
75606 /* confdefs.h. */
75607 _ACEOF
75608 cat confdefs.h >>conftest.$ac_ext
75609 cat >>conftest.$ac_ext <<_ACEOF
75610 /* end confdefs.h. */
75611 #include <math.h>
75612 #ifdef HAVE_IEEEFP_H
75613 #include <ieeefp.h>
75614 #endif
75617 main ()
75619 expl(0);
75621 return 0;
75623 _ACEOF
75624 rm -f conftest.$ac_objext
75625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75626 (eval $ac_compile) 2>conftest.er1
75627 ac_status=$?
75628 grep -v '^ *+' conftest.er1 >conftest.err
75629 rm -f conftest.er1
75630 cat conftest.err >&5
75631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75632 (exit $ac_status); } &&
75633 { ac_try='test -z "$ac_cxx_werror_flag"
75634 || test ! -s conftest.err'
75635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75636 (eval $ac_try) 2>&5
75637 ac_status=$?
75638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75639 (exit $ac_status); }; } &&
75640 { ac_try='test -s conftest.$ac_objext'
75641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75642 (eval $ac_try) 2>&5
75643 ac_status=$?
75644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75645 (exit $ac_status); }; }; then
75646 glibcxx_cv_func_expl_use=yes
75647 else
75648 echo "$as_me: failed program was:" >&5
75649 sed 's/^/| /' conftest.$ac_ext >&5
75651 glibcxx_cv_func_expl_use=no
75653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75654 ac_ext=c
75655 ac_cpp='$CPP $CPPFLAGS'
75656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75664 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
75665 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
75667 if test x$glibcxx_cv_func_expl_use = x"yes"; then
75669 for ac_func in expl
75671 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75672 echo "$as_me:$LINENO: checking for $ac_func" >&5
75673 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75674 if eval "test \"\${$as_ac_var+set}\" = set"; then
75675 echo $ECHO_N "(cached) $ECHO_C" >&6
75676 else
75677 if test x$gcc_no_link = xyes; then
75678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75680 { (exit 1); exit 1; }; }
75682 cat >conftest.$ac_ext <<_ACEOF
75683 /* confdefs.h. */
75684 _ACEOF
75685 cat confdefs.h >>conftest.$ac_ext
75686 cat >>conftest.$ac_ext <<_ACEOF
75687 /* end confdefs.h. */
75688 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75689 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75690 #define $ac_func innocuous_$ac_func
75692 /* System header to define __stub macros and hopefully few prototypes,
75693 which can conflict with char $ac_func (); below.
75694 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75695 <limits.h> exists even on freestanding compilers. */
75697 #ifdef __STDC__
75698 # include <limits.h>
75699 #else
75700 # include <assert.h>
75701 #endif
75703 #undef $ac_func
75705 /* Override any gcc2 internal prototype to avoid an error. */
75706 #ifdef __cplusplus
75707 extern "C"
75709 #endif
75710 /* We use char because int might match the return type of a gcc2
75711 builtin and then its argument prototype would still apply. */
75712 char $ac_func ();
75713 /* The GNU C library defines this for functions which it implements
75714 to always fail with ENOSYS. Some functions are actually named
75715 something starting with __ and the normal name is an alias. */
75716 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75717 choke me
75718 #else
75719 char (*f) () = $ac_func;
75720 #endif
75721 #ifdef __cplusplus
75723 #endif
75726 main ()
75728 return f != $ac_func;
75730 return 0;
75732 _ACEOF
75733 rm -f conftest.$ac_objext conftest$ac_exeext
75734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75735 (eval $ac_link) 2>conftest.er1
75736 ac_status=$?
75737 grep -v '^ *+' conftest.er1 >conftest.err
75738 rm -f conftest.er1
75739 cat conftest.err >&5
75740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75741 (exit $ac_status); } &&
75742 { ac_try='test -z "$ac_c_werror_flag"
75743 || test ! -s conftest.err'
75744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75745 (eval $ac_try) 2>&5
75746 ac_status=$?
75747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75748 (exit $ac_status); }; } &&
75749 { ac_try='test -s conftest$ac_exeext'
75750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75751 (eval $ac_try) 2>&5
75752 ac_status=$?
75753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75754 (exit $ac_status); }; }; then
75755 eval "$as_ac_var=yes"
75756 else
75757 echo "$as_me: failed program was:" >&5
75758 sed 's/^/| /' conftest.$ac_ext >&5
75760 eval "$as_ac_var=no"
75762 rm -f conftest.err conftest.$ac_objext \
75763 conftest$ac_exeext conftest.$ac_ext
75765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75766 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75767 if test `eval echo '${'$as_ac_var'}'` = yes; then
75768 cat >>confdefs.h <<_ACEOF
75769 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75770 _ACEOF
75773 done
75775 else
75777 echo "$as_me:$LINENO: checking for _expl declaration" >&5
75778 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
75779 if test x${glibcxx_cv_func__expl_use+set} != xset; then
75780 if test "${glibcxx_cv_func__expl_use+set}" = set; then
75781 echo $ECHO_N "(cached) $ECHO_C" >&6
75782 else
75786 ac_ext=cc
75787 ac_cpp='$CXXCPP $CPPFLAGS'
75788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75792 cat >conftest.$ac_ext <<_ACEOF
75793 /* confdefs.h. */
75794 _ACEOF
75795 cat confdefs.h >>conftest.$ac_ext
75796 cat >>conftest.$ac_ext <<_ACEOF
75797 /* end confdefs.h. */
75798 #include <math.h>
75799 #ifdef HAVE_IEEEFP_H
75800 #include <ieeefp.h>
75801 #endif
75804 main ()
75806 _expl(0);
75808 return 0;
75810 _ACEOF
75811 rm -f conftest.$ac_objext
75812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75813 (eval $ac_compile) 2>conftest.er1
75814 ac_status=$?
75815 grep -v '^ *+' conftest.er1 >conftest.err
75816 rm -f conftest.er1
75817 cat conftest.err >&5
75818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75819 (exit $ac_status); } &&
75820 { ac_try='test -z "$ac_cxx_werror_flag"
75821 || test ! -s conftest.err'
75822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75823 (eval $ac_try) 2>&5
75824 ac_status=$?
75825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75826 (exit $ac_status); }; } &&
75827 { ac_try='test -s conftest.$ac_objext'
75828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75829 (eval $ac_try) 2>&5
75830 ac_status=$?
75831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75832 (exit $ac_status); }; }; then
75833 glibcxx_cv_func__expl_use=yes
75834 else
75835 echo "$as_me: failed program was:" >&5
75836 sed 's/^/| /' conftest.$ac_ext >&5
75838 glibcxx_cv_func__expl_use=no
75840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75841 ac_ext=c
75842 ac_cpp='$CPP $CPPFLAGS'
75843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75851 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
75852 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
75854 if test x$glibcxx_cv_func__expl_use = x"yes"; then
75856 for ac_func in _expl
75858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75859 echo "$as_me:$LINENO: checking for $ac_func" >&5
75860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75861 if eval "test \"\${$as_ac_var+set}\" = set"; then
75862 echo $ECHO_N "(cached) $ECHO_C" >&6
75863 else
75864 if test x$gcc_no_link = xyes; then
75865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75867 { (exit 1); exit 1; }; }
75869 cat >conftest.$ac_ext <<_ACEOF
75870 /* confdefs.h. */
75871 _ACEOF
75872 cat confdefs.h >>conftest.$ac_ext
75873 cat >>conftest.$ac_ext <<_ACEOF
75874 /* end confdefs.h. */
75875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75877 #define $ac_func innocuous_$ac_func
75879 /* System header to define __stub macros and hopefully few prototypes,
75880 which can conflict with char $ac_func (); below.
75881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75882 <limits.h> exists even on freestanding compilers. */
75884 #ifdef __STDC__
75885 # include <limits.h>
75886 #else
75887 # include <assert.h>
75888 #endif
75890 #undef $ac_func
75892 /* Override any gcc2 internal prototype to avoid an error. */
75893 #ifdef __cplusplus
75894 extern "C"
75896 #endif
75897 /* We use char because int might match the return type of a gcc2
75898 builtin and then its argument prototype would still apply. */
75899 char $ac_func ();
75900 /* The GNU C library defines this for functions which it implements
75901 to always fail with ENOSYS. Some functions are actually named
75902 something starting with __ and the normal name is an alias. */
75903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75904 choke me
75905 #else
75906 char (*f) () = $ac_func;
75907 #endif
75908 #ifdef __cplusplus
75910 #endif
75913 main ()
75915 return f != $ac_func;
75917 return 0;
75919 _ACEOF
75920 rm -f conftest.$ac_objext conftest$ac_exeext
75921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75922 (eval $ac_link) 2>conftest.er1
75923 ac_status=$?
75924 grep -v '^ *+' conftest.er1 >conftest.err
75925 rm -f conftest.er1
75926 cat conftest.err >&5
75927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75928 (exit $ac_status); } &&
75929 { ac_try='test -z "$ac_c_werror_flag"
75930 || test ! -s conftest.err'
75931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75932 (eval $ac_try) 2>&5
75933 ac_status=$?
75934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75935 (exit $ac_status); }; } &&
75936 { ac_try='test -s conftest$ac_exeext'
75937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75938 (eval $ac_try) 2>&5
75939 ac_status=$?
75940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75941 (exit $ac_status); }; }; then
75942 eval "$as_ac_var=yes"
75943 else
75944 echo "$as_me: failed program was:" >&5
75945 sed 's/^/| /' conftest.$ac_ext >&5
75947 eval "$as_ac_var=no"
75949 rm -f conftest.err conftest.$ac_objext \
75950 conftest$ac_exeext conftest.$ac_ext
75952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75954 if test `eval echo '${'$as_ac_var'}'` = yes; then
75955 cat >>confdefs.h <<_ACEOF
75956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75957 _ACEOF
75960 done
75970 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
75971 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
75972 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
75973 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
75974 echo $ECHO_N "(cached) $ECHO_C" >&6
75975 else
75979 ac_ext=cc
75980 ac_cpp='$CXXCPP $CPPFLAGS'
75981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75985 cat >conftest.$ac_ext <<_ACEOF
75986 /* confdefs.h. */
75987 _ACEOF
75988 cat confdefs.h >>conftest.$ac_ext
75989 cat >>conftest.$ac_ext <<_ACEOF
75990 /* end confdefs.h. */
75991 #include <math.h>
75992 #ifdef HAVE_IEEEFP_H
75993 #include <ieeefp.h>
75994 #endif
75997 main ()
75999 fabsl(0);
76001 return 0;
76003 _ACEOF
76004 rm -f conftest.$ac_objext
76005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76006 (eval $ac_compile) 2>conftest.er1
76007 ac_status=$?
76008 grep -v '^ *+' conftest.er1 >conftest.err
76009 rm -f conftest.er1
76010 cat conftest.err >&5
76011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76012 (exit $ac_status); } &&
76013 { ac_try='test -z "$ac_cxx_werror_flag"
76014 || test ! -s conftest.err'
76015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76016 (eval $ac_try) 2>&5
76017 ac_status=$?
76018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76019 (exit $ac_status); }; } &&
76020 { ac_try='test -s conftest.$ac_objext'
76021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76022 (eval $ac_try) 2>&5
76023 ac_status=$?
76024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76025 (exit $ac_status); }; }; then
76026 glibcxx_cv_func_fabsl_use=yes
76027 else
76028 echo "$as_me: failed program was:" >&5
76029 sed 's/^/| /' conftest.$ac_ext >&5
76031 glibcxx_cv_func_fabsl_use=no
76033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76034 ac_ext=c
76035 ac_cpp='$CPP $CPPFLAGS'
76036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76044 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
76045 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
76047 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76049 for ac_func in fabsl
76051 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76052 echo "$as_me:$LINENO: checking for $ac_func" >&5
76053 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76054 if eval "test \"\${$as_ac_var+set}\" = set"; then
76055 echo $ECHO_N "(cached) $ECHO_C" >&6
76056 else
76057 if test x$gcc_no_link = xyes; then
76058 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76059 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76060 { (exit 1); exit 1; }; }
76062 cat >conftest.$ac_ext <<_ACEOF
76063 /* confdefs.h. */
76064 _ACEOF
76065 cat confdefs.h >>conftest.$ac_ext
76066 cat >>conftest.$ac_ext <<_ACEOF
76067 /* end confdefs.h. */
76068 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76070 #define $ac_func innocuous_$ac_func
76072 /* System header to define __stub macros and hopefully few prototypes,
76073 which can conflict with char $ac_func (); below.
76074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76075 <limits.h> exists even on freestanding compilers. */
76077 #ifdef __STDC__
76078 # include <limits.h>
76079 #else
76080 # include <assert.h>
76081 #endif
76083 #undef $ac_func
76085 /* Override any gcc2 internal prototype to avoid an error. */
76086 #ifdef __cplusplus
76087 extern "C"
76089 #endif
76090 /* We use char because int might match the return type of a gcc2
76091 builtin and then its argument prototype would still apply. */
76092 char $ac_func ();
76093 /* The GNU C library defines this for functions which it implements
76094 to always fail with ENOSYS. Some functions are actually named
76095 something starting with __ and the normal name is an alias. */
76096 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76097 choke me
76098 #else
76099 char (*f) () = $ac_func;
76100 #endif
76101 #ifdef __cplusplus
76103 #endif
76106 main ()
76108 return f != $ac_func;
76110 return 0;
76112 _ACEOF
76113 rm -f conftest.$ac_objext conftest$ac_exeext
76114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76115 (eval $ac_link) 2>conftest.er1
76116 ac_status=$?
76117 grep -v '^ *+' conftest.er1 >conftest.err
76118 rm -f conftest.er1
76119 cat conftest.err >&5
76120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76121 (exit $ac_status); } &&
76122 { ac_try='test -z "$ac_c_werror_flag"
76123 || test ! -s conftest.err'
76124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76125 (eval $ac_try) 2>&5
76126 ac_status=$?
76127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76128 (exit $ac_status); }; } &&
76129 { ac_try='test -s conftest$ac_exeext'
76130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76131 (eval $ac_try) 2>&5
76132 ac_status=$?
76133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76134 (exit $ac_status); }; }; then
76135 eval "$as_ac_var=yes"
76136 else
76137 echo "$as_me: failed program was:" >&5
76138 sed 's/^/| /' conftest.$ac_ext >&5
76140 eval "$as_ac_var=no"
76142 rm -f conftest.err conftest.$ac_objext \
76143 conftest$ac_exeext conftest.$ac_ext
76145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76146 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76147 if test `eval echo '${'$as_ac_var'}'` = yes; then
76148 cat >>confdefs.h <<_ACEOF
76149 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76150 _ACEOF
76153 done
76155 else
76157 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
76158 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
76159 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76160 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
76161 echo $ECHO_N "(cached) $ECHO_C" >&6
76162 else
76166 ac_ext=cc
76167 ac_cpp='$CXXCPP $CPPFLAGS'
76168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76172 cat >conftest.$ac_ext <<_ACEOF
76173 /* confdefs.h. */
76174 _ACEOF
76175 cat confdefs.h >>conftest.$ac_ext
76176 cat >>conftest.$ac_ext <<_ACEOF
76177 /* end confdefs.h. */
76178 #include <math.h>
76179 #ifdef HAVE_IEEEFP_H
76180 #include <ieeefp.h>
76181 #endif
76184 main ()
76186 _fabsl(0);
76188 return 0;
76190 _ACEOF
76191 rm -f conftest.$ac_objext
76192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76193 (eval $ac_compile) 2>conftest.er1
76194 ac_status=$?
76195 grep -v '^ *+' conftest.er1 >conftest.err
76196 rm -f conftest.er1
76197 cat conftest.err >&5
76198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76199 (exit $ac_status); } &&
76200 { ac_try='test -z "$ac_cxx_werror_flag"
76201 || test ! -s conftest.err'
76202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76203 (eval $ac_try) 2>&5
76204 ac_status=$?
76205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76206 (exit $ac_status); }; } &&
76207 { ac_try='test -s conftest.$ac_objext'
76208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76209 (eval $ac_try) 2>&5
76210 ac_status=$?
76211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76212 (exit $ac_status); }; }; then
76213 glibcxx_cv_func__fabsl_use=yes
76214 else
76215 echo "$as_me: failed program was:" >&5
76216 sed 's/^/| /' conftest.$ac_ext >&5
76218 glibcxx_cv_func__fabsl_use=no
76220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76221 ac_ext=c
76222 ac_cpp='$CPP $CPPFLAGS'
76223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76231 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
76232 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
76234 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76236 for ac_func in _fabsl
76238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76239 echo "$as_me:$LINENO: checking for $ac_func" >&5
76240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76241 if eval "test \"\${$as_ac_var+set}\" = set"; then
76242 echo $ECHO_N "(cached) $ECHO_C" >&6
76243 else
76244 if test x$gcc_no_link = xyes; then
76245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76247 { (exit 1); exit 1; }; }
76249 cat >conftest.$ac_ext <<_ACEOF
76250 /* confdefs.h. */
76251 _ACEOF
76252 cat confdefs.h >>conftest.$ac_ext
76253 cat >>conftest.$ac_ext <<_ACEOF
76254 /* end confdefs.h. */
76255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76257 #define $ac_func innocuous_$ac_func
76259 /* System header to define __stub macros and hopefully few prototypes,
76260 which can conflict with char $ac_func (); below.
76261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76262 <limits.h> exists even on freestanding compilers. */
76264 #ifdef __STDC__
76265 # include <limits.h>
76266 #else
76267 # include <assert.h>
76268 #endif
76270 #undef $ac_func
76272 /* Override any gcc2 internal prototype to avoid an error. */
76273 #ifdef __cplusplus
76274 extern "C"
76276 #endif
76277 /* We use char because int might match the return type of a gcc2
76278 builtin and then its argument prototype would still apply. */
76279 char $ac_func ();
76280 /* The GNU C library defines this for functions which it implements
76281 to always fail with ENOSYS. Some functions are actually named
76282 something starting with __ and the normal name is an alias. */
76283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76284 choke me
76285 #else
76286 char (*f) () = $ac_func;
76287 #endif
76288 #ifdef __cplusplus
76290 #endif
76293 main ()
76295 return f != $ac_func;
76297 return 0;
76299 _ACEOF
76300 rm -f conftest.$ac_objext conftest$ac_exeext
76301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76302 (eval $ac_link) 2>conftest.er1
76303 ac_status=$?
76304 grep -v '^ *+' conftest.er1 >conftest.err
76305 rm -f conftest.er1
76306 cat conftest.err >&5
76307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76308 (exit $ac_status); } &&
76309 { ac_try='test -z "$ac_c_werror_flag"
76310 || test ! -s conftest.err'
76311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76312 (eval $ac_try) 2>&5
76313 ac_status=$?
76314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76315 (exit $ac_status); }; } &&
76316 { ac_try='test -s conftest$ac_exeext'
76317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76318 (eval $ac_try) 2>&5
76319 ac_status=$?
76320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76321 (exit $ac_status); }; }; then
76322 eval "$as_ac_var=yes"
76323 else
76324 echo "$as_me: failed program was:" >&5
76325 sed 's/^/| /' conftest.$ac_ext >&5
76327 eval "$as_ac_var=no"
76329 rm -f conftest.err conftest.$ac_objext \
76330 conftest$ac_exeext conftest.$ac_ext
76332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76334 if test `eval echo '${'$as_ac_var'}'` = yes; then
76335 cat >>confdefs.h <<_ACEOF
76336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76337 _ACEOF
76340 done
76350 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
76351 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
76352 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76353 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
76354 echo $ECHO_N "(cached) $ECHO_C" >&6
76355 else
76359 ac_ext=cc
76360 ac_cpp='$CXXCPP $CPPFLAGS'
76361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76365 cat >conftest.$ac_ext <<_ACEOF
76366 /* confdefs.h. */
76367 _ACEOF
76368 cat confdefs.h >>conftest.$ac_ext
76369 cat >>conftest.$ac_ext <<_ACEOF
76370 /* end confdefs.h. */
76371 #include <math.h>
76373 main ()
76375 fmodl(0, 0);
76377 return 0;
76379 _ACEOF
76380 rm -f conftest.$ac_objext
76381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76382 (eval $ac_compile) 2>conftest.er1
76383 ac_status=$?
76384 grep -v '^ *+' conftest.er1 >conftest.err
76385 rm -f conftest.er1
76386 cat conftest.err >&5
76387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76388 (exit $ac_status); } &&
76389 { ac_try='test -z "$ac_cxx_werror_flag"
76390 || test ! -s conftest.err'
76391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76392 (eval $ac_try) 2>&5
76393 ac_status=$?
76394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76395 (exit $ac_status); }; } &&
76396 { ac_try='test -s conftest.$ac_objext'
76397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76398 (eval $ac_try) 2>&5
76399 ac_status=$?
76400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76401 (exit $ac_status); }; }; then
76402 glibcxx_cv_func_fmodl_use=yes
76403 else
76404 echo "$as_me: failed program was:" >&5
76405 sed 's/^/| /' conftest.$ac_ext >&5
76407 glibcxx_cv_func_fmodl_use=no
76409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76410 ac_ext=c
76411 ac_cpp='$CPP $CPPFLAGS'
76412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76420 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
76421 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
76423 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76425 for ac_func in fmodl
76427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76428 echo "$as_me:$LINENO: checking for $ac_func" >&5
76429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76430 if eval "test \"\${$as_ac_var+set}\" = set"; then
76431 echo $ECHO_N "(cached) $ECHO_C" >&6
76432 else
76433 if test x$gcc_no_link = xyes; then
76434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76436 { (exit 1); exit 1; }; }
76438 cat >conftest.$ac_ext <<_ACEOF
76439 /* confdefs.h. */
76440 _ACEOF
76441 cat confdefs.h >>conftest.$ac_ext
76442 cat >>conftest.$ac_ext <<_ACEOF
76443 /* end confdefs.h. */
76444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76446 #define $ac_func innocuous_$ac_func
76448 /* System header to define __stub macros and hopefully few prototypes,
76449 which can conflict with char $ac_func (); below.
76450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76451 <limits.h> exists even on freestanding compilers. */
76453 #ifdef __STDC__
76454 # include <limits.h>
76455 #else
76456 # include <assert.h>
76457 #endif
76459 #undef $ac_func
76461 /* Override any gcc2 internal prototype to avoid an error. */
76462 #ifdef __cplusplus
76463 extern "C"
76465 #endif
76466 /* We use char because int might match the return type of a gcc2
76467 builtin and then its argument prototype would still apply. */
76468 char $ac_func ();
76469 /* The GNU C library defines this for functions which it implements
76470 to always fail with ENOSYS. Some functions are actually named
76471 something starting with __ and the normal name is an alias. */
76472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76473 choke me
76474 #else
76475 char (*f) () = $ac_func;
76476 #endif
76477 #ifdef __cplusplus
76479 #endif
76482 main ()
76484 return f != $ac_func;
76486 return 0;
76488 _ACEOF
76489 rm -f conftest.$ac_objext conftest$ac_exeext
76490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76491 (eval $ac_link) 2>conftest.er1
76492 ac_status=$?
76493 grep -v '^ *+' conftest.er1 >conftest.err
76494 rm -f conftest.er1
76495 cat conftest.err >&5
76496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76497 (exit $ac_status); } &&
76498 { ac_try='test -z "$ac_c_werror_flag"
76499 || test ! -s conftest.err'
76500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76501 (eval $ac_try) 2>&5
76502 ac_status=$?
76503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76504 (exit $ac_status); }; } &&
76505 { ac_try='test -s conftest$ac_exeext'
76506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76507 (eval $ac_try) 2>&5
76508 ac_status=$?
76509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76510 (exit $ac_status); }; }; then
76511 eval "$as_ac_var=yes"
76512 else
76513 echo "$as_me: failed program was:" >&5
76514 sed 's/^/| /' conftest.$ac_ext >&5
76516 eval "$as_ac_var=no"
76518 rm -f conftest.err conftest.$ac_objext \
76519 conftest$ac_exeext conftest.$ac_ext
76521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76523 if test `eval echo '${'$as_ac_var'}'` = yes; then
76524 cat >>confdefs.h <<_ACEOF
76525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76526 _ACEOF
76529 done
76531 else
76533 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
76534 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
76535 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76536 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
76537 echo $ECHO_N "(cached) $ECHO_C" >&6
76538 else
76542 ac_ext=cc
76543 ac_cpp='$CXXCPP $CPPFLAGS'
76544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76548 cat >conftest.$ac_ext <<_ACEOF
76549 /* confdefs.h. */
76550 _ACEOF
76551 cat confdefs.h >>conftest.$ac_ext
76552 cat >>conftest.$ac_ext <<_ACEOF
76553 /* end confdefs.h. */
76554 #include <math.h>
76556 main ()
76558 _fmodl(0, 0);
76560 return 0;
76562 _ACEOF
76563 rm -f conftest.$ac_objext
76564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76565 (eval $ac_compile) 2>conftest.er1
76566 ac_status=$?
76567 grep -v '^ *+' conftest.er1 >conftest.err
76568 rm -f conftest.er1
76569 cat conftest.err >&5
76570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76571 (exit $ac_status); } &&
76572 { ac_try='test -z "$ac_cxx_werror_flag"
76573 || test ! -s conftest.err'
76574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76575 (eval $ac_try) 2>&5
76576 ac_status=$?
76577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76578 (exit $ac_status); }; } &&
76579 { ac_try='test -s conftest.$ac_objext'
76580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76581 (eval $ac_try) 2>&5
76582 ac_status=$?
76583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76584 (exit $ac_status); }; }; then
76585 glibcxx_cv_func__fmodl_use=yes
76586 else
76587 echo "$as_me: failed program was:" >&5
76588 sed 's/^/| /' conftest.$ac_ext >&5
76590 glibcxx_cv_func__fmodl_use=no
76592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76593 ac_ext=c
76594 ac_cpp='$CPP $CPPFLAGS'
76595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76603 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
76604 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
76606 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76608 for ac_func in _fmodl
76610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76611 echo "$as_me:$LINENO: checking for $ac_func" >&5
76612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76613 if eval "test \"\${$as_ac_var+set}\" = set"; then
76614 echo $ECHO_N "(cached) $ECHO_C" >&6
76615 else
76616 if test x$gcc_no_link = xyes; then
76617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76619 { (exit 1); exit 1; }; }
76621 cat >conftest.$ac_ext <<_ACEOF
76622 /* confdefs.h. */
76623 _ACEOF
76624 cat confdefs.h >>conftest.$ac_ext
76625 cat >>conftest.$ac_ext <<_ACEOF
76626 /* end confdefs.h. */
76627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76629 #define $ac_func innocuous_$ac_func
76631 /* System header to define __stub macros and hopefully few prototypes,
76632 which can conflict with char $ac_func (); below.
76633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76634 <limits.h> exists even on freestanding compilers. */
76636 #ifdef __STDC__
76637 # include <limits.h>
76638 #else
76639 # include <assert.h>
76640 #endif
76642 #undef $ac_func
76644 /* Override any gcc2 internal prototype to avoid an error. */
76645 #ifdef __cplusplus
76646 extern "C"
76648 #endif
76649 /* We use char because int might match the return type of a gcc2
76650 builtin and then its argument prototype would still apply. */
76651 char $ac_func ();
76652 /* The GNU C library defines this for functions which it implements
76653 to always fail with ENOSYS. Some functions are actually named
76654 something starting with __ and the normal name is an alias. */
76655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76656 choke me
76657 #else
76658 char (*f) () = $ac_func;
76659 #endif
76660 #ifdef __cplusplus
76662 #endif
76665 main ()
76667 return f != $ac_func;
76669 return 0;
76671 _ACEOF
76672 rm -f conftest.$ac_objext conftest$ac_exeext
76673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76674 (eval $ac_link) 2>conftest.er1
76675 ac_status=$?
76676 grep -v '^ *+' conftest.er1 >conftest.err
76677 rm -f conftest.er1
76678 cat conftest.err >&5
76679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76680 (exit $ac_status); } &&
76681 { ac_try='test -z "$ac_c_werror_flag"
76682 || test ! -s conftest.err'
76683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76684 (eval $ac_try) 2>&5
76685 ac_status=$?
76686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76687 (exit $ac_status); }; } &&
76688 { ac_try='test -s conftest$ac_exeext'
76689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76690 (eval $ac_try) 2>&5
76691 ac_status=$?
76692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76693 (exit $ac_status); }; }; then
76694 eval "$as_ac_var=yes"
76695 else
76696 echo "$as_me: failed program was:" >&5
76697 sed 's/^/| /' conftest.$ac_ext >&5
76699 eval "$as_ac_var=no"
76701 rm -f conftest.err conftest.$ac_objext \
76702 conftest$ac_exeext conftest.$ac_ext
76704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76706 if test `eval echo '${'$as_ac_var'}'` = yes; then
76707 cat >>confdefs.h <<_ACEOF
76708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76709 _ACEOF
76712 done
76722 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
76723 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
76724 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
76725 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
76726 echo $ECHO_N "(cached) $ECHO_C" >&6
76727 else
76731 ac_ext=cc
76732 ac_cpp='$CXXCPP $CPPFLAGS'
76733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76737 cat >conftest.$ac_ext <<_ACEOF
76738 /* confdefs.h. */
76739 _ACEOF
76740 cat confdefs.h >>conftest.$ac_ext
76741 cat >>conftest.$ac_ext <<_ACEOF
76742 /* end confdefs.h. */
76743 #include <math.h>
76745 main ()
76747 frexpl(0, 0);
76749 return 0;
76751 _ACEOF
76752 rm -f conftest.$ac_objext
76753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76754 (eval $ac_compile) 2>conftest.er1
76755 ac_status=$?
76756 grep -v '^ *+' conftest.er1 >conftest.err
76757 rm -f conftest.er1
76758 cat conftest.err >&5
76759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76760 (exit $ac_status); } &&
76761 { ac_try='test -z "$ac_cxx_werror_flag"
76762 || test ! -s conftest.err'
76763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76764 (eval $ac_try) 2>&5
76765 ac_status=$?
76766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76767 (exit $ac_status); }; } &&
76768 { ac_try='test -s conftest.$ac_objext'
76769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76770 (eval $ac_try) 2>&5
76771 ac_status=$?
76772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76773 (exit $ac_status); }; }; then
76774 glibcxx_cv_func_frexpl_use=yes
76775 else
76776 echo "$as_me: failed program was:" >&5
76777 sed 's/^/| /' conftest.$ac_ext >&5
76779 glibcxx_cv_func_frexpl_use=no
76781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76782 ac_ext=c
76783 ac_cpp='$CPP $CPPFLAGS'
76784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76792 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
76793 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
76795 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
76797 for ac_func in frexpl
76799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76800 echo "$as_me:$LINENO: checking for $ac_func" >&5
76801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76802 if eval "test \"\${$as_ac_var+set}\" = set"; then
76803 echo $ECHO_N "(cached) $ECHO_C" >&6
76804 else
76805 if test x$gcc_no_link = xyes; then
76806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76808 { (exit 1); exit 1; }; }
76810 cat >conftest.$ac_ext <<_ACEOF
76811 /* confdefs.h. */
76812 _ACEOF
76813 cat confdefs.h >>conftest.$ac_ext
76814 cat >>conftest.$ac_ext <<_ACEOF
76815 /* end confdefs.h. */
76816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76818 #define $ac_func innocuous_$ac_func
76820 /* System header to define __stub macros and hopefully few prototypes,
76821 which can conflict with char $ac_func (); below.
76822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76823 <limits.h> exists even on freestanding compilers. */
76825 #ifdef __STDC__
76826 # include <limits.h>
76827 #else
76828 # include <assert.h>
76829 #endif
76831 #undef $ac_func
76833 /* Override any gcc2 internal prototype to avoid an error. */
76834 #ifdef __cplusplus
76835 extern "C"
76837 #endif
76838 /* We use char because int might match the return type of a gcc2
76839 builtin and then its argument prototype would still apply. */
76840 char $ac_func ();
76841 /* The GNU C library defines this for functions which it implements
76842 to always fail with ENOSYS. Some functions are actually named
76843 something starting with __ and the normal name is an alias. */
76844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76845 choke me
76846 #else
76847 char (*f) () = $ac_func;
76848 #endif
76849 #ifdef __cplusplus
76851 #endif
76854 main ()
76856 return f != $ac_func;
76858 return 0;
76860 _ACEOF
76861 rm -f conftest.$ac_objext conftest$ac_exeext
76862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76863 (eval $ac_link) 2>conftest.er1
76864 ac_status=$?
76865 grep -v '^ *+' conftest.er1 >conftest.err
76866 rm -f conftest.er1
76867 cat conftest.err >&5
76868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76869 (exit $ac_status); } &&
76870 { ac_try='test -z "$ac_c_werror_flag"
76871 || test ! -s conftest.err'
76872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76873 (eval $ac_try) 2>&5
76874 ac_status=$?
76875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76876 (exit $ac_status); }; } &&
76877 { ac_try='test -s conftest$ac_exeext'
76878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76879 (eval $ac_try) 2>&5
76880 ac_status=$?
76881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76882 (exit $ac_status); }; }; then
76883 eval "$as_ac_var=yes"
76884 else
76885 echo "$as_me: failed program was:" >&5
76886 sed 's/^/| /' conftest.$ac_ext >&5
76888 eval "$as_ac_var=no"
76890 rm -f conftest.err conftest.$ac_objext \
76891 conftest$ac_exeext conftest.$ac_ext
76893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76895 if test `eval echo '${'$as_ac_var'}'` = yes; then
76896 cat >>confdefs.h <<_ACEOF
76897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76898 _ACEOF
76901 done
76903 else
76905 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
76906 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
76907 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
76908 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
76909 echo $ECHO_N "(cached) $ECHO_C" >&6
76910 else
76914 ac_ext=cc
76915 ac_cpp='$CXXCPP $CPPFLAGS'
76916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76920 cat >conftest.$ac_ext <<_ACEOF
76921 /* confdefs.h. */
76922 _ACEOF
76923 cat confdefs.h >>conftest.$ac_ext
76924 cat >>conftest.$ac_ext <<_ACEOF
76925 /* end confdefs.h. */
76926 #include <math.h>
76928 main ()
76930 _frexpl(0, 0);
76932 return 0;
76934 _ACEOF
76935 rm -f conftest.$ac_objext
76936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76937 (eval $ac_compile) 2>conftest.er1
76938 ac_status=$?
76939 grep -v '^ *+' conftest.er1 >conftest.err
76940 rm -f conftest.er1
76941 cat conftest.err >&5
76942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76943 (exit $ac_status); } &&
76944 { ac_try='test -z "$ac_cxx_werror_flag"
76945 || test ! -s conftest.err'
76946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76947 (eval $ac_try) 2>&5
76948 ac_status=$?
76949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76950 (exit $ac_status); }; } &&
76951 { ac_try='test -s conftest.$ac_objext'
76952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76953 (eval $ac_try) 2>&5
76954 ac_status=$?
76955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76956 (exit $ac_status); }; }; then
76957 glibcxx_cv_func__frexpl_use=yes
76958 else
76959 echo "$as_me: failed program was:" >&5
76960 sed 's/^/| /' conftest.$ac_ext >&5
76962 glibcxx_cv_func__frexpl_use=no
76964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76965 ac_ext=c
76966 ac_cpp='$CPP $CPPFLAGS'
76967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76975 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
76976 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
76978 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
76980 for ac_func in _frexpl
76982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76983 echo "$as_me:$LINENO: checking for $ac_func" >&5
76984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76985 if eval "test \"\${$as_ac_var+set}\" = set"; then
76986 echo $ECHO_N "(cached) $ECHO_C" >&6
76987 else
76988 if test x$gcc_no_link = xyes; then
76989 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76991 { (exit 1); exit 1; }; }
76993 cat >conftest.$ac_ext <<_ACEOF
76994 /* confdefs.h. */
76995 _ACEOF
76996 cat confdefs.h >>conftest.$ac_ext
76997 cat >>conftest.$ac_ext <<_ACEOF
76998 /* end confdefs.h. */
76999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77001 #define $ac_func innocuous_$ac_func
77003 /* System header to define __stub macros and hopefully few prototypes,
77004 which can conflict with char $ac_func (); below.
77005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77006 <limits.h> exists even on freestanding compilers. */
77008 #ifdef __STDC__
77009 # include <limits.h>
77010 #else
77011 # include <assert.h>
77012 #endif
77014 #undef $ac_func
77016 /* Override any gcc2 internal prototype to avoid an error. */
77017 #ifdef __cplusplus
77018 extern "C"
77020 #endif
77021 /* We use char because int might match the return type of a gcc2
77022 builtin and then its argument prototype would still apply. */
77023 char $ac_func ();
77024 /* The GNU C library defines this for functions which it implements
77025 to always fail with ENOSYS. Some functions are actually named
77026 something starting with __ and the normal name is an alias. */
77027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77028 choke me
77029 #else
77030 char (*f) () = $ac_func;
77031 #endif
77032 #ifdef __cplusplus
77034 #endif
77037 main ()
77039 return f != $ac_func;
77041 return 0;
77043 _ACEOF
77044 rm -f conftest.$ac_objext conftest$ac_exeext
77045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77046 (eval $ac_link) 2>conftest.er1
77047 ac_status=$?
77048 grep -v '^ *+' conftest.er1 >conftest.err
77049 rm -f conftest.er1
77050 cat conftest.err >&5
77051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77052 (exit $ac_status); } &&
77053 { ac_try='test -z "$ac_c_werror_flag"
77054 || test ! -s conftest.err'
77055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77056 (eval $ac_try) 2>&5
77057 ac_status=$?
77058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77059 (exit $ac_status); }; } &&
77060 { ac_try='test -s conftest$ac_exeext'
77061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77062 (eval $ac_try) 2>&5
77063 ac_status=$?
77064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77065 (exit $ac_status); }; }; then
77066 eval "$as_ac_var=yes"
77067 else
77068 echo "$as_me: failed program was:" >&5
77069 sed 's/^/| /' conftest.$ac_ext >&5
77071 eval "$as_ac_var=no"
77073 rm -f conftest.err conftest.$ac_objext \
77074 conftest$ac_exeext conftest.$ac_ext
77076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77078 if test `eval echo '${'$as_ac_var'}'` = yes; then
77079 cat >>confdefs.h <<_ACEOF
77080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77081 _ACEOF
77084 done
77094 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
77095 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
77096 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
77097 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
77098 echo $ECHO_N "(cached) $ECHO_C" >&6
77099 else
77103 ac_ext=cc
77104 ac_cpp='$CXXCPP $CPPFLAGS'
77105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77109 cat >conftest.$ac_ext <<_ACEOF
77110 /* confdefs.h. */
77111 _ACEOF
77112 cat confdefs.h >>conftest.$ac_ext
77113 cat >>conftest.$ac_ext <<_ACEOF
77114 /* end confdefs.h. */
77115 #include <math.h>
77117 main ()
77119 hypotl(0, 0);
77121 return 0;
77123 _ACEOF
77124 rm -f conftest.$ac_objext
77125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77126 (eval $ac_compile) 2>conftest.er1
77127 ac_status=$?
77128 grep -v '^ *+' conftest.er1 >conftest.err
77129 rm -f conftest.er1
77130 cat conftest.err >&5
77131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77132 (exit $ac_status); } &&
77133 { ac_try='test -z "$ac_cxx_werror_flag"
77134 || test ! -s conftest.err'
77135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77136 (eval $ac_try) 2>&5
77137 ac_status=$?
77138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77139 (exit $ac_status); }; } &&
77140 { ac_try='test -s conftest.$ac_objext'
77141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77142 (eval $ac_try) 2>&5
77143 ac_status=$?
77144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77145 (exit $ac_status); }; }; then
77146 glibcxx_cv_func_hypotl_use=yes
77147 else
77148 echo "$as_me: failed program was:" >&5
77149 sed 's/^/| /' conftest.$ac_ext >&5
77151 glibcxx_cv_func_hypotl_use=no
77153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77154 ac_ext=c
77155 ac_cpp='$CPP $CPPFLAGS'
77156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77164 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
77165 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
77167 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
77169 for ac_func in hypotl
77171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77172 echo "$as_me:$LINENO: checking for $ac_func" >&5
77173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77174 if eval "test \"\${$as_ac_var+set}\" = set"; then
77175 echo $ECHO_N "(cached) $ECHO_C" >&6
77176 else
77177 if test x$gcc_no_link = xyes; then
77178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77180 { (exit 1); exit 1; }; }
77182 cat >conftest.$ac_ext <<_ACEOF
77183 /* confdefs.h. */
77184 _ACEOF
77185 cat confdefs.h >>conftest.$ac_ext
77186 cat >>conftest.$ac_ext <<_ACEOF
77187 /* end confdefs.h. */
77188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77190 #define $ac_func innocuous_$ac_func
77192 /* System header to define __stub macros and hopefully few prototypes,
77193 which can conflict with char $ac_func (); below.
77194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77195 <limits.h> exists even on freestanding compilers. */
77197 #ifdef __STDC__
77198 # include <limits.h>
77199 #else
77200 # include <assert.h>
77201 #endif
77203 #undef $ac_func
77205 /* Override any gcc2 internal prototype to avoid an error. */
77206 #ifdef __cplusplus
77207 extern "C"
77209 #endif
77210 /* We use char because int might match the return type of a gcc2
77211 builtin and then its argument prototype would still apply. */
77212 char $ac_func ();
77213 /* The GNU C library defines this for functions which it implements
77214 to always fail with ENOSYS. Some functions are actually named
77215 something starting with __ and the normal name is an alias. */
77216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77217 choke me
77218 #else
77219 char (*f) () = $ac_func;
77220 #endif
77221 #ifdef __cplusplus
77223 #endif
77226 main ()
77228 return f != $ac_func;
77230 return 0;
77232 _ACEOF
77233 rm -f conftest.$ac_objext conftest$ac_exeext
77234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77235 (eval $ac_link) 2>conftest.er1
77236 ac_status=$?
77237 grep -v '^ *+' conftest.er1 >conftest.err
77238 rm -f conftest.er1
77239 cat conftest.err >&5
77240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77241 (exit $ac_status); } &&
77242 { ac_try='test -z "$ac_c_werror_flag"
77243 || test ! -s conftest.err'
77244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77245 (eval $ac_try) 2>&5
77246 ac_status=$?
77247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77248 (exit $ac_status); }; } &&
77249 { ac_try='test -s conftest$ac_exeext'
77250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77251 (eval $ac_try) 2>&5
77252 ac_status=$?
77253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77254 (exit $ac_status); }; }; then
77255 eval "$as_ac_var=yes"
77256 else
77257 echo "$as_me: failed program was:" >&5
77258 sed 's/^/| /' conftest.$ac_ext >&5
77260 eval "$as_ac_var=no"
77262 rm -f conftest.err conftest.$ac_objext \
77263 conftest$ac_exeext conftest.$ac_ext
77265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77267 if test `eval echo '${'$as_ac_var'}'` = yes; then
77268 cat >>confdefs.h <<_ACEOF
77269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77270 _ACEOF
77273 done
77275 else
77277 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
77278 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
77279 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
77280 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
77281 echo $ECHO_N "(cached) $ECHO_C" >&6
77282 else
77286 ac_ext=cc
77287 ac_cpp='$CXXCPP $CPPFLAGS'
77288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77292 cat >conftest.$ac_ext <<_ACEOF
77293 /* confdefs.h. */
77294 _ACEOF
77295 cat confdefs.h >>conftest.$ac_ext
77296 cat >>conftest.$ac_ext <<_ACEOF
77297 /* end confdefs.h. */
77298 #include <math.h>
77300 main ()
77302 _hypotl(0, 0);
77304 return 0;
77306 _ACEOF
77307 rm -f conftest.$ac_objext
77308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77309 (eval $ac_compile) 2>conftest.er1
77310 ac_status=$?
77311 grep -v '^ *+' conftest.er1 >conftest.err
77312 rm -f conftest.er1
77313 cat conftest.err >&5
77314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77315 (exit $ac_status); } &&
77316 { ac_try='test -z "$ac_cxx_werror_flag"
77317 || test ! -s conftest.err'
77318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77319 (eval $ac_try) 2>&5
77320 ac_status=$?
77321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77322 (exit $ac_status); }; } &&
77323 { ac_try='test -s conftest.$ac_objext'
77324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77325 (eval $ac_try) 2>&5
77326 ac_status=$?
77327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77328 (exit $ac_status); }; }; then
77329 glibcxx_cv_func__hypotl_use=yes
77330 else
77331 echo "$as_me: failed program was:" >&5
77332 sed 's/^/| /' conftest.$ac_ext >&5
77334 glibcxx_cv_func__hypotl_use=no
77336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77337 ac_ext=c
77338 ac_cpp='$CPP $CPPFLAGS'
77339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77347 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
77348 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
77350 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
77352 for ac_func in _hypotl
77354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77355 echo "$as_me:$LINENO: checking for $ac_func" >&5
77356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77357 if eval "test \"\${$as_ac_var+set}\" = set"; then
77358 echo $ECHO_N "(cached) $ECHO_C" >&6
77359 else
77360 if test x$gcc_no_link = xyes; then
77361 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77362 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77363 { (exit 1); exit 1; }; }
77365 cat >conftest.$ac_ext <<_ACEOF
77366 /* confdefs.h. */
77367 _ACEOF
77368 cat confdefs.h >>conftest.$ac_ext
77369 cat >>conftest.$ac_ext <<_ACEOF
77370 /* end confdefs.h. */
77371 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77372 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77373 #define $ac_func innocuous_$ac_func
77375 /* System header to define __stub macros and hopefully few prototypes,
77376 which can conflict with char $ac_func (); below.
77377 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77378 <limits.h> exists even on freestanding compilers. */
77380 #ifdef __STDC__
77381 # include <limits.h>
77382 #else
77383 # include <assert.h>
77384 #endif
77386 #undef $ac_func
77388 /* Override any gcc2 internal prototype to avoid an error. */
77389 #ifdef __cplusplus
77390 extern "C"
77392 #endif
77393 /* We use char because int might match the return type of a gcc2
77394 builtin and then its argument prototype would still apply. */
77395 char $ac_func ();
77396 /* The GNU C library defines this for functions which it implements
77397 to always fail with ENOSYS. Some functions are actually named
77398 something starting with __ and the normal name is an alias. */
77399 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77400 choke me
77401 #else
77402 char (*f) () = $ac_func;
77403 #endif
77404 #ifdef __cplusplus
77406 #endif
77409 main ()
77411 return f != $ac_func;
77413 return 0;
77415 _ACEOF
77416 rm -f conftest.$ac_objext conftest$ac_exeext
77417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77418 (eval $ac_link) 2>conftest.er1
77419 ac_status=$?
77420 grep -v '^ *+' conftest.er1 >conftest.err
77421 rm -f conftest.er1
77422 cat conftest.err >&5
77423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77424 (exit $ac_status); } &&
77425 { ac_try='test -z "$ac_c_werror_flag"
77426 || test ! -s conftest.err'
77427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77428 (eval $ac_try) 2>&5
77429 ac_status=$?
77430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77431 (exit $ac_status); }; } &&
77432 { ac_try='test -s conftest$ac_exeext'
77433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77434 (eval $ac_try) 2>&5
77435 ac_status=$?
77436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77437 (exit $ac_status); }; }; then
77438 eval "$as_ac_var=yes"
77439 else
77440 echo "$as_me: failed program was:" >&5
77441 sed 's/^/| /' conftest.$ac_ext >&5
77443 eval "$as_ac_var=no"
77445 rm -f conftest.err conftest.$ac_objext \
77446 conftest$ac_exeext conftest.$ac_ext
77448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77449 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77450 if test `eval echo '${'$as_ac_var'}'` = yes; then
77451 cat >>confdefs.h <<_ACEOF
77452 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77453 _ACEOF
77456 done
77466 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
77467 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
77468 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
77469 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
77470 echo $ECHO_N "(cached) $ECHO_C" >&6
77471 else
77475 ac_ext=cc
77476 ac_cpp='$CXXCPP $CPPFLAGS'
77477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77481 cat >conftest.$ac_ext <<_ACEOF
77482 /* confdefs.h. */
77483 _ACEOF
77484 cat confdefs.h >>conftest.$ac_ext
77485 cat >>conftest.$ac_ext <<_ACEOF
77486 /* end confdefs.h. */
77487 #include <math.h>
77489 main ()
77491 ldexpl(0, 0);
77493 return 0;
77495 _ACEOF
77496 rm -f conftest.$ac_objext
77497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77498 (eval $ac_compile) 2>conftest.er1
77499 ac_status=$?
77500 grep -v '^ *+' conftest.er1 >conftest.err
77501 rm -f conftest.er1
77502 cat conftest.err >&5
77503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77504 (exit $ac_status); } &&
77505 { ac_try='test -z "$ac_cxx_werror_flag"
77506 || test ! -s conftest.err'
77507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77508 (eval $ac_try) 2>&5
77509 ac_status=$?
77510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77511 (exit $ac_status); }; } &&
77512 { ac_try='test -s conftest.$ac_objext'
77513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77514 (eval $ac_try) 2>&5
77515 ac_status=$?
77516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77517 (exit $ac_status); }; }; then
77518 glibcxx_cv_func_ldexpl_use=yes
77519 else
77520 echo "$as_me: failed program was:" >&5
77521 sed 's/^/| /' conftest.$ac_ext >&5
77523 glibcxx_cv_func_ldexpl_use=no
77525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77526 ac_ext=c
77527 ac_cpp='$CPP $CPPFLAGS'
77528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77536 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
77537 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
77539 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
77541 for ac_func in ldexpl
77543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77544 echo "$as_me:$LINENO: checking for $ac_func" >&5
77545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77546 if eval "test \"\${$as_ac_var+set}\" = set"; then
77547 echo $ECHO_N "(cached) $ECHO_C" >&6
77548 else
77549 if test x$gcc_no_link = xyes; then
77550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77552 { (exit 1); exit 1; }; }
77554 cat >conftest.$ac_ext <<_ACEOF
77555 /* confdefs.h. */
77556 _ACEOF
77557 cat confdefs.h >>conftest.$ac_ext
77558 cat >>conftest.$ac_ext <<_ACEOF
77559 /* end confdefs.h. */
77560 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77561 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77562 #define $ac_func innocuous_$ac_func
77564 /* System header to define __stub macros and hopefully few prototypes,
77565 which can conflict with char $ac_func (); below.
77566 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77567 <limits.h> exists even on freestanding compilers. */
77569 #ifdef __STDC__
77570 # include <limits.h>
77571 #else
77572 # include <assert.h>
77573 #endif
77575 #undef $ac_func
77577 /* Override any gcc2 internal prototype to avoid an error. */
77578 #ifdef __cplusplus
77579 extern "C"
77581 #endif
77582 /* We use char because int might match the return type of a gcc2
77583 builtin and then its argument prototype would still apply. */
77584 char $ac_func ();
77585 /* The GNU C library defines this for functions which it implements
77586 to always fail with ENOSYS. Some functions are actually named
77587 something starting with __ and the normal name is an alias. */
77588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77589 choke me
77590 #else
77591 char (*f) () = $ac_func;
77592 #endif
77593 #ifdef __cplusplus
77595 #endif
77598 main ()
77600 return f != $ac_func;
77602 return 0;
77604 _ACEOF
77605 rm -f conftest.$ac_objext conftest$ac_exeext
77606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77607 (eval $ac_link) 2>conftest.er1
77608 ac_status=$?
77609 grep -v '^ *+' conftest.er1 >conftest.err
77610 rm -f conftest.er1
77611 cat conftest.err >&5
77612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77613 (exit $ac_status); } &&
77614 { ac_try='test -z "$ac_c_werror_flag"
77615 || test ! -s conftest.err'
77616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77617 (eval $ac_try) 2>&5
77618 ac_status=$?
77619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77620 (exit $ac_status); }; } &&
77621 { ac_try='test -s conftest$ac_exeext'
77622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77623 (eval $ac_try) 2>&5
77624 ac_status=$?
77625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77626 (exit $ac_status); }; }; then
77627 eval "$as_ac_var=yes"
77628 else
77629 echo "$as_me: failed program was:" >&5
77630 sed 's/^/| /' conftest.$ac_ext >&5
77632 eval "$as_ac_var=no"
77634 rm -f conftest.err conftest.$ac_objext \
77635 conftest$ac_exeext conftest.$ac_ext
77637 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77638 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77639 if test `eval echo '${'$as_ac_var'}'` = yes; then
77640 cat >>confdefs.h <<_ACEOF
77641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77642 _ACEOF
77645 done
77647 else
77649 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
77650 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
77651 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
77652 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
77653 echo $ECHO_N "(cached) $ECHO_C" >&6
77654 else
77658 ac_ext=cc
77659 ac_cpp='$CXXCPP $CPPFLAGS'
77660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77664 cat >conftest.$ac_ext <<_ACEOF
77665 /* confdefs.h. */
77666 _ACEOF
77667 cat confdefs.h >>conftest.$ac_ext
77668 cat >>conftest.$ac_ext <<_ACEOF
77669 /* end confdefs.h. */
77670 #include <math.h>
77672 main ()
77674 _ldexpl(0, 0);
77676 return 0;
77678 _ACEOF
77679 rm -f conftest.$ac_objext
77680 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77681 (eval $ac_compile) 2>conftest.er1
77682 ac_status=$?
77683 grep -v '^ *+' conftest.er1 >conftest.err
77684 rm -f conftest.er1
77685 cat conftest.err >&5
77686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77687 (exit $ac_status); } &&
77688 { ac_try='test -z "$ac_cxx_werror_flag"
77689 || test ! -s conftest.err'
77690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77691 (eval $ac_try) 2>&5
77692 ac_status=$?
77693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77694 (exit $ac_status); }; } &&
77695 { ac_try='test -s conftest.$ac_objext'
77696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77697 (eval $ac_try) 2>&5
77698 ac_status=$?
77699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77700 (exit $ac_status); }; }; then
77701 glibcxx_cv_func__ldexpl_use=yes
77702 else
77703 echo "$as_me: failed program was:" >&5
77704 sed 's/^/| /' conftest.$ac_ext >&5
77706 glibcxx_cv_func__ldexpl_use=no
77708 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77709 ac_ext=c
77710 ac_cpp='$CPP $CPPFLAGS'
77711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77719 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
77720 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
77722 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77724 for ac_func in _ldexpl
77726 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77727 echo "$as_me:$LINENO: checking for $ac_func" >&5
77728 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77729 if eval "test \"\${$as_ac_var+set}\" = set"; then
77730 echo $ECHO_N "(cached) $ECHO_C" >&6
77731 else
77732 if test x$gcc_no_link = xyes; then
77733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77735 { (exit 1); exit 1; }; }
77737 cat >conftest.$ac_ext <<_ACEOF
77738 /* confdefs.h. */
77739 _ACEOF
77740 cat confdefs.h >>conftest.$ac_ext
77741 cat >>conftest.$ac_ext <<_ACEOF
77742 /* end confdefs.h. */
77743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77745 #define $ac_func innocuous_$ac_func
77747 /* System header to define __stub macros and hopefully few prototypes,
77748 which can conflict with char $ac_func (); below.
77749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77750 <limits.h> exists even on freestanding compilers. */
77752 #ifdef __STDC__
77753 # include <limits.h>
77754 #else
77755 # include <assert.h>
77756 #endif
77758 #undef $ac_func
77760 /* Override any gcc2 internal prototype to avoid an error. */
77761 #ifdef __cplusplus
77762 extern "C"
77764 #endif
77765 /* We use char because int might match the return type of a gcc2
77766 builtin and then its argument prototype would still apply. */
77767 char $ac_func ();
77768 /* The GNU C library defines this for functions which it implements
77769 to always fail with ENOSYS. Some functions are actually named
77770 something starting with __ and the normal name is an alias. */
77771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77772 choke me
77773 #else
77774 char (*f) () = $ac_func;
77775 #endif
77776 #ifdef __cplusplus
77778 #endif
77781 main ()
77783 return f != $ac_func;
77785 return 0;
77787 _ACEOF
77788 rm -f conftest.$ac_objext conftest$ac_exeext
77789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77790 (eval $ac_link) 2>conftest.er1
77791 ac_status=$?
77792 grep -v '^ *+' conftest.er1 >conftest.err
77793 rm -f conftest.er1
77794 cat conftest.err >&5
77795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77796 (exit $ac_status); } &&
77797 { ac_try='test -z "$ac_c_werror_flag"
77798 || test ! -s conftest.err'
77799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77800 (eval $ac_try) 2>&5
77801 ac_status=$?
77802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77803 (exit $ac_status); }; } &&
77804 { ac_try='test -s conftest$ac_exeext'
77805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77806 (eval $ac_try) 2>&5
77807 ac_status=$?
77808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77809 (exit $ac_status); }; }; then
77810 eval "$as_ac_var=yes"
77811 else
77812 echo "$as_me: failed program was:" >&5
77813 sed 's/^/| /' conftest.$ac_ext >&5
77815 eval "$as_ac_var=no"
77817 rm -f conftest.err conftest.$ac_objext \
77818 conftest$ac_exeext conftest.$ac_ext
77820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77821 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77822 if test `eval echo '${'$as_ac_var'}'` = yes; then
77823 cat >>confdefs.h <<_ACEOF
77824 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77825 _ACEOF
77828 done
77838 echo "$as_me:$LINENO: checking for logl declaration" >&5
77839 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
77840 if test x${glibcxx_cv_func_logl_use+set} != xset; then
77841 if test "${glibcxx_cv_func_logl_use+set}" = set; then
77842 echo $ECHO_N "(cached) $ECHO_C" >&6
77843 else
77847 ac_ext=cc
77848 ac_cpp='$CXXCPP $CPPFLAGS'
77849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77853 cat >conftest.$ac_ext <<_ACEOF
77854 /* confdefs.h. */
77855 _ACEOF
77856 cat confdefs.h >>conftest.$ac_ext
77857 cat >>conftest.$ac_ext <<_ACEOF
77858 /* end confdefs.h. */
77859 #include <math.h>
77860 #ifdef HAVE_IEEEFP_H
77861 #include <ieeefp.h>
77862 #endif
77865 main ()
77867 logl(0);
77869 return 0;
77871 _ACEOF
77872 rm -f conftest.$ac_objext
77873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77874 (eval $ac_compile) 2>conftest.er1
77875 ac_status=$?
77876 grep -v '^ *+' conftest.er1 >conftest.err
77877 rm -f conftest.er1
77878 cat conftest.err >&5
77879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77880 (exit $ac_status); } &&
77881 { ac_try='test -z "$ac_cxx_werror_flag"
77882 || test ! -s conftest.err'
77883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77884 (eval $ac_try) 2>&5
77885 ac_status=$?
77886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77887 (exit $ac_status); }; } &&
77888 { ac_try='test -s conftest.$ac_objext'
77889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77890 (eval $ac_try) 2>&5
77891 ac_status=$?
77892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77893 (exit $ac_status); }; }; then
77894 glibcxx_cv_func_logl_use=yes
77895 else
77896 echo "$as_me: failed program was:" >&5
77897 sed 's/^/| /' conftest.$ac_ext >&5
77899 glibcxx_cv_func_logl_use=no
77901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77902 ac_ext=c
77903 ac_cpp='$CPP $CPPFLAGS'
77904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77912 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
77913 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
77915 if test x$glibcxx_cv_func_logl_use = x"yes"; then
77917 for ac_func in logl
77919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77920 echo "$as_me:$LINENO: checking for $ac_func" >&5
77921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77922 if eval "test \"\${$as_ac_var+set}\" = set"; then
77923 echo $ECHO_N "(cached) $ECHO_C" >&6
77924 else
77925 if test x$gcc_no_link = xyes; then
77926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77928 { (exit 1); exit 1; }; }
77930 cat >conftest.$ac_ext <<_ACEOF
77931 /* confdefs.h. */
77932 _ACEOF
77933 cat confdefs.h >>conftest.$ac_ext
77934 cat >>conftest.$ac_ext <<_ACEOF
77935 /* end confdefs.h. */
77936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77938 #define $ac_func innocuous_$ac_func
77940 /* System header to define __stub macros and hopefully few prototypes,
77941 which can conflict with char $ac_func (); below.
77942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77943 <limits.h> exists even on freestanding compilers. */
77945 #ifdef __STDC__
77946 # include <limits.h>
77947 #else
77948 # include <assert.h>
77949 #endif
77951 #undef $ac_func
77953 /* Override any gcc2 internal prototype to avoid an error. */
77954 #ifdef __cplusplus
77955 extern "C"
77957 #endif
77958 /* We use char because int might match the return type of a gcc2
77959 builtin and then its argument prototype would still apply. */
77960 char $ac_func ();
77961 /* The GNU C library defines this for functions which it implements
77962 to always fail with ENOSYS. Some functions are actually named
77963 something starting with __ and the normal name is an alias. */
77964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77965 choke me
77966 #else
77967 char (*f) () = $ac_func;
77968 #endif
77969 #ifdef __cplusplus
77971 #endif
77974 main ()
77976 return f != $ac_func;
77978 return 0;
77980 _ACEOF
77981 rm -f conftest.$ac_objext conftest$ac_exeext
77982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77983 (eval $ac_link) 2>conftest.er1
77984 ac_status=$?
77985 grep -v '^ *+' conftest.er1 >conftest.err
77986 rm -f conftest.er1
77987 cat conftest.err >&5
77988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77989 (exit $ac_status); } &&
77990 { ac_try='test -z "$ac_c_werror_flag"
77991 || test ! -s conftest.err'
77992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77993 (eval $ac_try) 2>&5
77994 ac_status=$?
77995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77996 (exit $ac_status); }; } &&
77997 { ac_try='test -s conftest$ac_exeext'
77998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77999 (eval $ac_try) 2>&5
78000 ac_status=$?
78001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78002 (exit $ac_status); }; }; then
78003 eval "$as_ac_var=yes"
78004 else
78005 echo "$as_me: failed program was:" >&5
78006 sed 's/^/| /' conftest.$ac_ext >&5
78008 eval "$as_ac_var=no"
78010 rm -f conftest.err conftest.$ac_objext \
78011 conftest$ac_exeext conftest.$ac_ext
78013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78015 if test `eval echo '${'$as_ac_var'}'` = yes; then
78016 cat >>confdefs.h <<_ACEOF
78017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78018 _ACEOF
78021 done
78023 else
78025 echo "$as_me:$LINENO: checking for _logl declaration" >&5
78026 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
78027 if test x${glibcxx_cv_func__logl_use+set} != xset; then
78028 if test "${glibcxx_cv_func__logl_use+set}" = set; then
78029 echo $ECHO_N "(cached) $ECHO_C" >&6
78030 else
78034 ac_ext=cc
78035 ac_cpp='$CXXCPP $CPPFLAGS'
78036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78040 cat >conftest.$ac_ext <<_ACEOF
78041 /* confdefs.h. */
78042 _ACEOF
78043 cat confdefs.h >>conftest.$ac_ext
78044 cat >>conftest.$ac_ext <<_ACEOF
78045 /* end confdefs.h. */
78046 #include <math.h>
78047 #ifdef HAVE_IEEEFP_H
78048 #include <ieeefp.h>
78049 #endif
78052 main ()
78054 _logl(0);
78056 return 0;
78058 _ACEOF
78059 rm -f conftest.$ac_objext
78060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78061 (eval $ac_compile) 2>conftest.er1
78062 ac_status=$?
78063 grep -v '^ *+' conftest.er1 >conftest.err
78064 rm -f conftest.er1
78065 cat conftest.err >&5
78066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78067 (exit $ac_status); } &&
78068 { ac_try='test -z "$ac_cxx_werror_flag"
78069 || test ! -s conftest.err'
78070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78071 (eval $ac_try) 2>&5
78072 ac_status=$?
78073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78074 (exit $ac_status); }; } &&
78075 { ac_try='test -s conftest.$ac_objext'
78076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78077 (eval $ac_try) 2>&5
78078 ac_status=$?
78079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78080 (exit $ac_status); }; }; then
78081 glibcxx_cv_func__logl_use=yes
78082 else
78083 echo "$as_me: failed program was:" >&5
78084 sed 's/^/| /' conftest.$ac_ext >&5
78086 glibcxx_cv_func__logl_use=no
78088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78089 ac_ext=c
78090 ac_cpp='$CPP $CPPFLAGS'
78091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78099 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
78100 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
78102 if test x$glibcxx_cv_func__logl_use = x"yes"; then
78104 for ac_func in _logl
78106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78107 echo "$as_me:$LINENO: checking for $ac_func" >&5
78108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78109 if eval "test \"\${$as_ac_var+set}\" = set"; then
78110 echo $ECHO_N "(cached) $ECHO_C" >&6
78111 else
78112 if test x$gcc_no_link = xyes; then
78113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78115 { (exit 1); exit 1; }; }
78117 cat >conftest.$ac_ext <<_ACEOF
78118 /* confdefs.h. */
78119 _ACEOF
78120 cat confdefs.h >>conftest.$ac_ext
78121 cat >>conftest.$ac_ext <<_ACEOF
78122 /* end confdefs.h. */
78123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78125 #define $ac_func innocuous_$ac_func
78127 /* System header to define __stub macros and hopefully few prototypes,
78128 which can conflict with char $ac_func (); below.
78129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78130 <limits.h> exists even on freestanding compilers. */
78132 #ifdef __STDC__
78133 # include <limits.h>
78134 #else
78135 # include <assert.h>
78136 #endif
78138 #undef $ac_func
78140 /* Override any gcc2 internal prototype to avoid an error. */
78141 #ifdef __cplusplus
78142 extern "C"
78144 #endif
78145 /* We use char because int might match the return type of a gcc2
78146 builtin and then its argument prototype would still apply. */
78147 char $ac_func ();
78148 /* The GNU C library defines this for functions which it implements
78149 to always fail with ENOSYS. Some functions are actually named
78150 something starting with __ and the normal name is an alias. */
78151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78152 choke me
78153 #else
78154 char (*f) () = $ac_func;
78155 #endif
78156 #ifdef __cplusplus
78158 #endif
78161 main ()
78163 return f != $ac_func;
78165 return 0;
78167 _ACEOF
78168 rm -f conftest.$ac_objext conftest$ac_exeext
78169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78170 (eval $ac_link) 2>conftest.er1
78171 ac_status=$?
78172 grep -v '^ *+' conftest.er1 >conftest.err
78173 rm -f conftest.er1
78174 cat conftest.err >&5
78175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78176 (exit $ac_status); } &&
78177 { ac_try='test -z "$ac_c_werror_flag"
78178 || test ! -s conftest.err'
78179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78180 (eval $ac_try) 2>&5
78181 ac_status=$?
78182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78183 (exit $ac_status); }; } &&
78184 { ac_try='test -s conftest$ac_exeext'
78185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78186 (eval $ac_try) 2>&5
78187 ac_status=$?
78188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78189 (exit $ac_status); }; }; then
78190 eval "$as_ac_var=yes"
78191 else
78192 echo "$as_me: failed program was:" >&5
78193 sed 's/^/| /' conftest.$ac_ext >&5
78195 eval "$as_ac_var=no"
78197 rm -f conftest.err conftest.$ac_objext \
78198 conftest$ac_exeext conftest.$ac_ext
78200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78202 if test `eval echo '${'$as_ac_var'}'` = yes; then
78203 cat >>confdefs.h <<_ACEOF
78204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78205 _ACEOF
78208 done
78218 echo "$as_me:$LINENO: checking for log10l declaration" >&5
78219 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
78220 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
78221 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
78222 echo $ECHO_N "(cached) $ECHO_C" >&6
78223 else
78227 ac_ext=cc
78228 ac_cpp='$CXXCPP $CPPFLAGS'
78229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78233 cat >conftest.$ac_ext <<_ACEOF
78234 /* confdefs.h. */
78235 _ACEOF
78236 cat confdefs.h >>conftest.$ac_ext
78237 cat >>conftest.$ac_ext <<_ACEOF
78238 /* end confdefs.h. */
78239 #include <math.h>
78240 #ifdef HAVE_IEEEFP_H
78241 #include <ieeefp.h>
78242 #endif
78245 main ()
78247 log10l(0);
78249 return 0;
78251 _ACEOF
78252 rm -f conftest.$ac_objext
78253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78254 (eval $ac_compile) 2>conftest.er1
78255 ac_status=$?
78256 grep -v '^ *+' conftest.er1 >conftest.err
78257 rm -f conftest.er1
78258 cat conftest.err >&5
78259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78260 (exit $ac_status); } &&
78261 { ac_try='test -z "$ac_cxx_werror_flag"
78262 || test ! -s conftest.err'
78263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78264 (eval $ac_try) 2>&5
78265 ac_status=$?
78266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78267 (exit $ac_status); }; } &&
78268 { ac_try='test -s conftest.$ac_objext'
78269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78270 (eval $ac_try) 2>&5
78271 ac_status=$?
78272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78273 (exit $ac_status); }; }; then
78274 glibcxx_cv_func_log10l_use=yes
78275 else
78276 echo "$as_me: failed program was:" >&5
78277 sed 's/^/| /' conftest.$ac_ext >&5
78279 glibcxx_cv_func_log10l_use=no
78281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78282 ac_ext=c
78283 ac_cpp='$CPP $CPPFLAGS'
78284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78292 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
78293 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
78295 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
78297 for ac_func in log10l
78299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78300 echo "$as_me:$LINENO: checking for $ac_func" >&5
78301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78302 if eval "test \"\${$as_ac_var+set}\" = set"; then
78303 echo $ECHO_N "(cached) $ECHO_C" >&6
78304 else
78305 if test x$gcc_no_link = xyes; then
78306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78308 { (exit 1); exit 1; }; }
78310 cat >conftest.$ac_ext <<_ACEOF
78311 /* confdefs.h. */
78312 _ACEOF
78313 cat confdefs.h >>conftest.$ac_ext
78314 cat >>conftest.$ac_ext <<_ACEOF
78315 /* end confdefs.h. */
78316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78318 #define $ac_func innocuous_$ac_func
78320 /* System header to define __stub macros and hopefully few prototypes,
78321 which can conflict with char $ac_func (); below.
78322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78323 <limits.h> exists even on freestanding compilers. */
78325 #ifdef __STDC__
78326 # include <limits.h>
78327 #else
78328 # include <assert.h>
78329 #endif
78331 #undef $ac_func
78333 /* Override any gcc2 internal prototype to avoid an error. */
78334 #ifdef __cplusplus
78335 extern "C"
78337 #endif
78338 /* We use char because int might match the return type of a gcc2
78339 builtin and then its argument prototype would still apply. */
78340 char $ac_func ();
78341 /* The GNU C library defines this for functions which it implements
78342 to always fail with ENOSYS. Some functions are actually named
78343 something starting with __ and the normal name is an alias. */
78344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78345 choke me
78346 #else
78347 char (*f) () = $ac_func;
78348 #endif
78349 #ifdef __cplusplus
78351 #endif
78354 main ()
78356 return f != $ac_func;
78358 return 0;
78360 _ACEOF
78361 rm -f conftest.$ac_objext conftest$ac_exeext
78362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78363 (eval $ac_link) 2>conftest.er1
78364 ac_status=$?
78365 grep -v '^ *+' conftest.er1 >conftest.err
78366 rm -f conftest.er1
78367 cat conftest.err >&5
78368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78369 (exit $ac_status); } &&
78370 { ac_try='test -z "$ac_c_werror_flag"
78371 || test ! -s conftest.err'
78372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78373 (eval $ac_try) 2>&5
78374 ac_status=$?
78375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78376 (exit $ac_status); }; } &&
78377 { ac_try='test -s conftest$ac_exeext'
78378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78379 (eval $ac_try) 2>&5
78380 ac_status=$?
78381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78382 (exit $ac_status); }; }; then
78383 eval "$as_ac_var=yes"
78384 else
78385 echo "$as_me: failed program was:" >&5
78386 sed 's/^/| /' conftest.$ac_ext >&5
78388 eval "$as_ac_var=no"
78390 rm -f conftest.err conftest.$ac_objext \
78391 conftest$ac_exeext conftest.$ac_ext
78393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78395 if test `eval echo '${'$as_ac_var'}'` = yes; then
78396 cat >>confdefs.h <<_ACEOF
78397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78398 _ACEOF
78401 done
78403 else
78405 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
78406 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
78407 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
78408 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
78409 echo $ECHO_N "(cached) $ECHO_C" >&6
78410 else
78414 ac_ext=cc
78415 ac_cpp='$CXXCPP $CPPFLAGS'
78416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78420 cat >conftest.$ac_ext <<_ACEOF
78421 /* confdefs.h. */
78422 _ACEOF
78423 cat confdefs.h >>conftest.$ac_ext
78424 cat >>conftest.$ac_ext <<_ACEOF
78425 /* end confdefs.h. */
78426 #include <math.h>
78427 #ifdef HAVE_IEEEFP_H
78428 #include <ieeefp.h>
78429 #endif
78432 main ()
78434 _log10l(0);
78436 return 0;
78438 _ACEOF
78439 rm -f conftest.$ac_objext
78440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78441 (eval $ac_compile) 2>conftest.er1
78442 ac_status=$?
78443 grep -v '^ *+' conftest.er1 >conftest.err
78444 rm -f conftest.er1
78445 cat conftest.err >&5
78446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78447 (exit $ac_status); } &&
78448 { ac_try='test -z "$ac_cxx_werror_flag"
78449 || test ! -s conftest.err'
78450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78451 (eval $ac_try) 2>&5
78452 ac_status=$?
78453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78454 (exit $ac_status); }; } &&
78455 { ac_try='test -s conftest.$ac_objext'
78456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78457 (eval $ac_try) 2>&5
78458 ac_status=$?
78459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78460 (exit $ac_status); }; }; then
78461 glibcxx_cv_func__log10l_use=yes
78462 else
78463 echo "$as_me: failed program was:" >&5
78464 sed 's/^/| /' conftest.$ac_ext >&5
78466 glibcxx_cv_func__log10l_use=no
78468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78469 ac_ext=c
78470 ac_cpp='$CPP $CPPFLAGS'
78471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78479 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
78480 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
78482 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
78484 for ac_func in _log10l
78486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78487 echo "$as_me:$LINENO: checking for $ac_func" >&5
78488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78489 if eval "test \"\${$as_ac_var+set}\" = set"; then
78490 echo $ECHO_N "(cached) $ECHO_C" >&6
78491 else
78492 if test x$gcc_no_link = xyes; then
78493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78495 { (exit 1); exit 1; }; }
78497 cat >conftest.$ac_ext <<_ACEOF
78498 /* confdefs.h. */
78499 _ACEOF
78500 cat confdefs.h >>conftest.$ac_ext
78501 cat >>conftest.$ac_ext <<_ACEOF
78502 /* end confdefs.h. */
78503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78505 #define $ac_func innocuous_$ac_func
78507 /* System header to define __stub macros and hopefully few prototypes,
78508 which can conflict with char $ac_func (); below.
78509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78510 <limits.h> exists even on freestanding compilers. */
78512 #ifdef __STDC__
78513 # include <limits.h>
78514 #else
78515 # include <assert.h>
78516 #endif
78518 #undef $ac_func
78520 /* Override any gcc2 internal prototype to avoid an error. */
78521 #ifdef __cplusplus
78522 extern "C"
78524 #endif
78525 /* We use char because int might match the return type of a gcc2
78526 builtin and then its argument prototype would still apply. */
78527 char $ac_func ();
78528 /* The GNU C library defines this for functions which it implements
78529 to always fail with ENOSYS. Some functions are actually named
78530 something starting with __ and the normal name is an alias. */
78531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78532 choke me
78533 #else
78534 char (*f) () = $ac_func;
78535 #endif
78536 #ifdef __cplusplus
78538 #endif
78541 main ()
78543 return f != $ac_func;
78545 return 0;
78547 _ACEOF
78548 rm -f conftest.$ac_objext conftest$ac_exeext
78549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78550 (eval $ac_link) 2>conftest.er1
78551 ac_status=$?
78552 grep -v '^ *+' conftest.er1 >conftest.err
78553 rm -f conftest.er1
78554 cat conftest.err >&5
78555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78556 (exit $ac_status); } &&
78557 { ac_try='test -z "$ac_c_werror_flag"
78558 || test ! -s conftest.err'
78559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78560 (eval $ac_try) 2>&5
78561 ac_status=$?
78562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78563 (exit $ac_status); }; } &&
78564 { ac_try='test -s conftest$ac_exeext'
78565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78566 (eval $ac_try) 2>&5
78567 ac_status=$?
78568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78569 (exit $ac_status); }; }; then
78570 eval "$as_ac_var=yes"
78571 else
78572 echo "$as_me: failed program was:" >&5
78573 sed 's/^/| /' conftest.$ac_ext >&5
78575 eval "$as_ac_var=no"
78577 rm -f conftest.err conftest.$ac_objext \
78578 conftest$ac_exeext conftest.$ac_ext
78580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78582 if test `eval echo '${'$as_ac_var'}'` = yes; then
78583 cat >>confdefs.h <<_ACEOF
78584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78585 _ACEOF
78588 done
78598 echo "$as_me:$LINENO: checking for modfl declaration" >&5
78599 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
78600 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
78601 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
78602 echo $ECHO_N "(cached) $ECHO_C" >&6
78603 else
78607 ac_ext=cc
78608 ac_cpp='$CXXCPP $CPPFLAGS'
78609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78613 cat >conftest.$ac_ext <<_ACEOF
78614 /* confdefs.h. */
78615 _ACEOF
78616 cat confdefs.h >>conftest.$ac_ext
78617 cat >>conftest.$ac_ext <<_ACEOF
78618 /* end confdefs.h. */
78619 #include <math.h>
78621 main ()
78623 modfl(0, 0);
78625 return 0;
78627 _ACEOF
78628 rm -f conftest.$ac_objext
78629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78630 (eval $ac_compile) 2>conftest.er1
78631 ac_status=$?
78632 grep -v '^ *+' conftest.er1 >conftest.err
78633 rm -f conftest.er1
78634 cat conftest.err >&5
78635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78636 (exit $ac_status); } &&
78637 { ac_try='test -z "$ac_cxx_werror_flag"
78638 || test ! -s conftest.err'
78639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78640 (eval $ac_try) 2>&5
78641 ac_status=$?
78642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78643 (exit $ac_status); }; } &&
78644 { ac_try='test -s conftest.$ac_objext'
78645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78646 (eval $ac_try) 2>&5
78647 ac_status=$?
78648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78649 (exit $ac_status); }; }; then
78650 glibcxx_cv_func_modfl_use=yes
78651 else
78652 echo "$as_me: failed program was:" >&5
78653 sed 's/^/| /' conftest.$ac_ext >&5
78655 glibcxx_cv_func_modfl_use=no
78657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78658 ac_ext=c
78659 ac_cpp='$CPP $CPPFLAGS'
78660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78668 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
78669 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
78671 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
78673 for ac_func in modfl
78675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78676 echo "$as_me:$LINENO: checking for $ac_func" >&5
78677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78678 if eval "test \"\${$as_ac_var+set}\" = set"; then
78679 echo $ECHO_N "(cached) $ECHO_C" >&6
78680 else
78681 if test x$gcc_no_link = xyes; then
78682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78684 { (exit 1); exit 1; }; }
78686 cat >conftest.$ac_ext <<_ACEOF
78687 /* confdefs.h. */
78688 _ACEOF
78689 cat confdefs.h >>conftest.$ac_ext
78690 cat >>conftest.$ac_ext <<_ACEOF
78691 /* end confdefs.h. */
78692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78694 #define $ac_func innocuous_$ac_func
78696 /* System header to define __stub macros and hopefully few prototypes,
78697 which can conflict with char $ac_func (); below.
78698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78699 <limits.h> exists even on freestanding compilers. */
78701 #ifdef __STDC__
78702 # include <limits.h>
78703 #else
78704 # include <assert.h>
78705 #endif
78707 #undef $ac_func
78709 /* Override any gcc2 internal prototype to avoid an error. */
78710 #ifdef __cplusplus
78711 extern "C"
78713 #endif
78714 /* We use char because int might match the return type of a gcc2
78715 builtin and then its argument prototype would still apply. */
78716 char $ac_func ();
78717 /* The GNU C library defines this for functions which it implements
78718 to always fail with ENOSYS. Some functions are actually named
78719 something starting with __ and the normal name is an alias. */
78720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78721 choke me
78722 #else
78723 char (*f) () = $ac_func;
78724 #endif
78725 #ifdef __cplusplus
78727 #endif
78730 main ()
78732 return f != $ac_func;
78734 return 0;
78736 _ACEOF
78737 rm -f conftest.$ac_objext conftest$ac_exeext
78738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78739 (eval $ac_link) 2>conftest.er1
78740 ac_status=$?
78741 grep -v '^ *+' conftest.er1 >conftest.err
78742 rm -f conftest.er1
78743 cat conftest.err >&5
78744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78745 (exit $ac_status); } &&
78746 { ac_try='test -z "$ac_c_werror_flag"
78747 || test ! -s conftest.err'
78748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78749 (eval $ac_try) 2>&5
78750 ac_status=$?
78751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78752 (exit $ac_status); }; } &&
78753 { ac_try='test -s conftest$ac_exeext'
78754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78755 (eval $ac_try) 2>&5
78756 ac_status=$?
78757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78758 (exit $ac_status); }; }; then
78759 eval "$as_ac_var=yes"
78760 else
78761 echo "$as_me: failed program was:" >&5
78762 sed 's/^/| /' conftest.$ac_ext >&5
78764 eval "$as_ac_var=no"
78766 rm -f conftest.err conftest.$ac_objext \
78767 conftest$ac_exeext conftest.$ac_ext
78769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78771 if test `eval echo '${'$as_ac_var'}'` = yes; then
78772 cat >>confdefs.h <<_ACEOF
78773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78774 _ACEOF
78777 done
78779 else
78781 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
78782 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
78783 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
78784 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
78785 echo $ECHO_N "(cached) $ECHO_C" >&6
78786 else
78790 ac_ext=cc
78791 ac_cpp='$CXXCPP $CPPFLAGS'
78792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78796 cat >conftest.$ac_ext <<_ACEOF
78797 /* confdefs.h. */
78798 _ACEOF
78799 cat confdefs.h >>conftest.$ac_ext
78800 cat >>conftest.$ac_ext <<_ACEOF
78801 /* end confdefs.h. */
78802 #include <math.h>
78804 main ()
78806 _modfl(0, 0);
78808 return 0;
78810 _ACEOF
78811 rm -f conftest.$ac_objext
78812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78813 (eval $ac_compile) 2>conftest.er1
78814 ac_status=$?
78815 grep -v '^ *+' conftest.er1 >conftest.err
78816 rm -f conftest.er1
78817 cat conftest.err >&5
78818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78819 (exit $ac_status); } &&
78820 { ac_try='test -z "$ac_cxx_werror_flag"
78821 || test ! -s conftest.err'
78822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78823 (eval $ac_try) 2>&5
78824 ac_status=$?
78825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78826 (exit $ac_status); }; } &&
78827 { ac_try='test -s conftest.$ac_objext'
78828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78829 (eval $ac_try) 2>&5
78830 ac_status=$?
78831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78832 (exit $ac_status); }; }; then
78833 glibcxx_cv_func__modfl_use=yes
78834 else
78835 echo "$as_me: failed program was:" >&5
78836 sed 's/^/| /' conftest.$ac_ext >&5
78838 glibcxx_cv_func__modfl_use=no
78840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78841 ac_ext=c
78842 ac_cpp='$CPP $CPPFLAGS'
78843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78851 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
78852 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
78854 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
78856 for ac_func in _modfl
78858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78859 echo "$as_me:$LINENO: checking for $ac_func" >&5
78860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78861 if eval "test \"\${$as_ac_var+set}\" = set"; then
78862 echo $ECHO_N "(cached) $ECHO_C" >&6
78863 else
78864 if test x$gcc_no_link = xyes; then
78865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78867 { (exit 1); exit 1; }; }
78869 cat >conftest.$ac_ext <<_ACEOF
78870 /* confdefs.h. */
78871 _ACEOF
78872 cat confdefs.h >>conftest.$ac_ext
78873 cat >>conftest.$ac_ext <<_ACEOF
78874 /* end confdefs.h. */
78875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78877 #define $ac_func innocuous_$ac_func
78879 /* System header to define __stub macros and hopefully few prototypes,
78880 which can conflict with char $ac_func (); below.
78881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78882 <limits.h> exists even on freestanding compilers. */
78884 #ifdef __STDC__
78885 # include <limits.h>
78886 #else
78887 # include <assert.h>
78888 #endif
78890 #undef $ac_func
78892 /* Override any gcc2 internal prototype to avoid an error. */
78893 #ifdef __cplusplus
78894 extern "C"
78896 #endif
78897 /* We use char because int might match the return type of a gcc2
78898 builtin and then its argument prototype would still apply. */
78899 char $ac_func ();
78900 /* The GNU C library defines this for functions which it implements
78901 to always fail with ENOSYS. Some functions are actually named
78902 something starting with __ and the normal name is an alias. */
78903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78904 choke me
78905 #else
78906 char (*f) () = $ac_func;
78907 #endif
78908 #ifdef __cplusplus
78910 #endif
78913 main ()
78915 return f != $ac_func;
78917 return 0;
78919 _ACEOF
78920 rm -f conftest.$ac_objext conftest$ac_exeext
78921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78922 (eval $ac_link) 2>conftest.er1
78923 ac_status=$?
78924 grep -v '^ *+' conftest.er1 >conftest.err
78925 rm -f conftest.er1
78926 cat conftest.err >&5
78927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78928 (exit $ac_status); } &&
78929 { ac_try='test -z "$ac_c_werror_flag"
78930 || test ! -s conftest.err'
78931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78932 (eval $ac_try) 2>&5
78933 ac_status=$?
78934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78935 (exit $ac_status); }; } &&
78936 { ac_try='test -s conftest$ac_exeext'
78937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78938 (eval $ac_try) 2>&5
78939 ac_status=$?
78940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78941 (exit $ac_status); }; }; then
78942 eval "$as_ac_var=yes"
78943 else
78944 echo "$as_me: failed program was:" >&5
78945 sed 's/^/| /' conftest.$ac_ext >&5
78947 eval "$as_ac_var=no"
78949 rm -f conftest.err conftest.$ac_objext \
78950 conftest$ac_exeext conftest.$ac_ext
78952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78954 if test `eval echo '${'$as_ac_var'}'` = yes; then
78955 cat >>confdefs.h <<_ACEOF
78956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78957 _ACEOF
78960 done
78970 echo "$as_me:$LINENO: checking for powl declaration" >&5
78971 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
78972 if test x${glibcxx_cv_func_powl_use+set} != xset; then
78973 if test "${glibcxx_cv_func_powl_use+set}" = set; then
78974 echo $ECHO_N "(cached) $ECHO_C" >&6
78975 else
78979 ac_ext=cc
78980 ac_cpp='$CXXCPP $CPPFLAGS'
78981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78985 cat >conftest.$ac_ext <<_ACEOF
78986 /* confdefs.h. */
78987 _ACEOF
78988 cat confdefs.h >>conftest.$ac_ext
78989 cat >>conftest.$ac_ext <<_ACEOF
78990 /* end confdefs.h. */
78991 #include <math.h>
78993 main ()
78995 powl(0, 0);
78997 return 0;
78999 _ACEOF
79000 rm -f conftest.$ac_objext
79001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79002 (eval $ac_compile) 2>conftest.er1
79003 ac_status=$?
79004 grep -v '^ *+' conftest.er1 >conftest.err
79005 rm -f conftest.er1
79006 cat conftest.err >&5
79007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79008 (exit $ac_status); } &&
79009 { ac_try='test -z "$ac_cxx_werror_flag"
79010 || test ! -s conftest.err'
79011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79012 (eval $ac_try) 2>&5
79013 ac_status=$?
79014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79015 (exit $ac_status); }; } &&
79016 { ac_try='test -s conftest.$ac_objext'
79017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79018 (eval $ac_try) 2>&5
79019 ac_status=$?
79020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79021 (exit $ac_status); }; }; then
79022 glibcxx_cv_func_powl_use=yes
79023 else
79024 echo "$as_me: failed program was:" >&5
79025 sed 's/^/| /' conftest.$ac_ext >&5
79027 glibcxx_cv_func_powl_use=no
79029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79030 ac_ext=c
79031 ac_cpp='$CPP $CPPFLAGS'
79032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79040 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
79041 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
79043 if test x$glibcxx_cv_func_powl_use = x"yes"; then
79045 for ac_func in powl
79047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79048 echo "$as_me:$LINENO: checking for $ac_func" >&5
79049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79050 if eval "test \"\${$as_ac_var+set}\" = set"; then
79051 echo $ECHO_N "(cached) $ECHO_C" >&6
79052 else
79053 if test x$gcc_no_link = xyes; then
79054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79056 { (exit 1); exit 1; }; }
79058 cat >conftest.$ac_ext <<_ACEOF
79059 /* confdefs.h. */
79060 _ACEOF
79061 cat confdefs.h >>conftest.$ac_ext
79062 cat >>conftest.$ac_ext <<_ACEOF
79063 /* end confdefs.h. */
79064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79066 #define $ac_func innocuous_$ac_func
79068 /* System header to define __stub macros and hopefully few prototypes,
79069 which can conflict with char $ac_func (); below.
79070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79071 <limits.h> exists even on freestanding compilers. */
79073 #ifdef __STDC__
79074 # include <limits.h>
79075 #else
79076 # include <assert.h>
79077 #endif
79079 #undef $ac_func
79081 /* Override any gcc2 internal prototype to avoid an error. */
79082 #ifdef __cplusplus
79083 extern "C"
79085 #endif
79086 /* We use char because int might match the return type of a gcc2
79087 builtin and then its argument prototype would still apply. */
79088 char $ac_func ();
79089 /* The GNU C library defines this for functions which it implements
79090 to always fail with ENOSYS. Some functions are actually named
79091 something starting with __ and the normal name is an alias. */
79092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79093 choke me
79094 #else
79095 char (*f) () = $ac_func;
79096 #endif
79097 #ifdef __cplusplus
79099 #endif
79102 main ()
79104 return f != $ac_func;
79106 return 0;
79108 _ACEOF
79109 rm -f conftest.$ac_objext conftest$ac_exeext
79110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79111 (eval $ac_link) 2>conftest.er1
79112 ac_status=$?
79113 grep -v '^ *+' conftest.er1 >conftest.err
79114 rm -f conftest.er1
79115 cat conftest.err >&5
79116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79117 (exit $ac_status); } &&
79118 { ac_try='test -z "$ac_c_werror_flag"
79119 || test ! -s conftest.err'
79120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79121 (eval $ac_try) 2>&5
79122 ac_status=$?
79123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79124 (exit $ac_status); }; } &&
79125 { ac_try='test -s conftest$ac_exeext'
79126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79127 (eval $ac_try) 2>&5
79128 ac_status=$?
79129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79130 (exit $ac_status); }; }; then
79131 eval "$as_ac_var=yes"
79132 else
79133 echo "$as_me: failed program was:" >&5
79134 sed 's/^/| /' conftest.$ac_ext >&5
79136 eval "$as_ac_var=no"
79138 rm -f conftest.err conftest.$ac_objext \
79139 conftest$ac_exeext conftest.$ac_ext
79141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79143 if test `eval echo '${'$as_ac_var'}'` = yes; then
79144 cat >>confdefs.h <<_ACEOF
79145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79146 _ACEOF
79149 done
79151 else
79153 echo "$as_me:$LINENO: checking for _powl declaration" >&5
79154 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
79155 if test x${glibcxx_cv_func__powl_use+set} != xset; then
79156 if test "${glibcxx_cv_func__powl_use+set}" = set; then
79157 echo $ECHO_N "(cached) $ECHO_C" >&6
79158 else
79162 ac_ext=cc
79163 ac_cpp='$CXXCPP $CPPFLAGS'
79164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79168 cat >conftest.$ac_ext <<_ACEOF
79169 /* confdefs.h. */
79170 _ACEOF
79171 cat confdefs.h >>conftest.$ac_ext
79172 cat >>conftest.$ac_ext <<_ACEOF
79173 /* end confdefs.h. */
79174 #include <math.h>
79176 main ()
79178 _powl(0, 0);
79180 return 0;
79182 _ACEOF
79183 rm -f conftest.$ac_objext
79184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79185 (eval $ac_compile) 2>conftest.er1
79186 ac_status=$?
79187 grep -v '^ *+' conftest.er1 >conftest.err
79188 rm -f conftest.er1
79189 cat conftest.err >&5
79190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79191 (exit $ac_status); } &&
79192 { ac_try='test -z "$ac_cxx_werror_flag"
79193 || test ! -s conftest.err'
79194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79195 (eval $ac_try) 2>&5
79196 ac_status=$?
79197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79198 (exit $ac_status); }; } &&
79199 { ac_try='test -s conftest.$ac_objext'
79200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79201 (eval $ac_try) 2>&5
79202 ac_status=$?
79203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79204 (exit $ac_status); }; }; then
79205 glibcxx_cv_func__powl_use=yes
79206 else
79207 echo "$as_me: failed program was:" >&5
79208 sed 's/^/| /' conftest.$ac_ext >&5
79210 glibcxx_cv_func__powl_use=no
79212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79213 ac_ext=c
79214 ac_cpp='$CPP $CPPFLAGS'
79215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79223 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
79224 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
79226 if test x$glibcxx_cv_func__powl_use = x"yes"; then
79228 for ac_func in _powl
79230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79231 echo "$as_me:$LINENO: checking for $ac_func" >&5
79232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79233 if eval "test \"\${$as_ac_var+set}\" = set"; then
79234 echo $ECHO_N "(cached) $ECHO_C" >&6
79235 else
79236 if test x$gcc_no_link = xyes; then
79237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79239 { (exit 1); exit 1; }; }
79241 cat >conftest.$ac_ext <<_ACEOF
79242 /* confdefs.h. */
79243 _ACEOF
79244 cat confdefs.h >>conftest.$ac_ext
79245 cat >>conftest.$ac_ext <<_ACEOF
79246 /* end confdefs.h. */
79247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79249 #define $ac_func innocuous_$ac_func
79251 /* System header to define __stub macros and hopefully few prototypes,
79252 which can conflict with char $ac_func (); below.
79253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79254 <limits.h> exists even on freestanding compilers. */
79256 #ifdef __STDC__
79257 # include <limits.h>
79258 #else
79259 # include <assert.h>
79260 #endif
79262 #undef $ac_func
79264 /* Override any gcc2 internal prototype to avoid an error. */
79265 #ifdef __cplusplus
79266 extern "C"
79268 #endif
79269 /* We use char because int might match the return type of a gcc2
79270 builtin and then its argument prototype would still apply. */
79271 char $ac_func ();
79272 /* The GNU C library defines this for functions which it implements
79273 to always fail with ENOSYS. Some functions are actually named
79274 something starting with __ and the normal name is an alias. */
79275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79276 choke me
79277 #else
79278 char (*f) () = $ac_func;
79279 #endif
79280 #ifdef __cplusplus
79282 #endif
79285 main ()
79287 return f != $ac_func;
79289 return 0;
79291 _ACEOF
79292 rm -f conftest.$ac_objext conftest$ac_exeext
79293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79294 (eval $ac_link) 2>conftest.er1
79295 ac_status=$?
79296 grep -v '^ *+' conftest.er1 >conftest.err
79297 rm -f conftest.er1
79298 cat conftest.err >&5
79299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79300 (exit $ac_status); } &&
79301 { ac_try='test -z "$ac_c_werror_flag"
79302 || test ! -s conftest.err'
79303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79304 (eval $ac_try) 2>&5
79305 ac_status=$?
79306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79307 (exit $ac_status); }; } &&
79308 { ac_try='test -s conftest$ac_exeext'
79309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79310 (eval $ac_try) 2>&5
79311 ac_status=$?
79312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79313 (exit $ac_status); }; }; then
79314 eval "$as_ac_var=yes"
79315 else
79316 echo "$as_me: failed program was:" >&5
79317 sed 's/^/| /' conftest.$ac_ext >&5
79319 eval "$as_ac_var=no"
79321 rm -f conftest.err conftest.$ac_objext \
79322 conftest$ac_exeext conftest.$ac_ext
79324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79326 if test `eval echo '${'$as_ac_var'}'` = yes; then
79327 cat >>confdefs.h <<_ACEOF
79328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79329 _ACEOF
79332 done
79342 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
79343 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
79344 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
79345 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
79346 echo $ECHO_N "(cached) $ECHO_C" >&6
79347 else
79351 ac_ext=cc
79352 ac_cpp='$CXXCPP $CPPFLAGS'
79353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79357 cat >conftest.$ac_ext <<_ACEOF
79358 /* confdefs.h. */
79359 _ACEOF
79360 cat confdefs.h >>conftest.$ac_ext
79361 cat >>conftest.$ac_ext <<_ACEOF
79362 /* end confdefs.h. */
79363 #include <math.h>
79364 #ifdef HAVE_IEEEFP_H
79365 #include <ieeefp.h>
79366 #endif
79369 main ()
79371 sqrtl(0);
79373 return 0;
79375 _ACEOF
79376 rm -f conftest.$ac_objext
79377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79378 (eval $ac_compile) 2>conftest.er1
79379 ac_status=$?
79380 grep -v '^ *+' conftest.er1 >conftest.err
79381 rm -f conftest.er1
79382 cat conftest.err >&5
79383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79384 (exit $ac_status); } &&
79385 { ac_try='test -z "$ac_cxx_werror_flag"
79386 || test ! -s conftest.err'
79387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79388 (eval $ac_try) 2>&5
79389 ac_status=$?
79390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79391 (exit $ac_status); }; } &&
79392 { ac_try='test -s conftest.$ac_objext'
79393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79394 (eval $ac_try) 2>&5
79395 ac_status=$?
79396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79397 (exit $ac_status); }; }; then
79398 glibcxx_cv_func_sqrtl_use=yes
79399 else
79400 echo "$as_me: failed program was:" >&5
79401 sed 's/^/| /' conftest.$ac_ext >&5
79403 glibcxx_cv_func_sqrtl_use=no
79405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79406 ac_ext=c
79407 ac_cpp='$CPP $CPPFLAGS'
79408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79416 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
79417 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
79419 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
79421 for ac_func in sqrtl
79423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79424 echo "$as_me:$LINENO: checking for $ac_func" >&5
79425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79426 if eval "test \"\${$as_ac_var+set}\" = set"; then
79427 echo $ECHO_N "(cached) $ECHO_C" >&6
79428 else
79429 if test x$gcc_no_link = xyes; then
79430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79432 { (exit 1); exit 1; }; }
79434 cat >conftest.$ac_ext <<_ACEOF
79435 /* confdefs.h. */
79436 _ACEOF
79437 cat confdefs.h >>conftest.$ac_ext
79438 cat >>conftest.$ac_ext <<_ACEOF
79439 /* end confdefs.h. */
79440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79442 #define $ac_func innocuous_$ac_func
79444 /* System header to define __stub macros and hopefully few prototypes,
79445 which can conflict with char $ac_func (); below.
79446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79447 <limits.h> exists even on freestanding compilers. */
79449 #ifdef __STDC__
79450 # include <limits.h>
79451 #else
79452 # include <assert.h>
79453 #endif
79455 #undef $ac_func
79457 /* Override any gcc2 internal prototype to avoid an error. */
79458 #ifdef __cplusplus
79459 extern "C"
79461 #endif
79462 /* We use char because int might match the return type of a gcc2
79463 builtin and then its argument prototype would still apply. */
79464 char $ac_func ();
79465 /* The GNU C library defines this for functions which it implements
79466 to always fail with ENOSYS. Some functions are actually named
79467 something starting with __ and the normal name is an alias. */
79468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79469 choke me
79470 #else
79471 char (*f) () = $ac_func;
79472 #endif
79473 #ifdef __cplusplus
79475 #endif
79478 main ()
79480 return f != $ac_func;
79482 return 0;
79484 _ACEOF
79485 rm -f conftest.$ac_objext conftest$ac_exeext
79486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79487 (eval $ac_link) 2>conftest.er1
79488 ac_status=$?
79489 grep -v '^ *+' conftest.er1 >conftest.err
79490 rm -f conftest.er1
79491 cat conftest.err >&5
79492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79493 (exit $ac_status); } &&
79494 { ac_try='test -z "$ac_c_werror_flag"
79495 || test ! -s conftest.err'
79496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79497 (eval $ac_try) 2>&5
79498 ac_status=$?
79499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79500 (exit $ac_status); }; } &&
79501 { ac_try='test -s conftest$ac_exeext'
79502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79503 (eval $ac_try) 2>&5
79504 ac_status=$?
79505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79506 (exit $ac_status); }; }; then
79507 eval "$as_ac_var=yes"
79508 else
79509 echo "$as_me: failed program was:" >&5
79510 sed 's/^/| /' conftest.$ac_ext >&5
79512 eval "$as_ac_var=no"
79514 rm -f conftest.err conftest.$ac_objext \
79515 conftest$ac_exeext conftest.$ac_ext
79517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79519 if test `eval echo '${'$as_ac_var'}'` = yes; then
79520 cat >>confdefs.h <<_ACEOF
79521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79522 _ACEOF
79525 done
79527 else
79529 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
79530 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
79531 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
79532 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
79533 echo $ECHO_N "(cached) $ECHO_C" >&6
79534 else
79538 ac_ext=cc
79539 ac_cpp='$CXXCPP $CPPFLAGS'
79540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79544 cat >conftest.$ac_ext <<_ACEOF
79545 /* confdefs.h. */
79546 _ACEOF
79547 cat confdefs.h >>conftest.$ac_ext
79548 cat >>conftest.$ac_ext <<_ACEOF
79549 /* end confdefs.h. */
79550 #include <math.h>
79551 #ifdef HAVE_IEEEFP_H
79552 #include <ieeefp.h>
79553 #endif
79556 main ()
79558 _sqrtl(0);
79560 return 0;
79562 _ACEOF
79563 rm -f conftest.$ac_objext
79564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79565 (eval $ac_compile) 2>conftest.er1
79566 ac_status=$?
79567 grep -v '^ *+' conftest.er1 >conftest.err
79568 rm -f conftest.er1
79569 cat conftest.err >&5
79570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79571 (exit $ac_status); } &&
79572 { ac_try='test -z "$ac_cxx_werror_flag"
79573 || test ! -s conftest.err'
79574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79575 (eval $ac_try) 2>&5
79576 ac_status=$?
79577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79578 (exit $ac_status); }; } &&
79579 { ac_try='test -s conftest.$ac_objext'
79580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79581 (eval $ac_try) 2>&5
79582 ac_status=$?
79583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79584 (exit $ac_status); }; }; then
79585 glibcxx_cv_func__sqrtl_use=yes
79586 else
79587 echo "$as_me: failed program was:" >&5
79588 sed 's/^/| /' conftest.$ac_ext >&5
79590 glibcxx_cv_func__sqrtl_use=no
79592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79593 ac_ext=c
79594 ac_cpp='$CPP $CPPFLAGS'
79595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79603 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
79604 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
79606 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
79608 for ac_func in _sqrtl
79610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79611 echo "$as_me:$LINENO: checking for $ac_func" >&5
79612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79613 if eval "test \"\${$as_ac_var+set}\" = set"; then
79614 echo $ECHO_N "(cached) $ECHO_C" >&6
79615 else
79616 if test x$gcc_no_link = xyes; then
79617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79619 { (exit 1); exit 1; }; }
79621 cat >conftest.$ac_ext <<_ACEOF
79622 /* confdefs.h. */
79623 _ACEOF
79624 cat confdefs.h >>conftest.$ac_ext
79625 cat >>conftest.$ac_ext <<_ACEOF
79626 /* end confdefs.h. */
79627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79629 #define $ac_func innocuous_$ac_func
79631 /* System header to define __stub macros and hopefully few prototypes,
79632 which can conflict with char $ac_func (); below.
79633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79634 <limits.h> exists even on freestanding compilers. */
79636 #ifdef __STDC__
79637 # include <limits.h>
79638 #else
79639 # include <assert.h>
79640 #endif
79642 #undef $ac_func
79644 /* Override any gcc2 internal prototype to avoid an error. */
79645 #ifdef __cplusplus
79646 extern "C"
79648 #endif
79649 /* We use char because int might match the return type of a gcc2
79650 builtin and then its argument prototype would still apply. */
79651 char $ac_func ();
79652 /* The GNU C library defines this for functions which it implements
79653 to always fail with ENOSYS. Some functions are actually named
79654 something starting with __ and the normal name is an alias. */
79655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79656 choke me
79657 #else
79658 char (*f) () = $ac_func;
79659 #endif
79660 #ifdef __cplusplus
79662 #endif
79665 main ()
79667 return f != $ac_func;
79669 return 0;
79671 _ACEOF
79672 rm -f conftest.$ac_objext conftest$ac_exeext
79673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79674 (eval $ac_link) 2>conftest.er1
79675 ac_status=$?
79676 grep -v '^ *+' conftest.er1 >conftest.err
79677 rm -f conftest.er1
79678 cat conftest.err >&5
79679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79680 (exit $ac_status); } &&
79681 { ac_try='test -z "$ac_c_werror_flag"
79682 || test ! -s conftest.err'
79683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79684 (eval $ac_try) 2>&5
79685 ac_status=$?
79686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79687 (exit $ac_status); }; } &&
79688 { ac_try='test -s conftest$ac_exeext'
79689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79690 (eval $ac_try) 2>&5
79691 ac_status=$?
79692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79693 (exit $ac_status); }; }; then
79694 eval "$as_ac_var=yes"
79695 else
79696 echo "$as_me: failed program was:" >&5
79697 sed 's/^/| /' conftest.$ac_ext >&5
79699 eval "$as_ac_var=no"
79701 rm -f conftest.err conftest.$ac_objext \
79702 conftest$ac_exeext conftest.$ac_ext
79704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79706 if test `eval echo '${'$as_ac_var'}'` = yes; then
79707 cat >>confdefs.h <<_ACEOF
79708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79709 _ACEOF
79712 done
79722 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
79723 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
79724 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
79725 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
79726 echo $ECHO_N "(cached) $ECHO_C" >&6
79727 else
79731 ac_ext=cc
79732 ac_cpp='$CXXCPP $CPPFLAGS'
79733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79737 cat >conftest.$ac_ext <<_ACEOF
79738 /* confdefs.h. */
79739 _ACEOF
79740 cat confdefs.h >>conftest.$ac_ext
79741 cat >>conftest.$ac_ext <<_ACEOF
79742 /* end confdefs.h. */
79743 #include <math.h>
79745 main ()
79747 sincosl(0, 0, 0);
79749 return 0;
79751 _ACEOF
79752 rm -f conftest.$ac_objext
79753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79754 (eval $ac_compile) 2>conftest.er1
79755 ac_status=$?
79756 grep -v '^ *+' conftest.er1 >conftest.err
79757 rm -f conftest.er1
79758 cat conftest.err >&5
79759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79760 (exit $ac_status); } &&
79761 { ac_try='test -z "$ac_cxx_werror_flag"
79762 || test ! -s conftest.err'
79763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79764 (eval $ac_try) 2>&5
79765 ac_status=$?
79766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79767 (exit $ac_status); }; } &&
79768 { ac_try='test -s conftest.$ac_objext'
79769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79770 (eval $ac_try) 2>&5
79771 ac_status=$?
79772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79773 (exit $ac_status); }; }; then
79774 glibcxx_cv_func_sincosl_use=yes
79775 else
79776 echo "$as_me: failed program was:" >&5
79777 sed 's/^/| /' conftest.$ac_ext >&5
79779 glibcxx_cv_func_sincosl_use=no
79781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79782 ac_ext=c
79783 ac_cpp='$CPP $CPPFLAGS'
79784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79792 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
79793 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
79795 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
79797 for ac_func in sincosl
79799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79800 echo "$as_me:$LINENO: checking for $ac_func" >&5
79801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79802 if eval "test \"\${$as_ac_var+set}\" = set"; then
79803 echo $ECHO_N "(cached) $ECHO_C" >&6
79804 else
79805 if test x$gcc_no_link = xyes; then
79806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79808 { (exit 1); exit 1; }; }
79810 cat >conftest.$ac_ext <<_ACEOF
79811 /* confdefs.h. */
79812 _ACEOF
79813 cat confdefs.h >>conftest.$ac_ext
79814 cat >>conftest.$ac_ext <<_ACEOF
79815 /* end confdefs.h. */
79816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79818 #define $ac_func innocuous_$ac_func
79820 /* System header to define __stub macros and hopefully few prototypes,
79821 which can conflict with char $ac_func (); below.
79822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79823 <limits.h> exists even on freestanding compilers. */
79825 #ifdef __STDC__
79826 # include <limits.h>
79827 #else
79828 # include <assert.h>
79829 #endif
79831 #undef $ac_func
79833 /* Override any gcc2 internal prototype to avoid an error. */
79834 #ifdef __cplusplus
79835 extern "C"
79837 #endif
79838 /* We use char because int might match the return type of a gcc2
79839 builtin and then its argument prototype would still apply. */
79840 char $ac_func ();
79841 /* The GNU C library defines this for functions which it implements
79842 to always fail with ENOSYS. Some functions are actually named
79843 something starting with __ and the normal name is an alias. */
79844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79845 choke me
79846 #else
79847 char (*f) () = $ac_func;
79848 #endif
79849 #ifdef __cplusplus
79851 #endif
79854 main ()
79856 return f != $ac_func;
79858 return 0;
79860 _ACEOF
79861 rm -f conftest.$ac_objext conftest$ac_exeext
79862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79863 (eval $ac_link) 2>conftest.er1
79864 ac_status=$?
79865 grep -v '^ *+' conftest.er1 >conftest.err
79866 rm -f conftest.er1
79867 cat conftest.err >&5
79868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79869 (exit $ac_status); } &&
79870 { ac_try='test -z "$ac_c_werror_flag"
79871 || test ! -s conftest.err'
79872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79873 (eval $ac_try) 2>&5
79874 ac_status=$?
79875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79876 (exit $ac_status); }; } &&
79877 { ac_try='test -s conftest$ac_exeext'
79878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79879 (eval $ac_try) 2>&5
79880 ac_status=$?
79881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79882 (exit $ac_status); }; }; then
79883 eval "$as_ac_var=yes"
79884 else
79885 echo "$as_me: failed program was:" >&5
79886 sed 's/^/| /' conftest.$ac_ext >&5
79888 eval "$as_ac_var=no"
79890 rm -f conftest.err conftest.$ac_objext \
79891 conftest$ac_exeext conftest.$ac_ext
79893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79895 if test `eval echo '${'$as_ac_var'}'` = yes; then
79896 cat >>confdefs.h <<_ACEOF
79897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79898 _ACEOF
79901 done
79903 else
79905 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
79906 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
79907 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
79908 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
79909 echo $ECHO_N "(cached) $ECHO_C" >&6
79910 else
79914 ac_ext=cc
79915 ac_cpp='$CXXCPP $CPPFLAGS'
79916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79920 cat >conftest.$ac_ext <<_ACEOF
79921 /* confdefs.h. */
79922 _ACEOF
79923 cat confdefs.h >>conftest.$ac_ext
79924 cat >>conftest.$ac_ext <<_ACEOF
79925 /* end confdefs.h. */
79926 #include <math.h>
79928 main ()
79930 _sincosl(0, 0, 0);
79932 return 0;
79934 _ACEOF
79935 rm -f conftest.$ac_objext
79936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79937 (eval $ac_compile) 2>conftest.er1
79938 ac_status=$?
79939 grep -v '^ *+' conftest.er1 >conftest.err
79940 rm -f conftest.er1
79941 cat conftest.err >&5
79942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79943 (exit $ac_status); } &&
79944 { ac_try='test -z "$ac_cxx_werror_flag"
79945 || test ! -s conftest.err'
79946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79947 (eval $ac_try) 2>&5
79948 ac_status=$?
79949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79950 (exit $ac_status); }; } &&
79951 { ac_try='test -s conftest.$ac_objext'
79952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79953 (eval $ac_try) 2>&5
79954 ac_status=$?
79955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79956 (exit $ac_status); }; }; then
79957 glibcxx_cv_func__sincosl_use=yes
79958 else
79959 echo "$as_me: failed program was:" >&5
79960 sed 's/^/| /' conftest.$ac_ext >&5
79962 glibcxx_cv_func__sincosl_use=no
79964 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79965 ac_ext=c
79966 ac_cpp='$CPP $CPPFLAGS'
79967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79975 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
79976 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
79978 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
79980 for ac_func in _sincosl
79982 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79983 echo "$as_me:$LINENO: checking for $ac_func" >&5
79984 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79985 if eval "test \"\${$as_ac_var+set}\" = set"; then
79986 echo $ECHO_N "(cached) $ECHO_C" >&6
79987 else
79988 if test x$gcc_no_link = xyes; then
79989 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79990 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79991 { (exit 1); exit 1; }; }
79993 cat >conftest.$ac_ext <<_ACEOF
79994 /* confdefs.h. */
79995 _ACEOF
79996 cat confdefs.h >>conftest.$ac_ext
79997 cat >>conftest.$ac_ext <<_ACEOF
79998 /* end confdefs.h. */
79999 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80001 #define $ac_func innocuous_$ac_func
80003 /* System header to define __stub macros and hopefully few prototypes,
80004 which can conflict with char $ac_func (); below.
80005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80006 <limits.h> exists even on freestanding compilers. */
80008 #ifdef __STDC__
80009 # include <limits.h>
80010 #else
80011 # include <assert.h>
80012 #endif
80014 #undef $ac_func
80016 /* Override any gcc2 internal prototype to avoid an error. */
80017 #ifdef __cplusplus
80018 extern "C"
80020 #endif
80021 /* We use char because int might match the return type of a gcc2
80022 builtin and then its argument prototype would still apply. */
80023 char $ac_func ();
80024 /* The GNU C library defines this for functions which it implements
80025 to always fail with ENOSYS. Some functions are actually named
80026 something starting with __ and the normal name is an alias. */
80027 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80028 choke me
80029 #else
80030 char (*f) () = $ac_func;
80031 #endif
80032 #ifdef __cplusplus
80034 #endif
80037 main ()
80039 return f != $ac_func;
80041 return 0;
80043 _ACEOF
80044 rm -f conftest.$ac_objext conftest$ac_exeext
80045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80046 (eval $ac_link) 2>conftest.er1
80047 ac_status=$?
80048 grep -v '^ *+' conftest.er1 >conftest.err
80049 rm -f conftest.er1
80050 cat conftest.err >&5
80051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80052 (exit $ac_status); } &&
80053 { ac_try='test -z "$ac_c_werror_flag"
80054 || test ! -s conftest.err'
80055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80056 (eval $ac_try) 2>&5
80057 ac_status=$?
80058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80059 (exit $ac_status); }; } &&
80060 { ac_try='test -s conftest$ac_exeext'
80061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80062 (eval $ac_try) 2>&5
80063 ac_status=$?
80064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80065 (exit $ac_status); }; }; then
80066 eval "$as_ac_var=yes"
80067 else
80068 echo "$as_me: failed program was:" >&5
80069 sed 's/^/| /' conftest.$ac_ext >&5
80071 eval "$as_ac_var=no"
80073 rm -f conftest.err conftest.$ac_objext \
80074 conftest$ac_exeext conftest.$ac_ext
80076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80078 if test `eval echo '${'$as_ac_var'}'` = yes; then
80079 cat >>confdefs.h <<_ACEOF
80080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80081 _ACEOF
80084 done
80094 echo "$as_me:$LINENO: checking for finitel declaration" >&5
80095 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
80096 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
80097 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
80098 echo $ECHO_N "(cached) $ECHO_C" >&6
80099 else
80103 ac_ext=cc
80104 ac_cpp='$CXXCPP $CPPFLAGS'
80105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80109 cat >conftest.$ac_ext <<_ACEOF
80110 /* confdefs.h. */
80111 _ACEOF
80112 cat confdefs.h >>conftest.$ac_ext
80113 cat >>conftest.$ac_ext <<_ACEOF
80114 /* end confdefs.h. */
80115 #include <math.h>
80116 #ifdef HAVE_IEEEFP_H
80117 #include <ieeefp.h>
80118 #endif
80121 main ()
80123 finitel(0);
80125 return 0;
80127 _ACEOF
80128 rm -f conftest.$ac_objext
80129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80130 (eval $ac_compile) 2>conftest.er1
80131 ac_status=$?
80132 grep -v '^ *+' conftest.er1 >conftest.err
80133 rm -f conftest.er1
80134 cat conftest.err >&5
80135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80136 (exit $ac_status); } &&
80137 { ac_try='test -z "$ac_cxx_werror_flag"
80138 || test ! -s conftest.err'
80139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80140 (eval $ac_try) 2>&5
80141 ac_status=$?
80142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80143 (exit $ac_status); }; } &&
80144 { ac_try='test -s conftest.$ac_objext'
80145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80146 (eval $ac_try) 2>&5
80147 ac_status=$?
80148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80149 (exit $ac_status); }; }; then
80150 glibcxx_cv_func_finitel_use=yes
80151 else
80152 echo "$as_me: failed program was:" >&5
80153 sed 's/^/| /' conftest.$ac_ext >&5
80155 glibcxx_cv_func_finitel_use=no
80157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80158 ac_ext=c
80159 ac_cpp='$CPP $CPPFLAGS'
80160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80168 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
80169 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
80171 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
80173 for ac_func in finitel
80175 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80176 echo "$as_me:$LINENO: checking for $ac_func" >&5
80177 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80178 if eval "test \"\${$as_ac_var+set}\" = set"; then
80179 echo $ECHO_N "(cached) $ECHO_C" >&6
80180 else
80181 if test x$gcc_no_link = xyes; then
80182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80184 { (exit 1); exit 1; }; }
80186 cat >conftest.$ac_ext <<_ACEOF
80187 /* confdefs.h. */
80188 _ACEOF
80189 cat confdefs.h >>conftest.$ac_ext
80190 cat >>conftest.$ac_ext <<_ACEOF
80191 /* end confdefs.h. */
80192 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80194 #define $ac_func innocuous_$ac_func
80196 /* System header to define __stub macros and hopefully few prototypes,
80197 which can conflict with char $ac_func (); below.
80198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80199 <limits.h> exists even on freestanding compilers. */
80201 #ifdef __STDC__
80202 # include <limits.h>
80203 #else
80204 # include <assert.h>
80205 #endif
80207 #undef $ac_func
80209 /* Override any gcc2 internal prototype to avoid an error. */
80210 #ifdef __cplusplus
80211 extern "C"
80213 #endif
80214 /* We use char because int might match the return type of a gcc2
80215 builtin and then its argument prototype would still apply. */
80216 char $ac_func ();
80217 /* The GNU C library defines this for functions which it implements
80218 to always fail with ENOSYS. Some functions are actually named
80219 something starting with __ and the normal name is an alias. */
80220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80221 choke me
80222 #else
80223 char (*f) () = $ac_func;
80224 #endif
80225 #ifdef __cplusplus
80227 #endif
80230 main ()
80232 return f != $ac_func;
80234 return 0;
80236 _ACEOF
80237 rm -f conftest.$ac_objext conftest$ac_exeext
80238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80239 (eval $ac_link) 2>conftest.er1
80240 ac_status=$?
80241 grep -v '^ *+' conftest.er1 >conftest.err
80242 rm -f conftest.er1
80243 cat conftest.err >&5
80244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80245 (exit $ac_status); } &&
80246 { ac_try='test -z "$ac_c_werror_flag"
80247 || test ! -s conftest.err'
80248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80249 (eval $ac_try) 2>&5
80250 ac_status=$?
80251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80252 (exit $ac_status); }; } &&
80253 { ac_try='test -s conftest$ac_exeext'
80254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80255 (eval $ac_try) 2>&5
80256 ac_status=$?
80257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80258 (exit $ac_status); }; }; then
80259 eval "$as_ac_var=yes"
80260 else
80261 echo "$as_me: failed program was:" >&5
80262 sed 's/^/| /' conftest.$ac_ext >&5
80264 eval "$as_ac_var=no"
80266 rm -f conftest.err conftest.$ac_objext \
80267 conftest$ac_exeext conftest.$ac_ext
80269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80270 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80271 if test `eval echo '${'$as_ac_var'}'` = yes; then
80272 cat >>confdefs.h <<_ACEOF
80273 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80274 _ACEOF
80277 done
80279 else
80281 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
80282 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
80283 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
80284 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
80285 echo $ECHO_N "(cached) $ECHO_C" >&6
80286 else
80290 ac_ext=cc
80291 ac_cpp='$CXXCPP $CPPFLAGS'
80292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80296 cat >conftest.$ac_ext <<_ACEOF
80297 /* confdefs.h. */
80298 _ACEOF
80299 cat confdefs.h >>conftest.$ac_ext
80300 cat >>conftest.$ac_ext <<_ACEOF
80301 /* end confdefs.h. */
80302 #include <math.h>
80303 #ifdef HAVE_IEEEFP_H
80304 #include <ieeefp.h>
80305 #endif
80308 main ()
80310 _finitel(0);
80312 return 0;
80314 _ACEOF
80315 rm -f conftest.$ac_objext
80316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80317 (eval $ac_compile) 2>conftest.er1
80318 ac_status=$?
80319 grep -v '^ *+' conftest.er1 >conftest.err
80320 rm -f conftest.er1
80321 cat conftest.err >&5
80322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80323 (exit $ac_status); } &&
80324 { ac_try='test -z "$ac_cxx_werror_flag"
80325 || test ! -s conftest.err'
80326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80327 (eval $ac_try) 2>&5
80328 ac_status=$?
80329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80330 (exit $ac_status); }; } &&
80331 { ac_try='test -s conftest.$ac_objext'
80332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80333 (eval $ac_try) 2>&5
80334 ac_status=$?
80335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80336 (exit $ac_status); }; }; then
80337 glibcxx_cv_func__finitel_use=yes
80338 else
80339 echo "$as_me: failed program was:" >&5
80340 sed 's/^/| /' conftest.$ac_ext >&5
80342 glibcxx_cv_func__finitel_use=no
80344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80345 ac_ext=c
80346 ac_cpp='$CPP $CPPFLAGS'
80347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80355 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
80356 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
80358 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
80360 for ac_func in _finitel
80362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80363 echo "$as_me:$LINENO: checking for $ac_func" >&5
80364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80365 if eval "test \"\${$as_ac_var+set}\" = set"; then
80366 echo $ECHO_N "(cached) $ECHO_C" >&6
80367 else
80368 if test x$gcc_no_link = xyes; then
80369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80371 { (exit 1); exit 1; }; }
80373 cat >conftest.$ac_ext <<_ACEOF
80374 /* confdefs.h. */
80375 _ACEOF
80376 cat confdefs.h >>conftest.$ac_ext
80377 cat >>conftest.$ac_ext <<_ACEOF
80378 /* end confdefs.h. */
80379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80381 #define $ac_func innocuous_$ac_func
80383 /* System header to define __stub macros and hopefully few prototypes,
80384 which can conflict with char $ac_func (); below.
80385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80386 <limits.h> exists even on freestanding compilers. */
80388 #ifdef __STDC__
80389 # include <limits.h>
80390 #else
80391 # include <assert.h>
80392 #endif
80394 #undef $ac_func
80396 /* Override any gcc2 internal prototype to avoid an error. */
80397 #ifdef __cplusplus
80398 extern "C"
80400 #endif
80401 /* We use char because int might match the return type of a gcc2
80402 builtin and then its argument prototype would still apply. */
80403 char $ac_func ();
80404 /* The GNU C library defines this for functions which it implements
80405 to always fail with ENOSYS. Some functions are actually named
80406 something starting with __ and the normal name is an alias. */
80407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80408 choke me
80409 #else
80410 char (*f) () = $ac_func;
80411 #endif
80412 #ifdef __cplusplus
80414 #endif
80417 main ()
80419 return f != $ac_func;
80421 return 0;
80423 _ACEOF
80424 rm -f conftest.$ac_objext conftest$ac_exeext
80425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80426 (eval $ac_link) 2>conftest.er1
80427 ac_status=$?
80428 grep -v '^ *+' conftest.er1 >conftest.err
80429 rm -f conftest.er1
80430 cat conftest.err >&5
80431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80432 (exit $ac_status); } &&
80433 { ac_try='test -z "$ac_c_werror_flag"
80434 || test ! -s conftest.err'
80435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80436 (eval $ac_try) 2>&5
80437 ac_status=$?
80438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80439 (exit $ac_status); }; } &&
80440 { ac_try='test -s conftest$ac_exeext'
80441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80442 (eval $ac_try) 2>&5
80443 ac_status=$?
80444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80445 (exit $ac_status); }; }; then
80446 eval "$as_ac_var=yes"
80447 else
80448 echo "$as_me: failed program was:" >&5
80449 sed 's/^/| /' conftest.$ac_ext >&5
80451 eval "$as_ac_var=no"
80453 rm -f conftest.err conftest.$ac_objext \
80454 conftest$ac_exeext conftest.$ac_ext
80456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80458 if test `eval echo '${'$as_ac_var'}'` = yes; then
80459 cat >>confdefs.h <<_ACEOF
80460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80461 _ACEOF
80464 done
80473 LIBS="$ac_save_LIBS"
80474 CXXFLAGS="$ac_save_CXXFLAGS"
80478 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
80479 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
80480 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
80481 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
80482 echo $ECHO_N "(cached) $ECHO_C" >&6
80483 else
80487 ac_ext=cc
80488 ac_cpp='$CXXCPP $CPPFLAGS'
80489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80493 cat >conftest.$ac_ext <<_ACEOF
80494 /* confdefs.h. */
80495 _ACEOF
80496 cat confdefs.h >>conftest.$ac_ext
80497 cat >>conftest.$ac_ext <<_ACEOF
80498 /* end confdefs.h. */
80499 #include <math.h>
80501 main ()
80503 __builtin_abs(0);
80505 return 0;
80507 _ACEOF
80508 rm -f conftest.$ac_objext
80509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80510 (eval $ac_compile) 2>conftest.er1
80511 ac_status=$?
80512 grep -v '^ *+' conftest.er1 >conftest.err
80513 rm -f conftest.er1
80514 cat conftest.err >&5
80515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80516 (exit $ac_status); } &&
80517 { ac_try='test -z "$ac_cxx_werror_flag"
80518 || test ! -s conftest.err'
80519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80520 (eval $ac_try) 2>&5
80521 ac_status=$?
80522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80523 (exit $ac_status); }; } &&
80524 { ac_try='test -s conftest.$ac_objext'
80525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80526 (eval $ac_try) 2>&5
80527 ac_status=$?
80528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80529 (exit $ac_status); }; }; then
80530 glibcxx_cv_func___builtin_abs_use=yes
80531 else
80532 echo "$as_me: failed program was:" >&5
80533 sed 's/^/| /' conftest.$ac_ext >&5
80535 glibcxx_cv_func___builtin_abs_use=no
80537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80538 ac_ext=c
80539 ac_cpp='$CPP $CPPFLAGS'
80540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80548 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
80549 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
80550 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
80551 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
80552 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
80553 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
80554 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
80555 echo $ECHO_N "(cached) $ECHO_C" >&6
80556 else
80558 if test x$gcc_no_link = xyes; then
80559 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80560 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80561 { (exit 1); exit 1; }; }
80563 cat >conftest.$ac_ext <<_ACEOF
80564 /* confdefs.h. */
80565 _ACEOF
80566 cat confdefs.h >>conftest.$ac_ext
80567 cat >>conftest.$ac_ext <<_ACEOF
80568 /* end confdefs.h. */
80569 #include <math.h>
80571 main ()
80573 __builtin_abs(0);
80575 return 0;
80577 _ACEOF
80578 rm -f conftest.$ac_objext conftest$ac_exeext
80579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80580 (eval $ac_link) 2>conftest.er1
80581 ac_status=$?
80582 grep -v '^ *+' conftest.er1 >conftest.err
80583 rm -f conftest.er1
80584 cat conftest.err >&5
80585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80586 (exit $ac_status); } &&
80587 { ac_try='test -z "$ac_c_werror_flag"
80588 || test ! -s conftest.err'
80589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80590 (eval $ac_try) 2>&5
80591 ac_status=$?
80592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80593 (exit $ac_status); }; } &&
80594 { ac_try='test -s conftest$ac_exeext'
80595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80596 (eval $ac_try) 2>&5
80597 ac_status=$?
80598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80599 (exit $ac_status); }; }; then
80600 glibcxx_cv_func___builtin_abs_link=yes
80601 else
80602 echo "$as_me: failed program was:" >&5
80603 sed 's/^/| /' conftest.$ac_ext >&5
80605 glibcxx_cv_func___builtin_abs_link=no
80607 rm -f conftest.err conftest.$ac_objext \
80608 conftest$ac_exeext conftest.$ac_ext
80613 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
80614 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
80616 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
80618 cat >>confdefs.h <<\_ACEOF
80619 #define HAVE___BUILTIN_ABS 1
80620 _ACEOF
80627 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
80628 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
80629 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
80630 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
80631 echo $ECHO_N "(cached) $ECHO_C" >&6
80632 else
80636 ac_ext=cc
80637 ac_cpp='$CXXCPP $CPPFLAGS'
80638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80642 cat >conftest.$ac_ext <<_ACEOF
80643 /* confdefs.h. */
80644 _ACEOF
80645 cat confdefs.h >>conftest.$ac_ext
80646 cat >>conftest.$ac_ext <<_ACEOF
80647 /* end confdefs.h. */
80648 #include <math.h>
80650 main ()
80652 __builtin_fabsf(0);
80654 return 0;
80656 _ACEOF
80657 rm -f conftest.$ac_objext
80658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80659 (eval $ac_compile) 2>conftest.er1
80660 ac_status=$?
80661 grep -v '^ *+' conftest.er1 >conftest.err
80662 rm -f conftest.er1
80663 cat conftest.err >&5
80664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80665 (exit $ac_status); } &&
80666 { ac_try='test -z "$ac_cxx_werror_flag"
80667 || test ! -s conftest.err'
80668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80669 (eval $ac_try) 2>&5
80670 ac_status=$?
80671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80672 (exit $ac_status); }; } &&
80673 { ac_try='test -s conftest.$ac_objext'
80674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80675 (eval $ac_try) 2>&5
80676 ac_status=$?
80677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80678 (exit $ac_status); }; }; then
80679 glibcxx_cv_func___builtin_fabsf_use=yes
80680 else
80681 echo "$as_me: failed program was:" >&5
80682 sed 's/^/| /' conftest.$ac_ext >&5
80684 glibcxx_cv_func___builtin_fabsf_use=no
80686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80687 ac_ext=c
80688 ac_cpp='$CPP $CPPFLAGS'
80689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80697 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
80698 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
80699 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
80700 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
80701 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
80702 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
80703 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
80704 echo $ECHO_N "(cached) $ECHO_C" >&6
80705 else
80707 if test x$gcc_no_link = xyes; then
80708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80710 { (exit 1); exit 1; }; }
80712 cat >conftest.$ac_ext <<_ACEOF
80713 /* confdefs.h. */
80714 _ACEOF
80715 cat confdefs.h >>conftest.$ac_ext
80716 cat >>conftest.$ac_ext <<_ACEOF
80717 /* end confdefs.h. */
80718 #include <math.h>
80720 main ()
80722 __builtin_fabsf(0);
80724 return 0;
80726 _ACEOF
80727 rm -f conftest.$ac_objext conftest$ac_exeext
80728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80729 (eval $ac_link) 2>conftest.er1
80730 ac_status=$?
80731 grep -v '^ *+' conftest.er1 >conftest.err
80732 rm -f conftest.er1
80733 cat conftest.err >&5
80734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80735 (exit $ac_status); } &&
80736 { ac_try='test -z "$ac_c_werror_flag"
80737 || test ! -s conftest.err'
80738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80739 (eval $ac_try) 2>&5
80740 ac_status=$?
80741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80742 (exit $ac_status); }; } &&
80743 { ac_try='test -s conftest$ac_exeext'
80744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80745 (eval $ac_try) 2>&5
80746 ac_status=$?
80747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80748 (exit $ac_status); }; }; then
80749 glibcxx_cv_func___builtin_fabsf_link=yes
80750 else
80751 echo "$as_me: failed program was:" >&5
80752 sed 's/^/| /' conftest.$ac_ext >&5
80754 glibcxx_cv_func___builtin_fabsf_link=no
80756 rm -f conftest.err conftest.$ac_objext \
80757 conftest$ac_exeext conftest.$ac_ext
80762 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
80763 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
80765 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
80767 cat >>confdefs.h <<\_ACEOF
80768 #define HAVE___BUILTIN_FABSF 1
80769 _ACEOF
80776 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
80777 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
80778 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
80779 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
80780 echo $ECHO_N "(cached) $ECHO_C" >&6
80781 else
80785 ac_ext=cc
80786 ac_cpp='$CXXCPP $CPPFLAGS'
80787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80791 cat >conftest.$ac_ext <<_ACEOF
80792 /* confdefs.h. */
80793 _ACEOF
80794 cat confdefs.h >>conftest.$ac_ext
80795 cat >>conftest.$ac_ext <<_ACEOF
80796 /* end confdefs.h. */
80797 #include <math.h>
80799 main ()
80801 __builtin_fabs(0);
80803 return 0;
80805 _ACEOF
80806 rm -f conftest.$ac_objext
80807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80808 (eval $ac_compile) 2>conftest.er1
80809 ac_status=$?
80810 grep -v '^ *+' conftest.er1 >conftest.err
80811 rm -f conftest.er1
80812 cat conftest.err >&5
80813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80814 (exit $ac_status); } &&
80815 { ac_try='test -z "$ac_cxx_werror_flag"
80816 || test ! -s conftest.err'
80817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80818 (eval $ac_try) 2>&5
80819 ac_status=$?
80820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80821 (exit $ac_status); }; } &&
80822 { ac_try='test -s conftest.$ac_objext'
80823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80824 (eval $ac_try) 2>&5
80825 ac_status=$?
80826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80827 (exit $ac_status); }; }; then
80828 glibcxx_cv_func___builtin_fabs_use=yes
80829 else
80830 echo "$as_me: failed program was:" >&5
80831 sed 's/^/| /' conftest.$ac_ext >&5
80833 glibcxx_cv_func___builtin_fabs_use=no
80835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80836 ac_ext=c
80837 ac_cpp='$CPP $CPPFLAGS'
80838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80846 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
80847 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
80848 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
80849 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
80850 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
80851 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
80852 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
80853 echo $ECHO_N "(cached) $ECHO_C" >&6
80854 else
80856 if test x$gcc_no_link = xyes; then
80857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80859 { (exit 1); exit 1; }; }
80861 cat >conftest.$ac_ext <<_ACEOF
80862 /* confdefs.h. */
80863 _ACEOF
80864 cat confdefs.h >>conftest.$ac_ext
80865 cat >>conftest.$ac_ext <<_ACEOF
80866 /* end confdefs.h. */
80867 #include <math.h>
80869 main ()
80871 __builtin_fabs(0);
80873 return 0;
80875 _ACEOF
80876 rm -f conftest.$ac_objext conftest$ac_exeext
80877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80878 (eval $ac_link) 2>conftest.er1
80879 ac_status=$?
80880 grep -v '^ *+' conftest.er1 >conftest.err
80881 rm -f conftest.er1
80882 cat conftest.err >&5
80883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80884 (exit $ac_status); } &&
80885 { ac_try='test -z "$ac_c_werror_flag"
80886 || test ! -s conftest.err'
80887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80888 (eval $ac_try) 2>&5
80889 ac_status=$?
80890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80891 (exit $ac_status); }; } &&
80892 { ac_try='test -s conftest$ac_exeext'
80893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80894 (eval $ac_try) 2>&5
80895 ac_status=$?
80896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80897 (exit $ac_status); }; }; then
80898 glibcxx_cv_func___builtin_fabs_link=yes
80899 else
80900 echo "$as_me: failed program was:" >&5
80901 sed 's/^/| /' conftest.$ac_ext >&5
80903 glibcxx_cv_func___builtin_fabs_link=no
80905 rm -f conftest.err conftest.$ac_objext \
80906 conftest$ac_exeext conftest.$ac_ext
80911 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
80912 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
80914 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
80916 cat >>confdefs.h <<\_ACEOF
80917 #define HAVE___BUILTIN_FABS 1
80918 _ACEOF
80925 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
80926 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
80927 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
80928 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
80929 echo $ECHO_N "(cached) $ECHO_C" >&6
80930 else
80934 ac_ext=cc
80935 ac_cpp='$CXXCPP $CPPFLAGS'
80936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80940 cat >conftest.$ac_ext <<_ACEOF
80941 /* confdefs.h. */
80942 _ACEOF
80943 cat confdefs.h >>conftest.$ac_ext
80944 cat >>conftest.$ac_ext <<_ACEOF
80945 /* end confdefs.h. */
80946 #include <math.h>
80948 main ()
80950 __builtin_fabsl(0);
80952 return 0;
80954 _ACEOF
80955 rm -f conftest.$ac_objext
80956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80957 (eval $ac_compile) 2>conftest.er1
80958 ac_status=$?
80959 grep -v '^ *+' conftest.er1 >conftest.err
80960 rm -f conftest.er1
80961 cat conftest.err >&5
80962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80963 (exit $ac_status); } &&
80964 { ac_try='test -z "$ac_cxx_werror_flag"
80965 || test ! -s conftest.err'
80966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80967 (eval $ac_try) 2>&5
80968 ac_status=$?
80969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80970 (exit $ac_status); }; } &&
80971 { ac_try='test -s conftest.$ac_objext'
80972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80973 (eval $ac_try) 2>&5
80974 ac_status=$?
80975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80976 (exit $ac_status); }; }; then
80977 glibcxx_cv_func___builtin_fabsl_use=yes
80978 else
80979 echo "$as_me: failed program was:" >&5
80980 sed 's/^/| /' conftest.$ac_ext >&5
80982 glibcxx_cv_func___builtin_fabsl_use=no
80984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80985 ac_ext=c
80986 ac_cpp='$CPP $CPPFLAGS'
80987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80995 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
80996 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
80997 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
80998 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
80999 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
81000 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
81001 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
81002 echo $ECHO_N "(cached) $ECHO_C" >&6
81003 else
81005 if test x$gcc_no_link = xyes; then
81006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81008 { (exit 1); exit 1; }; }
81010 cat >conftest.$ac_ext <<_ACEOF
81011 /* confdefs.h. */
81012 _ACEOF
81013 cat confdefs.h >>conftest.$ac_ext
81014 cat >>conftest.$ac_ext <<_ACEOF
81015 /* end confdefs.h. */
81016 #include <math.h>
81018 main ()
81020 __builtin_fabsl(0);
81022 return 0;
81024 _ACEOF
81025 rm -f conftest.$ac_objext conftest$ac_exeext
81026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81027 (eval $ac_link) 2>conftest.er1
81028 ac_status=$?
81029 grep -v '^ *+' conftest.er1 >conftest.err
81030 rm -f conftest.er1
81031 cat conftest.err >&5
81032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81033 (exit $ac_status); } &&
81034 { ac_try='test -z "$ac_c_werror_flag"
81035 || test ! -s conftest.err'
81036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81037 (eval $ac_try) 2>&5
81038 ac_status=$?
81039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81040 (exit $ac_status); }; } &&
81041 { ac_try='test -s conftest$ac_exeext'
81042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81043 (eval $ac_try) 2>&5
81044 ac_status=$?
81045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81046 (exit $ac_status); }; }; then
81047 glibcxx_cv_func___builtin_fabsl_link=yes
81048 else
81049 echo "$as_me: failed program was:" >&5
81050 sed 's/^/| /' conftest.$ac_ext >&5
81052 glibcxx_cv_func___builtin_fabsl_link=no
81054 rm -f conftest.err conftest.$ac_objext \
81055 conftest$ac_exeext conftest.$ac_ext
81060 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
81061 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
81063 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
81065 cat >>confdefs.h <<\_ACEOF
81066 #define HAVE___BUILTIN_FABSL 1
81067 _ACEOF
81074 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
81075 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
81076 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
81077 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
81078 echo $ECHO_N "(cached) $ECHO_C" >&6
81079 else
81083 ac_ext=cc
81084 ac_cpp='$CXXCPP $CPPFLAGS'
81085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81089 cat >conftest.$ac_ext <<_ACEOF
81090 /* confdefs.h. */
81091 _ACEOF
81092 cat confdefs.h >>conftest.$ac_ext
81093 cat >>conftest.$ac_ext <<_ACEOF
81094 /* end confdefs.h. */
81095 #include <math.h>
81097 main ()
81099 __builtin_labs(0);
81101 return 0;
81103 _ACEOF
81104 rm -f conftest.$ac_objext
81105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81106 (eval $ac_compile) 2>conftest.er1
81107 ac_status=$?
81108 grep -v '^ *+' conftest.er1 >conftest.err
81109 rm -f conftest.er1
81110 cat conftest.err >&5
81111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81112 (exit $ac_status); } &&
81113 { ac_try='test -z "$ac_cxx_werror_flag"
81114 || test ! -s conftest.err'
81115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81116 (eval $ac_try) 2>&5
81117 ac_status=$?
81118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81119 (exit $ac_status); }; } &&
81120 { ac_try='test -s conftest.$ac_objext'
81121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81122 (eval $ac_try) 2>&5
81123 ac_status=$?
81124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81125 (exit $ac_status); }; }; then
81126 glibcxx_cv_func___builtin_labs_use=yes
81127 else
81128 echo "$as_me: failed program was:" >&5
81129 sed 's/^/| /' conftest.$ac_ext >&5
81131 glibcxx_cv_func___builtin_labs_use=no
81133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81134 ac_ext=c
81135 ac_cpp='$CPP $CPPFLAGS'
81136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81144 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
81145 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
81146 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
81147 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
81148 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
81149 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
81150 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
81151 echo $ECHO_N "(cached) $ECHO_C" >&6
81152 else
81154 if test x$gcc_no_link = xyes; then
81155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81157 { (exit 1); exit 1; }; }
81159 cat >conftest.$ac_ext <<_ACEOF
81160 /* confdefs.h. */
81161 _ACEOF
81162 cat confdefs.h >>conftest.$ac_ext
81163 cat >>conftest.$ac_ext <<_ACEOF
81164 /* end confdefs.h. */
81165 #include <math.h>
81167 main ()
81169 __builtin_labs(0);
81171 return 0;
81173 _ACEOF
81174 rm -f conftest.$ac_objext conftest$ac_exeext
81175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81176 (eval $ac_link) 2>conftest.er1
81177 ac_status=$?
81178 grep -v '^ *+' conftest.er1 >conftest.err
81179 rm -f conftest.er1
81180 cat conftest.err >&5
81181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81182 (exit $ac_status); } &&
81183 { ac_try='test -z "$ac_c_werror_flag"
81184 || test ! -s conftest.err'
81185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81186 (eval $ac_try) 2>&5
81187 ac_status=$?
81188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81189 (exit $ac_status); }; } &&
81190 { ac_try='test -s conftest$ac_exeext'
81191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81192 (eval $ac_try) 2>&5
81193 ac_status=$?
81194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81195 (exit $ac_status); }; }; then
81196 glibcxx_cv_func___builtin_labs_link=yes
81197 else
81198 echo "$as_me: failed program was:" >&5
81199 sed 's/^/| /' conftest.$ac_ext >&5
81201 glibcxx_cv_func___builtin_labs_link=no
81203 rm -f conftest.err conftest.$ac_objext \
81204 conftest$ac_exeext conftest.$ac_ext
81209 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
81210 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
81212 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
81214 cat >>confdefs.h <<\_ACEOF
81215 #define HAVE___BUILTIN_LABS 1
81216 _ACEOF
81224 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
81225 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
81226 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
81227 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
81228 echo $ECHO_N "(cached) $ECHO_C" >&6
81229 else
81233 ac_ext=cc
81234 ac_cpp='$CXXCPP $CPPFLAGS'
81235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81239 cat >conftest.$ac_ext <<_ACEOF
81240 /* confdefs.h. */
81241 _ACEOF
81242 cat confdefs.h >>conftest.$ac_ext
81243 cat >>conftest.$ac_ext <<_ACEOF
81244 /* end confdefs.h. */
81245 #include <math.h>
81247 main ()
81249 __builtin_sqrtf(0);
81251 return 0;
81253 _ACEOF
81254 rm -f conftest.$ac_objext
81255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81256 (eval $ac_compile) 2>conftest.er1
81257 ac_status=$?
81258 grep -v '^ *+' conftest.er1 >conftest.err
81259 rm -f conftest.er1
81260 cat conftest.err >&5
81261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81262 (exit $ac_status); } &&
81263 { ac_try='test -z "$ac_cxx_werror_flag"
81264 || test ! -s conftest.err'
81265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81266 (eval $ac_try) 2>&5
81267 ac_status=$?
81268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81269 (exit $ac_status); }; } &&
81270 { ac_try='test -s conftest.$ac_objext'
81271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81272 (eval $ac_try) 2>&5
81273 ac_status=$?
81274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81275 (exit $ac_status); }; }; then
81276 glibcxx_cv_func___builtin_sqrtf_use=yes
81277 else
81278 echo "$as_me: failed program was:" >&5
81279 sed 's/^/| /' conftest.$ac_ext >&5
81281 glibcxx_cv_func___builtin_sqrtf_use=no
81283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81284 ac_ext=c
81285 ac_cpp='$CPP $CPPFLAGS'
81286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81294 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
81295 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
81296 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
81297 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
81298 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
81299 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
81300 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
81301 echo $ECHO_N "(cached) $ECHO_C" >&6
81302 else
81304 if test x$gcc_no_link = xyes; then
81305 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81307 { (exit 1); exit 1; }; }
81309 cat >conftest.$ac_ext <<_ACEOF
81310 /* confdefs.h. */
81311 _ACEOF
81312 cat confdefs.h >>conftest.$ac_ext
81313 cat >>conftest.$ac_ext <<_ACEOF
81314 /* end confdefs.h. */
81315 #include <math.h>
81317 main ()
81319 __builtin_sqrtf(0);
81321 return 0;
81323 _ACEOF
81324 rm -f conftest.$ac_objext conftest$ac_exeext
81325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81326 (eval $ac_link) 2>conftest.er1
81327 ac_status=$?
81328 grep -v '^ *+' conftest.er1 >conftest.err
81329 rm -f conftest.er1
81330 cat conftest.err >&5
81331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81332 (exit $ac_status); } &&
81333 { ac_try='test -z "$ac_c_werror_flag"
81334 || test ! -s conftest.err'
81335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81336 (eval $ac_try) 2>&5
81337 ac_status=$?
81338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81339 (exit $ac_status); }; } &&
81340 { ac_try='test -s conftest$ac_exeext'
81341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81342 (eval $ac_try) 2>&5
81343 ac_status=$?
81344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81345 (exit $ac_status); }; }; then
81346 glibcxx_cv_func___builtin_sqrtf_link=yes
81347 else
81348 echo "$as_me: failed program was:" >&5
81349 sed 's/^/| /' conftest.$ac_ext >&5
81351 glibcxx_cv_func___builtin_sqrtf_link=no
81353 rm -f conftest.err conftest.$ac_objext \
81354 conftest$ac_exeext conftest.$ac_ext
81359 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
81360 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
81362 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
81364 cat >>confdefs.h <<\_ACEOF
81365 #define HAVE___BUILTIN_SQRTF 1
81366 _ACEOF
81373 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
81374 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
81375 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
81376 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
81377 echo $ECHO_N "(cached) $ECHO_C" >&6
81378 else
81382 ac_ext=cc
81383 ac_cpp='$CXXCPP $CPPFLAGS'
81384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81388 cat >conftest.$ac_ext <<_ACEOF
81389 /* confdefs.h. */
81390 _ACEOF
81391 cat confdefs.h >>conftest.$ac_ext
81392 cat >>conftest.$ac_ext <<_ACEOF
81393 /* end confdefs.h. */
81394 #include <math.h>
81396 main ()
81398 __builtin_sqrt(0);
81400 return 0;
81402 _ACEOF
81403 rm -f conftest.$ac_objext
81404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81405 (eval $ac_compile) 2>conftest.er1
81406 ac_status=$?
81407 grep -v '^ *+' conftest.er1 >conftest.err
81408 rm -f conftest.er1
81409 cat conftest.err >&5
81410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81411 (exit $ac_status); } &&
81412 { ac_try='test -z "$ac_cxx_werror_flag"
81413 || test ! -s conftest.err'
81414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81415 (eval $ac_try) 2>&5
81416 ac_status=$?
81417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81418 (exit $ac_status); }; } &&
81419 { ac_try='test -s conftest.$ac_objext'
81420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81421 (eval $ac_try) 2>&5
81422 ac_status=$?
81423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81424 (exit $ac_status); }; }; then
81425 glibcxx_cv_func___builtin_sqrt_use=yes
81426 else
81427 echo "$as_me: failed program was:" >&5
81428 sed 's/^/| /' conftest.$ac_ext >&5
81430 glibcxx_cv_func___builtin_sqrt_use=no
81432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81433 ac_ext=c
81434 ac_cpp='$CPP $CPPFLAGS'
81435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81443 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
81444 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
81445 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
81446 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
81447 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
81448 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
81449 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
81450 echo $ECHO_N "(cached) $ECHO_C" >&6
81451 else
81453 if test x$gcc_no_link = xyes; then
81454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81456 { (exit 1); exit 1; }; }
81458 cat >conftest.$ac_ext <<_ACEOF
81459 /* confdefs.h. */
81460 _ACEOF
81461 cat confdefs.h >>conftest.$ac_ext
81462 cat >>conftest.$ac_ext <<_ACEOF
81463 /* end confdefs.h. */
81464 #include <math.h>
81466 main ()
81468 __builtin_sqrt(0);
81470 return 0;
81472 _ACEOF
81473 rm -f conftest.$ac_objext conftest$ac_exeext
81474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81475 (eval $ac_link) 2>conftest.er1
81476 ac_status=$?
81477 grep -v '^ *+' conftest.er1 >conftest.err
81478 rm -f conftest.er1
81479 cat conftest.err >&5
81480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81481 (exit $ac_status); } &&
81482 { ac_try='test -z "$ac_c_werror_flag"
81483 || test ! -s conftest.err'
81484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81485 (eval $ac_try) 2>&5
81486 ac_status=$?
81487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81488 (exit $ac_status); }; } &&
81489 { ac_try='test -s conftest$ac_exeext'
81490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81491 (eval $ac_try) 2>&5
81492 ac_status=$?
81493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81494 (exit $ac_status); }; }; then
81495 glibcxx_cv_func___builtin_sqrt_link=yes
81496 else
81497 echo "$as_me: failed program was:" >&5
81498 sed 's/^/| /' conftest.$ac_ext >&5
81500 glibcxx_cv_func___builtin_sqrt_link=no
81502 rm -f conftest.err conftest.$ac_objext \
81503 conftest$ac_exeext conftest.$ac_ext
81508 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
81509 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
81511 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
81513 cat >>confdefs.h <<\_ACEOF
81514 #define HAVE___BUILTIN_SQRT 1
81515 _ACEOF
81522 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
81523 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
81524 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
81525 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
81526 echo $ECHO_N "(cached) $ECHO_C" >&6
81527 else
81531 ac_ext=cc
81532 ac_cpp='$CXXCPP $CPPFLAGS'
81533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81537 cat >conftest.$ac_ext <<_ACEOF
81538 /* confdefs.h. */
81539 _ACEOF
81540 cat confdefs.h >>conftest.$ac_ext
81541 cat >>conftest.$ac_ext <<_ACEOF
81542 /* end confdefs.h. */
81543 #include <math.h>
81545 main ()
81547 __builtin_sqrtl(0);
81549 return 0;
81551 _ACEOF
81552 rm -f conftest.$ac_objext
81553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81554 (eval $ac_compile) 2>conftest.er1
81555 ac_status=$?
81556 grep -v '^ *+' conftest.er1 >conftest.err
81557 rm -f conftest.er1
81558 cat conftest.err >&5
81559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81560 (exit $ac_status); } &&
81561 { ac_try='test -z "$ac_cxx_werror_flag"
81562 || test ! -s conftest.err'
81563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81564 (eval $ac_try) 2>&5
81565 ac_status=$?
81566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81567 (exit $ac_status); }; } &&
81568 { ac_try='test -s conftest.$ac_objext'
81569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81570 (eval $ac_try) 2>&5
81571 ac_status=$?
81572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81573 (exit $ac_status); }; }; then
81574 glibcxx_cv_func___builtin_sqrtl_use=yes
81575 else
81576 echo "$as_me: failed program was:" >&5
81577 sed 's/^/| /' conftest.$ac_ext >&5
81579 glibcxx_cv_func___builtin_sqrtl_use=no
81581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81582 ac_ext=c
81583 ac_cpp='$CPP $CPPFLAGS'
81584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81592 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
81593 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
81594 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
81595 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
81596 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
81597 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
81598 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
81599 echo $ECHO_N "(cached) $ECHO_C" >&6
81600 else
81602 if test x$gcc_no_link = xyes; then
81603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81605 { (exit 1); exit 1; }; }
81607 cat >conftest.$ac_ext <<_ACEOF
81608 /* confdefs.h. */
81609 _ACEOF
81610 cat confdefs.h >>conftest.$ac_ext
81611 cat >>conftest.$ac_ext <<_ACEOF
81612 /* end confdefs.h. */
81613 #include <math.h>
81615 main ()
81617 __builtin_sqrtl(0);
81619 return 0;
81621 _ACEOF
81622 rm -f conftest.$ac_objext conftest$ac_exeext
81623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81624 (eval $ac_link) 2>conftest.er1
81625 ac_status=$?
81626 grep -v '^ *+' conftest.er1 >conftest.err
81627 rm -f conftest.er1
81628 cat conftest.err >&5
81629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81630 (exit $ac_status); } &&
81631 { ac_try='test -z "$ac_c_werror_flag"
81632 || test ! -s conftest.err'
81633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81634 (eval $ac_try) 2>&5
81635 ac_status=$?
81636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81637 (exit $ac_status); }; } &&
81638 { ac_try='test -s conftest$ac_exeext'
81639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81640 (eval $ac_try) 2>&5
81641 ac_status=$?
81642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81643 (exit $ac_status); }; }; then
81644 glibcxx_cv_func___builtin_sqrtl_link=yes
81645 else
81646 echo "$as_me: failed program was:" >&5
81647 sed 's/^/| /' conftest.$ac_ext >&5
81649 glibcxx_cv_func___builtin_sqrtl_link=no
81651 rm -f conftest.err conftest.$ac_objext \
81652 conftest$ac_exeext conftest.$ac_ext
81657 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
81658 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
81660 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
81662 cat >>confdefs.h <<\_ACEOF
81663 #define HAVE___BUILTIN_SQRTL 1
81664 _ACEOF
81672 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
81673 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
81674 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
81675 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
81676 echo $ECHO_N "(cached) $ECHO_C" >&6
81677 else
81681 ac_ext=cc
81682 ac_cpp='$CXXCPP $CPPFLAGS'
81683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81687 cat >conftest.$ac_ext <<_ACEOF
81688 /* confdefs.h. */
81689 _ACEOF
81690 cat confdefs.h >>conftest.$ac_ext
81691 cat >>conftest.$ac_ext <<_ACEOF
81692 /* end confdefs.h. */
81693 #include <math.h>
81695 main ()
81697 __builtin_sinf(0);
81699 return 0;
81701 _ACEOF
81702 rm -f conftest.$ac_objext
81703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81704 (eval $ac_compile) 2>conftest.er1
81705 ac_status=$?
81706 grep -v '^ *+' conftest.er1 >conftest.err
81707 rm -f conftest.er1
81708 cat conftest.err >&5
81709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81710 (exit $ac_status); } &&
81711 { ac_try='test -z "$ac_cxx_werror_flag"
81712 || test ! -s conftest.err'
81713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81714 (eval $ac_try) 2>&5
81715 ac_status=$?
81716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81717 (exit $ac_status); }; } &&
81718 { ac_try='test -s conftest.$ac_objext'
81719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81720 (eval $ac_try) 2>&5
81721 ac_status=$?
81722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81723 (exit $ac_status); }; }; then
81724 glibcxx_cv_func___builtin_sinf_use=yes
81725 else
81726 echo "$as_me: failed program was:" >&5
81727 sed 's/^/| /' conftest.$ac_ext >&5
81729 glibcxx_cv_func___builtin_sinf_use=no
81731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81732 ac_ext=c
81733 ac_cpp='$CPP $CPPFLAGS'
81734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81742 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
81743 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
81744 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
81745 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
81746 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
81747 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
81748 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
81749 echo $ECHO_N "(cached) $ECHO_C" >&6
81750 else
81752 if test x$gcc_no_link = xyes; then
81753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81755 { (exit 1); exit 1; }; }
81757 cat >conftest.$ac_ext <<_ACEOF
81758 /* confdefs.h. */
81759 _ACEOF
81760 cat confdefs.h >>conftest.$ac_ext
81761 cat >>conftest.$ac_ext <<_ACEOF
81762 /* end confdefs.h. */
81763 #include <math.h>
81765 main ()
81767 __builtin_sinf(0);
81769 return 0;
81771 _ACEOF
81772 rm -f conftest.$ac_objext conftest$ac_exeext
81773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81774 (eval $ac_link) 2>conftest.er1
81775 ac_status=$?
81776 grep -v '^ *+' conftest.er1 >conftest.err
81777 rm -f conftest.er1
81778 cat conftest.err >&5
81779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81780 (exit $ac_status); } &&
81781 { ac_try='test -z "$ac_c_werror_flag"
81782 || test ! -s conftest.err'
81783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81784 (eval $ac_try) 2>&5
81785 ac_status=$?
81786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81787 (exit $ac_status); }; } &&
81788 { ac_try='test -s conftest$ac_exeext'
81789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81790 (eval $ac_try) 2>&5
81791 ac_status=$?
81792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81793 (exit $ac_status); }; }; then
81794 glibcxx_cv_func___builtin_sinf_link=yes
81795 else
81796 echo "$as_me: failed program was:" >&5
81797 sed 's/^/| /' conftest.$ac_ext >&5
81799 glibcxx_cv_func___builtin_sinf_link=no
81801 rm -f conftest.err conftest.$ac_objext \
81802 conftest$ac_exeext conftest.$ac_ext
81807 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
81808 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
81810 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
81812 cat >>confdefs.h <<\_ACEOF
81813 #define HAVE___BUILTIN_SINF 1
81814 _ACEOF
81821 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
81822 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
81823 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
81824 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
81825 echo $ECHO_N "(cached) $ECHO_C" >&6
81826 else
81830 ac_ext=cc
81831 ac_cpp='$CXXCPP $CPPFLAGS'
81832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81836 cat >conftest.$ac_ext <<_ACEOF
81837 /* confdefs.h. */
81838 _ACEOF
81839 cat confdefs.h >>conftest.$ac_ext
81840 cat >>conftest.$ac_ext <<_ACEOF
81841 /* end confdefs.h. */
81842 #include <math.h>
81844 main ()
81846 __builtin_sin(0);
81848 return 0;
81850 _ACEOF
81851 rm -f conftest.$ac_objext
81852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81853 (eval $ac_compile) 2>conftest.er1
81854 ac_status=$?
81855 grep -v '^ *+' conftest.er1 >conftest.err
81856 rm -f conftest.er1
81857 cat conftest.err >&5
81858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81859 (exit $ac_status); } &&
81860 { ac_try='test -z "$ac_cxx_werror_flag"
81861 || test ! -s conftest.err'
81862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81863 (eval $ac_try) 2>&5
81864 ac_status=$?
81865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81866 (exit $ac_status); }; } &&
81867 { ac_try='test -s conftest.$ac_objext'
81868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81869 (eval $ac_try) 2>&5
81870 ac_status=$?
81871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81872 (exit $ac_status); }; }; then
81873 glibcxx_cv_func___builtin_sin_use=yes
81874 else
81875 echo "$as_me: failed program was:" >&5
81876 sed 's/^/| /' conftest.$ac_ext >&5
81878 glibcxx_cv_func___builtin_sin_use=no
81880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81881 ac_ext=c
81882 ac_cpp='$CPP $CPPFLAGS'
81883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81891 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
81892 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
81893 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
81894 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
81895 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
81896 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
81897 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
81898 echo $ECHO_N "(cached) $ECHO_C" >&6
81899 else
81901 if test x$gcc_no_link = xyes; then
81902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81904 { (exit 1); exit 1; }; }
81906 cat >conftest.$ac_ext <<_ACEOF
81907 /* confdefs.h. */
81908 _ACEOF
81909 cat confdefs.h >>conftest.$ac_ext
81910 cat >>conftest.$ac_ext <<_ACEOF
81911 /* end confdefs.h. */
81912 #include <math.h>
81914 main ()
81916 __builtin_sin(0);
81918 return 0;
81920 _ACEOF
81921 rm -f conftest.$ac_objext conftest$ac_exeext
81922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81923 (eval $ac_link) 2>conftest.er1
81924 ac_status=$?
81925 grep -v '^ *+' conftest.er1 >conftest.err
81926 rm -f conftest.er1
81927 cat conftest.err >&5
81928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81929 (exit $ac_status); } &&
81930 { ac_try='test -z "$ac_c_werror_flag"
81931 || test ! -s conftest.err'
81932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81933 (eval $ac_try) 2>&5
81934 ac_status=$?
81935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81936 (exit $ac_status); }; } &&
81937 { ac_try='test -s conftest$ac_exeext'
81938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81939 (eval $ac_try) 2>&5
81940 ac_status=$?
81941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81942 (exit $ac_status); }; }; then
81943 glibcxx_cv_func___builtin_sin_link=yes
81944 else
81945 echo "$as_me: failed program was:" >&5
81946 sed 's/^/| /' conftest.$ac_ext >&5
81948 glibcxx_cv_func___builtin_sin_link=no
81950 rm -f conftest.err conftest.$ac_objext \
81951 conftest$ac_exeext conftest.$ac_ext
81956 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
81957 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
81959 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
81961 cat >>confdefs.h <<\_ACEOF
81962 #define HAVE___BUILTIN_SIN 1
81963 _ACEOF
81970 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
81971 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
81972 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
81973 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
81974 echo $ECHO_N "(cached) $ECHO_C" >&6
81975 else
81979 ac_ext=cc
81980 ac_cpp='$CXXCPP $CPPFLAGS'
81981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81985 cat >conftest.$ac_ext <<_ACEOF
81986 /* confdefs.h. */
81987 _ACEOF
81988 cat confdefs.h >>conftest.$ac_ext
81989 cat >>conftest.$ac_ext <<_ACEOF
81990 /* end confdefs.h. */
81991 #include <math.h>
81993 main ()
81995 __builtin_sinl(0);
81997 return 0;
81999 _ACEOF
82000 rm -f conftest.$ac_objext
82001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82002 (eval $ac_compile) 2>conftest.er1
82003 ac_status=$?
82004 grep -v '^ *+' conftest.er1 >conftest.err
82005 rm -f conftest.er1
82006 cat conftest.err >&5
82007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82008 (exit $ac_status); } &&
82009 { ac_try='test -z "$ac_cxx_werror_flag"
82010 || test ! -s conftest.err'
82011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82012 (eval $ac_try) 2>&5
82013 ac_status=$?
82014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82015 (exit $ac_status); }; } &&
82016 { ac_try='test -s conftest.$ac_objext'
82017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82018 (eval $ac_try) 2>&5
82019 ac_status=$?
82020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82021 (exit $ac_status); }; }; then
82022 glibcxx_cv_func___builtin_sinl_use=yes
82023 else
82024 echo "$as_me: failed program was:" >&5
82025 sed 's/^/| /' conftest.$ac_ext >&5
82027 glibcxx_cv_func___builtin_sinl_use=no
82029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82030 ac_ext=c
82031 ac_cpp='$CPP $CPPFLAGS'
82032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82040 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
82041 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
82042 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
82043 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
82044 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
82045 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
82046 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
82047 echo $ECHO_N "(cached) $ECHO_C" >&6
82048 else
82050 if test x$gcc_no_link = xyes; then
82051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82053 { (exit 1); exit 1; }; }
82055 cat >conftest.$ac_ext <<_ACEOF
82056 /* confdefs.h. */
82057 _ACEOF
82058 cat confdefs.h >>conftest.$ac_ext
82059 cat >>conftest.$ac_ext <<_ACEOF
82060 /* end confdefs.h. */
82061 #include <math.h>
82063 main ()
82065 __builtin_sinl(0);
82067 return 0;
82069 _ACEOF
82070 rm -f conftest.$ac_objext conftest$ac_exeext
82071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82072 (eval $ac_link) 2>conftest.er1
82073 ac_status=$?
82074 grep -v '^ *+' conftest.er1 >conftest.err
82075 rm -f conftest.er1
82076 cat conftest.err >&5
82077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82078 (exit $ac_status); } &&
82079 { ac_try='test -z "$ac_c_werror_flag"
82080 || test ! -s conftest.err'
82081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82082 (eval $ac_try) 2>&5
82083 ac_status=$?
82084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82085 (exit $ac_status); }; } &&
82086 { ac_try='test -s conftest$ac_exeext'
82087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82088 (eval $ac_try) 2>&5
82089 ac_status=$?
82090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82091 (exit $ac_status); }; }; then
82092 glibcxx_cv_func___builtin_sinl_link=yes
82093 else
82094 echo "$as_me: failed program was:" >&5
82095 sed 's/^/| /' conftest.$ac_ext >&5
82097 glibcxx_cv_func___builtin_sinl_link=no
82099 rm -f conftest.err conftest.$ac_objext \
82100 conftest$ac_exeext conftest.$ac_ext
82105 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
82106 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
82108 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
82110 cat >>confdefs.h <<\_ACEOF
82111 #define HAVE___BUILTIN_SINL 1
82112 _ACEOF
82120 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
82121 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
82122 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
82123 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
82124 echo $ECHO_N "(cached) $ECHO_C" >&6
82125 else
82129 ac_ext=cc
82130 ac_cpp='$CXXCPP $CPPFLAGS'
82131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82135 cat >conftest.$ac_ext <<_ACEOF
82136 /* confdefs.h. */
82137 _ACEOF
82138 cat confdefs.h >>conftest.$ac_ext
82139 cat >>conftest.$ac_ext <<_ACEOF
82140 /* end confdefs.h. */
82141 #include <math.h>
82143 main ()
82145 __builtin_cosf(0);
82147 return 0;
82149 _ACEOF
82150 rm -f conftest.$ac_objext
82151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82152 (eval $ac_compile) 2>conftest.er1
82153 ac_status=$?
82154 grep -v '^ *+' conftest.er1 >conftest.err
82155 rm -f conftest.er1
82156 cat conftest.err >&5
82157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82158 (exit $ac_status); } &&
82159 { ac_try='test -z "$ac_cxx_werror_flag"
82160 || test ! -s conftest.err'
82161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82162 (eval $ac_try) 2>&5
82163 ac_status=$?
82164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82165 (exit $ac_status); }; } &&
82166 { ac_try='test -s conftest.$ac_objext'
82167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82168 (eval $ac_try) 2>&5
82169 ac_status=$?
82170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82171 (exit $ac_status); }; }; then
82172 glibcxx_cv_func___builtin_cosf_use=yes
82173 else
82174 echo "$as_me: failed program was:" >&5
82175 sed 's/^/| /' conftest.$ac_ext >&5
82177 glibcxx_cv_func___builtin_cosf_use=no
82179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82180 ac_ext=c
82181 ac_cpp='$CPP $CPPFLAGS'
82182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82190 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
82191 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
82192 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
82193 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
82194 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
82195 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
82196 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
82197 echo $ECHO_N "(cached) $ECHO_C" >&6
82198 else
82200 if test x$gcc_no_link = xyes; then
82201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82203 { (exit 1); exit 1; }; }
82205 cat >conftest.$ac_ext <<_ACEOF
82206 /* confdefs.h. */
82207 _ACEOF
82208 cat confdefs.h >>conftest.$ac_ext
82209 cat >>conftest.$ac_ext <<_ACEOF
82210 /* end confdefs.h. */
82211 #include <math.h>
82213 main ()
82215 __builtin_cosf(0);
82217 return 0;
82219 _ACEOF
82220 rm -f conftest.$ac_objext conftest$ac_exeext
82221 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82222 (eval $ac_link) 2>conftest.er1
82223 ac_status=$?
82224 grep -v '^ *+' conftest.er1 >conftest.err
82225 rm -f conftest.er1
82226 cat conftest.err >&5
82227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82228 (exit $ac_status); } &&
82229 { ac_try='test -z "$ac_c_werror_flag"
82230 || test ! -s conftest.err'
82231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82232 (eval $ac_try) 2>&5
82233 ac_status=$?
82234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82235 (exit $ac_status); }; } &&
82236 { ac_try='test -s conftest$ac_exeext'
82237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82238 (eval $ac_try) 2>&5
82239 ac_status=$?
82240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82241 (exit $ac_status); }; }; then
82242 glibcxx_cv_func___builtin_cosf_link=yes
82243 else
82244 echo "$as_me: failed program was:" >&5
82245 sed 's/^/| /' conftest.$ac_ext >&5
82247 glibcxx_cv_func___builtin_cosf_link=no
82249 rm -f conftest.err conftest.$ac_objext \
82250 conftest$ac_exeext conftest.$ac_ext
82255 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
82256 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
82258 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
82260 cat >>confdefs.h <<\_ACEOF
82261 #define HAVE___BUILTIN_COSF 1
82262 _ACEOF
82269 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
82270 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
82271 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
82272 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
82273 echo $ECHO_N "(cached) $ECHO_C" >&6
82274 else
82278 ac_ext=cc
82279 ac_cpp='$CXXCPP $CPPFLAGS'
82280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82284 cat >conftest.$ac_ext <<_ACEOF
82285 /* confdefs.h. */
82286 _ACEOF
82287 cat confdefs.h >>conftest.$ac_ext
82288 cat >>conftest.$ac_ext <<_ACEOF
82289 /* end confdefs.h. */
82290 #include <math.h>
82292 main ()
82294 __builtin_cos(0);
82296 return 0;
82298 _ACEOF
82299 rm -f conftest.$ac_objext
82300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82301 (eval $ac_compile) 2>conftest.er1
82302 ac_status=$?
82303 grep -v '^ *+' conftest.er1 >conftest.err
82304 rm -f conftest.er1
82305 cat conftest.err >&5
82306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82307 (exit $ac_status); } &&
82308 { ac_try='test -z "$ac_cxx_werror_flag"
82309 || test ! -s conftest.err'
82310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82311 (eval $ac_try) 2>&5
82312 ac_status=$?
82313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82314 (exit $ac_status); }; } &&
82315 { ac_try='test -s conftest.$ac_objext'
82316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82317 (eval $ac_try) 2>&5
82318 ac_status=$?
82319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82320 (exit $ac_status); }; }; then
82321 glibcxx_cv_func___builtin_cos_use=yes
82322 else
82323 echo "$as_me: failed program was:" >&5
82324 sed 's/^/| /' conftest.$ac_ext >&5
82326 glibcxx_cv_func___builtin_cos_use=no
82328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82329 ac_ext=c
82330 ac_cpp='$CPP $CPPFLAGS'
82331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82339 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
82340 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
82341 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
82342 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
82343 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
82344 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
82345 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
82346 echo $ECHO_N "(cached) $ECHO_C" >&6
82347 else
82349 if test x$gcc_no_link = xyes; then
82350 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82351 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82352 { (exit 1); exit 1; }; }
82354 cat >conftest.$ac_ext <<_ACEOF
82355 /* confdefs.h. */
82356 _ACEOF
82357 cat confdefs.h >>conftest.$ac_ext
82358 cat >>conftest.$ac_ext <<_ACEOF
82359 /* end confdefs.h. */
82360 #include <math.h>
82362 main ()
82364 __builtin_cos(0);
82366 return 0;
82368 _ACEOF
82369 rm -f conftest.$ac_objext conftest$ac_exeext
82370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82371 (eval $ac_link) 2>conftest.er1
82372 ac_status=$?
82373 grep -v '^ *+' conftest.er1 >conftest.err
82374 rm -f conftest.er1
82375 cat conftest.err >&5
82376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82377 (exit $ac_status); } &&
82378 { ac_try='test -z "$ac_c_werror_flag"
82379 || test ! -s conftest.err'
82380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82381 (eval $ac_try) 2>&5
82382 ac_status=$?
82383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82384 (exit $ac_status); }; } &&
82385 { ac_try='test -s conftest$ac_exeext'
82386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82387 (eval $ac_try) 2>&5
82388 ac_status=$?
82389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82390 (exit $ac_status); }; }; then
82391 glibcxx_cv_func___builtin_cos_link=yes
82392 else
82393 echo "$as_me: failed program was:" >&5
82394 sed 's/^/| /' conftest.$ac_ext >&5
82396 glibcxx_cv_func___builtin_cos_link=no
82398 rm -f conftest.err conftest.$ac_objext \
82399 conftest$ac_exeext conftest.$ac_ext
82404 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
82405 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
82407 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
82409 cat >>confdefs.h <<\_ACEOF
82410 #define HAVE___BUILTIN_COS 1
82411 _ACEOF
82418 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
82419 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
82420 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
82421 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
82422 echo $ECHO_N "(cached) $ECHO_C" >&6
82423 else
82427 ac_ext=cc
82428 ac_cpp='$CXXCPP $CPPFLAGS'
82429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82433 cat >conftest.$ac_ext <<_ACEOF
82434 /* confdefs.h. */
82435 _ACEOF
82436 cat confdefs.h >>conftest.$ac_ext
82437 cat >>conftest.$ac_ext <<_ACEOF
82438 /* end confdefs.h. */
82439 #include <math.h>
82441 main ()
82443 __builtin_cosl(0);
82445 return 0;
82447 _ACEOF
82448 rm -f conftest.$ac_objext
82449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82450 (eval $ac_compile) 2>conftest.er1
82451 ac_status=$?
82452 grep -v '^ *+' conftest.er1 >conftest.err
82453 rm -f conftest.er1
82454 cat conftest.err >&5
82455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82456 (exit $ac_status); } &&
82457 { ac_try='test -z "$ac_cxx_werror_flag"
82458 || test ! -s conftest.err'
82459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82460 (eval $ac_try) 2>&5
82461 ac_status=$?
82462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82463 (exit $ac_status); }; } &&
82464 { ac_try='test -s conftest.$ac_objext'
82465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82466 (eval $ac_try) 2>&5
82467 ac_status=$?
82468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82469 (exit $ac_status); }; }; then
82470 glibcxx_cv_func___builtin_cosl_use=yes
82471 else
82472 echo "$as_me: failed program was:" >&5
82473 sed 's/^/| /' conftest.$ac_ext >&5
82475 glibcxx_cv_func___builtin_cosl_use=no
82477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82478 ac_ext=c
82479 ac_cpp='$CPP $CPPFLAGS'
82480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82488 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
82489 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
82490 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
82491 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
82492 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
82493 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
82494 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
82495 echo $ECHO_N "(cached) $ECHO_C" >&6
82496 else
82498 if test x$gcc_no_link = xyes; then
82499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82501 { (exit 1); exit 1; }; }
82503 cat >conftest.$ac_ext <<_ACEOF
82504 /* confdefs.h. */
82505 _ACEOF
82506 cat confdefs.h >>conftest.$ac_ext
82507 cat >>conftest.$ac_ext <<_ACEOF
82508 /* end confdefs.h. */
82509 #include <math.h>
82511 main ()
82513 __builtin_cosl(0);
82515 return 0;
82517 _ACEOF
82518 rm -f conftest.$ac_objext conftest$ac_exeext
82519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82520 (eval $ac_link) 2>conftest.er1
82521 ac_status=$?
82522 grep -v '^ *+' conftest.er1 >conftest.err
82523 rm -f conftest.er1
82524 cat conftest.err >&5
82525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82526 (exit $ac_status); } &&
82527 { ac_try='test -z "$ac_c_werror_flag"
82528 || test ! -s conftest.err'
82529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82530 (eval $ac_try) 2>&5
82531 ac_status=$?
82532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82533 (exit $ac_status); }; } &&
82534 { ac_try='test -s conftest$ac_exeext'
82535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82536 (eval $ac_try) 2>&5
82537 ac_status=$?
82538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82539 (exit $ac_status); }; }; then
82540 glibcxx_cv_func___builtin_cosl_link=yes
82541 else
82542 echo "$as_me: failed program was:" >&5
82543 sed 's/^/| /' conftest.$ac_ext >&5
82545 glibcxx_cv_func___builtin_cosl_link=no
82547 rm -f conftest.err conftest.$ac_objext \
82548 conftest$ac_exeext conftest.$ac_ext
82553 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
82554 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
82556 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
82558 cat >>confdefs.h <<\_ACEOF
82559 #define HAVE___BUILTIN_COSL 1
82560 _ACEOF
82569 echo "$as_me:$LINENO: checking for main in -lm" >&5
82570 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
82571 if test "${ac_cv_lib_m_main+set}" = set; then
82572 echo $ECHO_N "(cached) $ECHO_C" >&6
82573 else
82574 ac_check_lib_save_LIBS=$LIBS
82575 LIBS="-lm $LIBS"
82576 if test x$gcc_no_link = xyes; then
82577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82579 { (exit 1); exit 1; }; }
82581 cat >conftest.$ac_ext <<_ACEOF
82582 /* confdefs.h. */
82583 _ACEOF
82584 cat confdefs.h >>conftest.$ac_ext
82585 cat >>conftest.$ac_ext <<_ACEOF
82586 /* end confdefs.h. */
82590 main ()
82592 main ();
82594 return 0;
82596 _ACEOF
82597 rm -f conftest.$ac_objext conftest$ac_exeext
82598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82599 (eval $ac_link) 2>conftest.er1
82600 ac_status=$?
82601 grep -v '^ *+' conftest.er1 >conftest.err
82602 rm -f conftest.er1
82603 cat conftest.err >&5
82604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82605 (exit $ac_status); } &&
82606 { ac_try='test -z "$ac_c_werror_flag"
82607 || test ! -s conftest.err'
82608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82609 (eval $ac_try) 2>&5
82610 ac_status=$?
82611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82612 (exit $ac_status); }; } &&
82613 { ac_try='test -s conftest$ac_exeext'
82614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82615 (eval $ac_try) 2>&5
82616 ac_status=$?
82617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82618 (exit $ac_status); }; }; then
82619 ac_cv_lib_m_main=yes
82620 else
82621 echo "$as_me: failed program was:" >&5
82622 sed 's/^/| /' conftest.$ac_ext >&5
82624 ac_cv_lib_m_main=no
82626 rm -f conftest.err conftest.$ac_objext \
82627 conftest$ac_exeext conftest.$ac_ext
82628 LIBS=$ac_check_lib_save_LIBS
82630 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
82631 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
82632 if test $ac_cv_lib_m_main = yes; then
82633 cat >>confdefs.h <<_ACEOF
82634 #define HAVE_LIBM 1
82635 _ACEOF
82637 LIBS="-lm $LIBS"
82642 for ac_func in copysignf
82644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82645 echo "$as_me:$LINENO: checking for $ac_func" >&5
82646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82647 if eval "test \"\${$as_ac_var+set}\" = set"; then
82648 echo $ECHO_N "(cached) $ECHO_C" >&6
82649 else
82650 if test x$gcc_no_link = xyes; then
82651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82653 { (exit 1); exit 1; }; }
82655 cat >conftest.$ac_ext <<_ACEOF
82656 /* confdefs.h. */
82657 _ACEOF
82658 cat confdefs.h >>conftest.$ac_ext
82659 cat >>conftest.$ac_ext <<_ACEOF
82660 /* end confdefs.h. */
82661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82663 #define $ac_func innocuous_$ac_func
82665 /* System header to define __stub macros and hopefully few prototypes,
82666 which can conflict with char $ac_func (); below.
82667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82668 <limits.h> exists even on freestanding compilers. */
82670 #ifdef __STDC__
82671 # include <limits.h>
82672 #else
82673 # include <assert.h>
82674 #endif
82676 #undef $ac_func
82678 /* Override any gcc2 internal prototype to avoid an error. */
82679 #ifdef __cplusplus
82680 extern "C"
82682 #endif
82683 /* We use char because int might match the return type of a gcc2
82684 builtin and then its argument prototype would still apply. */
82685 char $ac_func ();
82686 /* The GNU C library defines this for functions which it implements
82687 to always fail with ENOSYS. Some functions are actually named
82688 something starting with __ and the normal name is an alias. */
82689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82690 choke me
82691 #else
82692 char (*f) () = $ac_func;
82693 #endif
82694 #ifdef __cplusplus
82696 #endif
82699 main ()
82701 return f != $ac_func;
82703 return 0;
82705 _ACEOF
82706 rm -f conftest.$ac_objext conftest$ac_exeext
82707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82708 (eval $ac_link) 2>conftest.er1
82709 ac_status=$?
82710 grep -v '^ *+' conftest.er1 >conftest.err
82711 rm -f conftest.er1
82712 cat conftest.err >&5
82713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82714 (exit $ac_status); } &&
82715 { ac_try='test -z "$ac_c_werror_flag"
82716 || test ! -s conftest.err'
82717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82718 (eval $ac_try) 2>&5
82719 ac_status=$?
82720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82721 (exit $ac_status); }; } &&
82722 { ac_try='test -s conftest$ac_exeext'
82723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82724 (eval $ac_try) 2>&5
82725 ac_status=$?
82726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82727 (exit $ac_status); }; }; then
82728 eval "$as_ac_var=yes"
82729 else
82730 echo "$as_me: failed program was:" >&5
82731 sed 's/^/| /' conftest.$ac_ext >&5
82733 eval "$as_ac_var=no"
82735 rm -f conftest.err conftest.$ac_objext \
82736 conftest$ac_exeext conftest.$ac_ext
82738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82740 if test `eval echo '${'$as_ac_var'}'` = yes; then
82741 cat >>confdefs.h <<_ACEOF
82742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82743 _ACEOF
82745 else
82746 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
82748 done
82752 for ac_func in __signbit
82754 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82755 echo "$as_me:$LINENO: checking for $ac_func" >&5
82756 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82757 if eval "test \"\${$as_ac_var+set}\" = set"; then
82758 echo $ECHO_N "(cached) $ECHO_C" >&6
82759 else
82760 if test x$gcc_no_link = xyes; then
82761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82763 { (exit 1); exit 1; }; }
82765 cat >conftest.$ac_ext <<_ACEOF
82766 /* confdefs.h. */
82767 _ACEOF
82768 cat confdefs.h >>conftest.$ac_ext
82769 cat >>conftest.$ac_ext <<_ACEOF
82770 /* end confdefs.h. */
82771 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82772 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82773 #define $ac_func innocuous_$ac_func
82775 /* System header to define __stub macros and hopefully few prototypes,
82776 which can conflict with char $ac_func (); below.
82777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82778 <limits.h> exists even on freestanding compilers. */
82780 #ifdef __STDC__
82781 # include <limits.h>
82782 #else
82783 # include <assert.h>
82784 #endif
82786 #undef $ac_func
82788 /* Override any gcc2 internal prototype to avoid an error. */
82789 #ifdef __cplusplus
82790 extern "C"
82792 #endif
82793 /* We use char because int might match the return type of a gcc2
82794 builtin and then its argument prototype would still apply. */
82795 char $ac_func ();
82796 /* The GNU C library defines this for functions which it implements
82797 to always fail with ENOSYS. Some functions are actually named
82798 something starting with __ and the normal name is an alias. */
82799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82800 choke me
82801 #else
82802 char (*f) () = $ac_func;
82803 #endif
82804 #ifdef __cplusplus
82806 #endif
82809 main ()
82811 return f != $ac_func;
82813 return 0;
82815 _ACEOF
82816 rm -f conftest.$ac_objext conftest$ac_exeext
82817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82818 (eval $ac_link) 2>conftest.er1
82819 ac_status=$?
82820 grep -v '^ *+' conftest.er1 >conftest.err
82821 rm -f conftest.er1
82822 cat conftest.err >&5
82823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82824 (exit $ac_status); } &&
82825 { ac_try='test -z "$ac_c_werror_flag"
82826 || test ! -s conftest.err'
82827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82828 (eval $ac_try) 2>&5
82829 ac_status=$?
82830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82831 (exit $ac_status); }; } &&
82832 { ac_try='test -s conftest$ac_exeext'
82833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82834 (eval $ac_try) 2>&5
82835 ac_status=$?
82836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82837 (exit $ac_status); }; }; then
82838 eval "$as_ac_var=yes"
82839 else
82840 echo "$as_me: failed program was:" >&5
82841 sed 's/^/| /' conftest.$ac_ext >&5
82843 eval "$as_ac_var=no"
82845 rm -f conftest.err conftest.$ac_objext \
82846 conftest$ac_exeext conftest.$ac_ext
82848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82849 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82850 if test `eval echo '${'$as_ac_var'}'` = yes; then
82851 cat >>confdefs.h <<_ACEOF
82852 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82853 _ACEOF
82855 else
82856 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
82858 done
82862 for ac_func in __signbitf
82864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82865 echo "$as_me:$LINENO: checking for $ac_func" >&5
82866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82867 if eval "test \"\${$as_ac_var+set}\" = set"; then
82868 echo $ECHO_N "(cached) $ECHO_C" >&6
82869 else
82870 if test x$gcc_no_link = xyes; then
82871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82873 { (exit 1); exit 1; }; }
82875 cat >conftest.$ac_ext <<_ACEOF
82876 /* confdefs.h. */
82877 _ACEOF
82878 cat confdefs.h >>conftest.$ac_ext
82879 cat >>conftest.$ac_ext <<_ACEOF
82880 /* end confdefs.h. */
82881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82883 #define $ac_func innocuous_$ac_func
82885 /* System header to define __stub macros and hopefully few prototypes,
82886 which can conflict with char $ac_func (); below.
82887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82888 <limits.h> exists even on freestanding compilers. */
82890 #ifdef __STDC__
82891 # include <limits.h>
82892 #else
82893 # include <assert.h>
82894 #endif
82896 #undef $ac_func
82898 /* Override any gcc2 internal prototype to avoid an error. */
82899 #ifdef __cplusplus
82900 extern "C"
82902 #endif
82903 /* We use char because int might match the return type of a gcc2
82904 builtin and then its argument prototype would still apply. */
82905 char $ac_func ();
82906 /* The GNU C library defines this for functions which it implements
82907 to always fail with ENOSYS. Some functions are actually named
82908 something starting with __ and the normal name is an alias. */
82909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82910 choke me
82911 #else
82912 char (*f) () = $ac_func;
82913 #endif
82914 #ifdef __cplusplus
82916 #endif
82919 main ()
82921 return f != $ac_func;
82923 return 0;
82925 _ACEOF
82926 rm -f conftest.$ac_objext conftest$ac_exeext
82927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82928 (eval $ac_link) 2>conftest.er1
82929 ac_status=$?
82930 grep -v '^ *+' conftest.er1 >conftest.err
82931 rm -f conftest.er1
82932 cat conftest.err >&5
82933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82934 (exit $ac_status); } &&
82935 { ac_try='test -z "$ac_c_werror_flag"
82936 || test ! -s conftest.err'
82937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82938 (eval $ac_try) 2>&5
82939 ac_status=$?
82940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82941 (exit $ac_status); }; } &&
82942 { ac_try='test -s conftest$ac_exeext'
82943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82944 (eval $ac_try) 2>&5
82945 ac_status=$?
82946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82947 (exit $ac_status); }; }; then
82948 eval "$as_ac_var=yes"
82949 else
82950 echo "$as_me: failed program was:" >&5
82951 sed 's/^/| /' conftest.$ac_ext >&5
82953 eval "$as_ac_var=no"
82955 rm -f conftest.err conftest.$ac_objext \
82956 conftest$ac_exeext conftest.$ac_ext
82958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82960 if test `eval echo '${'$as_ac_var'}'` = yes; then
82961 cat >>confdefs.h <<_ACEOF
82962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82963 _ACEOF
82965 else
82966 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
82968 done
82971 if test x$ac_cv_func_copysignl = x"yes"; then
82973 for ac_func in __signbitl
82975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82976 echo "$as_me:$LINENO: checking for $ac_func" >&5
82977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82978 if eval "test \"\${$as_ac_var+set}\" = set"; then
82979 echo $ECHO_N "(cached) $ECHO_C" >&6
82980 else
82981 if test x$gcc_no_link = xyes; then
82982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82984 { (exit 1); exit 1; }; }
82986 cat >conftest.$ac_ext <<_ACEOF
82987 /* confdefs.h. */
82988 _ACEOF
82989 cat confdefs.h >>conftest.$ac_ext
82990 cat >>conftest.$ac_ext <<_ACEOF
82991 /* end confdefs.h. */
82992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82994 #define $ac_func innocuous_$ac_func
82996 /* System header to define __stub macros and hopefully few prototypes,
82997 which can conflict with char $ac_func (); below.
82998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82999 <limits.h> exists even on freestanding compilers. */
83001 #ifdef __STDC__
83002 # include <limits.h>
83003 #else
83004 # include <assert.h>
83005 #endif
83007 #undef $ac_func
83009 /* Override any gcc2 internal prototype to avoid an error. */
83010 #ifdef __cplusplus
83011 extern "C"
83013 #endif
83014 /* We use char because int might match the return type of a gcc2
83015 builtin and then its argument prototype would still apply. */
83016 char $ac_func ();
83017 /* The GNU C library defines this for functions which it implements
83018 to always fail with ENOSYS. Some functions are actually named
83019 something starting with __ and the normal name is an alias. */
83020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83021 choke me
83022 #else
83023 char (*f) () = $ac_func;
83024 #endif
83025 #ifdef __cplusplus
83027 #endif
83030 main ()
83032 return f != $ac_func;
83034 return 0;
83036 _ACEOF
83037 rm -f conftest.$ac_objext conftest$ac_exeext
83038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83039 (eval $ac_link) 2>conftest.er1
83040 ac_status=$?
83041 grep -v '^ *+' conftest.er1 >conftest.err
83042 rm -f conftest.er1
83043 cat conftest.err >&5
83044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83045 (exit $ac_status); } &&
83046 { ac_try='test -z "$ac_c_werror_flag"
83047 || test ! -s conftest.err'
83048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83049 (eval $ac_try) 2>&5
83050 ac_status=$?
83051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83052 (exit $ac_status); }; } &&
83053 { ac_try='test -s conftest$ac_exeext'
83054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83055 (eval $ac_try) 2>&5
83056 ac_status=$?
83057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83058 (exit $ac_status); }; }; then
83059 eval "$as_ac_var=yes"
83060 else
83061 echo "$as_me: failed program was:" >&5
83062 sed 's/^/| /' conftest.$ac_ext >&5
83064 eval "$as_ac_var=no"
83066 rm -f conftest.err conftest.$ac_objext \
83067 conftest$ac_exeext conftest.$ac_ext
83069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83071 if test `eval echo '${'$as_ac_var'}'` = yes; then
83072 cat >>confdefs.h <<_ACEOF
83073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83074 _ACEOF
83076 else
83077 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
83079 done
83083 # Used in libmath/Makefile.am.
83084 if test -n "$LIBMATHOBJS"; then
83085 need_libmath=yes
83090 ac_test_CXXFLAGS="${CXXFLAGS+set}"
83091 ac_save_CXXFLAGS="$CXXFLAGS"
83092 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
83095 echo "$as_me:$LINENO: checking for strtold declaration" >&5
83096 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
83097 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
83098 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
83099 echo $ECHO_N "(cached) $ECHO_C" >&6
83100 else
83104 ac_ext=cc
83105 ac_cpp='$CXXCPP $CPPFLAGS'
83106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83110 cat >conftest.$ac_ext <<_ACEOF
83111 /* confdefs.h. */
83112 _ACEOF
83113 cat confdefs.h >>conftest.$ac_ext
83114 cat >>conftest.$ac_ext <<_ACEOF
83115 /* end confdefs.h. */
83116 #include <stdlib.h>
83118 main ()
83120 strtold(0, 0);
83122 return 0;
83124 _ACEOF
83125 rm -f conftest.$ac_objext
83126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83127 (eval $ac_compile) 2>conftest.er1
83128 ac_status=$?
83129 grep -v '^ *+' conftest.er1 >conftest.err
83130 rm -f conftest.er1
83131 cat conftest.err >&5
83132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83133 (exit $ac_status); } &&
83134 { ac_try='test -z "$ac_cxx_werror_flag"
83135 || test ! -s conftest.err'
83136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83137 (eval $ac_try) 2>&5
83138 ac_status=$?
83139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83140 (exit $ac_status); }; } &&
83141 { ac_try='test -s conftest.$ac_objext'
83142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83143 (eval $ac_try) 2>&5
83144 ac_status=$?
83145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83146 (exit $ac_status); }; }; then
83147 glibcxx_cv_func_strtold_use=yes
83148 else
83149 echo "$as_me: failed program was:" >&5
83150 sed 's/^/| /' conftest.$ac_ext >&5
83152 glibcxx_cv_func_strtold_use=no
83154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83155 ac_ext=c
83156 ac_cpp='$CPP $CPPFLAGS'
83157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83165 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
83166 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
83167 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
83169 for ac_func in strtold
83171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83172 echo "$as_me:$LINENO: checking for $ac_func" >&5
83173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83174 if eval "test \"\${$as_ac_var+set}\" = set"; then
83175 echo $ECHO_N "(cached) $ECHO_C" >&6
83176 else
83177 if test x$gcc_no_link = xyes; then
83178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83180 { (exit 1); exit 1; }; }
83182 cat >conftest.$ac_ext <<_ACEOF
83183 /* confdefs.h. */
83184 _ACEOF
83185 cat confdefs.h >>conftest.$ac_ext
83186 cat >>conftest.$ac_ext <<_ACEOF
83187 /* end confdefs.h. */
83188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83190 #define $ac_func innocuous_$ac_func
83192 /* System header to define __stub macros and hopefully few prototypes,
83193 which can conflict with char $ac_func (); below.
83194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83195 <limits.h> exists even on freestanding compilers. */
83197 #ifdef __STDC__
83198 # include <limits.h>
83199 #else
83200 # include <assert.h>
83201 #endif
83203 #undef $ac_func
83205 /* Override any gcc2 internal prototype to avoid an error. */
83206 #ifdef __cplusplus
83207 extern "C"
83209 #endif
83210 /* We use char because int might match the return type of a gcc2
83211 builtin and then its argument prototype would still apply. */
83212 char $ac_func ();
83213 /* The GNU C library defines this for functions which it implements
83214 to always fail with ENOSYS. Some functions are actually named
83215 something starting with __ and the normal name is an alias. */
83216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83217 choke me
83218 #else
83219 char (*f) () = $ac_func;
83220 #endif
83221 #ifdef __cplusplus
83223 #endif
83226 main ()
83228 return f != $ac_func;
83230 return 0;
83232 _ACEOF
83233 rm -f conftest.$ac_objext conftest$ac_exeext
83234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83235 (eval $ac_link) 2>conftest.er1
83236 ac_status=$?
83237 grep -v '^ *+' conftest.er1 >conftest.err
83238 rm -f conftest.er1
83239 cat conftest.err >&5
83240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83241 (exit $ac_status); } &&
83242 { ac_try='test -z "$ac_c_werror_flag"
83243 || test ! -s conftest.err'
83244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83245 (eval $ac_try) 2>&5
83246 ac_status=$?
83247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83248 (exit $ac_status); }; } &&
83249 { ac_try='test -s conftest$ac_exeext'
83250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83251 (eval $ac_try) 2>&5
83252 ac_status=$?
83253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83254 (exit $ac_status); }; }; then
83255 eval "$as_ac_var=yes"
83256 else
83257 echo "$as_me: failed program was:" >&5
83258 sed 's/^/| /' conftest.$ac_ext >&5
83260 eval "$as_ac_var=no"
83262 rm -f conftest.err conftest.$ac_objext \
83263 conftest$ac_exeext conftest.$ac_ext
83265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83267 if test `eval echo '${'$as_ac_var'}'` = yes; then
83268 cat >>confdefs.h <<_ACEOF
83269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83270 _ACEOF
83273 done
83281 echo "$as_me:$LINENO: checking for strtof declaration" >&5
83282 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
83283 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
83284 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
83285 echo $ECHO_N "(cached) $ECHO_C" >&6
83286 else
83290 ac_ext=cc
83291 ac_cpp='$CXXCPP $CPPFLAGS'
83292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83296 cat >conftest.$ac_ext <<_ACEOF
83297 /* confdefs.h. */
83298 _ACEOF
83299 cat confdefs.h >>conftest.$ac_ext
83300 cat >>conftest.$ac_ext <<_ACEOF
83301 /* end confdefs.h. */
83302 #include <stdlib.h>
83304 main ()
83306 strtof(0, 0);
83308 return 0;
83310 _ACEOF
83311 rm -f conftest.$ac_objext
83312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83313 (eval $ac_compile) 2>conftest.er1
83314 ac_status=$?
83315 grep -v '^ *+' conftest.er1 >conftest.err
83316 rm -f conftest.er1
83317 cat conftest.err >&5
83318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83319 (exit $ac_status); } &&
83320 { ac_try='test -z "$ac_cxx_werror_flag"
83321 || test ! -s conftest.err'
83322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83323 (eval $ac_try) 2>&5
83324 ac_status=$?
83325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83326 (exit $ac_status); }; } &&
83327 { ac_try='test -s conftest.$ac_objext'
83328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83329 (eval $ac_try) 2>&5
83330 ac_status=$?
83331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83332 (exit $ac_status); }; }; then
83333 glibcxx_cv_func_strtof_use=yes
83334 else
83335 echo "$as_me: failed program was:" >&5
83336 sed 's/^/| /' conftest.$ac_ext >&5
83338 glibcxx_cv_func_strtof_use=no
83340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83341 ac_ext=c
83342 ac_cpp='$CPP $CPPFLAGS'
83343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83351 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
83352 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
83353 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
83355 for ac_func in strtof
83357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83358 echo "$as_me:$LINENO: checking for $ac_func" >&5
83359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83360 if eval "test \"\${$as_ac_var+set}\" = set"; then
83361 echo $ECHO_N "(cached) $ECHO_C" >&6
83362 else
83363 if test x$gcc_no_link = xyes; then
83364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83366 { (exit 1); exit 1; }; }
83368 cat >conftest.$ac_ext <<_ACEOF
83369 /* confdefs.h. */
83370 _ACEOF
83371 cat confdefs.h >>conftest.$ac_ext
83372 cat >>conftest.$ac_ext <<_ACEOF
83373 /* end confdefs.h. */
83374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83376 #define $ac_func innocuous_$ac_func
83378 /* System header to define __stub macros and hopefully few prototypes,
83379 which can conflict with char $ac_func (); below.
83380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83381 <limits.h> exists even on freestanding compilers. */
83383 #ifdef __STDC__
83384 # include <limits.h>
83385 #else
83386 # include <assert.h>
83387 #endif
83389 #undef $ac_func
83391 /* Override any gcc2 internal prototype to avoid an error. */
83392 #ifdef __cplusplus
83393 extern "C"
83395 #endif
83396 /* We use char because int might match the return type of a gcc2
83397 builtin and then its argument prototype would still apply. */
83398 char $ac_func ();
83399 /* The GNU C library defines this for functions which it implements
83400 to always fail with ENOSYS. Some functions are actually named
83401 something starting with __ and the normal name is an alias. */
83402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83403 choke me
83404 #else
83405 char (*f) () = $ac_func;
83406 #endif
83407 #ifdef __cplusplus
83409 #endif
83412 main ()
83414 return f != $ac_func;
83416 return 0;
83418 _ACEOF
83419 rm -f conftest.$ac_objext conftest$ac_exeext
83420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83421 (eval $ac_link) 2>conftest.er1
83422 ac_status=$?
83423 grep -v '^ *+' conftest.er1 >conftest.err
83424 rm -f conftest.er1
83425 cat conftest.err >&5
83426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83427 (exit $ac_status); } &&
83428 { ac_try='test -z "$ac_c_werror_flag"
83429 || test ! -s conftest.err'
83430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83431 (eval $ac_try) 2>&5
83432 ac_status=$?
83433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83434 (exit $ac_status); }; } &&
83435 { ac_try='test -s conftest$ac_exeext'
83436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83437 (eval $ac_try) 2>&5
83438 ac_status=$?
83439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83440 (exit $ac_status); }; }; then
83441 eval "$as_ac_var=yes"
83442 else
83443 echo "$as_me: failed program was:" >&5
83444 sed 's/^/| /' conftest.$ac_ext >&5
83446 eval "$as_ac_var=no"
83448 rm -f conftest.err conftest.$ac_objext \
83449 conftest$ac_exeext conftest.$ac_ext
83451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83453 if test `eval echo '${'$as_ac_var'}'` = yes; then
83454 cat >>confdefs.h <<_ACEOF
83455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83456 _ACEOF
83459 done
83467 CXXFLAGS="$ac_save_CXXFLAGS"
83470 # For showmanyc_helper().
83473 for ac_header in sys/ioctl.h sys/filio.h
83475 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83477 echo "$as_me:$LINENO: checking for $ac_header" >&5
83478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83480 echo $ECHO_N "(cached) $ECHO_C" >&6
83482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83484 else
83485 # Is the header compilable?
83486 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83487 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83488 cat >conftest.$ac_ext <<_ACEOF
83489 /* confdefs.h. */
83490 _ACEOF
83491 cat confdefs.h >>conftest.$ac_ext
83492 cat >>conftest.$ac_ext <<_ACEOF
83493 /* end confdefs.h. */
83494 $ac_includes_default
83495 #include <$ac_header>
83496 _ACEOF
83497 rm -f conftest.$ac_objext
83498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83499 (eval $ac_compile) 2>conftest.er1
83500 ac_status=$?
83501 grep -v '^ *+' conftest.er1 >conftest.err
83502 rm -f conftest.er1
83503 cat conftest.err >&5
83504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83505 (exit $ac_status); } &&
83506 { ac_try='test -z "$ac_c_werror_flag"
83507 || test ! -s conftest.err'
83508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83509 (eval $ac_try) 2>&5
83510 ac_status=$?
83511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83512 (exit $ac_status); }; } &&
83513 { ac_try='test -s conftest.$ac_objext'
83514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83515 (eval $ac_try) 2>&5
83516 ac_status=$?
83517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83518 (exit $ac_status); }; }; then
83519 ac_header_compiler=yes
83520 else
83521 echo "$as_me: failed program was:" >&5
83522 sed 's/^/| /' conftest.$ac_ext >&5
83524 ac_header_compiler=no
83526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83527 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83528 echo "${ECHO_T}$ac_header_compiler" >&6
83530 # Is the header present?
83531 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83532 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83533 cat >conftest.$ac_ext <<_ACEOF
83534 /* confdefs.h. */
83535 _ACEOF
83536 cat confdefs.h >>conftest.$ac_ext
83537 cat >>conftest.$ac_ext <<_ACEOF
83538 /* end confdefs.h. */
83539 #include <$ac_header>
83540 _ACEOF
83541 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83542 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83543 ac_status=$?
83544 grep -v '^ *+' conftest.er1 >conftest.err
83545 rm -f conftest.er1
83546 cat conftest.err >&5
83547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83548 (exit $ac_status); } >/dev/null; then
83549 if test -s conftest.err; then
83550 ac_cpp_err=$ac_c_preproc_warn_flag
83551 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83552 else
83553 ac_cpp_err=
83555 else
83556 ac_cpp_err=yes
83558 if test -z "$ac_cpp_err"; then
83559 ac_header_preproc=yes
83560 else
83561 echo "$as_me: failed program was:" >&5
83562 sed 's/^/| /' conftest.$ac_ext >&5
83564 ac_header_preproc=no
83566 rm -f conftest.err conftest.$ac_ext
83567 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83568 echo "${ECHO_T}$ac_header_preproc" >&6
83570 # So? What about this header?
83571 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83572 yes:no: )
83573 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83574 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83575 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83576 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83577 ac_header_preproc=yes
83579 no:yes:* )
83580 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83581 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83582 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83583 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83584 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83585 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83586 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83587 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83589 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83590 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83591 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83593 cat <<\_ASBOX
83594 ## ----------------------------------------- ##
83595 ## Report this to the package-unused lists. ##
83596 ## ----------------------------------------- ##
83597 _ASBOX
83599 sed "s/^/$as_me: WARNING: /" >&2
83601 esac
83602 echo "$as_me:$LINENO: checking for $ac_header" >&5
83603 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83604 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83605 echo $ECHO_N "(cached) $ECHO_C" >&6
83606 else
83607 eval "$as_ac_Header=\$ac_header_preproc"
83609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83610 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83613 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83614 cat >>confdefs.h <<_ACEOF
83615 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83616 _ACEOF
83620 done
83623 echo "$as_me:$LINENO: checking for poll" >&5
83624 echo $ECHO_N "checking for poll... $ECHO_C" >&6
83625 if test "${glibcxx_cv_POLL+set}" = set; then
83626 echo $ECHO_N "(cached) $ECHO_C" >&6
83627 else
83629 if test x$gcc_no_link = xyes; then
83630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83632 { (exit 1); exit 1; }; }
83634 cat >conftest.$ac_ext <<_ACEOF
83635 /* confdefs.h. */
83636 _ACEOF
83637 cat confdefs.h >>conftest.$ac_ext
83638 cat >>conftest.$ac_ext <<_ACEOF
83639 /* end confdefs.h. */
83640 #include <poll.h>
83642 main ()
83644 struct pollfd pfd[1];
83645 pfd[0].events = POLLIN;
83646 poll(pfd, 1, 0);
83648 return 0;
83650 _ACEOF
83651 rm -f conftest.$ac_objext conftest$ac_exeext
83652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83653 (eval $ac_link) 2>conftest.er1
83654 ac_status=$?
83655 grep -v '^ *+' conftest.er1 >conftest.err
83656 rm -f conftest.er1
83657 cat conftest.err >&5
83658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83659 (exit $ac_status); } &&
83660 { ac_try='test -z "$ac_c_werror_flag"
83661 || test ! -s conftest.err'
83662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83663 (eval $ac_try) 2>&5
83664 ac_status=$?
83665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83666 (exit $ac_status); }; } &&
83667 { ac_try='test -s conftest$ac_exeext'
83668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83669 (eval $ac_try) 2>&5
83670 ac_status=$?
83671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83672 (exit $ac_status); }; }; then
83673 glibcxx_cv_POLL=yes
83674 else
83675 echo "$as_me: failed program was:" >&5
83676 sed 's/^/| /' conftest.$ac_ext >&5
83678 glibcxx_cv_POLL=no
83680 rm -f conftest.err conftest.$ac_objext \
83681 conftest$ac_exeext conftest.$ac_ext
83685 if test $glibcxx_cv_POLL = yes; then
83687 cat >>confdefs.h <<\_ACEOF
83688 #define HAVE_POLL 1
83689 _ACEOF
83692 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
83693 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
83696 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
83697 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
83698 if test "${glibcxx_cv_S_ISREG+set}" = set; then
83699 echo $ECHO_N "(cached) $ECHO_C" >&6
83700 else
83702 if test x$gcc_no_link = xyes; then
83703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83705 { (exit 1); exit 1; }; }
83707 cat >conftest.$ac_ext <<_ACEOF
83708 /* confdefs.h. */
83709 _ACEOF
83710 cat confdefs.h >>conftest.$ac_ext
83711 cat >>conftest.$ac_ext <<_ACEOF
83712 /* end confdefs.h. */
83713 #include <sys/stat.h>
83715 main ()
83717 struct stat buffer;
83718 fstat(0, &buffer);
83719 S_ISREG(buffer.st_mode);
83721 return 0;
83723 _ACEOF
83724 rm -f conftest.$ac_objext conftest$ac_exeext
83725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83726 (eval $ac_link) 2>conftest.er1
83727 ac_status=$?
83728 grep -v '^ *+' conftest.er1 >conftest.err
83729 rm -f conftest.er1
83730 cat conftest.err >&5
83731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83732 (exit $ac_status); } &&
83733 { ac_try='test -z "$ac_c_werror_flag"
83734 || test ! -s conftest.err'
83735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83736 (eval $ac_try) 2>&5
83737 ac_status=$?
83738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83739 (exit $ac_status); }; } &&
83740 { ac_try='test -s conftest$ac_exeext'
83741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83742 (eval $ac_try) 2>&5
83743 ac_status=$?
83744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83745 (exit $ac_status); }; }; then
83746 glibcxx_cv_S_ISREG=yes
83747 else
83748 echo "$as_me: failed program was:" >&5
83749 sed 's/^/| /' conftest.$ac_ext >&5
83751 glibcxx_cv_S_ISREG=no
83753 rm -f conftest.err conftest.$ac_objext \
83754 conftest$ac_exeext conftest.$ac_ext
83758 if test "${glibcxx_cv_S_IFREG+set}" = set; then
83759 echo $ECHO_N "(cached) $ECHO_C" >&6
83760 else
83762 if test x$gcc_no_link = xyes; then
83763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83765 { (exit 1); exit 1; }; }
83767 cat >conftest.$ac_ext <<_ACEOF
83768 /* confdefs.h. */
83769 _ACEOF
83770 cat confdefs.h >>conftest.$ac_ext
83771 cat >>conftest.$ac_ext <<_ACEOF
83772 /* end confdefs.h. */
83773 #include <sys/stat.h>
83775 main ()
83777 struct stat buffer;
83778 fstat(0, &buffer);
83779 S_IFREG & buffer.st_mode;
83781 return 0;
83783 _ACEOF
83784 rm -f conftest.$ac_objext conftest$ac_exeext
83785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83786 (eval $ac_link) 2>conftest.er1
83787 ac_status=$?
83788 grep -v '^ *+' conftest.er1 >conftest.err
83789 rm -f conftest.er1
83790 cat conftest.err >&5
83791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83792 (exit $ac_status); } &&
83793 { ac_try='test -z "$ac_c_werror_flag"
83794 || test ! -s conftest.err'
83795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83796 (eval $ac_try) 2>&5
83797 ac_status=$?
83798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83799 (exit $ac_status); }; } &&
83800 { ac_try='test -s conftest$ac_exeext'
83801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83802 (eval $ac_try) 2>&5
83803 ac_status=$?
83804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83805 (exit $ac_status); }; }; then
83806 glibcxx_cv_S_IFREG=yes
83807 else
83808 echo "$as_me: failed program was:" >&5
83809 sed 's/^/| /' conftest.$ac_ext >&5
83811 glibcxx_cv_S_IFREG=no
83813 rm -f conftest.err conftest.$ac_objext \
83814 conftest$ac_exeext conftest.$ac_ext
83818 res=no
83819 if test $glibcxx_cv_S_ISREG = yes; then
83821 cat >>confdefs.h <<\_ACEOF
83822 #define HAVE_S_ISREG 1
83823 _ACEOF
83825 res=S_ISREG
83826 elif test $glibcxx_cv_S_IFREG = yes; then
83828 cat >>confdefs.h <<\_ACEOF
83829 #define HAVE_S_IFREG 1
83830 _ACEOF
83832 res=S_IFREG
83834 echo "$as_me:$LINENO: result: $res" >&5
83835 echo "${ECHO_T}$res" >&6
83838 # For xsputn_2().
83840 for ac_header in sys/uio.h
83842 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83843 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83844 echo "$as_me:$LINENO: checking for $ac_header" >&5
83845 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83846 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83847 echo $ECHO_N "(cached) $ECHO_C" >&6
83849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83850 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83851 else
83852 # Is the header compilable?
83853 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83854 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83855 cat >conftest.$ac_ext <<_ACEOF
83856 /* confdefs.h. */
83857 _ACEOF
83858 cat confdefs.h >>conftest.$ac_ext
83859 cat >>conftest.$ac_ext <<_ACEOF
83860 /* end confdefs.h. */
83861 $ac_includes_default
83862 #include <$ac_header>
83863 _ACEOF
83864 rm -f conftest.$ac_objext
83865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83866 (eval $ac_compile) 2>conftest.er1
83867 ac_status=$?
83868 grep -v '^ *+' conftest.er1 >conftest.err
83869 rm -f conftest.er1
83870 cat conftest.err >&5
83871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83872 (exit $ac_status); } &&
83873 { ac_try='test -z "$ac_c_werror_flag"
83874 || test ! -s conftest.err'
83875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83876 (eval $ac_try) 2>&5
83877 ac_status=$?
83878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83879 (exit $ac_status); }; } &&
83880 { ac_try='test -s conftest.$ac_objext'
83881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83882 (eval $ac_try) 2>&5
83883 ac_status=$?
83884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83885 (exit $ac_status); }; }; then
83886 ac_header_compiler=yes
83887 else
83888 echo "$as_me: failed program was:" >&5
83889 sed 's/^/| /' conftest.$ac_ext >&5
83891 ac_header_compiler=no
83893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83894 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83895 echo "${ECHO_T}$ac_header_compiler" >&6
83897 # Is the header present?
83898 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83899 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83900 cat >conftest.$ac_ext <<_ACEOF
83901 /* confdefs.h. */
83902 _ACEOF
83903 cat confdefs.h >>conftest.$ac_ext
83904 cat >>conftest.$ac_ext <<_ACEOF
83905 /* end confdefs.h. */
83906 #include <$ac_header>
83907 _ACEOF
83908 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83909 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83910 ac_status=$?
83911 grep -v '^ *+' conftest.er1 >conftest.err
83912 rm -f conftest.er1
83913 cat conftest.err >&5
83914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83915 (exit $ac_status); } >/dev/null; then
83916 if test -s conftest.err; then
83917 ac_cpp_err=$ac_c_preproc_warn_flag
83918 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83919 else
83920 ac_cpp_err=
83922 else
83923 ac_cpp_err=yes
83925 if test -z "$ac_cpp_err"; then
83926 ac_header_preproc=yes
83927 else
83928 echo "$as_me: failed program was:" >&5
83929 sed 's/^/| /' conftest.$ac_ext >&5
83931 ac_header_preproc=no
83933 rm -f conftest.err conftest.$ac_ext
83934 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83935 echo "${ECHO_T}$ac_header_preproc" >&6
83937 # So? What about this header?
83938 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83939 yes:no: )
83940 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83941 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83942 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83943 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83944 ac_header_preproc=yes
83946 no:yes:* )
83947 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83948 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83949 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83950 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83951 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83952 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83953 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83954 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83955 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83956 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83957 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83958 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83960 cat <<\_ASBOX
83961 ## ----------------------------------------- ##
83962 ## Report this to the package-unused lists. ##
83963 ## ----------------------------------------- ##
83964 _ASBOX
83966 sed "s/^/$as_me: WARNING: /" >&2
83968 esac
83969 echo "$as_me:$LINENO: checking for $ac_header" >&5
83970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83972 echo $ECHO_N "(cached) $ECHO_C" >&6
83973 else
83974 eval "$as_ac_Header=\$ac_header_preproc"
83976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83977 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83980 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83981 cat >>confdefs.h <<_ACEOF
83982 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83983 _ACEOF
83987 done
83990 echo "$as_me:$LINENO: checking for writev" >&5
83991 echo $ECHO_N "checking for writev... $ECHO_C" >&6
83992 if test "${glibcxx_cv_WRITEV+set}" = set; then
83993 echo $ECHO_N "(cached) $ECHO_C" >&6
83994 else
83996 if test x$gcc_no_link = xyes; then
83997 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83998 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83999 { (exit 1); exit 1; }; }
84001 cat >conftest.$ac_ext <<_ACEOF
84002 /* confdefs.h. */
84003 _ACEOF
84004 cat confdefs.h >>conftest.$ac_ext
84005 cat >>conftest.$ac_ext <<_ACEOF
84006 /* end confdefs.h. */
84007 #include <sys/uio.h>
84009 main ()
84011 struct iovec iov[2];
84012 writev(0, iov, 0);
84014 return 0;
84016 _ACEOF
84017 rm -f conftest.$ac_objext conftest$ac_exeext
84018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84019 (eval $ac_link) 2>conftest.er1
84020 ac_status=$?
84021 grep -v '^ *+' conftest.er1 >conftest.err
84022 rm -f conftest.er1
84023 cat conftest.err >&5
84024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84025 (exit $ac_status); } &&
84026 { ac_try='test -z "$ac_c_werror_flag"
84027 || test ! -s conftest.err'
84028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84029 (eval $ac_try) 2>&5
84030 ac_status=$?
84031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84032 (exit $ac_status); }; } &&
84033 { ac_try='test -s conftest$ac_exeext'
84034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84035 (eval $ac_try) 2>&5
84036 ac_status=$?
84037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84038 (exit $ac_status); }; }; then
84039 glibcxx_cv_WRITEV=yes
84040 else
84041 echo "$as_me: failed program was:" >&5
84042 sed 's/^/| /' conftest.$ac_ext >&5
84044 glibcxx_cv_WRITEV=no
84046 rm -f conftest.err conftest.$ac_objext \
84047 conftest$ac_exeext conftest.$ac_ext
84051 if test $glibcxx_cv_WRITEV = yes; then
84053 cat >>confdefs.h <<\_ACEOF
84054 #define HAVE_WRITEV 1
84055 _ACEOF
84058 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
84059 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
84062 cat >>confdefs.h <<\_ACEOF
84063 #define HAVE_LC_MESSAGES 1
84064 _ACEOF
84067 cat >conftest.$ac_ext <<_ACEOF
84068 /* confdefs.h. */
84069 _ACEOF
84070 cat confdefs.h >>conftest.$ac_ext
84071 cat >>conftest.$ac_ext <<_ACEOF
84072 /* end confdefs.h. */
84073 #include <setjmp.h>
84075 main ()
84077 sigjmp_buf env;
84078 while (! sigsetjmp (env, 1))
84079 siglongjmp (env, 1);
84082 return 0;
84084 _ACEOF
84085 rm -f conftest.$ac_objext
84086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84087 (eval $ac_compile) 2>conftest.er1
84088 ac_status=$?
84089 grep -v '^ *+' conftest.er1 >conftest.err
84090 rm -f conftest.er1
84091 cat conftest.err >&5
84092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84093 (exit $ac_status); } &&
84094 { ac_try='test -z "$ac_c_werror_flag"
84095 || test ! -s conftest.err'
84096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84097 (eval $ac_try) 2>&5
84098 ac_status=$?
84099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84100 (exit $ac_status); }; } &&
84101 { ac_try='test -s conftest.$ac_objext'
84102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84103 (eval $ac_try) 2>&5
84104 ac_status=$?
84105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84106 (exit $ac_status); }; }; then
84108 cat >>confdefs.h <<\_ACEOF
84109 #define HAVE_SIGSETJMP 1
84110 _ACEOF
84112 else
84113 echo "$as_me: failed program was:" >&5
84114 sed 's/^/| /' conftest.$ac_ext >&5
84117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84119 cat >>confdefs.h <<\_ACEOF
84120 #define HAVE_MMAP 1
84121 _ACEOF
84125 *djgpp)
84146 for ac_header in float.h ieeefp.h inttypes.h locale.h \
84147 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
84148 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
84149 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
84151 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84152 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84153 echo "$as_me:$LINENO: checking for $ac_header" >&5
84154 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84155 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84156 echo $ECHO_N "(cached) $ECHO_C" >&6
84158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84159 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84160 else
84161 # Is the header compilable?
84162 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84163 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84164 cat >conftest.$ac_ext <<_ACEOF
84165 /* confdefs.h. */
84166 _ACEOF
84167 cat confdefs.h >>conftest.$ac_ext
84168 cat >>conftest.$ac_ext <<_ACEOF
84169 /* end confdefs.h. */
84170 $ac_includes_default
84171 #include <$ac_header>
84172 _ACEOF
84173 rm -f conftest.$ac_objext
84174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84175 (eval $ac_compile) 2>conftest.er1
84176 ac_status=$?
84177 grep -v '^ *+' conftest.er1 >conftest.err
84178 rm -f conftest.er1
84179 cat conftest.err >&5
84180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84181 (exit $ac_status); } &&
84182 { ac_try='test -z "$ac_c_werror_flag"
84183 || test ! -s conftest.err'
84184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84185 (eval $ac_try) 2>&5
84186 ac_status=$?
84187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84188 (exit $ac_status); }; } &&
84189 { ac_try='test -s conftest.$ac_objext'
84190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84191 (eval $ac_try) 2>&5
84192 ac_status=$?
84193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84194 (exit $ac_status); }; }; then
84195 ac_header_compiler=yes
84196 else
84197 echo "$as_me: failed program was:" >&5
84198 sed 's/^/| /' conftest.$ac_ext >&5
84200 ac_header_compiler=no
84202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84203 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84204 echo "${ECHO_T}$ac_header_compiler" >&6
84206 # Is the header present?
84207 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84208 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84209 cat >conftest.$ac_ext <<_ACEOF
84210 /* confdefs.h. */
84211 _ACEOF
84212 cat confdefs.h >>conftest.$ac_ext
84213 cat >>conftest.$ac_ext <<_ACEOF
84214 /* end confdefs.h. */
84215 #include <$ac_header>
84216 _ACEOF
84217 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84218 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84219 ac_status=$?
84220 grep -v '^ *+' conftest.er1 >conftest.err
84221 rm -f conftest.er1
84222 cat conftest.err >&5
84223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84224 (exit $ac_status); } >/dev/null; then
84225 if test -s conftest.err; then
84226 ac_cpp_err=$ac_c_preproc_warn_flag
84227 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84228 else
84229 ac_cpp_err=
84231 else
84232 ac_cpp_err=yes
84234 if test -z "$ac_cpp_err"; then
84235 ac_header_preproc=yes
84236 else
84237 echo "$as_me: failed program was:" >&5
84238 sed 's/^/| /' conftest.$ac_ext >&5
84240 ac_header_preproc=no
84242 rm -f conftest.err conftest.$ac_ext
84243 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84244 echo "${ECHO_T}$ac_header_preproc" >&6
84246 # So? What about this header?
84247 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84248 yes:no: )
84249 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84250 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84252 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84253 ac_header_preproc=yes
84255 no:yes:* )
84256 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84257 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84258 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84259 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84260 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84261 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84262 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84263 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84264 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84265 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84266 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84267 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84269 cat <<\_ASBOX
84270 ## ----------------------------------------- ##
84271 ## Report this to the package-unused lists. ##
84272 ## ----------------------------------------- ##
84273 _ASBOX
84275 sed "s/^/$as_me: WARNING: /" >&2
84277 esac
84278 echo "$as_me:$LINENO: checking for $ac_header" >&5
84279 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84280 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84281 echo $ECHO_N "(cached) $ECHO_C" >&6
84282 else
84283 eval "$as_ac_Header=\$ac_header_preproc"
84285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84286 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84289 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84290 cat >>confdefs.h <<_ACEOF
84291 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84292 _ACEOF
84296 done
84298 # GLIBCXX_CHECK_MATH_SUPPORT
84299 cat >>confdefs.h <<\_ACEOF
84300 #define HAVE_LIBM 1
84301 _ACEOF
84303 cat >>confdefs.h <<\_ACEOF
84304 #define HAVE_ISINF 1
84305 _ACEOF
84307 cat >>confdefs.h <<\_ACEOF
84308 #define HAVE_ISNAN 1
84309 _ACEOF
84311 cat >>confdefs.h <<\_ACEOF
84312 #define HAVE_FINITE 1
84313 _ACEOF
84315 cat >>confdefs.h <<\_ACEOF
84316 #define HAVE_COPYSIGN 1
84317 _ACEOF
84319 cat >>confdefs.h <<\_ACEOF
84320 #define HAVE_SINCOS 1
84321 _ACEOF
84323 cat >>confdefs.h <<\_ACEOF
84324 #define HAVE_HYPOT 1
84325 _ACEOF
84327 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
84328 cat >>confdefs.h <<\_ACEOF
84329 #define HAVE___BUILTIN_ABS 1
84330 _ACEOF
84332 cat >>confdefs.h <<\_ACEOF
84333 #define HAVE___BUILTIN_FABSF 1
84334 _ACEOF
84336 cat >>confdefs.h <<\_ACEOF
84337 #define HAVE___BUILTIN_FABS 1
84338 _ACEOF
84340 cat >>confdefs.h <<\_ACEOF
84341 #define HAVE___BUILTIN_FABSL 1
84342 _ACEOF
84344 cat >>confdefs.h <<\_ACEOF
84345 #define HAVE___BUILTIN_LABS 1
84346 _ACEOF
84348 cat >>confdefs.h <<\_ACEOF
84349 #define HAVE___BUILTIN_SQRTF 1
84350 _ACEOF
84352 cat >>confdefs.h <<\_ACEOF
84353 #define HAVE___BUILTIN_SQRT 1
84354 _ACEOF
84356 cat >>confdefs.h <<\_ACEOF
84357 #define HAVE___BUILTIN_SQRTL 1
84358 _ACEOF
84360 cat >>confdefs.h <<\_ACEOF
84361 #define HAVE___BUILTIN_SINF 1
84362 _ACEOF
84364 cat >>confdefs.h <<\_ACEOF
84365 #define HAVE___BUILTIN_SIN 1
84366 _ACEOF
84368 cat >>confdefs.h <<\_ACEOF
84369 #define HAVE___BUILTIN_SINL 1
84370 _ACEOF
84372 cat >>confdefs.h <<\_ACEOF
84373 #define HAVE___BUILTIN_COSF 1
84374 _ACEOF
84376 cat >>confdefs.h <<\_ACEOF
84377 #define HAVE___BUILTIN_COS 1
84378 _ACEOF
84380 cat >>confdefs.h <<\_ACEOF
84381 #define HAVE___BUILTIN_COSL 1
84382 _ACEOF
84384 # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
84385 # GLIBCXX_CHECK_STDLIB_SUPPORT
84386 cat >>confdefs.h <<\_ACEOF
84387 #define HAVE_COPYSIGN 1
84388 _ACEOF
84390 cat >>confdefs.h <<\_ACEOF
84391 #define HAVE_COPYSIGNF 1
84392 _ACEOF
84394 # GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
84395 cat >>confdefs.h <<\_ACEOF
84396 #define HAVE_S_ISREG 1
84397 _ACEOF
84399 cat >>confdefs.h <<\_ACEOF
84400 #define HAVE_S_IFREG 1
84401 _ACEOF
84403 cat >>confdefs.h <<\_ACEOF
84404 #define HAVE_WRITEV 1
84405 _ACEOF
84409 *-freebsd*)
84426 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
84427 machine/endian.h machine/param.h sys/machine.h sys/types.h \
84428 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
84429 sys/time.h unistd.h
84431 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84432 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84433 echo "$as_me:$LINENO: checking for $ac_header" >&5
84434 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84435 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84436 echo $ECHO_N "(cached) $ECHO_C" >&6
84438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84439 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84440 else
84441 # Is the header compilable?
84442 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84443 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84444 cat >conftest.$ac_ext <<_ACEOF
84445 /* confdefs.h. */
84446 _ACEOF
84447 cat confdefs.h >>conftest.$ac_ext
84448 cat >>conftest.$ac_ext <<_ACEOF
84449 /* end confdefs.h. */
84450 $ac_includes_default
84451 #include <$ac_header>
84452 _ACEOF
84453 rm -f conftest.$ac_objext
84454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84455 (eval $ac_compile) 2>conftest.er1
84456 ac_status=$?
84457 grep -v '^ *+' conftest.er1 >conftest.err
84458 rm -f conftest.er1
84459 cat conftest.err >&5
84460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84461 (exit $ac_status); } &&
84462 { ac_try='test -z "$ac_c_werror_flag"
84463 || test ! -s conftest.err'
84464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84465 (eval $ac_try) 2>&5
84466 ac_status=$?
84467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84468 (exit $ac_status); }; } &&
84469 { ac_try='test -s conftest.$ac_objext'
84470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84471 (eval $ac_try) 2>&5
84472 ac_status=$?
84473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84474 (exit $ac_status); }; }; then
84475 ac_header_compiler=yes
84476 else
84477 echo "$as_me: failed program was:" >&5
84478 sed 's/^/| /' conftest.$ac_ext >&5
84480 ac_header_compiler=no
84482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84483 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84484 echo "${ECHO_T}$ac_header_compiler" >&6
84486 # Is the header present?
84487 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84488 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84489 cat >conftest.$ac_ext <<_ACEOF
84490 /* confdefs.h. */
84491 _ACEOF
84492 cat confdefs.h >>conftest.$ac_ext
84493 cat >>conftest.$ac_ext <<_ACEOF
84494 /* end confdefs.h. */
84495 #include <$ac_header>
84496 _ACEOF
84497 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84498 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84499 ac_status=$?
84500 grep -v '^ *+' conftest.er1 >conftest.err
84501 rm -f conftest.er1
84502 cat conftest.err >&5
84503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84504 (exit $ac_status); } >/dev/null; then
84505 if test -s conftest.err; then
84506 ac_cpp_err=$ac_c_preproc_warn_flag
84507 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84508 else
84509 ac_cpp_err=
84511 else
84512 ac_cpp_err=yes
84514 if test -z "$ac_cpp_err"; then
84515 ac_header_preproc=yes
84516 else
84517 echo "$as_me: failed program was:" >&5
84518 sed 's/^/| /' conftest.$ac_ext >&5
84520 ac_header_preproc=no
84522 rm -f conftest.err conftest.$ac_ext
84523 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84524 echo "${ECHO_T}$ac_header_preproc" >&6
84526 # So? What about this header?
84527 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84528 yes:no: )
84529 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84530 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84531 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84532 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84533 ac_header_preproc=yes
84535 no:yes:* )
84536 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84537 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84538 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84539 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84540 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84541 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84542 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84543 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84544 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84545 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84546 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84547 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84549 cat <<\_ASBOX
84550 ## ----------------------------------------- ##
84551 ## Report this to the package-unused lists. ##
84552 ## ----------------------------------------- ##
84553 _ASBOX
84555 sed "s/^/$as_me: WARNING: /" >&2
84557 esac
84558 echo "$as_me:$LINENO: checking for $ac_header" >&5
84559 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84561 echo $ECHO_N "(cached) $ECHO_C" >&6
84562 else
84563 eval "$as_ac_Header=\$ac_header_preproc"
84565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84566 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84569 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84570 cat >>confdefs.h <<_ACEOF
84571 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84572 _ACEOF
84576 done
84578 SECTION_FLAGS='-ffunction-sections -fdata-sections'
84581 # If we're not using GNU ld, then there's no point in even trying these
84582 # tests. Check for that first. We should have already tested for gld
84583 # by now (in libtool), but require it now just to be safe...
84584 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
84585 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
84589 # The name set by libtool depends on the version of libtool. Shame on us
84590 # for depending on an impl detail, but c'est la vie. Older versions used
84591 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
84592 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
84593 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
84594 # set (hence we're using an older libtool), then set it.
84595 if test x${with_gnu_ld+set} != xset; then
84596 if test x${ac_cv_prog_gnu_ld+set} != xset; then
84597 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
84598 with_gnu_ld=no
84599 else
84600 with_gnu_ld=$ac_cv_prog_gnu_ld
84604 # Start by getting the version number. I think the libtool test already
84605 # does some of this, but throws away the result.
84606 if test x"$with_gnu_ld" = x"yes"; then
84607 echo "$as_me:$LINENO: checking for ld version" >&5
84608 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
84610 ldver=`$LD --version 2>/dev/null | head -1 | \
84611 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
84613 glibcxx_gnu_ld_version=`echo $ldver | \
84614 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
84615 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
84616 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
84619 # Set --gc-sections.
84620 glibcxx_gcsections_min_ld=21602
84621 if test x"$with_gnu_ld" = x"yes" &&
84622 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
84624 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
84625 # NB: This flag only works reliably after 2.16.1. Configure tests
84626 # for this are difficult, so hard wire a value that should work.
84628 ac_test_CFLAGS="${CFLAGS+set}"
84629 ac_save_CFLAGS="$CFLAGS"
84630 CFLAGS='-Wl,--gc-sections'
84632 # Check for -Wl,--gc-sections
84633 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
84634 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
84635 if test x$gcc_no_link = xyes; then
84636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84638 { (exit 1); exit 1; }; }
84640 cat >conftest.$ac_ext <<_ACEOF
84641 /* confdefs.h. */
84642 _ACEOF
84643 cat confdefs.h >>conftest.$ac_ext
84644 cat >>conftest.$ac_ext <<_ACEOF
84645 /* end confdefs.h. */
84646 int one(void) { return 1; }
84647 int two(void) { return 2; }
84650 main ()
84652 two();
84654 return 0;
84656 _ACEOF
84657 rm -f conftest.$ac_objext conftest$ac_exeext
84658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84659 (eval $ac_link) 2>conftest.er1
84660 ac_status=$?
84661 grep -v '^ *+' conftest.er1 >conftest.err
84662 rm -f conftest.er1
84663 cat conftest.err >&5
84664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84665 (exit $ac_status); } &&
84666 { ac_try='test -z "$ac_c_werror_flag"
84667 || test ! -s conftest.err'
84668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84669 (eval $ac_try) 2>&5
84670 ac_status=$?
84671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84672 (exit $ac_status); }; } &&
84673 { ac_try='test -s conftest$ac_exeext'
84674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84675 (eval $ac_try) 2>&5
84676 ac_status=$?
84677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84678 (exit $ac_status); }; }; then
84679 ac_gcsections=yes
84680 else
84681 echo "$as_me: failed program was:" >&5
84682 sed 's/^/| /' conftest.$ac_ext >&5
84684 ac_gcsections=no
84686 rm -f conftest.err conftest.$ac_objext \
84687 conftest$ac_exeext conftest.$ac_ext
84688 if test "$ac_gcsections" = "yes"; then
84689 rm -f conftest.c
84690 touch conftest.c
84691 if $CC -c conftest.c; then
84692 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
84693 grep "Warning: gc-sections option ignored" > /dev/null; then
84694 ac_gcsections=no
84697 rm -f conftest.c conftest.o conftest
84699 if test "$ac_gcsections" = "yes"; then
84700 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
84702 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
84703 echo "${ECHO_T}$ac_gcsections" >&6
84705 if test "$ac_test_CFLAGS" = set; then
84706 CFLAGS="$ac_save_CFLAGS"
84707 else
84708 # this is the suspicious part
84709 CFLAGS=''
84713 # Set -z,relro.
84714 # Note this is only for shared objects.
84715 ac_ld_relro=no
84716 if test x"$with_gnu_ld" = x"yes"; then
84717 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
84718 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
84719 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
84720 if test -n "$cxx_z_relo"; then
84721 OPT_LDFLAGS="-Wl,-z,relro"
84722 ac_ld_relro=yes
84724 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
84725 echo "${ECHO_T}$ac_ld_relro" >&6
84728 # Set linker optimization flags.
84729 if test x"$with_gnu_ld" = x"yes"; then
84730 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
84738 echo "$as_me:$LINENO: checking for main in -lm" >&5
84739 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
84740 if test "${ac_cv_lib_m_main+set}" = set; then
84741 echo $ECHO_N "(cached) $ECHO_C" >&6
84742 else
84743 ac_check_lib_save_LIBS=$LIBS
84744 LIBS="-lm $LIBS"
84745 if test x$gcc_no_link = xyes; then
84746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84748 { (exit 1); exit 1; }; }
84750 cat >conftest.$ac_ext <<_ACEOF
84751 /* confdefs.h. */
84752 _ACEOF
84753 cat confdefs.h >>conftest.$ac_ext
84754 cat >>conftest.$ac_ext <<_ACEOF
84755 /* end confdefs.h. */
84759 main ()
84761 main ();
84763 return 0;
84765 _ACEOF
84766 rm -f conftest.$ac_objext conftest$ac_exeext
84767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84768 (eval $ac_link) 2>conftest.er1
84769 ac_status=$?
84770 grep -v '^ *+' conftest.er1 >conftest.err
84771 rm -f conftest.er1
84772 cat conftest.err >&5
84773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84774 (exit $ac_status); } &&
84775 { ac_try='test -z "$ac_c_werror_flag"
84776 || test ! -s conftest.err'
84777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84778 (eval $ac_try) 2>&5
84779 ac_status=$?
84780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84781 (exit $ac_status); }; } &&
84782 { ac_try='test -s conftest$ac_exeext'
84783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84784 (eval $ac_try) 2>&5
84785 ac_status=$?
84786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84787 (exit $ac_status); }; }; then
84788 ac_cv_lib_m_main=yes
84789 else
84790 echo "$as_me: failed program was:" >&5
84791 sed 's/^/| /' conftest.$ac_ext >&5
84793 ac_cv_lib_m_main=no
84795 rm -f conftest.err conftest.$ac_objext \
84796 conftest$ac_exeext conftest.$ac_ext
84797 LIBS=$ac_check_lib_save_LIBS
84799 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
84800 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
84801 if test $ac_cv_lib_m_main = yes; then
84802 cat >>confdefs.h <<_ACEOF
84803 #define HAVE_LIBM 1
84804 _ACEOF
84806 LIBS="-lm $LIBS"
84811 for ac_func in copysignf
84813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84814 echo "$as_me:$LINENO: checking for $ac_func" >&5
84815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84816 if eval "test \"\${$as_ac_var+set}\" = set"; then
84817 echo $ECHO_N "(cached) $ECHO_C" >&6
84818 else
84819 if test x$gcc_no_link = xyes; then
84820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84822 { (exit 1); exit 1; }; }
84824 cat >conftest.$ac_ext <<_ACEOF
84825 /* confdefs.h. */
84826 _ACEOF
84827 cat confdefs.h >>conftest.$ac_ext
84828 cat >>conftest.$ac_ext <<_ACEOF
84829 /* end confdefs.h. */
84830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84832 #define $ac_func innocuous_$ac_func
84834 /* System header to define __stub macros and hopefully few prototypes,
84835 which can conflict with char $ac_func (); below.
84836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84837 <limits.h> exists even on freestanding compilers. */
84839 #ifdef __STDC__
84840 # include <limits.h>
84841 #else
84842 # include <assert.h>
84843 #endif
84845 #undef $ac_func
84847 /* Override any gcc2 internal prototype to avoid an error. */
84848 #ifdef __cplusplus
84849 extern "C"
84851 #endif
84852 /* We use char because int might match the return type of a gcc2
84853 builtin and then its argument prototype would still apply. */
84854 char $ac_func ();
84855 /* The GNU C library defines this for functions which it implements
84856 to always fail with ENOSYS. Some functions are actually named
84857 something starting with __ and the normal name is an alias. */
84858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84859 choke me
84860 #else
84861 char (*f) () = $ac_func;
84862 #endif
84863 #ifdef __cplusplus
84865 #endif
84868 main ()
84870 return f != $ac_func;
84872 return 0;
84874 _ACEOF
84875 rm -f conftest.$ac_objext conftest$ac_exeext
84876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84877 (eval $ac_link) 2>conftest.er1
84878 ac_status=$?
84879 grep -v '^ *+' conftest.er1 >conftest.err
84880 rm -f conftest.er1
84881 cat conftest.err >&5
84882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84883 (exit $ac_status); } &&
84884 { ac_try='test -z "$ac_c_werror_flag"
84885 || test ! -s conftest.err'
84886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84887 (eval $ac_try) 2>&5
84888 ac_status=$?
84889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84890 (exit $ac_status); }; } &&
84891 { ac_try='test -s conftest$ac_exeext'
84892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84893 (eval $ac_try) 2>&5
84894 ac_status=$?
84895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84896 (exit $ac_status); }; }; then
84897 eval "$as_ac_var=yes"
84898 else
84899 echo "$as_me: failed program was:" >&5
84900 sed 's/^/| /' conftest.$ac_ext >&5
84902 eval "$as_ac_var=no"
84904 rm -f conftest.err conftest.$ac_objext \
84905 conftest$ac_exeext conftest.$ac_ext
84907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84909 if test `eval echo '${'$as_ac_var'}'` = yes; then
84910 cat >>confdefs.h <<_ACEOF
84911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84912 _ACEOF
84914 else
84915 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
84917 done
84921 for ac_func in __signbit
84923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84924 echo "$as_me:$LINENO: checking for $ac_func" >&5
84925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84926 if eval "test \"\${$as_ac_var+set}\" = set"; then
84927 echo $ECHO_N "(cached) $ECHO_C" >&6
84928 else
84929 if test x$gcc_no_link = xyes; then
84930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84932 { (exit 1); exit 1; }; }
84934 cat >conftest.$ac_ext <<_ACEOF
84935 /* confdefs.h. */
84936 _ACEOF
84937 cat confdefs.h >>conftest.$ac_ext
84938 cat >>conftest.$ac_ext <<_ACEOF
84939 /* end confdefs.h. */
84940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84942 #define $ac_func innocuous_$ac_func
84944 /* System header to define __stub macros and hopefully few prototypes,
84945 which can conflict with char $ac_func (); below.
84946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84947 <limits.h> exists even on freestanding compilers. */
84949 #ifdef __STDC__
84950 # include <limits.h>
84951 #else
84952 # include <assert.h>
84953 #endif
84955 #undef $ac_func
84957 /* Override any gcc2 internal prototype to avoid an error. */
84958 #ifdef __cplusplus
84959 extern "C"
84961 #endif
84962 /* We use char because int might match the return type of a gcc2
84963 builtin and then its argument prototype would still apply. */
84964 char $ac_func ();
84965 /* The GNU C library defines this for functions which it implements
84966 to always fail with ENOSYS. Some functions are actually named
84967 something starting with __ and the normal name is an alias. */
84968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84969 choke me
84970 #else
84971 char (*f) () = $ac_func;
84972 #endif
84973 #ifdef __cplusplus
84975 #endif
84978 main ()
84980 return f != $ac_func;
84982 return 0;
84984 _ACEOF
84985 rm -f conftest.$ac_objext conftest$ac_exeext
84986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84987 (eval $ac_link) 2>conftest.er1
84988 ac_status=$?
84989 grep -v '^ *+' conftest.er1 >conftest.err
84990 rm -f conftest.er1
84991 cat conftest.err >&5
84992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84993 (exit $ac_status); } &&
84994 { ac_try='test -z "$ac_c_werror_flag"
84995 || test ! -s conftest.err'
84996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84997 (eval $ac_try) 2>&5
84998 ac_status=$?
84999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85000 (exit $ac_status); }; } &&
85001 { ac_try='test -s conftest$ac_exeext'
85002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85003 (eval $ac_try) 2>&5
85004 ac_status=$?
85005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85006 (exit $ac_status); }; }; then
85007 eval "$as_ac_var=yes"
85008 else
85009 echo "$as_me: failed program was:" >&5
85010 sed 's/^/| /' conftest.$ac_ext >&5
85012 eval "$as_ac_var=no"
85014 rm -f conftest.err conftest.$ac_objext \
85015 conftest$ac_exeext conftest.$ac_ext
85017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85019 if test `eval echo '${'$as_ac_var'}'` = yes; then
85020 cat >>confdefs.h <<_ACEOF
85021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85022 _ACEOF
85024 else
85025 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
85027 done
85031 for ac_func in __signbitf
85033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85034 echo "$as_me:$LINENO: checking for $ac_func" >&5
85035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85036 if eval "test \"\${$as_ac_var+set}\" = set"; then
85037 echo $ECHO_N "(cached) $ECHO_C" >&6
85038 else
85039 if test x$gcc_no_link = xyes; then
85040 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85041 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85042 { (exit 1); exit 1; }; }
85044 cat >conftest.$ac_ext <<_ACEOF
85045 /* confdefs.h. */
85046 _ACEOF
85047 cat confdefs.h >>conftest.$ac_ext
85048 cat >>conftest.$ac_ext <<_ACEOF
85049 /* end confdefs.h. */
85050 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85051 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85052 #define $ac_func innocuous_$ac_func
85054 /* System header to define __stub macros and hopefully few prototypes,
85055 which can conflict with char $ac_func (); below.
85056 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85057 <limits.h> exists even on freestanding compilers. */
85059 #ifdef __STDC__
85060 # include <limits.h>
85061 #else
85062 # include <assert.h>
85063 #endif
85065 #undef $ac_func
85067 /* Override any gcc2 internal prototype to avoid an error. */
85068 #ifdef __cplusplus
85069 extern "C"
85071 #endif
85072 /* We use char because int might match the return type of a gcc2
85073 builtin and then its argument prototype would still apply. */
85074 char $ac_func ();
85075 /* The GNU C library defines this for functions which it implements
85076 to always fail with ENOSYS. Some functions are actually named
85077 something starting with __ and the normal name is an alias. */
85078 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85079 choke me
85080 #else
85081 char (*f) () = $ac_func;
85082 #endif
85083 #ifdef __cplusplus
85085 #endif
85088 main ()
85090 return f != $ac_func;
85092 return 0;
85094 _ACEOF
85095 rm -f conftest.$ac_objext conftest$ac_exeext
85096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85097 (eval $ac_link) 2>conftest.er1
85098 ac_status=$?
85099 grep -v '^ *+' conftest.er1 >conftest.err
85100 rm -f conftest.er1
85101 cat conftest.err >&5
85102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85103 (exit $ac_status); } &&
85104 { ac_try='test -z "$ac_c_werror_flag"
85105 || test ! -s conftest.err'
85106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85107 (eval $ac_try) 2>&5
85108 ac_status=$?
85109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85110 (exit $ac_status); }; } &&
85111 { ac_try='test -s conftest$ac_exeext'
85112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85113 (eval $ac_try) 2>&5
85114 ac_status=$?
85115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85116 (exit $ac_status); }; }; then
85117 eval "$as_ac_var=yes"
85118 else
85119 echo "$as_me: failed program was:" >&5
85120 sed 's/^/| /' conftest.$ac_ext >&5
85122 eval "$as_ac_var=no"
85124 rm -f conftest.err conftest.$ac_objext \
85125 conftest$ac_exeext conftest.$ac_ext
85127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85128 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85129 if test `eval echo '${'$as_ac_var'}'` = yes; then
85130 cat >>confdefs.h <<_ACEOF
85131 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85132 _ACEOF
85134 else
85135 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
85137 done
85140 if test x$ac_cv_func_copysignl = x"yes"; then
85142 for ac_func in __signbitl
85144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85145 echo "$as_me:$LINENO: checking for $ac_func" >&5
85146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85147 if eval "test \"\${$as_ac_var+set}\" = set"; then
85148 echo $ECHO_N "(cached) $ECHO_C" >&6
85149 else
85150 if test x$gcc_no_link = xyes; then
85151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85153 { (exit 1); exit 1; }; }
85155 cat >conftest.$ac_ext <<_ACEOF
85156 /* confdefs.h. */
85157 _ACEOF
85158 cat confdefs.h >>conftest.$ac_ext
85159 cat >>conftest.$ac_ext <<_ACEOF
85160 /* end confdefs.h. */
85161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85163 #define $ac_func innocuous_$ac_func
85165 /* System header to define __stub macros and hopefully few prototypes,
85166 which can conflict with char $ac_func (); below.
85167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85168 <limits.h> exists even on freestanding compilers. */
85170 #ifdef __STDC__
85171 # include <limits.h>
85172 #else
85173 # include <assert.h>
85174 #endif
85176 #undef $ac_func
85178 /* Override any gcc2 internal prototype to avoid an error. */
85179 #ifdef __cplusplus
85180 extern "C"
85182 #endif
85183 /* We use char because int might match the return type of a gcc2
85184 builtin and then its argument prototype would still apply. */
85185 char $ac_func ();
85186 /* The GNU C library defines this for functions which it implements
85187 to always fail with ENOSYS. Some functions are actually named
85188 something starting with __ and the normal name is an alias. */
85189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85190 choke me
85191 #else
85192 char (*f) () = $ac_func;
85193 #endif
85194 #ifdef __cplusplus
85196 #endif
85199 main ()
85201 return f != $ac_func;
85203 return 0;
85205 _ACEOF
85206 rm -f conftest.$ac_objext conftest$ac_exeext
85207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85208 (eval $ac_link) 2>conftest.er1
85209 ac_status=$?
85210 grep -v '^ *+' conftest.er1 >conftest.err
85211 rm -f conftest.er1
85212 cat conftest.err >&5
85213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85214 (exit $ac_status); } &&
85215 { ac_try='test -z "$ac_c_werror_flag"
85216 || test ! -s conftest.err'
85217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85218 (eval $ac_try) 2>&5
85219 ac_status=$?
85220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85221 (exit $ac_status); }; } &&
85222 { ac_try='test -s conftest$ac_exeext'
85223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85224 (eval $ac_try) 2>&5
85225 ac_status=$?
85226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85227 (exit $ac_status); }; }; then
85228 eval "$as_ac_var=yes"
85229 else
85230 echo "$as_me: failed program was:" >&5
85231 sed 's/^/| /' conftest.$ac_ext >&5
85233 eval "$as_ac_var=no"
85235 rm -f conftest.err conftest.$ac_objext \
85236 conftest$ac_exeext conftest.$ac_ext
85238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85240 if test `eval echo '${'$as_ac_var'}'` = yes; then
85241 cat >>confdefs.h <<_ACEOF
85242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85243 _ACEOF
85245 else
85246 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
85248 done
85252 # Used in libmath/Makefile.am.
85253 if test -n "$LIBMATHOBJS"; then
85254 need_libmath=yes
85258 cat >>confdefs.h <<\_ACEOF
85259 #define HAVE_LC_MESSAGES 1
85260 _ACEOF
85262 cat >>confdefs.h <<\_ACEOF
85263 #define HAVE_GETPAGESIZE 1
85264 _ACEOF
85266 cat >>confdefs.h <<\_ACEOF
85267 #define HAVE_SETENV 1
85268 _ACEOF
85270 cat >>confdefs.h <<\_ACEOF
85271 #define HAVE_SIGSETJMP 1
85272 _ACEOF
85274 cat >>confdefs.h <<\_ACEOF
85275 #define HAVE_COPYSIGN 1
85276 _ACEOF
85278 cat >>confdefs.h <<\_ACEOF
85279 #define HAVE_COPYSIGNF 1
85280 _ACEOF
85282 cat >>confdefs.h <<\_ACEOF
85283 #define HAVE_FINITEF 1
85284 _ACEOF
85286 cat >>confdefs.h <<\_ACEOF
85287 #define HAVE_FINITE 1
85288 _ACEOF
85290 cat >>confdefs.h <<\_ACEOF
85291 #define HAVE_FREXPF 1
85292 _ACEOF
85294 cat >>confdefs.h <<\_ACEOF
85295 #define HAVE_HYPOT 1
85296 _ACEOF
85298 cat >>confdefs.h <<\_ACEOF
85299 #define HAVE_HYPOTF 1
85300 _ACEOF
85302 cat >>confdefs.h <<\_ACEOF
85303 #define HAVE_ISINF 1
85304 _ACEOF
85306 cat >>confdefs.h <<\_ACEOF
85307 #define HAVE_ISNAN 1
85308 _ACEOF
85310 cat >>confdefs.h <<\_ACEOF
85311 #define HAVE_ISNANF 1
85312 _ACEOF
85315 cat >>confdefs.h <<\_ACEOF
85316 #define HAVE_MMAP 1
85317 _ACEOF
85319 cat >>confdefs.h <<\_ACEOF
85320 #define HAVE_ACOSF 1
85321 _ACEOF
85323 cat >>confdefs.h <<\_ACEOF
85324 #define HAVE_ASINF 1
85325 _ACEOF
85327 cat >>confdefs.h <<\_ACEOF
85328 #define HAVE_ATAN2F 1
85329 _ACEOF
85331 cat >>confdefs.h <<\_ACEOF
85332 #define HAVE_ATANF 1
85333 _ACEOF
85335 cat >>confdefs.h <<\_ACEOF
85336 #define HAVE_CEILF 1
85337 _ACEOF
85339 cat >>confdefs.h <<\_ACEOF
85340 #define HAVE_COPYSIGN 1
85341 _ACEOF
85343 cat >>confdefs.h <<\_ACEOF
85344 #define HAVE_COPYSIGNF 1
85345 _ACEOF
85347 cat >>confdefs.h <<\_ACEOF
85348 #define HAVE_COSF 1
85349 _ACEOF
85351 cat >>confdefs.h <<\_ACEOF
85352 #define HAVE_COSHF 1
85353 _ACEOF
85355 cat >>confdefs.h <<\_ACEOF
85356 #define HAVE_EXPF 1
85357 _ACEOF
85359 cat >>confdefs.h <<\_ACEOF
85360 #define HAVE_FABSF 1
85361 _ACEOF
85363 cat >>confdefs.h <<\_ACEOF
85364 #define HAVE_FLOORF 1
85365 _ACEOF
85367 cat >>confdefs.h <<\_ACEOF
85368 #define HAVE_FMODF 1
85369 _ACEOF
85371 cat >>confdefs.h <<\_ACEOF
85372 #define HAVE_FREXPF 1
85373 _ACEOF
85375 cat >>confdefs.h <<\_ACEOF
85376 #define HAVE_LDEXPF 1
85377 _ACEOF
85379 cat >>confdefs.h <<\_ACEOF
85380 #define HAVE_LOG10F 1
85381 _ACEOF
85383 cat >>confdefs.h <<\_ACEOF
85384 #define HAVE_LOGF 1
85385 _ACEOF
85387 cat >>confdefs.h <<\_ACEOF
85388 #define HAVE_MODFF 1
85389 _ACEOF
85391 cat >>confdefs.h <<\_ACEOF
85392 #define HAVE_POWF 1
85393 _ACEOF
85395 cat >>confdefs.h <<\_ACEOF
85396 #define HAVE_SINF 1
85397 _ACEOF
85399 cat >>confdefs.h <<\_ACEOF
85400 #define HAVE_SINHF 1
85401 _ACEOF
85403 cat >>confdefs.h <<\_ACEOF
85404 #define HAVE_SQRTF 1
85405 _ACEOF
85407 cat >>confdefs.h <<\_ACEOF
85408 #define HAVE_TANF 1
85409 _ACEOF
85411 cat >>confdefs.h <<\_ACEOF
85412 #define HAVE_TANHF 1
85413 _ACEOF
85415 if test x"long_double_math_on_this_cpu" = x"yes"; then
85416 cat >>confdefs.h <<\_ACEOF
85417 #define HAVE_FINITEL 1
85418 _ACEOF
85420 cat >>confdefs.h <<\_ACEOF
85421 #define HAVE_ISINFL 1
85422 _ACEOF
85424 cat >>confdefs.h <<\_ACEOF
85425 #define HAVE_ISNANL 1
85426 _ACEOF
85430 *-hpux*)
85443 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
85444 machine/endian.h machine/param.h sys/machine.h sys/types.h \
85445 fp.h locale.h float.h inttypes.h
85447 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85449 echo "$as_me:$LINENO: checking for $ac_header" >&5
85450 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85451 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85452 echo $ECHO_N "(cached) $ECHO_C" >&6
85454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85455 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85456 else
85457 # Is the header compilable?
85458 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85459 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85460 cat >conftest.$ac_ext <<_ACEOF
85461 /* confdefs.h. */
85462 _ACEOF
85463 cat confdefs.h >>conftest.$ac_ext
85464 cat >>conftest.$ac_ext <<_ACEOF
85465 /* end confdefs.h. */
85466 $ac_includes_default
85467 #include <$ac_header>
85468 _ACEOF
85469 rm -f conftest.$ac_objext
85470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85471 (eval $ac_compile) 2>conftest.er1
85472 ac_status=$?
85473 grep -v '^ *+' conftest.er1 >conftest.err
85474 rm -f conftest.er1
85475 cat conftest.err >&5
85476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85477 (exit $ac_status); } &&
85478 { ac_try='test -z "$ac_c_werror_flag"
85479 || test ! -s conftest.err'
85480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85481 (eval $ac_try) 2>&5
85482 ac_status=$?
85483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85484 (exit $ac_status); }; } &&
85485 { ac_try='test -s conftest.$ac_objext'
85486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85487 (eval $ac_try) 2>&5
85488 ac_status=$?
85489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85490 (exit $ac_status); }; }; then
85491 ac_header_compiler=yes
85492 else
85493 echo "$as_me: failed program was:" >&5
85494 sed 's/^/| /' conftest.$ac_ext >&5
85496 ac_header_compiler=no
85498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85499 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85500 echo "${ECHO_T}$ac_header_compiler" >&6
85502 # Is the header present?
85503 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85504 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85505 cat >conftest.$ac_ext <<_ACEOF
85506 /* confdefs.h. */
85507 _ACEOF
85508 cat confdefs.h >>conftest.$ac_ext
85509 cat >>conftest.$ac_ext <<_ACEOF
85510 /* end confdefs.h. */
85511 #include <$ac_header>
85512 _ACEOF
85513 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85514 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85515 ac_status=$?
85516 grep -v '^ *+' conftest.er1 >conftest.err
85517 rm -f conftest.er1
85518 cat conftest.err >&5
85519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85520 (exit $ac_status); } >/dev/null; then
85521 if test -s conftest.err; then
85522 ac_cpp_err=$ac_c_preproc_warn_flag
85523 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85524 else
85525 ac_cpp_err=
85527 else
85528 ac_cpp_err=yes
85530 if test -z "$ac_cpp_err"; then
85531 ac_header_preproc=yes
85532 else
85533 echo "$as_me: failed program was:" >&5
85534 sed 's/^/| /' conftest.$ac_ext >&5
85536 ac_header_preproc=no
85538 rm -f conftest.err conftest.$ac_ext
85539 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85540 echo "${ECHO_T}$ac_header_preproc" >&6
85542 # So? What about this header?
85543 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85544 yes:no: )
85545 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85546 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85547 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85548 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85549 ac_header_preproc=yes
85551 no:yes:* )
85552 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85553 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85554 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85555 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85556 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85557 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85558 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85559 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85560 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85561 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85562 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85563 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85565 cat <<\_ASBOX
85566 ## ----------------------------------------- ##
85567 ## Report this to the package-unused lists. ##
85568 ## ----------------------------------------- ##
85569 _ASBOX
85571 sed "s/^/$as_me: WARNING: /" >&2
85573 esac
85574 echo "$as_me:$LINENO: checking for $ac_header" >&5
85575 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85576 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85577 echo $ECHO_N "(cached) $ECHO_C" >&6
85578 else
85579 eval "$as_ac_Header=\$ac_header_preproc"
85581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85582 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85585 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85586 cat >>confdefs.h <<_ACEOF
85587 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85588 _ACEOF
85592 done
85594 SECTION_FLAGS='-ffunction-sections -fdata-sections'
85597 # If we're not using GNU ld, then there's no point in even trying these
85598 # tests. Check for that first. We should have already tested for gld
85599 # by now (in libtool), but require it now just to be safe...
85600 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85601 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85605 # The name set by libtool depends on the version of libtool. Shame on us
85606 # for depending on an impl detail, but c'est la vie. Older versions used
85607 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85608 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85609 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
85610 # set (hence we're using an older libtool), then set it.
85611 if test x${with_gnu_ld+set} != xset; then
85612 if test x${ac_cv_prog_gnu_ld+set} != xset; then
85613 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
85614 with_gnu_ld=no
85615 else
85616 with_gnu_ld=$ac_cv_prog_gnu_ld
85620 # Start by getting the version number. I think the libtool test already
85621 # does some of this, but throws away the result.
85622 if test x"$with_gnu_ld" = x"yes"; then
85623 echo "$as_me:$LINENO: checking for ld version" >&5
85624 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
85626 ldver=`$LD --version 2>/dev/null | head -1 | \
85627 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
85629 glibcxx_gnu_ld_version=`echo $ldver | \
85630 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85631 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
85632 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
85635 # Set --gc-sections.
85636 glibcxx_gcsections_min_ld=21602
85637 if test x"$with_gnu_ld" = x"yes" &&
85638 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
85640 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
85641 # NB: This flag only works reliably after 2.16.1. Configure tests
85642 # for this are difficult, so hard wire a value that should work.
85644 ac_test_CFLAGS="${CFLAGS+set}"
85645 ac_save_CFLAGS="$CFLAGS"
85646 CFLAGS='-Wl,--gc-sections'
85648 # Check for -Wl,--gc-sections
85649 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85650 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85651 if test x$gcc_no_link = xyes; then
85652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85654 { (exit 1); exit 1; }; }
85656 cat >conftest.$ac_ext <<_ACEOF
85657 /* confdefs.h. */
85658 _ACEOF
85659 cat confdefs.h >>conftest.$ac_ext
85660 cat >>conftest.$ac_ext <<_ACEOF
85661 /* end confdefs.h. */
85662 int one(void) { return 1; }
85663 int two(void) { return 2; }
85666 main ()
85668 two();
85670 return 0;
85672 _ACEOF
85673 rm -f conftest.$ac_objext conftest$ac_exeext
85674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85675 (eval $ac_link) 2>conftest.er1
85676 ac_status=$?
85677 grep -v '^ *+' conftest.er1 >conftest.err
85678 rm -f conftest.er1
85679 cat conftest.err >&5
85680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85681 (exit $ac_status); } &&
85682 { ac_try='test -z "$ac_c_werror_flag"
85683 || test ! -s conftest.err'
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); }; } &&
85689 { ac_try='test -s conftest$ac_exeext'
85690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85691 (eval $ac_try) 2>&5
85692 ac_status=$?
85693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85694 (exit $ac_status); }; }; then
85695 ac_gcsections=yes
85696 else
85697 echo "$as_me: failed program was:" >&5
85698 sed 's/^/| /' conftest.$ac_ext >&5
85700 ac_gcsections=no
85702 rm -f conftest.err conftest.$ac_objext \
85703 conftest$ac_exeext conftest.$ac_ext
85704 if test "$ac_gcsections" = "yes"; then
85705 rm -f conftest.c
85706 touch conftest.c
85707 if $CC -c conftest.c; then
85708 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
85709 grep "Warning: gc-sections option ignored" > /dev/null; then
85710 ac_gcsections=no
85713 rm -f conftest.c conftest.o conftest
85715 if test "$ac_gcsections" = "yes"; then
85716 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85718 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
85719 echo "${ECHO_T}$ac_gcsections" >&6
85721 if test "$ac_test_CFLAGS" = set; then
85722 CFLAGS="$ac_save_CFLAGS"
85723 else
85724 # this is the suspicious part
85725 CFLAGS=''
85729 # Set -z,relro.
85730 # Note this is only for shared objects.
85731 ac_ld_relro=no
85732 if test x"$with_gnu_ld" = x"yes"; then
85733 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
85734 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
85735 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
85736 if test -n "$cxx_z_relo"; then
85737 OPT_LDFLAGS="-Wl,-z,relro"
85738 ac_ld_relro=yes
85740 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
85741 echo "${ECHO_T}$ac_ld_relro" >&6
85744 # Set linker optimization flags.
85745 if test x"$with_gnu_ld" = x"yes"; then
85746 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85754 echo "$as_me:$LINENO: checking for main in -lm" >&5
85755 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85756 if test "${ac_cv_lib_m_main+set}" = set; then
85757 echo $ECHO_N "(cached) $ECHO_C" >&6
85758 else
85759 ac_check_lib_save_LIBS=$LIBS
85760 LIBS="-lm $LIBS"
85761 if test x$gcc_no_link = xyes; then
85762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85764 { (exit 1); exit 1; }; }
85766 cat >conftest.$ac_ext <<_ACEOF
85767 /* confdefs.h. */
85768 _ACEOF
85769 cat confdefs.h >>conftest.$ac_ext
85770 cat >>conftest.$ac_ext <<_ACEOF
85771 /* end confdefs.h. */
85775 main ()
85777 main ();
85779 return 0;
85781 _ACEOF
85782 rm -f conftest.$ac_objext conftest$ac_exeext
85783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85784 (eval $ac_link) 2>conftest.er1
85785 ac_status=$?
85786 grep -v '^ *+' conftest.er1 >conftest.err
85787 rm -f conftest.er1
85788 cat conftest.err >&5
85789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85790 (exit $ac_status); } &&
85791 { ac_try='test -z "$ac_c_werror_flag"
85792 || test ! -s conftest.err'
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); }; } &&
85798 { ac_try='test -s conftest$ac_exeext'
85799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85800 (eval $ac_try) 2>&5
85801 ac_status=$?
85802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85803 (exit $ac_status); }; }; then
85804 ac_cv_lib_m_main=yes
85805 else
85806 echo "$as_me: failed program was:" >&5
85807 sed 's/^/| /' conftest.$ac_ext >&5
85809 ac_cv_lib_m_main=no
85811 rm -f conftest.err conftest.$ac_objext \
85812 conftest$ac_exeext conftest.$ac_ext
85813 LIBS=$ac_check_lib_save_LIBS
85815 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85816 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85817 if test $ac_cv_lib_m_main = yes; then
85818 cat >>confdefs.h <<_ACEOF
85819 #define HAVE_LIBM 1
85820 _ACEOF
85822 LIBS="-lm $LIBS"
85827 for ac_func in copysignf
85829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85830 echo "$as_me:$LINENO: checking for $ac_func" >&5
85831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85832 if eval "test \"\${$as_ac_var+set}\" = set"; then
85833 echo $ECHO_N "(cached) $ECHO_C" >&6
85834 else
85835 if test x$gcc_no_link = xyes; then
85836 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85838 { (exit 1); exit 1; }; }
85840 cat >conftest.$ac_ext <<_ACEOF
85841 /* confdefs.h. */
85842 _ACEOF
85843 cat confdefs.h >>conftest.$ac_ext
85844 cat >>conftest.$ac_ext <<_ACEOF
85845 /* end confdefs.h. */
85846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85848 #define $ac_func innocuous_$ac_func
85850 /* System header to define __stub macros and hopefully few prototypes,
85851 which can conflict with char $ac_func (); below.
85852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85853 <limits.h> exists even on freestanding compilers. */
85855 #ifdef __STDC__
85856 # include <limits.h>
85857 #else
85858 # include <assert.h>
85859 #endif
85861 #undef $ac_func
85863 /* Override any gcc2 internal prototype to avoid an error. */
85864 #ifdef __cplusplus
85865 extern "C"
85867 #endif
85868 /* We use char because int might match the return type of a gcc2
85869 builtin and then its argument prototype would still apply. */
85870 char $ac_func ();
85871 /* The GNU C library defines this for functions which it implements
85872 to always fail with ENOSYS. Some functions are actually named
85873 something starting with __ and the normal name is an alias. */
85874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85875 choke me
85876 #else
85877 char (*f) () = $ac_func;
85878 #endif
85879 #ifdef __cplusplus
85881 #endif
85884 main ()
85886 return f != $ac_func;
85888 return 0;
85890 _ACEOF
85891 rm -f conftest.$ac_objext conftest$ac_exeext
85892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85893 (eval $ac_link) 2>conftest.er1
85894 ac_status=$?
85895 grep -v '^ *+' conftest.er1 >conftest.err
85896 rm -f conftest.er1
85897 cat conftest.err >&5
85898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85899 (exit $ac_status); } &&
85900 { ac_try='test -z "$ac_c_werror_flag"
85901 || test ! -s conftest.err'
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); }; } &&
85907 { ac_try='test -s conftest$ac_exeext'
85908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85909 (eval $ac_try) 2>&5
85910 ac_status=$?
85911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85912 (exit $ac_status); }; }; then
85913 eval "$as_ac_var=yes"
85914 else
85915 echo "$as_me: failed program was:" >&5
85916 sed 's/^/| /' conftest.$ac_ext >&5
85918 eval "$as_ac_var=no"
85920 rm -f conftest.err conftest.$ac_objext \
85921 conftest$ac_exeext conftest.$ac_ext
85923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85925 if test `eval echo '${'$as_ac_var'}'` = yes; then
85926 cat >>confdefs.h <<_ACEOF
85927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85928 _ACEOF
85930 else
85931 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
85933 done
85937 for ac_func in __signbit
85939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85940 echo "$as_me:$LINENO: checking for $ac_func" >&5
85941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85942 if eval "test \"\${$as_ac_var+set}\" = set"; then
85943 echo $ECHO_N "(cached) $ECHO_C" >&6
85944 else
85945 if test x$gcc_no_link = xyes; then
85946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85948 { (exit 1); exit 1; }; }
85950 cat >conftest.$ac_ext <<_ACEOF
85951 /* confdefs.h. */
85952 _ACEOF
85953 cat confdefs.h >>conftest.$ac_ext
85954 cat >>conftest.$ac_ext <<_ACEOF
85955 /* end confdefs.h. */
85956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85958 #define $ac_func innocuous_$ac_func
85960 /* System header to define __stub macros and hopefully few prototypes,
85961 which can conflict with char $ac_func (); below.
85962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85963 <limits.h> exists even on freestanding compilers. */
85965 #ifdef __STDC__
85966 # include <limits.h>
85967 #else
85968 # include <assert.h>
85969 #endif
85971 #undef $ac_func
85973 /* Override any gcc2 internal prototype to avoid an error. */
85974 #ifdef __cplusplus
85975 extern "C"
85977 #endif
85978 /* We use char because int might match the return type of a gcc2
85979 builtin and then its argument prototype would still apply. */
85980 char $ac_func ();
85981 /* The GNU C library defines this for functions which it implements
85982 to always fail with ENOSYS. Some functions are actually named
85983 something starting with __ and the normal name is an alias. */
85984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85985 choke me
85986 #else
85987 char (*f) () = $ac_func;
85988 #endif
85989 #ifdef __cplusplus
85991 #endif
85994 main ()
85996 return f != $ac_func;
85998 return 0;
86000 _ACEOF
86001 rm -f conftest.$ac_objext conftest$ac_exeext
86002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86003 (eval $ac_link) 2>conftest.er1
86004 ac_status=$?
86005 grep -v '^ *+' conftest.er1 >conftest.err
86006 rm -f conftest.er1
86007 cat conftest.err >&5
86008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86009 (exit $ac_status); } &&
86010 { ac_try='test -z "$ac_c_werror_flag"
86011 || test ! -s conftest.err'
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); }; } &&
86017 { ac_try='test -s conftest$ac_exeext'
86018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86019 (eval $ac_try) 2>&5
86020 ac_status=$?
86021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86022 (exit $ac_status); }; }; then
86023 eval "$as_ac_var=yes"
86024 else
86025 echo "$as_me: failed program was:" >&5
86026 sed 's/^/| /' conftest.$ac_ext >&5
86028 eval "$as_ac_var=no"
86030 rm -f conftest.err conftest.$ac_objext \
86031 conftest$ac_exeext conftest.$ac_ext
86033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86035 if test `eval echo '${'$as_ac_var'}'` = yes; then
86036 cat >>confdefs.h <<_ACEOF
86037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86038 _ACEOF
86040 else
86041 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
86043 done
86047 for ac_func in __signbitf
86049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86050 echo "$as_me:$LINENO: checking for $ac_func" >&5
86051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86052 if eval "test \"\${$as_ac_var+set}\" = set"; then
86053 echo $ECHO_N "(cached) $ECHO_C" >&6
86054 else
86055 if test x$gcc_no_link = xyes; then
86056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86058 { (exit 1); exit 1; }; }
86060 cat >conftest.$ac_ext <<_ACEOF
86061 /* confdefs.h. */
86062 _ACEOF
86063 cat confdefs.h >>conftest.$ac_ext
86064 cat >>conftest.$ac_ext <<_ACEOF
86065 /* end confdefs.h. */
86066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86068 #define $ac_func innocuous_$ac_func
86070 /* System header to define __stub macros and hopefully few prototypes,
86071 which can conflict with char $ac_func (); below.
86072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86073 <limits.h> exists even on freestanding compilers. */
86075 #ifdef __STDC__
86076 # include <limits.h>
86077 #else
86078 # include <assert.h>
86079 #endif
86081 #undef $ac_func
86083 /* Override any gcc2 internal prototype to avoid an error. */
86084 #ifdef __cplusplus
86085 extern "C"
86087 #endif
86088 /* We use char because int might match the return type of a gcc2
86089 builtin and then its argument prototype would still apply. */
86090 char $ac_func ();
86091 /* The GNU C library defines this for functions which it implements
86092 to always fail with ENOSYS. Some functions are actually named
86093 something starting with __ and the normal name is an alias. */
86094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86095 choke me
86096 #else
86097 char (*f) () = $ac_func;
86098 #endif
86099 #ifdef __cplusplus
86101 #endif
86104 main ()
86106 return f != $ac_func;
86108 return 0;
86110 _ACEOF
86111 rm -f conftest.$ac_objext conftest$ac_exeext
86112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86113 (eval $ac_link) 2>conftest.er1
86114 ac_status=$?
86115 grep -v '^ *+' conftest.er1 >conftest.err
86116 rm -f conftest.er1
86117 cat conftest.err >&5
86118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86119 (exit $ac_status); } &&
86120 { ac_try='test -z "$ac_c_werror_flag"
86121 || test ! -s conftest.err'
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); }; } &&
86127 { ac_try='test -s conftest$ac_exeext'
86128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86129 (eval $ac_try) 2>&5
86130 ac_status=$?
86131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86132 (exit $ac_status); }; }; then
86133 eval "$as_ac_var=yes"
86134 else
86135 echo "$as_me: failed program was:" >&5
86136 sed 's/^/| /' conftest.$ac_ext >&5
86138 eval "$as_ac_var=no"
86140 rm -f conftest.err conftest.$ac_objext \
86141 conftest$ac_exeext conftest.$ac_ext
86143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86145 if test `eval echo '${'$as_ac_var'}'` = yes; then
86146 cat >>confdefs.h <<_ACEOF
86147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86148 _ACEOF
86150 else
86151 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
86153 done
86156 if test x$ac_cv_func_copysignl = x"yes"; then
86158 for ac_func in __signbitl
86160 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86161 echo "$as_me:$LINENO: checking for $ac_func" >&5
86162 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86163 if eval "test \"\${$as_ac_var+set}\" = set"; then
86164 echo $ECHO_N "(cached) $ECHO_C" >&6
86165 else
86166 if test x$gcc_no_link = xyes; then
86167 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86168 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86169 { (exit 1); exit 1; }; }
86171 cat >conftest.$ac_ext <<_ACEOF
86172 /* confdefs.h. */
86173 _ACEOF
86174 cat confdefs.h >>conftest.$ac_ext
86175 cat >>conftest.$ac_ext <<_ACEOF
86176 /* end confdefs.h. */
86177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86179 #define $ac_func innocuous_$ac_func
86181 /* System header to define __stub macros and hopefully few prototypes,
86182 which can conflict with char $ac_func (); below.
86183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86184 <limits.h> exists even on freestanding compilers. */
86186 #ifdef __STDC__
86187 # include <limits.h>
86188 #else
86189 # include <assert.h>
86190 #endif
86192 #undef $ac_func
86194 /* Override any gcc2 internal prototype to avoid an error. */
86195 #ifdef __cplusplus
86196 extern "C"
86198 #endif
86199 /* We use char because int might match the return type of a gcc2
86200 builtin and then its argument prototype would still apply. */
86201 char $ac_func ();
86202 /* The GNU C library defines this for functions which it implements
86203 to always fail with ENOSYS. Some functions are actually named
86204 something starting with __ and the normal name is an alias. */
86205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86206 choke me
86207 #else
86208 char (*f) () = $ac_func;
86209 #endif
86210 #ifdef __cplusplus
86212 #endif
86215 main ()
86217 return f != $ac_func;
86219 return 0;
86221 _ACEOF
86222 rm -f conftest.$ac_objext conftest$ac_exeext
86223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86224 (eval $ac_link) 2>conftest.er1
86225 ac_status=$?
86226 grep -v '^ *+' conftest.er1 >conftest.err
86227 rm -f conftest.er1
86228 cat conftest.err >&5
86229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86230 (exit $ac_status); } &&
86231 { ac_try='test -z "$ac_c_werror_flag"
86232 || test ! -s conftest.err'
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); }; } &&
86238 { ac_try='test -s conftest$ac_exeext'
86239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86240 (eval $ac_try) 2>&5
86241 ac_status=$?
86242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86243 (exit $ac_status); }; }; then
86244 eval "$as_ac_var=yes"
86245 else
86246 echo "$as_me: failed program was:" >&5
86247 sed 's/^/| /' conftest.$ac_ext >&5
86249 eval "$as_ac_var=no"
86251 rm -f conftest.err conftest.$ac_objext \
86252 conftest$ac_exeext conftest.$ac_ext
86254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86255 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86256 if test `eval echo '${'$as_ac_var'}'` = yes; then
86257 cat >>confdefs.h <<_ACEOF
86258 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86259 _ACEOF
86261 else
86262 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
86264 done
86268 # Used in libmath/Makefile.am.
86269 if test -n "$LIBMATHOBJS"; then
86270 need_libmath=yes
86274 cat >>confdefs.h <<\_ACEOF
86275 #define HAVE_COPYSIGN 1
86276 _ACEOF
86278 cat >>confdefs.h <<\_ACEOF
86279 #define HAVE_COPYSIGNF 1
86280 _ACEOF
86282 cat >>confdefs.h <<\_ACEOF
86283 #define HAVE_FREXPF 1
86284 _ACEOF
86286 cat >>confdefs.h <<\_ACEOF
86287 #define HAVE_HYPOT 1
86288 _ACEOF
86290 case "$target" in
86291 *-hpux10*)
86292 cat >>confdefs.h <<\_ACEOF
86293 #define HAVE_FINITE 1
86294 _ACEOF
86296 cat >>confdefs.h <<\_ACEOF
86297 #define HAVE_FINITEF 1
86298 _ACEOF
86300 cat >>confdefs.h <<\_ACEOF
86301 #define HAVE_ISINF 1
86302 _ACEOF
86304 cat >>confdefs.h <<\_ACEOF
86305 #define HAVE_ISINFF 1
86306 _ACEOF
86308 cat >>confdefs.h <<\_ACEOF
86309 #define HAVE_ISNAN 1
86310 _ACEOF
86312 cat >>confdefs.h <<\_ACEOF
86313 #define HAVE_ISNANF 1
86314 _ACEOF
86317 esac
86319 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
86338 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
86339 machine/endian.h machine/param.h sys/machine.h sys/types.h \
86340 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h \
86341 sys/ipc.h sys/sem.h gconf.h
86343 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86344 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86345 echo "$as_me:$LINENO: checking for $ac_header" >&5
86346 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86347 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86348 echo $ECHO_N "(cached) $ECHO_C" >&6
86350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86352 else
86353 # Is the header compilable?
86354 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86355 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86356 cat >conftest.$ac_ext <<_ACEOF
86357 /* confdefs.h. */
86358 _ACEOF
86359 cat confdefs.h >>conftest.$ac_ext
86360 cat >>conftest.$ac_ext <<_ACEOF
86361 /* end confdefs.h. */
86362 $ac_includes_default
86363 #include <$ac_header>
86364 _ACEOF
86365 rm -f conftest.$ac_objext
86366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86367 (eval $ac_compile) 2>conftest.er1
86368 ac_status=$?
86369 grep -v '^ *+' conftest.er1 >conftest.err
86370 rm -f conftest.er1
86371 cat conftest.err >&5
86372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86373 (exit $ac_status); } &&
86374 { ac_try='test -z "$ac_c_werror_flag"
86375 || test ! -s conftest.err'
86376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86377 (eval $ac_try) 2>&5
86378 ac_status=$?
86379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86380 (exit $ac_status); }; } &&
86381 { ac_try='test -s conftest.$ac_objext'
86382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86383 (eval $ac_try) 2>&5
86384 ac_status=$?
86385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86386 (exit $ac_status); }; }; then
86387 ac_header_compiler=yes
86388 else
86389 echo "$as_me: failed program was:" >&5
86390 sed 's/^/| /' conftest.$ac_ext >&5
86392 ac_header_compiler=no
86394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86395 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86396 echo "${ECHO_T}$ac_header_compiler" >&6
86398 # Is the header present?
86399 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86400 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86401 cat >conftest.$ac_ext <<_ACEOF
86402 /* confdefs.h. */
86403 _ACEOF
86404 cat confdefs.h >>conftest.$ac_ext
86405 cat >>conftest.$ac_ext <<_ACEOF
86406 /* end confdefs.h. */
86407 #include <$ac_header>
86408 _ACEOF
86409 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86410 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86411 ac_status=$?
86412 grep -v '^ *+' conftest.er1 >conftest.err
86413 rm -f conftest.er1
86414 cat conftest.err >&5
86415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86416 (exit $ac_status); } >/dev/null; then
86417 if test -s conftest.err; then
86418 ac_cpp_err=$ac_c_preproc_warn_flag
86419 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86420 else
86421 ac_cpp_err=
86423 else
86424 ac_cpp_err=yes
86426 if test -z "$ac_cpp_err"; then
86427 ac_header_preproc=yes
86428 else
86429 echo "$as_me: failed program was:" >&5
86430 sed 's/^/| /' conftest.$ac_ext >&5
86432 ac_header_preproc=no
86434 rm -f conftest.err conftest.$ac_ext
86435 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86436 echo "${ECHO_T}$ac_header_preproc" >&6
86438 # So? What about this header?
86439 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86440 yes:no: )
86441 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86442 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86443 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86444 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86445 ac_header_preproc=yes
86447 no:yes:* )
86448 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86449 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86450 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
86451 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
86452 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86453 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86454 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
86455 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
86456 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86457 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86458 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86459 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86461 cat <<\_ASBOX
86462 ## ----------------------------------------- ##
86463 ## Report this to the package-unused lists. ##
86464 ## ----------------------------------------- ##
86465 _ASBOX
86467 sed "s/^/$as_me: WARNING: /" >&2
86469 esac
86470 echo "$as_me:$LINENO: checking for $ac_header" >&5
86471 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86472 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86473 echo $ECHO_N "(cached) $ECHO_C" >&6
86474 else
86475 eval "$as_ac_Header=\$ac_header_preproc"
86477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86478 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86481 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86482 cat >>confdefs.h <<_ACEOF
86483 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86484 _ACEOF
86488 done
86490 SECTION_FLAGS='-ffunction-sections -fdata-sections'
86493 # All these tests are for C++; save the language and the compiler flags.
86494 # The CXXFLAGS thing is suspicious, but based on similar bits previously
86495 # found in GLIBCXX_CONFIGURE.
86498 ac_ext=cc
86499 ac_cpp='$CXXCPP $CPPFLAGS'
86500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86504 ac_test_CXXFLAGS="${CXXFLAGS+set}"
86505 ac_save_CXXFLAGS="$CXXFLAGS"
86507 # Check for maintainer-mode bits.
86508 if test x"$USE_MAINTAINER_MODE" = xno; then
86509 WERROR=''
86510 else
86511 WERROR='-Werror'
86514 # Check for -ffunction-sections -fdata-sections
86515 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
86516 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
86517 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
86518 cat >conftest.$ac_ext <<_ACEOF
86519 /* confdefs.h. */
86520 _ACEOF
86521 cat confdefs.h >>conftest.$ac_ext
86522 cat >>conftest.$ac_ext <<_ACEOF
86523 /* end confdefs.h. */
86524 int foo; void bar() { };
86526 main ()
86530 return 0;
86532 _ACEOF
86533 rm -f conftest.$ac_objext
86534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86535 (eval $ac_compile) 2>conftest.er1
86536 ac_status=$?
86537 grep -v '^ *+' conftest.er1 >conftest.err
86538 rm -f conftest.er1
86539 cat conftest.err >&5
86540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86541 (exit $ac_status); } &&
86542 { ac_try='test -z "$ac_cxx_werror_flag"
86543 || test ! -s conftest.err'
86544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86545 (eval $ac_try) 2>&5
86546 ac_status=$?
86547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86548 (exit $ac_status); }; } &&
86549 { ac_try='test -s conftest.$ac_objext'
86550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86551 (eval $ac_try) 2>&5
86552 ac_status=$?
86553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86554 (exit $ac_status); }; }; then
86555 ac_fdsections=yes
86556 else
86557 echo "$as_me: failed program was:" >&5
86558 sed 's/^/| /' conftest.$ac_ext >&5
86560 ac_fdsections=no
86562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86563 if test "$ac_test_CXXFLAGS" = set; then
86564 CXXFLAGS="$ac_save_CXXFLAGS"
86565 else
86566 # this is the suspicious part
86567 CXXFLAGS=''
86569 if test x"$ac_fdsections" = x"yes"; then
86570 SECTION_FLAGS='-ffunction-sections -fdata-sections'
86572 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
86573 echo "${ECHO_T}$ac_fdsections" >&6
86575 ac_ext=c
86576 ac_cpp='$CPP $CPPFLAGS'
86577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86585 # If we're not using GNU ld, then there's no point in even trying these
86586 # tests. Check for that first. We should have already tested for gld
86587 # by now (in libtool), but require it now just to be safe...
86588 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
86589 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
86593 # The name set by libtool depends on the version of libtool. Shame on us
86594 # for depending on an impl detail, but c'est la vie. Older versions used
86595 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
86596 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
86597 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
86598 # set (hence we're using an older libtool), then set it.
86599 if test x${with_gnu_ld+set} != xset; then
86600 if test x${ac_cv_prog_gnu_ld+set} != xset; then
86601 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
86602 with_gnu_ld=no
86603 else
86604 with_gnu_ld=$ac_cv_prog_gnu_ld
86608 # Start by getting the version number. I think the libtool test already
86609 # does some of this, but throws away the result.
86610 if test x"$with_gnu_ld" = x"yes"; then
86611 echo "$as_me:$LINENO: checking for ld version" >&5
86612 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
86614 ldver=`$LD --version 2>/dev/null | head -1 | \
86615 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
86617 glibcxx_gnu_ld_version=`echo $ldver | \
86618 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
86619 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
86620 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
86623 # Set --gc-sections.
86624 glibcxx_gcsections_min_ld=21602
86625 if test x"$with_gnu_ld" = x"yes" &&
86626 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
86628 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
86629 # NB: This flag only works reliably after 2.16.1. Configure tests
86630 # for this are difficult, so hard wire a value that should work.
86632 ac_test_CFLAGS="${CFLAGS+set}"
86633 ac_save_CFLAGS="$CFLAGS"
86634 CFLAGS='-Wl,--gc-sections'
86636 # Check for -Wl,--gc-sections
86637 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
86638 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
86639 if test x$gcc_no_link = xyes; then
86640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86642 { (exit 1); exit 1; }; }
86644 cat >conftest.$ac_ext <<_ACEOF
86645 /* confdefs.h. */
86646 _ACEOF
86647 cat confdefs.h >>conftest.$ac_ext
86648 cat >>conftest.$ac_ext <<_ACEOF
86649 /* end confdefs.h. */
86650 int one(void) { return 1; }
86651 int two(void) { return 2; }
86654 main ()
86656 two();
86658 return 0;
86660 _ACEOF
86661 rm -f conftest.$ac_objext conftest$ac_exeext
86662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86663 (eval $ac_link) 2>conftest.er1
86664 ac_status=$?
86665 grep -v '^ *+' conftest.er1 >conftest.err
86666 rm -f conftest.er1
86667 cat conftest.err >&5
86668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86669 (exit $ac_status); } &&
86670 { ac_try='test -z "$ac_c_werror_flag"
86671 || test ! -s conftest.err'
86672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86673 (eval $ac_try) 2>&5
86674 ac_status=$?
86675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86676 (exit $ac_status); }; } &&
86677 { ac_try='test -s conftest$ac_exeext'
86678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86679 (eval $ac_try) 2>&5
86680 ac_status=$?
86681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86682 (exit $ac_status); }; }; then
86683 ac_gcsections=yes
86684 else
86685 echo "$as_me: failed program was:" >&5
86686 sed 's/^/| /' conftest.$ac_ext >&5
86688 ac_gcsections=no
86690 rm -f conftest.err conftest.$ac_objext \
86691 conftest$ac_exeext conftest.$ac_ext
86692 if test "$ac_gcsections" = "yes"; then
86693 rm -f conftest.c
86694 touch conftest.c
86695 if $CC -c conftest.c; then
86696 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
86697 grep "Warning: gc-sections option ignored" > /dev/null; then
86698 ac_gcsections=no
86701 rm -f conftest.c conftest.o conftest
86703 if test "$ac_gcsections" = "yes"; then
86704 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
86706 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
86707 echo "${ECHO_T}$ac_gcsections" >&6
86709 if test "$ac_test_CFLAGS" = set; then
86710 CFLAGS="$ac_save_CFLAGS"
86711 else
86712 # this is the suspicious part
86713 CFLAGS=''
86717 # Set -z,relro.
86718 # Note this is only for shared objects.
86719 ac_ld_relro=no
86720 if test x"$with_gnu_ld" = x"yes"; then
86721 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
86722 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
86723 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
86724 if test -n "$cxx_z_relo"; then
86725 OPT_LDFLAGS="-Wl,-z,relro"
86726 ac_ld_relro=yes
86728 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
86729 echo "${ECHO_T}$ac_ld_relro" >&6
86732 # Set linker optimization flags.
86733 if test x"$with_gnu_ld" = x"yes"; then
86734 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
86741 ac_test_CXXFLAGS="${CXXFLAGS+set}"
86742 ac_save_CXXFLAGS="$CXXFLAGS"
86743 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
86745 echo "$as_me:$LINENO: checking for sin in -lm" >&5
86746 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
86747 if test "${ac_cv_lib_m_sin+set}" = set; then
86748 echo $ECHO_N "(cached) $ECHO_C" >&6
86749 else
86750 ac_check_lib_save_LIBS=$LIBS
86751 LIBS="-lm $LIBS"
86752 if test x$gcc_no_link = xyes; then
86753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86755 { (exit 1); exit 1; }; }
86757 cat >conftest.$ac_ext <<_ACEOF
86758 /* confdefs.h. */
86759 _ACEOF
86760 cat confdefs.h >>conftest.$ac_ext
86761 cat >>conftest.$ac_ext <<_ACEOF
86762 /* end confdefs.h. */
86764 /* Override any gcc2 internal prototype to avoid an error. */
86765 #ifdef __cplusplus
86766 extern "C"
86767 #endif
86768 /* We use char because int might match the return type of a gcc2
86769 builtin and then its argument prototype would still apply. */
86770 char sin ();
86772 main ()
86774 sin ();
86776 return 0;
86778 _ACEOF
86779 rm -f conftest.$ac_objext conftest$ac_exeext
86780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86781 (eval $ac_link) 2>conftest.er1
86782 ac_status=$?
86783 grep -v '^ *+' conftest.er1 >conftest.err
86784 rm -f conftest.er1
86785 cat conftest.err >&5
86786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86787 (exit $ac_status); } &&
86788 { ac_try='test -z "$ac_c_werror_flag"
86789 || test ! -s conftest.err'
86790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86791 (eval $ac_try) 2>&5
86792 ac_status=$?
86793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86794 (exit $ac_status); }; } &&
86795 { ac_try='test -s conftest$ac_exeext'
86796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86797 (eval $ac_try) 2>&5
86798 ac_status=$?
86799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86800 (exit $ac_status); }; }; then
86801 ac_cv_lib_m_sin=yes
86802 else
86803 echo "$as_me: failed program was:" >&5
86804 sed 's/^/| /' conftest.$ac_ext >&5
86806 ac_cv_lib_m_sin=no
86808 rm -f conftest.err conftest.$ac_objext \
86809 conftest$ac_exeext conftest.$ac_ext
86810 LIBS=$ac_check_lib_save_LIBS
86812 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
86813 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
86814 if test $ac_cv_lib_m_sin = yes; then
86815 libm="-lm"
86818 ac_save_LIBS="$LIBS"
86819 LIBS="$LIBS $libm"
86823 echo "$as_me:$LINENO: checking for isinf declaration" >&5
86824 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
86825 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
86826 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
86827 echo $ECHO_N "(cached) $ECHO_C" >&6
86828 else
86832 ac_ext=cc
86833 ac_cpp='$CXXCPP $CPPFLAGS'
86834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86838 cat >conftest.$ac_ext <<_ACEOF
86839 /* confdefs.h. */
86840 _ACEOF
86841 cat confdefs.h >>conftest.$ac_ext
86842 cat >>conftest.$ac_ext <<_ACEOF
86843 /* end confdefs.h. */
86844 #include <math.h>
86845 #ifdef HAVE_IEEEFP_H
86846 #include <ieeefp.h>
86847 #endif
86850 main ()
86852 isinf(0);
86854 return 0;
86856 _ACEOF
86857 rm -f conftest.$ac_objext
86858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86859 (eval $ac_compile) 2>conftest.er1
86860 ac_status=$?
86861 grep -v '^ *+' conftest.er1 >conftest.err
86862 rm -f conftest.er1
86863 cat conftest.err >&5
86864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86865 (exit $ac_status); } &&
86866 { ac_try='test -z "$ac_cxx_werror_flag"
86867 || test ! -s conftest.err'
86868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86869 (eval $ac_try) 2>&5
86870 ac_status=$?
86871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86872 (exit $ac_status); }; } &&
86873 { ac_try='test -s conftest.$ac_objext'
86874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86875 (eval $ac_try) 2>&5
86876 ac_status=$?
86877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86878 (exit $ac_status); }; }; then
86879 glibcxx_cv_func_isinf_use=yes
86880 else
86881 echo "$as_me: failed program was:" >&5
86882 sed 's/^/| /' conftest.$ac_ext >&5
86884 glibcxx_cv_func_isinf_use=no
86886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86887 ac_ext=c
86888 ac_cpp='$CPP $CPPFLAGS'
86889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86897 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
86898 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
86900 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
86902 for ac_func in isinf
86904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86905 echo "$as_me:$LINENO: checking for $ac_func" >&5
86906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86907 if eval "test \"\${$as_ac_var+set}\" = set"; then
86908 echo $ECHO_N "(cached) $ECHO_C" >&6
86909 else
86910 if test x$gcc_no_link = xyes; then
86911 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86913 { (exit 1); exit 1; }; }
86915 cat >conftest.$ac_ext <<_ACEOF
86916 /* confdefs.h. */
86917 _ACEOF
86918 cat confdefs.h >>conftest.$ac_ext
86919 cat >>conftest.$ac_ext <<_ACEOF
86920 /* end confdefs.h. */
86921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86923 #define $ac_func innocuous_$ac_func
86925 /* System header to define __stub macros and hopefully few prototypes,
86926 which can conflict with char $ac_func (); below.
86927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86928 <limits.h> exists even on freestanding compilers. */
86930 #ifdef __STDC__
86931 # include <limits.h>
86932 #else
86933 # include <assert.h>
86934 #endif
86936 #undef $ac_func
86938 /* Override any gcc2 internal prototype to avoid an error. */
86939 #ifdef __cplusplus
86940 extern "C"
86942 #endif
86943 /* We use char because int might match the return type of a gcc2
86944 builtin and then its argument prototype would still apply. */
86945 char $ac_func ();
86946 /* The GNU C library defines this for functions which it implements
86947 to always fail with ENOSYS. Some functions are actually named
86948 something starting with __ and the normal name is an alias. */
86949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86950 choke me
86951 #else
86952 char (*f) () = $ac_func;
86953 #endif
86954 #ifdef __cplusplus
86956 #endif
86959 main ()
86961 return f != $ac_func;
86963 return 0;
86965 _ACEOF
86966 rm -f conftest.$ac_objext conftest$ac_exeext
86967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86968 (eval $ac_link) 2>conftest.er1
86969 ac_status=$?
86970 grep -v '^ *+' conftest.er1 >conftest.err
86971 rm -f conftest.er1
86972 cat conftest.err >&5
86973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86974 (exit $ac_status); } &&
86975 { ac_try='test -z "$ac_c_werror_flag"
86976 || test ! -s conftest.err'
86977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86978 (eval $ac_try) 2>&5
86979 ac_status=$?
86980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86981 (exit $ac_status); }; } &&
86982 { ac_try='test -s conftest$ac_exeext'
86983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86984 (eval $ac_try) 2>&5
86985 ac_status=$?
86986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86987 (exit $ac_status); }; }; then
86988 eval "$as_ac_var=yes"
86989 else
86990 echo "$as_me: failed program was:" >&5
86991 sed 's/^/| /' conftest.$ac_ext >&5
86993 eval "$as_ac_var=no"
86995 rm -f conftest.err conftest.$ac_objext \
86996 conftest$ac_exeext conftest.$ac_ext
86998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87000 if test `eval echo '${'$as_ac_var'}'` = yes; then
87001 cat >>confdefs.h <<_ACEOF
87002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87003 _ACEOF
87006 done
87008 else
87010 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
87011 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
87012 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
87013 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
87014 echo $ECHO_N "(cached) $ECHO_C" >&6
87015 else
87019 ac_ext=cc
87020 ac_cpp='$CXXCPP $CPPFLAGS'
87021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87025 cat >conftest.$ac_ext <<_ACEOF
87026 /* confdefs.h. */
87027 _ACEOF
87028 cat confdefs.h >>conftest.$ac_ext
87029 cat >>conftest.$ac_ext <<_ACEOF
87030 /* end confdefs.h. */
87031 #include <math.h>
87032 #ifdef HAVE_IEEEFP_H
87033 #include <ieeefp.h>
87034 #endif
87037 main ()
87039 _isinf(0);
87041 return 0;
87043 _ACEOF
87044 rm -f conftest.$ac_objext
87045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87046 (eval $ac_compile) 2>conftest.er1
87047 ac_status=$?
87048 grep -v '^ *+' conftest.er1 >conftest.err
87049 rm -f conftest.er1
87050 cat conftest.err >&5
87051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87052 (exit $ac_status); } &&
87053 { ac_try='test -z "$ac_cxx_werror_flag"
87054 || test ! -s conftest.err'
87055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87056 (eval $ac_try) 2>&5
87057 ac_status=$?
87058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87059 (exit $ac_status); }; } &&
87060 { ac_try='test -s conftest.$ac_objext'
87061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87062 (eval $ac_try) 2>&5
87063 ac_status=$?
87064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87065 (exit $ac_status); }; }; then
87066 glibcxx_cv_func__isinf_use=yes
87067 else
87068 echo "$as_me: failed program was:" >&5
87069 sed 's/^/| /' conftest.$ac_ext >&5
87071 glibcxx_cv_func__isinf_use=no
87073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87074 ac_ext=c
87075 ac_cpp='$CPP $CPPFLAGS'
87076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87084 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
87085 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
87087 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
87089 for ac_func in _isinf
87091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87092 echo "$as_me:$LINENO: checking for $ac_func" >&5
87093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87094 if eval "test \"\${$as_ac_var+set}\" = set"; then
87095 echo $ECHO_N "(cached) $ECHO_C" >&6
87096 else
87097 if test x$gcc_no_link = xyes; then
87098 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87100 { (exit 1); exit 1; }; }
87102 cat >conftest.$ac_ext <<_ACEOF
87103 /* confdefs.h. */
87104 _ACEOF
87105 cat confdefs.h >>conftest.$ac_ext
87106 cat >>conftest.$ac_ext <<_ACEOF
87107 /* end confdefs.h. */
87108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87110 #define $ac_func innocuous_$ac_func
87112 /* System header to define __stub macros and hopefully few prototypes,
87113 which can conflict with char $ac_func (); below.
87114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87115 <limits.h> exists even on freestanding compilers. */
87117 #ifdef __STDC__
87118 # include <limits.h>
87119 #else
87120 # include <assert.h>
87121 #endif
87123 #undef $ac_func
87125 /* Override any gcc2 internal prototype to avoid an error. */
87126 #ifdef __cplusplus
87127 extern "C"
87129 #endif
87130 /* We use char because int might match the return type of a gcc2
87131 builtin and then its argument prototype would still apply. */
87132 char $ac_func ();
87133 /* The GNU C library defines this for functions which it implements
87134 to always fail with ENOSYS. Some functions are actually named
87135 something starting with __ and the normal name is an alias. */
87136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87137 choke me
87138 #else
87139 char (*f) () = $ac_func;
87140 #endif
87141 #ifdef __cplusplus
87143 #endif
87146 main ()
87148 return f != $ac_func;
87150 return 0;
87152 _ACEOF
87153 rm -f conftest.$ac_objext conftest$ac_exeext
87154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87155 (eval $ac_link) 2>conftest.er1
87156 ac_status=$?
87157 grep -v '^ *+' conftest.er1 >conftest.err
87158 rm -f conftest.er1
87159 cat conftest.err >&5
87160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87161 (exit $ac_status); } &&
87162 { ac_try='test -z "$ac_c_werror_flag"
87163 || test ! -s conftest.err'
87164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87165 (eval $ac_try) 2>&5
87166 ac_status=$?
87167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87168 (exit $ac_status); }; } &&
87169 { ac_try='test -s conftest$ac_exeext'
87170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87171 (eval $ac_try) 2>&5
87172 ac_status=$?
87173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87174 (exit $ac_status); }; }; then
87175 eval "$as_ac_var=yes"
87176 else
87177 echo "$as_me: failed program was:" >&5
87178 sed 's/^/| /' conftest.$ac_ext >&5
87180 eval "$as_ac_var=no"
87182 rm -f conftest.err conftest.$ac_objext \
87183 conftest$ac_exeext conftest.$ac_ext
87185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87187 if test `eval echo '${'$as_ac_var'}'` = yes; then
87188 cat >>confdefs.h <<_ACEOF
87189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87190 _ACEOF
87193 done
87203 echo "$as_me:$LINENO: checking for isnan declaration" >&5
87204 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
87205 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
87206 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
87207 echo $ECHO_N "(cached) $ECHO_C" >&6
87208 else
87212 ac_ext=cc
87213 ac_cpp='$CXXCPP $CPPFLAGS'
87214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87218 cat >conftest.$ac_ext <<_ACEOF
87219 /* confdefs.h. */
87220 _ACEOF
87221 cat confdefs.h >>conftest.$ac_ext
87222 cat >>conftest.$ac_ext <<_ACEOF
87223 /* end confdefs.h. */
87224 #include <math.h>
87225 #ifdef HAVE_IEEEFP_H
87226 #include <ieeefp.h>
87227 #endif
87230 main ()
87232 isnan(0);
87234 return 0;
87236 _ACEOF
87237 rm -f conftest.$ac_objext
87238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87239 (eval $ac_compile) 2>conftest.er1
87240 ac_status=$?
87241 grep -v '^ *+' conftest.er1 >conftest.err
87242 rm -f conftest.er1
87243 cat conftest.err >&5
87244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87245 (exit $ac_status); } &&
87246 { ac_try='test -z "$ac_cxx_werror_flag"
87247 || test ! -s conftest.err'
87248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87249 (eval $ac_try) 2>&5
87250 ac_status=$?
87251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87252 (exit $ac_status); }; } &&
87253 { ac_try='test -s conftest.$ac_objext'
87254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87255 (eval $ac_try) 2>&5
87256 ac_status=$?
87257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87258 (exit $ac_status); }; }; then
87259 glibcxx_cv_func_isnan_use=yes
87260 else
87261 echo "$as_me: failed program was:" >&5
87262 sed 's/^/| /' conftest.$ac_ext >&5
87264 glibcxx_cv_func_isnan_use=no
87266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87267 ac_ext=c
87268 ac_cpp='$CPP $CPPFLAGS'
87269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87277 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
87278 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
87280 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
87282 for ac_func in isnan
87284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87285 echo "$as_me:$LINENO: checking for $ac_func" >&5
87286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87287 if eval "test \"\${$as_ac_var+set}\" = set"; then
87288 echo $ECHO_N "(cached) $ECHO_C" >&6
87289 else
87290 if test x$gcc_no_link = xyes; then
87291 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87292 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87293 { (exit 1); exit 1; }; }
87295 cat >conftest.$ac_ext <<_ACEOF
87296 /* confdefs.h. */
87297 _ACEOF
87298 cat confdefs.h >>conftest.$ac_ext
87299 cat >>conftest.$ac_ext <<_ACEOF
87300 /* end confdefs.h. */
87301 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87302 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87303 #define $ac_func innocuous_$ac_func
87305 /* System header to define __stub macros and hopefully few prototypes,
87306 which can conflict with char $ac_func (); below.
87307 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87308 <limits.h> exists even on freestanding compilers. */
87310 #ifdef __STDC__
87311 # include <limits.h>
87312 #else
87313 # include <assert.h>
87314 #endif
87316 #undef $ac_func
87318 /* Override any gcc2 internal prototype to avoid an error. */
87319 #ifdef __cplusplus
87320 extern "C"
87322 #endif
87323 /* We use char because int might match the return type of a gcc2
87324 builtin and then its argument prototype would still apply. */
87325 char $ac_func ();
87326 /* The GNU C library defines this for functions which it implements
87327 to always fail with ENOSYS. Some functions are actually named
87328 something starting with __ and the normal name is an alias. */
87329 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87330 choke me
87331 #else
87332 char (*f) () = $ac_func;
87333 #endif
87334 #ifdef __cplusplus
87336 #endif
87339 main ()
87341 return f != $ac_func;
87343 return 0;
87345 _ACEOF
87346 rm -f conftest.$ac_objext conftest$ac_exeext
87347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87348 (eval $ac_link) 2>conftest.er1
87349 ac_status=$?
87350 grep -v '^ *+' conftest.er1 >conftest.err
87351 rm -f conftest.er1
87352 cat conftest.err >&5
87353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87354 (exit $ac_status); } &&
87355 { ac_try='test -z "$ac_c_werror_flag"
87356 || test ! -s conftest.err'
87357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87358 (eval $ac_try) 2>&5
87359 ac_status=$?
87360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87361 (exit $ac_status); }; } &&
87362 { ac_try='test -s conftest$ac_exeext'
87363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87364 (eval $ac_try) 2>&5
87365 ac_status=$?
87366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87367 (exit $ac_status); }; }; then
87368 eval "$as_ac_var=yes"
87369 else
87370 echo "$as_me: failed program was:" >&5
87371 sed 's/^/| /' conftest.$ac_ext >&5
87373 eval "$as_ac_var=no"
87375 rm -f conftest.err conftest.$ac_objext \
87376 conftest$ac_exeext conftest.$ac_ext
87378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87379 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87380 if test `eval echo '${'$as_ac_var'}'` = yes; then
87381 cat >>confdefs.h <<_ACEOF
87382 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87383 _ACEOF
87386 done
87388 else
87390 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
87391 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
87392 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
87393 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
87394 echo $ECHO_N "(cached) $ECHO_C" >&6
87395 else
87399 ac_ext=cc
87400 ac_cpp='$CXXCPP $CPPFLAGS'
87401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87405 cat >conftest.$ac_ext <<_ACEOF
87406 /* confdefs.h. */
87407 _ACEOF
87408 cat confdefs.h >>conftest.$ac_ext
87409 cat >>conftest.$ac_ext <<_ACEOF
87410 /* end confdefs.h. */
87411 #include <math.h>
87412 #ifdef HAVE_IEEEFP_H
87413 #include <ieeefp.h>
87414 #endif
87417 main ()
87419 _isnan(0);
87421 return 0;
87423 _ACEOF
87424 rm -f conftest.$ac_objext
87425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87426 (eval $ac_compile) 2>conftest.er1
87427 ac_status=$?
87428 grep -v '^ *+' conftest.er1 >conftest.err
87429 rm -f conftest.er1
87430 cat conftest.err >&5
87431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87432 (exit $ac_status); } &&
87433 { ac_try='test -z "$ac_cxx_werror_flag"
87434 || test ! -s conftest.err'
87435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87436 (eval $ac_try) 2>&5
87437 ac_status=$?
87438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87439 (exit $ac_status); }; } &&
87440 { ac_try='test -s conftest.$ac_objext'
87441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87442 (eval $ac_try) 2>&5
87443 ac_status=$?
87444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87445 (exit $ac_status); }; }; then
87446 glibcxx_cv_func__isnan_use=yes
87447 else
87448 echo "$as_me: failed program was:" >&5
87449 sed 's/^/| /' conftest.$ac_ext >&5
87451 glibcxx_cv_func__isnan_use=no
87453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87454 ac_ext=c
87455 ac_cpp='$CPP $CPPFLAGS'
87456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87464 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
87465 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
87467 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
87469 for ac_func in _isnan
87471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87472 echo "$as_me:$LINENO: checking for $ac_func" >&5
87473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87474 if eval "test \"\${$as_ac_var+set}\" = set"; then
87475 echo $ECHO_N "(cached) $ECHO_C" >&6
87476 else
87477 if test x$gcc_no_link = xyes; then
87478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87480 { (exit 1); exit 1; }; }
87482 cat >conftest.$ac_ext <<_ACEOF
87483 /* confdefs.h. */
87484 _ACEOF
87485 cat confdefs.h >>conftest.$ac_ext
87486 cat >>conftest.$ac_ext <<_ACEOF
87487 /* end confdefs.h. */
87488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87490 #define $ac_func innocuous_$ac_func
87492 /* System header to define __stub macros and hopefully few prototypes,
87493 which can conflict with char $ac_func (); below.
87494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87495 <limits.h> exists even on freestanding compilers. */
87497 #ifdef __STDC__
87498 # include <limits.h>
87499 #else
87500 # include <assert.h>
87501 #endif
87503 #undef $ac_func
87505 /* Override any gcc2 internal prototype to avoid an error. */
87506 #ifdef __cplusplus
87507 extern "C"
87509 #endif
87510 /* We use char because int might match the return type of a gcc2
87511 builtin and then its argument prototype would still apply. */
87512 char $ac_func ();
87513 /* The GNU C library defines this for functions which it implements
87514 to always fail with ENOSYS. Some functions are actually named
87515 something starting with __ and the normal name is an alias. */
87516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87517 choke me
87518 #else
87519 char (*f) () = $ac_func;
87520 #endif
87521 #ifdef __cplusplus
87523 #endif
87526 main ()
87528 return f != $ac_func;
87530 return 0;
87532 _ACEOF
87533 rm -f conftest.$ac_objext conftest$ac_exeext
87534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87535 (eval $ac_link) 2>conftest.er1
87536 ac_status=$?
87537 grep -v '^ *+' conftest.er1 >conftest.err
87538 rm -f conftest.er1
87539 cat conftest.err >&5
87540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87541 (exit $ac_status); } &&
87542 { ac_try='test -z "$ac_c_werror_flag"
87543 || test ! -s conftest.err'
87544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87545 (eval $ac_try) 2>&5
87546 ac_status=$?
87547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87548 (exit $ac_status); }; } &&
87549 { ac_try='test -s conftest$ac_exeext'
87550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87551 (eval $ac_try) 2>&5
87552 ac_status=$?
87553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87554 (exit $ac_status); }; }; then
87555 eval "$as_ac_var=yes"
87556 else
87557 echo "$as_me: failed program was:" >&5
87558 sed 's/^/| /' conftest.$ac_ext >&5
87560 eval "$as_ac_var=no"
87562 rm -f conftest.err conftest.$ac_objext \
87563 conftest$ac_exeext conftest.$ac_ext
87565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87567 if test `eval echo '${'$as_ac_var'}'` = yes; then
87568 cat >>confdefs.h <<_ACEOF
87569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87570 _ACEOF
87573 done
87583 echo "$as_me:$LINENO: checking for finite declaration" >&5
87584 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
87585 if test x${glibcxx_cv_func_finite_use+set} != xset; then
87586 if test "${glibcxx_cv_func_finite_use+set}" = set; then
87587 echo $ECHO_N "(cached) $ECHO_C" >&6
87588 else
87592 ac_ext=cc
87593 ac_cpp='$CXXCPP $CPPFLAGS'
87594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87598 cat >conftest.$ac_ext <<_ACEOF
87599 /* confdefs.h. */
87600 _ACEOF
87601 cat confdefs.h >>conftest.$ac_ext
87602 cat >>conftest.$ac_ext <<_ACEOF
87603 /* end confdefs.h. */
87604 #include <math.h>
87605 #ifdef HAVE_IEEEFP_H
87606 #include <ieeefp.h>
87607 #endif
87610 main ()
87612 finite(0);
87614 return 0;
87616 _ACEOF
87617 rm -f conftest.$ac_objext
87618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87619 (eval $ac_compile) 2>conftest.er1
87620 ac_status=$?
87621 grep -v '^ *+' conftest.er1 >conftest.err
87622 rm -f conftest.er1
87623 cat conftest.err >&5
87624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87625 (exit $ac_status); } &&
87626 { ac_try='test -z "$ac_cxx_werror_flag"
87627 || test ! -s conftest.err'
87628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87629 (eval $ac_try) 2>&5
87630 ac_status=$?
87631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87632 (exit $ac_status); }; } &&
87633 { ac_try='test -s conftest.$ac_objext'
87634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87635 (eval $ac_try) 2>&5
87636 ac_status=$?
87637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87638 (exit $ac_status); }; }; then
87639 glibcxx_cv_func_finite_use=yes
87640 else
87641 echo "$as_me: failed program was:" >&5
87642 sed 's/^/| /' conftest.$ac_ext >&5
87644 glibcxx_cv_func_finite_use=no
87646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87647 ac_ext=c
87648 ac_cpp='$CPP $CPPFLAGS'
87649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87657 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
87658 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
87660 if test x$glibcxx_cv_func_finite_use = x"yes"; then
87662 for ac_func in finite
87664 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87665 echo "$as_me:$LINENO: checking for $ac_func" >&5
87666 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87667 if eval "test \"\${$as_ac_var+set}\" = set"; then
87668 echo $ECHO_N "(cached) $ECHO_C" >&6
87669 else
87670 if test x$gcc_no_link = xyes; then
87671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87673 { (exit 1); exit 1; }; }
87675 cat >conftest.$ac_ext <<_ACEOF
87676 /* confdefs.h. */
87677 _ACEOF
87678 cat confdefs.h >>conftest.$ac_ext
87679 cat >>conftest.$ac_ext <<_ACEOF
87680 /* end confdefs.h. */
87681 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87682 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87683 #define $ac_func innocuous_$ac_func
87685 /* System header to define __stub macros and hopefully few prototypes,
87686 which can conflict with char $ac_func (); below.
87687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87688 <limits.h> exists even on freestanding compilers. */
87690 #ifdef __STDC__
87691 # include <limits.h>
87692 #else
87693 # include <assert.h>
87694 #endif
87696 #undef $ac_func
87698 /* Override any gcc2 internal prototype to avoid an error. */
87699 #ifdef __cplusplus
87700 extern "C"
87702 #endif
87703 /* We use char because int might match the return type of a gcc2
87704 builtin and then its argument prototype would still apply. */
87705 char $ac_func ();
87706 /* The GNU C library defines this for functions which it implements
87707 to always fail with ENOSYS. Some functions are actually named
87708 something starting with __ and the normal name is an alias. */
87709 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87710 choke me
87711 #else
87712 char (*f) () = $ac_func;
87713 #endif
87714 #ifdef __cplusplus
87716 #endif
87719 main ()
87721 return f != $ac_func;
87723 return 0;
87725 _ACEOF
87726 rm -f conftest.$ac_objext conftest$ac_exeext
87727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87728 (eval $ac_link) 2>conftest.er1
87729 ac_status=$?
87730 grep -v '^ *+' conftest.er1 >conftest.err
87731 rm -f conftest.er1
87732 cat conftest.err >&5
87733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87734 (exit $ac_status); } &&
87735 { ac_try='test -z "$ac_c_werror_flag"
87736 || test ! -s conftest.err'
87737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87738 (eval $ac_try) 2>&5
87739 ac_status=$?
87740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87741 (exit $ac_status); }; } &&
87742 { ac_try='test -s conftest$ac_exeext'
87743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87744 (eval $ac_try) 2>&5
87745 ac_status=$?
87746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87747 (exit $ac_status); }; }; then
87748 eval "$as_ac_var=yes"
87749 else
87750 echo "$as_me: failed program was:" >&5
87751 sed 's/^/| /' conftest.$ac_ext >&5
87753 eval "$as_ac_var=no"
87755 rm -f conftest.err conftest.$ac_objext \
87756 conftest$ac_exeext conftest.$ac_ext
87758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87760 if test `eval echo '${'$as_ac_var'}'` = yes; then
87761 cat >>confdefs.h <<_ACEOF
87762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87763 _ACEOF
87766 done
87768 else
87770 echo "$as_me:$LINENO: checking for _finite declaration" >&5
87771 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
87772 if test x${glibcxx_cv_func__finite_use+set} != xset; then
87773 if test "${glibcxx_cv_func__finite_use+set}" = set; then
87774 echo $ECHO_N "(cached) $ECHO_C" >&6
87775 else
87779 ac_ext=cc
87780 ac_cpp='$CXXCPP $CPPFLAGS'
87781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87785 cat >conftest.$ac_ext <<_ACEOF
87786 /* confdefs.h. */
87787 _ACEOF
87788 cat confdefs.h >>conftest.$ac_ext
87789 cat >>conftest.$ac_ext <<_ACEOF
87790 /* end confdefs.h. */
87791 #include <math.h>
87792 #ifdef HAVE_IEEEFP_H
87793 #include <ieeefp.h>
87794 #endif
87797 main ()
87799 _finite(0);
87801 return 0;
87803 _ACEOF
87804 rm -f conftest.$ac_objext
87805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87806 (eval $ac_compile) 2>conftest.er1
87807 ac_status=$?
87808 grep -v '^ *+' conftest.er1 >conftest.err
87809 rm -f conftest.er1
87810 cat conftest.err >&5
87811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87812 (exit $ac_status); } &&
87813 { ac_try='test -z "$ac_cxx_werror_flag"
87814 || test ! -s conftest.err'
87815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87816 (eval $ac_try) 2>&5
87817 ac_status=$?
87818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87819 (exit $ac_status); }; } &&
87820 { ac_try='test -s conftest.$ac_objext'
87821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87822 (eval $ac_try) 2>&5
87823 ac_status=$?
87824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87825 (exit $ac_status); }; }; then
87826 glibcxx_cv_func__finite_use=yes
87827 else
87828 echo "$as_me: failed program was:" >&5
87829 sed 's/^/| /' conftest.$ac_ext >&5
87831 glibcxx_cv_func__finite_use=no
87833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87834 ac_ext=c
87835 ac_cpp='$CPP $CPPFLAGS'
87836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87844 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
87845 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
87847 if test x$glibcxx_cv_func__finite_use = x"yes"; then
87849 for ac_func in _finite
87851 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87852 echo "$as_me:$LINENO: checking for $ac_func" >&5
87853 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87854 if eval "test \"\${$as_ac_var+set}\" = set"; then
87855 echo $ECHO_N "(cached) $ECHO_C" >&6
87856 else
87857 if test x$gcc_no_link = xyes; then
87858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87860 { (exit 1); exit 1; }; }
87862 cat >conftest.$ac_ext <<_ACEOF
87863 /* confdefs.h. */
87864 _ACEOF
87865 cat confdefs.h >>conftest.$ac_ext
87866 cat >>conftest.$ac_ext <<_ACEOF
87867 /* end confdefs.h. */
87868 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87870 #define $ac_func innocuous_$ac_func
87872 /* System header to define __stub macros and hopefully few prototypes,
87873 which can conflict with char $ac_func (); below.
87874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87875 <limits.h> exists even on freestanding compilers. */
87877 #ifdef __STDC__
87878 # include <limits.h>
87879 #else
87880 # include <assert.h>
87881 #endif
87883 #undef $ac_func
87885 /* Override any gcc2 internal prototype to avoid an error. */
87886 #ifdef __cplusplus
87887 extern "C"
87889 #endif
87890 /* We use char because int might match the return type of a gcc2
87891 builtin and then its argument prototype would still apply. */
87892 char $ac_func ();
87893 /* The GNU C library defines this for functions which it implements
87894 to always fail with ENOSYS. Some functions are actually named
87895 something starting with __ and the normal name is an alias. */
87896 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87897 choke me
87898 #else
87899 char (*f) () = $ac_func;
87900 #endif
87901 #ifdef __cplusplus
87903 #endif
87906 main ()
87908 return f != $ac_func;
87910 return 0;
87912 _ACEOF
87913 rm -f conftest.$ac_objext conftest$ac_exeext
87914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87915 (eval $ac_link) 2>conftest.er1
87916 ac_status=$?
87917 grep -v '^ *+' conftest.er1 >conftest.err
87918 rm -f conftest.er1
87919 cat conftest.err >&5
87920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87921 (exit $ac_status); } &&
87922 { ac_try='test -z "$ac_c_werror_flag"
87923 || test ! -s conftest.err'
87924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87925 (eval $ac_try) 2>&5
87926 ac_status=$?
87927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87928 (exit $ac_status); }; } &&
87929 { ac_try='test -s conftest$ac_exeext'
87930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87931 (eval $ac_try) 2>&5
87932 ac_status=$?
87933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87934 (exit $ac_status); }; }; then
87935 eval "$as_ac_var=yes"
87936 else
87937 echo "$as_me: failed program was:" >&5
87938 sed 's/^/| /' conftest.$ac_ext >&5
87940 eval "$as_ac_var=no"
87942 rm -f conftest.err conftest.$ac_objext \
87943 conftest$ac_exeext conftest.$ac_ext
87945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87946 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87947 if test `eval echo '${'$as_ac_var'}'` = yes; then
87948 cat >>confdefs.h <<_ACEOF
87949 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87950 _ACEOF
87953 done
87963 echo "$as_me:$LINENO: checking for copysign declaration" >&5
87964 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
87965 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
87966 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
87967 echo $ECHO_N "(cached) $ECHO_C" >&6
87968 else
87972 ac_ext=cc
87973 ac_cpp='$CXXCPP $CPPFLAGS'
87974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87978 cat >conftest.$ac_ext <<_ACEOF
87979 /* confdefs.h. */
87980 _ACEOF
87981 cat confdefs.h >>conftest.$ac_ext
87982 cat >>conftest.$ac_ext <<_ACEOF
87983 /* end confdefs.h. */
87984 #include <math.h>
87986 main ()
87988 copysign(0, 0);
87990 return 0;
87992 _ACEOF
87993 rm -f conftest.$ac_objext
87994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87995 (eval $ac_compile) 2>conftest.er1
87996 ac_status=$?
87997 grep -v '^ *+' conftest.er1 >conftest.err
87998 rm -f conftest.er1
87999 cat conftest.err >&5
88000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88001 (exit $ac_status); } &&
88002 { ac_try='test -z "$ac_cxx_werror_flag"
88003 || test ! -s conftest.err'
88004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88005 (eval $ac_try) 2>&5
88006 ac_status=$?
88007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88008 (exit $ac_status); }; } &&
88009 { ac_try='test -s conftest.$ac_objext'
88010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88011 (eval $ac_try) 2>&5
88012 ac_status=$?
88013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88014 (exit $ac_status); }; }; then
88015 glibcxx_cv_func_copysign_use=yes
88016 else
88017 echo "$as_me: failed program was:" >&5
88018 sed 's/^/| /' conftest.$ac_ext >&5
88020 glibcxx_cv_func_copysign_use=no
88022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88023 ac_ext=c
88024 ac_cpp='$CPP $CPPFLAGS'
88025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88033 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
88034 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
88036 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
88038 for ac_func in copysign
88040 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88041 echo "$as_me:$LINENO: checking for $ac_func" >&5
88042 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88043 if eval "test \"\${$as_ac_var+set}\" = set"; then
88044 echo $ECHO_N "(cached) $ECHO_C" >&6
88045 else
88046 if test x$gcc_no_link = xyes; then
88047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88049 { (exit 1); exit 1; }; }
88051 cat >conftest.$ac_ext <<_ACEOF
88052 /* confdefs.h. */
88053 _ACEOF
88054 cat confdefs.h >>conftest.$ac_ext
88055 cat >>conftest.$ac_ext <<_ACEOF
88056 /* end confdefs.h. */
88057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88059 #define $ac_func innocuous_$ac_func
88061 /* System header to define __stub macros and hopefully few prototypes,
88062 which can conflict with char $ac_func (); below.
88063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88064 <limits.h> exists even on freestanding compilers. */
88066 #ifdef __STDC__
88067 # include <limits.h>
88068 #else
88069 # include <assert.h>
88070 #endif
88072 #undef $ac_func
88074 /* Override any gcc2 internal prototype to avoid an error. */
88075 #ifdef __cplusplus
88076 extern "C"
88078 #endif
88079 /* We use char because int might match the return type of a gcc2
88080 builtin and then its argument prototype would still apply. */
88081 char $ac_func ();
88082 /* The GNU C library defines this for functions which it implements
88083 to always fail with ENOSYS. Some functions are actually named
88084 something starting with __ and the normal name is an alias. */
88085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88086 choke me
88087 #else
88088 char (*f) () = $ac_func;
88089 #endif
88090 #ifdef __cplusplus
88092 #endif
88095 main ()
88097 return f != $ac_func;
88099 return 0;
88101 _ACEOF
88102 rm -f conftest.$ac_objext conftest$ac_exeext
88103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88104 (eval $ac_link) 2>conftest.er1
88105 ac_status=$?
88106 grep -v '^ *+' conftest.er1 >conftest.err
88107 rm -f conftest.er1
88108 cat conftest.err >&5
88109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88110 (exit $ac_status); } &&
88111 { ac_try='test -z "$ac_c_werror_flag"
88112 || test ! -s conftest.err'
88113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88114 (eval $ac_try) 2>&5
88115 ac_status=$?
88116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88117 (exit $ac_status); }; } &&
88118 { ac_try='test -s conftest$ac_exeext'
88119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88120 (eval $ac_try) 2>&5
88121 ac_status=$?
88122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88123 (exit $ac_status); }; }; then
88124 eval "$as_ac_var=yes"
88125 else
88126 echo "$as_me: failed program was:" >&5
88127 sed 's/^/| /' conftest.$ac_ext >&5
88129 eval "$as_ac_var=no"
88131 rm -f conftest.err conftest.$ac_objext \
88132 conftest$ac_exeext conftest.$ac_ext
88134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88135 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88136 if test `eval echo '${'$as_ac_var'}'` = yes; then
88137 cat >>confdefs.h <<_ACEOF
88138 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88139 _ACEOF
88142 done
88144 else
88146 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
88147 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
88148 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
88149 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
88150 echo $ECHO_N "(cached) $ECHO_C" >&6
88151 else
88155 ac_ext=cc
88156 ac_cpp='$CXXCPP $CPPFLAGS'
88157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88161 cat >conftest.$ac_ext <<_ACEOF
88162 /* confdefs.h. */
88163 _ACEOF
88164 cat confdefs.h >>conftest.$ac_ext
88165 cat >>conftest.$ac_ext <<_ACEOF
88166 /* end confdefs.h. */
88167 #include <math.h>
88169 main ()
88171 _copysign(0, 0);
88173 return 0;
88175 _ACEOF
88176 rm -f conftest.$ac_objext
88177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88178 (eval $ac_compile) 2>conftest.er1
88179 ac_status=$?
88180 grep -v '^ *+' conftest.er1 >conftest.err
88181 rm -f conftest.er1
88182 cat conftest.err >&5
88183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88184 (exit $ac_status); } &&
88185 { ac_try='test -z "$ac_cxx_werror_flag"
88186 || test ! -s conftest.err'
88187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88188 (eval $ac_try) 2>&5
88189 ac_status=$?
88190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88191 (exit $ac_status); }; } &&
88192 { ac_try='test -s conftest.$ac_objext'
88193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88194 (eval $ac_try) 2>&5
88195 ac_status=$?
88196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88197 (exit $ac_status); }; }; then
88198 glibcxx_cv_func__copysign_use=yes
88199 else
88200 echo "$as_me: failed program was:" >&5
88201 sed 's/^/| /' conftest.$ac_ext >&5
88203 glibcxx_cv_func__copysign_use=no
88205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88206 ac_ext=c
88207 ac_cpp='$CPP $CPPFLAGS'
88208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88216 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
88217 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
88219 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
88221 for ac_func in _copysign
88223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88224 echo "$as_me:$LINENO: checking for $ac_func" >&5
88225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88226 if eval "test \"\${$as_ac_var+set}\" = set"; then
88227 echo $ECHO_N "(cached) $ECHO_C" >&6
88228 else
88229 if test x$gcc_no_link = xyes; then
88230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88232 { (exit 1); exit 1; }; }
88234 cat >conftest.$ac_ext <<_ACEOF
88235 /* confdefs.h. */
88236 _ACEOF
88237 cat confdefs.h >>conftest.$ac_ext
88238 cat >>conftest.$ac_ext <<_ACEOF
88239 /* end confdefs.h. */
88240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88242 #define $ac_func innocuous_$ac_func
88244 /* System header to define __stub macros and hopefully few prototypes,
88245 which can conflict with char $ac_func (); below.
88246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88247 <limits.h> exists even on freestanding compilers. */
88249 #ifdef __STDC__
88250 # include <limits.h>
88251 #else
88252 # include <assert.h>
88253 #endif
88255 #undef $ac_func
88257 /* Override any gcc2 internal prototype to avoid an error. */
88258 #ifdef __cplusplus
88259 extern "C"
88261 #endif
88262 /* We use char because int might match the return type of a gcc2
88263 builtin and then its argument prototype would still apply. */
88264 char $ac_func ();
88265 /* The GNU C library defines this for functions which it implements
88266 to always fail with ENOSYS. Some functions are actually named
88267 something starting with __ and the normal name is an alias. */
88268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88269 choke me
88270 #else
88271 char (*f) () = $ac_func;
88272 #endif
88273 #ifdef __cplusplus
88275 #endif
88278 main ()
88280 return f != $ac_func;
88282 return 0;
88284 _ACEOF
88285 rm -f conftest.$ac_objext conftest$ac_exeext
88286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88287 (eval $ac_link) 2>conftest.er1
88288 ac_status=$?
88289 grep -v '^ *+' conftest.er1 >conftest.err
88290 rm -f conftest.er1
88291 cat conftest.err >&5
88292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88293 (exit $ac_status); } &&
88294 { ac_try='test -z "$ac_c_werror_flag"
88295 || test ! -s conftest.err'
88296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88297 (eval $ac_try) 2>&5
88298 ac_status=$?
88299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88300 (exit $ac_status); }; } &&
88301 { ac_try='test -s conftest$ac_exeext'
88302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88303 (eval $ac_try) 2>&5
88304 ac_status=$?
88305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88306 (exit $ac_status); }; }; then
88307 eval "$as_ac_var=yes"
88308 else
88309 echo "$as_me: failed program was:" >&5
88310 sed 's/^/| /' conftest.$ac_ext >&5
88312 eval "$as_ac_var=no"
88314 rm -f conftest.err conftest.$ac_objext \
88315 conftest$ac_exeext conftest.$ac_ext
88317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88319 if test `eval echo '${'$as_ac_var'}'` = yes; then
88320 cat >>confdefs.h <<_ACEOF
88321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88322 _ACEOF
88325 done
88335 echo "$as_me:$LINENO: checking for sincos declaration" >&5
88336 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
88337 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
88338 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
88339 echo $ECHO_N "(cached) $ECHO_C" >&6
88340 else
88344 ac_ext=cc
88345 ac_cpp='$CXXCPP $CPPFLAGS'
88346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88350 cat >conftest.$ac_ext <<_ACEOF
88351 /* confdefs.h. */
88352 _ACEOF
88353 cat confdefs.h >>conftest.$ac_ext
88354 cat >>conftest.$ac_ext <<_ACEOF
88355 /* end confdefs.h. */
88356 #include <math.h>
88358 main ()
88360 sincos(0, 0, 0);
88362 return 0;
88364 _ACEOF
88365 rm -f conftest.$ac_objext
88366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88367 (eval $ac_compile) 2>conftest.er1
88368 ac_status=$?
88369 grep -v '^ *+' conftest.er1 >conftest.err
88370 rm -f conftest.er1
88371 cat conftest.err >&5
88372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88373 (exit $ac_status); } &&
88374 { ac_try='test -z "$ac_cxx_werror_flag"
88375 || test ! -s conftest.err'
88376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88377 (eval $ac_try) 2>&5
88378 ac_status=$?
88379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88380 (exit $ac_status); }; } &&
88381 { ac_try='test -s conftest.$ac_objext'
88382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88383 (eval $ac_try) 2>&5
88384 ac_status=$?
88385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88386 (exit $ac_status); }; }; then
88387 glibcxx_cv_func_sincos_use=yes
88388 else
88389 echo "$as_me: failed program was:" >&5
88390 sed 's/^/| /' conftest.$ac_ext >&5
88392 glibcxx_cv_func_sincos_use=no
88394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88395 ac_ext=c
88396 ac_cpp='$CPP $CPPFLAGS'
88397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88405 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
88406 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
88408 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
88410 for ac_func in sincos
88412 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88413 echo "$as_me:$LINENO: checking for $ac_func" >&5
88414 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88415 if eval "test \"\${$as_ac_var+set}\" = set"; then
88416 echo $ECHO_N "(cached) $ECHO_C" >&6
88417 else
88418 if test x$gcc_no_link = xyes; then
88419 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88420 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88421 { (exit 1); exit 1; }; }
88423 cat >conftest.$ac_ext <<_ACEOF
88424 /* confdefs.h. */
88425 _ACEOF
88426 cat confdefs.h >>conftest.$ac_ext
88427 cat >>conftest.$ac_ext <<_ACEOF
88428 /* end confdefs.h. */
88429 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88430 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88431 #define $ac_func innocuous_$ac_func
88433 /* System header to define __stub macros and hopefully few prototypes,
88434 which can conflict with char $ac_func (); below.
88435 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88436 <limits.h> exists even on freestanding compilers. */
88438 #ifdef __STDC__
88439 # include <limits.h>
88440 #else
88441 # include <assert.h>
88442 #endif
88444 #undef $ac_func
88446 /* Override any gcc2 internal prototype to avoid an error. */
88447 #ifdef __cplusplus
88448 extern "C"
88450 #endif
88451 /* We use char because int might match the return type of a gcc2
88452 builtin and then its argument prototype would still apply. */
88453 char $ac_func ();
88454 /* The GNU C library defines this for functions which it implements
88455 to always fail with ENOSYS. Some functions are actually named
88456 something starting with __ and the normal name is an alias. */
88457 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88458 choke me
88459 #else
88460 char (*f) () = $ac_func;
88461 #endif
88462 #ifdef __cplusplus
88464 #endif
88467 main ()
88469 return f != $ac_func;
88471 return 0;
88473 _ACEOF
88474 rm -f conftest.$ac_objext conftest$ac_exeext
88475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88476 (eval $ac_link) 2>conftest.er1
88477 ac_status=$?
88478 grep -v '^ *+' conftest.er1 >conftest.err
88479 rm -f conftest.er1
88480 cat conftest.err >&5
88481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88482 (exit $ac_status); } &&
88483 { ac_try='test -z "$ac_c_werror_flag"
88484 || test ! -s conftest.err'
88485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88486 (eval $ac_try) 2>&5
88487 ac_status=$?
88488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88489 (exit $ac_status); }; } &&
88490 { ac_try='test -s conftest$ac_exeext'
88491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88492 (eval $ac_try) 2>&5
88493 ac_status=$?
88494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88495 (exit $ac_status); }; }; then
88496 eval "$as_ac_var=yes"
88497 else
88498 echo "$as_me: failed program was:" >&5
88499 sed 's/^/| /' conftest.$ac_ext >&5
88501 eval "$as_ac_var=no"
88503 rm -f conftest.err conftest.$ac_objext \
88504 conftest$ac_exeext conftest.$ac_ext
88506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88507 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88508 if test `eval echo '${'$as_ac_var'}'` = yes; then
88509 cat >>confdefs.h <<_ACEOF
88510 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88511 _ACEOF
88514 done
88516 else
88518 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
88519 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
88520 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
88521 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
88522 echo $ECHO_N "(cached) $ECHO_C" >&6
88523 else
88527 ac_ext=cc
88528 ac_cpp='$CXXCPP $CPPFLAGS'
88529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88533 cat >conftest.$ac_ext <<_ACEOF
88534 /* confdefs.h. */
88535 _ACEOF
88536 cat confdefs.h >>conftest.$ac_ext
88537 cat >>conftest.$ac_ext <<_ACEOF
88538 /* end confdefs.h. */
88539 #include <math.h>
88541 main ()
88543 _sincos(0, 0, 0);
88545 return 0;
88547 _ACEOF
88548 rm -f conftest.$ac_objext
88549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88550 (eval $ac_compile) 2>conftest.er1
88551 ac_status=$?
88552 grep -v '^ *+' conftest.er1 >conftest.err
88553 rm -f conftest.er1
88554 cat conftest.err >&5
88555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88556 (exit $ac_status); } &&
88557 { ac_try='test -z "$ac_cxx_werror_flag"
88558 || test ! -s conftest.err'
88559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88560 (eval $ac_try) 2>&5
88561 ac_status=$?
88562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88563 (exit $ac_status); }; } &&
88564 { ac_try='test -s conftest.$ac_objext'
88565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88566 (eval $ac_try) 2>&5
88567 ac_status=$?
88568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88569 (exit $ac_status); }; }; then
88570 glibcxx_cv_func__sincos_use=yes
88571 else
88572 echo "$as_me: failed program was:" >&5
88573 sed 's/^/| /' conftest.$ac_ext >&5
88575 glibcxx_cv_func__sincos_use=no
88577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88578 ac_ext=c
88579 ac_cpp='$CPP $CPPFLAGS'
88580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88588 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
88589 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
88591 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
88593 for ac_func in _sincos
88595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88596 echo "$as_me:$LINENO: checking for $ac_func" >&5
88597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88598 if eval "test \"\${$as_ac_var+set}\" = set"; then
88599 echo $ECHO_N "(cached) $ECHO_C" >&6
88600 else
88601 if test x$gcc_no_link = xyes; then
88602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88604 { (exit 1); exit 1; }; }
88606 cat >conftest.$ac_ext <<_ACEOF
88607 /* confdefs.h. */
88608 _ACEOF
88609 cat confdefs.h >>conftest.$ac_ext
88610 cat >>conftest.$ac_ext <<_ACEOF
88611 /* end confdefs.h. */
88612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88614 #define $ac_func innocuous_$ac_func
88616 /* System header to define __stub macros and hopefully few prototypes,
88617 which can conflict with char $ac_func (); below.
88618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88619 <limits.h> exists even on freestanding compilers. */
88621 #ifdef __STDC__
88622 # include <limits.h>
88623 #else
88624 # include <assert.h>
88625 #endif
88627 #undef $ac_func
88629 /* Override any gcc2 internal prototype to avoid an error. */
88630 #ifdef __cplusplus
88631 extern "C"
88633 #endif
88634 /* We use char because int might match the return type of a gcc2
88635 builtin and then its argument prototype would still apply. */
88636 char $ac_func ();
88637 /* The GNU C library defines this for functions which it implements
88638 to always fail with ENOSYS. Some functions are actually named
88639 something starting with __ and the normal name is an alias. */
88640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88641 choke me
88642 #else
88643 char (*f) () = $ac_func;
88644 #endif
88645 #ifdef __cplusplus
88647 #endif
88650 main ()
88652 return f != $ac_func;
88654 return 0;
88656 _ACEOF
88657 rm -f conftest.$ac_objext conftest$ac_exeext
88658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88659 (eval $ac_link) 2>conftest.er1
88660 ac_status=$?
88661 grep -v '^ *+' conftest.er1 >conftest.err
88662 rm -f conftest.er1
88663 cat conftest.err >&5
88664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88665 (exit $ac_status); } &&
88666 { ac_try='test -z "$ac_c_werror_flag"
88667 || test ! -s conftest.err'
88668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88669 (eval $ac_try) 2>&5
88670 ac_status=$?
88671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88672 (exit $ac_status); }; } &&
88673 { ac_try='test -s conftest$ac_exeext'
88674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88675 (eval $ac_try) 2>&5
88676 ac_status=$?
88677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88678 (exit $ac_status); }; }; then
88679 eval "$as_ac_var=yes"
88680 else
88681 echo "$as_me: failed program was:" >&5
88682 sed 's/^/| /' conftest.$ac_ext >&5
88684 eval "$as_ac_var=no"
88686 rm -f conftest.err conftest.$ac_objext \
88687 conftest$ac_exeext conftest.$ac_ext
88689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88691 if test `eval echo '${'$as_ac_var'}'` = yes; then
88692 cat >>confdefs.h <<_ACEOF
88693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88694 _ACEOF
88697 done
88707 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
88708 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
88709 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
88710 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
88711 echo $ECHO_N "(cached) $ECHO_C" >&6
88712 else
88716 ac_ext=cc
88717 ac_cpp='$CXXCPP $CPPFLAGS'
88718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88722 cat >conftest.$ac_ext <<_ACEOF
88723 /* confdefs.h. */
88724 _ACEOF
88725 cat confdefs.h >>conftest.$ac_ext
88726 cat >>conftest.$ac_ext <<_ACEOF
88727 /* end confdefs.h. */
88728 #include <math.h>
88729 #ifdef HAVE_IEEEFP_H
88730 #include <ieeefp.h>
88731 #endif
88734 main ()
88736 fpclass(0);
88738 return 0;
88740 _ACEOF
88741 rm -f conftest.$ac_objext
88742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88743 (eval $ac_compile) 2>conftest.er1
88744 ac_status=$?
88745 grep -v '^ *+' conftest.er1 >conftest.err
88746 rm -f conftest.er1
88747 cat conftest.err >&5
88748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88749 (exit $ac_status); } &&
88750 { ac_try='test -z "$ac_cxx_werror_flag"
88751 || test ! -s conftest.err'
88752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88753 (eval $ac_try) 2>&5
88754 ac_status=$?
88755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88756 (exit $ac_status); }; } &&
88757 { ac_try='test -s conftest.$ac_objext'
88758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88759 (eval $ac_try) 2>&5
88760 ac_status=$?
88761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88762 (exit $ac_status); }; }; then
88763 glibcxx_cv_func_fpclass_use=yes
88764 else
88765 echo "$as_me: failed program was:" >&5
88766 sed 's/^/| /' conftest.$ac_ext >&5
88768 glibcxx_cv_func_fpclass_use=no
88770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88771 ac_ext=c
88772 ac_cpp='$CPP $CPPFLAGS'
88773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88781 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
88782 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
88784 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
88786 for ac_func in fpclass
88788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88789 echo "$as_me:$LINENO: checking for $ac_func" >&5
88790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88791 if eval "test \"\${$as_ac_var+set}\" = set"; then
88792 echo $ECHO_N "(cached) $ECHO_C" >&6
88793 else
88794 if test x$gcc_no_link = xyes; then
88795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88797 { (exit 1); exit 1; }; }
88799 cat >conftest.$ac_ext <<_ACEOF
88800 /* confdefs.h. */
88801 _ACEOF
88802 cat confdefs.h >>conftest.$ac_ext
88803 cat >>conftest.$ac_ext <<_ACEOF
88804 /* end confdefs.h. */
88805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88807 #define $ac_func innocuous_$ac_func
88809 /* System header to define __stub macros and hopefully few prototypes,
88810 which can conflict with char $ac_func (); below.
88811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88812 <limits.h> exists even on freestanding compilers. */
88814 #ifdef __STDC__
88815 # include <limits.h>
88816 #else
88817 # include <assert.h>
88818 #endif
88820 #undef $ac_func
88822 /* Override any gcc2 internal prototype to avoid an error. */
88823 #ifdef __cplusplus
88824 extern "C"
88826 #endif
88827 /* We use char because int might match the return type of a gcc2
88828 builtin and then its argument prototype would still apply. */
88829 char $ac_func ();
88830 /* The GNU C library defines this for functions which it implements
88831 to always fail with ENOSYS. Some functions are actually named
88832 something starting with __ and the normal name is an alias. */
88833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88834 choke me
88835 #else
88836 char (*f) () = $ac_func;
88837 #endif
88838 #ifdef __cplusplus
88840 #endif
88843 main ()
88845 return f != $ac_func;
88847 return 0;
88849 _ACEOF
88850 rm -f conftest.$ac_objext conftest$ac_exeext
88851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88852 (eval $ac_link) 2>conftest.er1
88853 ac_status=$?
88854 grep -v '^ *+' conftest.er1 >conftest.err
88855 rm -f conftest.er1
88856 cat conftest.err >&5
88857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88858 (exit $ac_status); } &&
88859 { ac_try='test -z "$ac_c_werror_flag"
88860 || test ! -s conftest.err'
88861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88862 (eval $ac_try) 2>&5
88863 ac_status=$?
88864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88865 (exit $ac_status); }; } &&
88866 { ac_try='test -s conftest$ac_exeext'
88867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88868 (eval $ac_try) 2>&5
88869 ac_status=$?
88870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88871 (exit $ac_status); }; }; then
88872 eval "$as_ac_var=yes"
88873 else
88874 echo "$as_me: failed program was:" >&5
88875 sed 's/^/| /' conftest.$ac_ext >&5
88877 eval "$as_ac_var=no"
88879 rm -f conftest.err conftest.$ac_objext \
88880 conftest$ac_exeext conftest.$ac_ext
88882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88884 if test `eval echo '${'$as_ac_var'}'` = yes; then
88885 cat >>confdefs.h <<_ACEOF
88886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88887 _ACEOF
88890 done
88892 else
88894 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
88895 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
88896 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
88897 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
88898 echo $ECHO_N "(cached) $ECHO_C" >&6
88899 else
88903 ac_ext=cc
88904 ac_cpp='$CXXCPP $CPPFLAGS'
88905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88909 cat >conftest.$ac_ext <<_ACEOF
88910 /* confdefs.h. */
88911 _ACEOF
88912 cat confdefs.h >>conftest.$ac_ext
88913 cat >>conftest.$ac_ext <<_ACEOF
88914 /* end confdefs.h. */
88915 #include <math.h>
88916 #ifdef HAVE_IEEEFP_H
88917 #include <ieeefp.h>
88918 #endif
88921 main ()
88923 _fpclass(0);
88925 return 0;
88927 _ACEOF
88928 rm -f conftest.$ac_objext
88929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88930 (eval $ac_compile) 2>conftest.er1
88931 ac_status=$?
88932 grep -v '^ *+' conftest.er1 >conftest.err
88933 rm -f conftest.er1
88934 cat conftest.err >&5
88935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88936 (exit $ac_status); } &&
88937 { ac_try='test -z "$ac_cxx_werror_flag"
88938 || test ! -s conftest.err'
88939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88940 (eval $ac_try) 2>&5
88941 ac_status=$?
88942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88943 (exit $ac_status); }; } &&
88944 { ac_try='test -s conftest.$ac_objext'
88945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88946 (eval $ac_try) 2>&5
88947 ac_status=$?
88948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88949 (exit $ac_status); }; }; then
88950 glibcxx_cv_func__fpclass_use=yes
88951 else
88952 echo "$as_me: failed program was:" >&5
88953 sed 's/^/| /' conftest.$ac_ext >&5
88955 glibcxx_cv_func__fpclass_use=no
88957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88958 ac_ext=c
88959 ac_cpp='$CPP $CPPFLAGS'
88960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88968 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
88969 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
88971 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
88973 for ac_func in _fpclass
88975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88976 echo "$as_me:$LINENO: checking for $ac_func" >&5
88977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88978 if eval "test \"\${$as_ac_var+set}\" = set"; then
88979 echo $ECHO_N "(cached) $ECHO_C" >&6
88980 else
88981 if test x$gcc_no_link = xyes; then
88982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88984 { (exit 1); exit 1; }; }
88986 cat >conftest.$ac_ext <<_ACEOF
88987 /* confdefs.h. */
88988 _ACEOF
88989 cat confdefs.h >>conftest.$ac_ext
88990 cat >>conftest.$ac_ext <<_ACEOF
88991 /* end confdefs.h. */
88992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88994 #define $ac_func innocuous_$ac_func
88996 /* System header to define __stub macros and hopefully few prototypes,
88997 which can conflict with char $ac_func (); below.
88998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88999 <limits.h> exists even on freestanding compilers. */
89001 #ifdef __STDC__
89002 # include <limits.h>
89003 #else
89004 # include <assert.h>
89005 #endif
89007 #undef $ac_func
89009 /* Override any gcc2 internal prototype to avoid an error. */
89010 #ifdef __cplusplus
89011 extern "C"
89013 #endif
89014 /* We use char because int might match the return type of a gcc2
89015 builtin and then its argument prototype would still apply. */
89016 char $ac_func ();
89017 /* The GNU C library defines this for functions which it implements
89018 to always fail with ENOSYS. Some functions are actually named
89019 something starting with __ and the normal name is an alias. */
89020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89021 choke me
89022 #else
89023 char (*f) () = $ac_func;
89024 #endif
89025 #ifdef __cplusplus
89027 #endif
89030 main ()
89032 return f != $ac_func;
89034 return 0;
89036 _ACEOF
89037 rm -f conftest.$ac_objext conftest$ac_exeext
89038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89039 (eval $ac_link) 2>conftest.er1
89040 ac_status=$?
89041 grep -v '^ *+' conftest.er1 >conftest.err
89042 rm -f conftest.er1
89043 cat conftest.err >&5
89044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89045 (exit $ac_status); } &&
89046 { ac_try='test -z "$ac_c_werror_flag"
89047 || test ! -s conftest.err'
89048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89049 (eval $ac_try) 2>&5
89050 ac_status=$?
89051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89052 (exit $ac_status); }; } &&
89053 { ac_try='test -s conftest$ac_exeext'
89054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89055 (eval $ac_try) 2>&5
89056 ac_status=$?
89057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89058 (exit $ac_status); }; }; then
89059 eval "$as_ac_var=yes"
89060 else
89061 echo "$as_me: failed program was:" >&5
89062 sed 's/^/| /' conftest.$ac_ext >&5
89064 eval "$as_ac_var=no"
89066 rm -f conftest.err conftest.$ac_objext \
89067 conftest$ac_exeext conftest.$ac_ext
89069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89071 if test `eval echo '${'$as_ac_var'}'` = yes; then
89072 cat >>confdefs.h <<_ACEOF
89073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89074 _ACEOF
89077 done
89087 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
89088 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
89089 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
89090 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
89091 echo $ECHO_N "(cached) $ECHO_C" >&6
89092 else
89096 ac_ext=cc
89097 ac_cpp='$CXXCPP $CPPFLAGS'
89098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89102 cat >conftest.$ac_ext <<_ACEOF
89103 /* confdefs.h. */
89104 _ACEOF
89105 cat confdefs.h >>conftest.$ac_ext
89106 cat >>conftest.$ac_ext <<_ACEOF
89107 /* end confdefs.h. */
89108 #include <math.h>
89109 #ifdef HAVE_IEEEFP_H
89110 #include <ieeefp.h>
89111 #endif
89114 main ()
89116 qfpclass(0);
89118 return 0;
89120 _ACEOF
89121 rm -f conftest.$ac_objext
89122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89123 (eval $ac_compile) 2>conftest.er1
89124 ac_status=$?
89125 grep -v '^ *+' conftest.er1 >conftest.err
89126 rm -f conftest.er1
89127 cat conftest.err >&5
89128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89129 (exit $ac_status); } &&
89130 { ac_try='test -z "$ac_cxx_werror_flag"
89131 || test ! -s conftest.err'
89132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89133 (eval $ac_try) 2>&5
89134 ac_status=$?
89135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89136 (exit $ac_status); }; } &&
89137 { ac_try='test -s conftest.$ac_objext'
89138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89139 (eval $ac_try) 2>&5
89140 ac_status=$?
89141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89142 (exit $ac_status); }; }; then
89143 glibcxx_cv_func_qfpclass_use=yes
89144 else
89145 echo "$as_me: failed program was:" >&5
89146 sed 's/^/| /' conftest.$ac_ext >&5
89148 glibcxx_cv_func_qfpclass_use=no
89150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89151 ac_ext=c
89152 ac_cpp='$CPP $CPPFLAGS'
89153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89161 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
89162 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
89164 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
89166 for ac_func in qfpclass
89168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89169 echo "$as_me:$LINENO: checking for $ac_func" >&5
89170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89171 if eval "test \"\${$as_ac_var+set}\" = set"; then
89172 echo $ECHO_N "(cached) $ECHO_C" >&6
89173 else
89174 if test x$gcc_no_link = xyes; then
89175 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89177 { (exit 1); exit 1; }; }
89179 cat >conftest.$ac_ext <<_ACEOF
89180 /* confdefs.h. */
89181 _ACEOF
89182 cat confdefs.h >>conftest.$ac_ext
89183 cat >>conftest.$ac_ext <<_ACEOF
89184 /* end confdefs.h. */
89185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89187 #define $ac_func innocuous_$ac_func
89189 /* System header to define __stub macros and hopefully few prototypes,
89190 which can conflict with char $ac_func (); below.
89191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89192 <limits.h> exists even on freestanding compilers. */
89194 #ifdef __STDC__
89195 # include <limits.h>
89196 #else
89197 # include <assert.h>
89198 #endif
89200 #undef $ac_func
89202 /* Override any gcc2 internal prototype to avoid an error. */
89203 #ifdef __cplusplus
89204 extern "C"
89206 #endif
89207 /* We use char because int might match the return type of a gcc2
89208 builtin and then its argument prototype would still apply. */
89209 char $ac_func ();
89210 /* The GNU C library defines this for functions which it implements
89211 to always fail with ENOSYS. Some functions are actually named
89212 something starting with __ and the normal name is an alias. */
89213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89214 choke me
89215 #else
89216 char (*f) () = $ac_func;
89217 #endif
89218 #ifdef __cplusplus
89220 #endif
89223 main ()
89225 return f != $ac_func;
89227 return 0;
89229 _ACEOF
89230 rm -f conftest.$ac_objext conftest$ac_exeext
89231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89232 (eval $ac_link) 2>conftest.er1
89233 ac_status=$?
89234 grep -v '^ *+' conftest.er1 >conftest.err
89235 rm -f conftest.er1
89236 cat conftest.err >&5
89237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89238 (exit $ac_status); } &&
89239 { ac_try='test -z "$ac_c_werror_flag"
89240 || test ! -s conftest.err'
89241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89242 (eval $ac_try) 2>&5
89243 ac_status=$?
89244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89245 (exit $ac_status); }; } &&
89246 { ac_try='test -s conftest$ac_exeext'
89247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89248 (eval $ac_try) 2>&5
89249 ac_status=$?
89250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89251 (exit $ac_status); }; }; then
89252 eval "$as_ac_var=yes"
89253 else
89254 echo "$as_me: failed program was:" >&5
89255 sed 's/^/| /' conftest.$ac_ext >&5
89257 eval "$as_ac_var=no"
89259 rm -f conftest.err conftest.$ac_objext \
89260 conftest$ac_exeext conftest.$ac_ext
89262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89264 if test `eval echo '${'$as_ac_var'}'` = yes; then
89265 cat >>confdefs.h <<_ACEOF
89266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89267 _ACEOF
89270 done
89272 else
89274 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
89275 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
89276 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
89277 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
89278 echo $ECHO_N "(cached) $ECHO_C" >&6
89279 else
89283 ac_ext=cc
89284 ac_cpp='$CXXCPP $CPPFLAGS'
89285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89289 cat >conftest.$ac_ext <<_ACEOF
89290 /* confdefs.h. */
89291 _ACEOF
89292 cat confdefs.h >>conftest.$ac_ext
89293 cat >>conftest.$ac_ext <<_ACEOF
89294 /* end confdefs.h. */
89295 #include <math.h>
89296 #ifdef HAVE_IEEEFP_H
89297 #include <ieeefp.h>
89298 #endif
89301 main ()
89303 _qfpclass(0);
89305 return 0;
89307 _ACEOF
89308 rm -f conftest.$ac_objext
89309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89310 (eval $ac_compile) 2>conftest.er1
89311 ac_status=$?
89312 grep -v '^ *+' conftest.er1 >conftest.err
89313 rm -f conftest.er1
89314 cat conftest.err >&5
89315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89316 (exit $ac_status); } &&
89317 { ac_try='test -z "$ac_cxx_werror_flag"
89318 || test ! -s conftest.err'
89319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89320 (eval $ac_try) 2>&5
89321 ac_status=$?
89322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89323 (exit $ac_status); }; } &&
89324 { ac_try='test -s conftest.$ac_objext'
89325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89326 (eval $ac_try) 2>&5
89327 ac_status=$?
89328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89329 (exit $ac_status); }; }; then
89330 glibcxx_cv_func__qfpclass_use=yes
89331 else
89332 echo "$as_me: failed program was:" >&5
89333 sed 's/^/| /' conftest.$ac_ext >&5
89335 glibcxx_cv_func__qfpclass_use=no
89337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89338 ac_ext=c
89339 ac_cpp='$CPP $CPPFLAGS'
89340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89348 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
89349 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
89351 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
89353 for ac_func in _qfpclass
89355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89356 echo "$as_me:$LINENO: checking for $ac_func" >&5
89357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89358 if eval "test \"\${$as_ac_var+set}\" = set"; then
89359 echo $ECHO_N "(cached) $ECHO_C" >&6
89360 else
89361 if test x$gcc_no_link = xyes; then
89362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89364 { (exit 1); exit 1; }; }
89366 cat >conftest.$ac_ext <<_ACEOF
89367 /* confdefs.h. */
89368 _ACEOF
89369 cat confdefs.h >>conftest.$ac_ext
89370 cat >>conftest.$ac_ext <<_ACEOF
89371 /* end confdefs.h. */
89372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89373 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89374 #define $ac_func innocuous_$ac_func
89376 /* System header to define __stub macros and hopefully few prototypes,
89377 which can conflict with char $ac_func (); below.
89378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89379 <limits.h> exists even on freestanding compilers. */
89381 #ifdef __STDC__
89382 # include <limits.h>
89383 #else
89384 # include <assert.h>
89385 #endif
89387 #undef $ac_func
89389 /* Override any gcc2 internal prototype to avoid an error. */
89390 #ifdef __cplusplus
89391 extern "C"
89393 #endif
89394 /* We use char because int might match the return type of a gcc2
89395 builtin and then its argument prototype would still apply. */
89396 char $ac_func ();
89397 /* The GNU C library defines this for functions which it implements
89398 to always fail with ENOSYS. Some functions are actually named
89399 something starting with __ and the normal name is an alias. */
89400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89401 choke me
89402 #else
89403 char (*f) () = $ac_func;
89404 #endif
89405 #ifdef __cplusplus
89407 #endif
89410 main ()
89412 return f != $ac_func;
89414 return 0;
89416 _ACEOF
89417 rm -f conftest.$ac_objext conftest$ac_exeext
89418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89419 (eval $ac_link) 2>conftest.er1
89420 ac_status=$?
89421 grep -v '^ *+' conftest.er1 >conftest.err
89422 rm -f conftest.er1
89423 cat conftest.err >&5
89424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89425 (exit $ac_status); } &&
89426 { ac_try='test -z "$ac_c_werror_flag"
89427 || test ! -s conftest.err'
89428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89429 (eval $ac_try) 2>&5
89430 ac_status=$?
89431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89432 (exit $ac_status); }; } &&
89433 { ac_try='test -s conftest$ac_exeext'
89434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89435 (eval $ac_try) 2>&5
89436 ac_status=$?
89437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89438 (exit $ac_status); }; }; then
89439 eval "$as_ac_var=yes"
89440 else
89441 echo "$as_me: failed program was:" >&5
89442 sed 's/^/| /' conftest.$ac_ext >&5
89444 eval "$as_ac_var=no"
89446 rm -f conftest.err conftest.$ac_objext \
89447 conftest$ac_exeext conftest.$ac_ext
89449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89451 if test `eval echo '${'$as_ac_var'}'` = yes; then
89452 cat >>confdefs.h <<_ACEOF
89453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89454 _ACEOF
89457 done
89467 echo "$as_me:$LINENO: checking for hypot declaration" >&5
89468 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
89469 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
89470 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
89471 echo $ECHO_N "(cached) $ECHO_C" >&6
89472 else
89476 ac_ext=cc
89477 ac_cpp='$CXXCPP $CPPFLAGS'
89478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89482 cat >conftest.$ac_ext <<_ACEOF
89483 /* confdefs.h. */
89484 _ACEOF
89485 cat confdefs.h >>conftest.$ac_ext
89486 cat >>conftest.$ac_ext <<_ACEOF
89487 /* end confdefs.h. */
89488 #include <math.h>
89490 main ()
89492 hypot(0, 0);
89494 return 0;
89496 _ACEOF
89497 rm -f conftest.$ac_objext
89498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89499 (eval $ac_compile) 2>conftest.er1
89500 ac_status=$?
89501 grep -v '^ *+' conftest.er1 >conftest.err
89502 rm -f conftest.er1
89503 cat conftest.err >&5
89504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89505 (exit $ac_status); } &&
89506 { ac_try='test -z "$ac_cxx_werror_flag"
89507 || test ! -s conftest.err'
89508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89509 (eval $ac_try) 2>&5
89510 ac_status=$?
89511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89512 (exit $ac_status); }; } &&
89513 { ac_try='test -s conftest.$ac_objext'
89514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89515 (eval $ac_try) 2>&5
89516 ac_status=$?
89517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89518 (exit $ac_status); }; }; then
89519 glibcxx_cv_func_hypot_use=yes
89520 else
89521 echo "$as_me: failed program was:" >&5
89522 sed 's/^/| /' conftest.$ac_ext >&5
89524 glibcxx_cv_func_hypot_use=no
89526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89527 ac_ext=c
89528 ac_cpp='$CPP $CPPFLAGS'
89529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89537 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
89538 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
89540 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
89542 for ac_func in hypot
89544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89545 echo "$as_me:$LINENO: checking for $ac_func" >&5
89546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89547 if eval "test \"\${$as_ac_var+set}\" = set"; then
89548 echo $ECHO_N "(cached) $ECHO_C" >&6
89549 else
89550 if test x$gcc_no_link = xyes; then
89551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89553 { (exit 1); exit 1; }; }
89555 cat >conftest.$ac_ext <<_ACEOF
89556 /* confdefs.h. */
89557 _ACEOF
89558 cat confdefs.h >>conftest.$ac_ext
89559 cat >>conftest.$ac_ext <<_ACEOF
89560 /* end confdefs.h. */
89561 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89562 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89563 #define $ac_func innocuous_$ac_func
89565 /* System header to define __stub macros and hopefully few prototypes,
89566 which can conflict with char $ac_func (); below.
89567 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89568 <limits.h> exists even on freestanding compilers. */
89570 #ifdef __STDC__
89571 # include <limits.h>
89572 #else
89573 # include <assert.h>
89574 #endif
89576 #undef $ac_func
89578 /* Override any gcc2 internal prototype to avoid an error. */
89579 #ifdef __cplusplus
89580 extern "C"
89582 #endif
89583 /* We use char because int might match the return type of a gcc2
89584 builtin and then its argument prototype would still apply. */
89585 char $ac_func ();
89586 /* The GNU C library defines this for functions which it implements
89587 to always fail with ENOSYS. Some functions are actually named
89588 something starting with __ and the normal name is an alias. */
89589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89590 choke me
89591 #else
89592 char (*f) () = $ac_func;
89593 #endif
89594 #ifdef __cplusplus
89596 #endif
89599 main ()
89601 return f != $ac_func;
89603 return 0;
89605 _ACEOF
89606 rm -f conftest.$ac_objext conftest$ac_exeext
89607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89608 (eval $ac_link) 2>conftest.er1
89609 ac_status=$?
89610 grep -v '^ *+' conftest.er1 >conftest.err
89611 rm -f conftest.er1
89612 cat conftest.err >&5
89613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89614 (exit $ac_status); } &&
89615 { ac_try='test -z "$ac_c_werror_flag"
89616 || test ! -s conftest.err'
89617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89618 (eval $ac_try) 2>&5
89619 ac_status=$?
89620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89621 (exit $ac_status); }; } &&
89622 { ac_try='test -s conftest$ac_exeext'
89623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89624 (eval $ac_try) 2>&5
89625 ac_status=$?
89626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89627 (exit $ac_status); }; }; then
89628 eval "$as_ac_var=yes"
89629 else
89630 echo "$as_me: failed program was:" >&5
89631 sed 's/^/| /' conftest.$ac_ext >&5
89633 eval "$as_ac_var=no"
89635 rm -f conftest.err conftest.$ac_objext \
89636 conftest$ac_exeext conftest.$ac_ext
89638 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89639 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89640 if test `eval echo '${'$as_ac_var'}'` = yes; then
89641 cat >>confdefs.h <<_ACEOF
89642 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89643 _ACEOF
89646 done
89648 else
89650 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
89651 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
89652 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
89653 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
89654 echo $ECHO_N "(cached) $ECHO_C" >&6
89655 else
89659 ac_ext=cc
89660 ac_cpp='$CXXCPP $CPPFLAGS'
89661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89665 cat >conftest.$ac_ext <<_ACEOF
89666 /* confdefs.h. */
89667 _ACEOF
89668 cat confdefs.h >>conftest.$ac_ext
89669 cat >>conftest.$ac_ext <<_ACEOF
89670 /* end confdefs.h. */
89671 #include <math.h>
89673 main ()
89675 _hypot(0, 0);
89677 return 0;
89679 _ACEOF
89680 rm -f conftest.$ac_objext
89681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89682 (eval $ac_compile) 2>conftest.er1
89683 ac_status=$?
89684 grep -v '^ *+' conftest.er1 >conftest.err
89685 rm -f conftest.er1
89686 cat conftest.err >&5
89687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89688 (exit $ac_status); } &&
89689 { ac_try='test -z "$ac_cxx_werror_flag"
89690 || test ! -s conftest.err'
89691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89692 (eval $ac_try) 2>&5
89693 ac_status=$?
89694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89695 (exit $ac_status); }; } &&
89696 { ac_try='test -s conftest.$ac_objext'
89697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89698 (eval $ac_try) 2>&5
89699 ac_status=$?
89700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89701 (exit $ac_status); }; }; then
89702 glibcxx_cv_func__hypot_use=yes
89703 else
89704 echo "$as_me: failed program was:" >&5
89705 sed 's/^/| /' conftest.$ac_ext >&5
89707 glibcxx_cv_func__hypot_use=no
89709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89710 ac_ext=c
89711 ac_cpp='$CPP $CPPFLAGS'
89712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89720 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
89721 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
89723 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
89725 for ac_func in _hypot
89727 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89728 echo "$as_me:$LINENO: checking for $ac_func" >&5
89729 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89730 if eval "test \"\${$as_ac_var+set}\" = set"; then
89731 echo $ECHO_N "(cached) $ECHO_C" >&6
89732 else
89733 if test x$gcc_no_link = xyes; then
89734 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89735 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89736 { (exit 1); exit 1; }; }
89738 cat >conftest.$ac_ext <<_ACEOF
89739 /* confdefs.h. */
89740 _ACEOF
89741 cat confdefs.h >>conftest.$ac_ext
89742 cat >>conftest.$ac_ext <<_ACEOF
89743 /* end confdefs.h. */
89744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89746 #define $ac_func innocuous_$ac_func
89748 /* System header to define __stub macros and hopefully few prototypes,
89749 which can conflict with char $ac_func (); below.
89750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89751 <limits.h> exists even on freestanding compilers. */
89753 #ifdef __STDC__
89754 # include <limits.h>
89755 #else
89756 # include <assert.h>
89757 #endif
89759 #undef $ac_func
89761 /* Override any gcc2 internal prototype to avoid an error. */
89762 #ifdef __cplusplus
89763 extern "C"
89765 #endif
89766 /* We use char because int might match the return type of a gcc2
89767 builtin and then its argument prototype would still apply. */
89768 char $ac_func ();
89769 /* The GNU C library defines this for functions which it implements
89770 to always fail with ENOSYS. Some functions are actually named
89771 something starting with __ and the normal name is an alias. */
89772 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89773 choke me
89774 #else
89775 char (*f) () = $ac_func;
89776 #endif
89777 #ifdef __cplusplus
89779 #endif
89782 main ()
89784 return f != $ac_func;
89786 return 0;
89788 _ACEOF
89789 rm -f conftest.$ac_objext conftest$ac_exeext
89790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89791 (eval $ac_link) 2>conftest.er1
89792 ac_status=$?
89793 grep -v '^ *+' conftest.er1 >conftest.err
89794 rm -f conftest.er1
89795 cat conftest.err >&5
89796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89797 (exit $ac_status); } &&
89798 { ac_try='test -z "$ac_c_werror_flag"
89799 || test ! -s conftest.err'
89800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89801 (eval $ac_try) 2>&5
89802 ac_status=$?
89803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89804 (exit $ac_status); }; } &&
89805 { ac_try='test -s conftest$ac_exeext'
89806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89807 (eval $ac_try) 2>&5
89808 ac_status=$?
89809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89810 (exit $ac_status); }; }; then
89811 eval "$as_ac_var=yes"
89812 else
89813 echo "$as_me: failed program was:" >&5
89814 sed 's/^/| /' conftest.$ac_ext >&5
89816 eval "$as_ac_var=no"
89818 rm -f conftest.err conftest.$ac_objext \
89819 conftest$ac_exeext conftest.$ac_ext
89821 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89822 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89823 if test `eval echo '${'$as_ac_var'}'` = yes; then
89824 cat >>confdefs.h <<_ACEOF
89825 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89826 _ACEOF
89829 done
89839 echo "$as_me:$LINENO: checking for float trig functions" >&5
89840 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
89841 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
89842 echo $ECHO_N "(cached) $ECHO_C" >&6
89843 else
89847 ac_ext=cc
89848 ac_cpp='$CXXCPP $CPPFLAGS'
89849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89853 cat >conftest.$ac_ext <<_ACEOF
89854 /* confdefs.h. */
89855 _ACEOF
89856 cat confdefs.h >>conftest.$ac_ext
89857 cat >>conftest.$ac_ext <<_ACEOF
89858 /* end confdefs.h. */
89859 #include <math.h>
89861 main ()
89863 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
89865 return 0;
89867 _ACEOF
89868 rm -f conftest.$ac_objext
89869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89870 (eval $ac_compile) 2>conftest.er1
89871 ac_status=$?
89872 grep -v '^ *+' conftest.er1 >conftest.err
89873 rm -f conftest.er1
89874 cat conftest.err >&5
89875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89876 (exit $ac_status); } &&
89877 { ac_try='test -z "$ac_cxx_werror_flag"
89878 || test ! -s conftest.err'
89879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89880 (eval $ac_try) 2>&5
89881 ac_status=$?
89882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89883 (exit $ac_status); }; } &&
89884 { ac_try='test -s conftest.$ac_objext'
89885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89886 (eval $ac_try) 2>&5
89887 ac_status=$?
89888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89889 (exit $ac_status); }; }; then
89890 glibcxx_cv_func_float_trig_use=yes
89891 else
89892 echo "$as_me: failed program was:" >&5
89893 sed 's/^/| /' conftest.$ac_ext >&5
89895 glibcxx_cv_func_float_trig_use=no
89897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89898 ac_ext=c
89899 ac_cpp='$CPP $CPPFLAGS'
89900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89906 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
89907 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
89908 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
89918 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
89920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89921 echo "$as_me:$LINENO: checking for $ac_func" >&5
89922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89923 if eval "test \"\${$as_ac_var+set}\" = set"; then
89924 echo $ECHO_N "(cached) $ECHO_C" >&6
89925 else
89926 if test x$gcc_no_link = xyes; then
89927 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89928 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89929 { (exit 1); exit 1; }; }
89931 cat >conftest.$ac_ext <<_ACEOF
89932 /* confdefs.h. */
89933 _ACEOF
89934 cat confdefs.h >>conftest.$ac_ext
89935 cat >>conftest.$ac_ext <<_ACEOF
89936 /* end confdefs.h. */
89937 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89939 #define $ac_func innocuous_$ac_func
89941 /* System header to define __stub macros and hopefully few prototypes,
89942 which can conflict with char $ac_func (); below.
89943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89944 <limits.h> exists even on freestanding compilers. */
89946 #ifdef __STDC__
89947 # include <limits.h>
89948 #else
89949 # include <assert.h>
89950 #endif
89952 #undef $ac_func
89954 /* Override any gcc2 internal prototype to avoid an error. */
89955 #ifdef __cplusplus
89956 extern "C"
89958 #endif
89959 /* We use char because int might match the return type of a gcc2
89960 builtin and then its argument prototype would still apply. */
89961 char $ac_func ();
89962 /* The GNU C library defines this for functions which it implements
89963 to always fail with ENOSYS. Some functions are actually named
89964 something starting with __ and the normal name is an alias. */
89965 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89966 choke me
89967 #else
89968 char (*f) () = $ac_func;
89969 #endif
89970 #ifdef __cplusplus
89972 #endif
89975 main ()
89977 return f != $ac_func;
89979 return 0;
89981 _ACEOF
89982 rm -f conftest.$ac_objext conftest$ac_exeext
89983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89984 (eval $ac_link) 2>conftest.er1
89985 ac_status=$?
89986 grep -v '^ *+' conftest.er1 >conftest.err
89987 rm -f conftest.er1
89988 cat conftest.err >&5
89989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89990 (exit $ac_status); } &&
89991 { ac_try='test -z "$ac_c_werror_flag"
89992 || test ! -s conftest.err'
89993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89994 (eval $ac_try) 2>&5
89995 ac_status=$?
89996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89997 (exit $ac_status); }; } &&
89998 { ac_try='test -s conftest$ac_exeext'
89999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90000 (eval $ac_try) 2>&5
90001 ac_status=$?
90002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90003 (exit $ac_status); }; }; then
90004 eval "$as_ac_var=yes"
90005 else
90006 echo "$as_me: failed program was:" >&5
90007 sed 's/^/| /' conftest.$ac_ext >&5
90009 eval "$as_ac_var=no"
90011 rm -f conftest.err conftest.$ac_objext \
90012 conftest$ac_exeext conftest.$ac_ext
90014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90015 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90016 if test `eval echo '${'$as_ac_var'}'` = yes; then
90017 cat >>confdefs.h <<_ACEOF
90018 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90019 _ACEOF
90022 done
90024 else
90025 echo "$as_me:$LINENO: checking for _float trig functions" >&5
90026 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
90027 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
90028 echo $ECHO_N "(cached) $ECHO_C" >&6
90029 else
90033 ac_ext=cc
90034 ac_cpp='$CXXCPP $CPPFLAGS'
90035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90039 cat >conftest.$ac_ext <<_ACEOF
90040 /* confdefs.h. */
90041 _ACEOF
90042 cat confdefs.h >>conftest.$ac_ext
90043 cat >>conftest.$ac_ext <<_ACEOF
90044 /* end confdefs.h. */
90045 #include <math.h>
90047 main ()
90049 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
90051 return 0;
90053 _ACEOF
90054 rm -f conftest.$ac_objext
90055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90056 (eval $ac_compile) 2>conftest.er1
90057 ac_status=$?
90058 grep -v '^ *+' conftest.er1 >conftest.err
90059 rm -f conftest.er1
90060 cat conftest.err >&5
90061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90062 (exit $ac_status); } &&
90063 { ac_try='test -z "$ac_cxx_werror_flag"
90064 || test ! -s conftest.err'
90065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90066 (eval $ac_try) 2>&5
90067 ac_status=$?
90068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90069 (exit $ac_status); }; } &&
90070 { ac_try='test -s conftest.$ac_objext'
90071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90072 (eval $ac_try) 2>&5
90073 ac_status=$?
90074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90075 (exit $ac_status); }; }; then
90076 glibcxx_cv_func__float_trig_use=yes
90077 else
90078 echo "$as_me: failed program was:" >&5
90079 sed 's/^/| /' conftest.$ac_ext >&5
90081 glibcxx_cv_func__float_trig_use=no
90083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90084 ac_ext=c
90085 ac_cpp='$CPP $CPPFLAGS'
90086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90092 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
90093 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
90094 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
90104 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
90106 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90107 echo "$as_me:$LINENO: checking for $ac_func" >&5
90108 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90109 if eval "test \"\${$as_ac_var+set}\" = set"; then
90110 echo $ECHO_N "(cached) $ECHO_C" >&6
90111 else
90112 if test x$gcc_no_link = xyes; then
90113 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90114 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90115 { (exit 1); exit 1; }; }
90117 cat >conftest.$ac_ext <<_ACEOF
90118 /* confdefs.h. */
90119 _ACEOF
90120 cat confdefs.h >>conftest.$ac_ext
90121 cat >>conftest.$ac_ext <<_ACEOF
90122 /* end confdefs.h. */
90123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90124 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90125 #define $ac_func innocuous_$ac_func
90127 /* System header to define __stub macros and hopefully few prototypes,
90128 which can conflict with char $ac_func (); below.
90129 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90130 <limits.h> exists even on freestanding compilers. */
90132 #ifdef __STDC__
90133 # include <limits.h>
90134 #else
90135 # include <assert.h>
90136 #endif
90138 #undef $ac_func
90140 /* Override any gcc2 internal prototype to avoid an error. */
90141 #ifdef __cplusplus
90142 extern "C"
90144 #endif
90145 /* We use char because int might match the return type of a gcc2
90146 builtin and then its argument prototype would still apply. */
90147 char $ac_func ();
90148 /* The GNU C library defines this for functions which it implements
90149 to always fail with ENOSYS. Some functions are actually named
90150 something starting with __ and the normal name is an alias. */
90151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90152 choke me
90153 #else
90154 char (*f) () = $ac_func;
90155 #endif
90156 #ifdef __cplusplus
90158 #endif
90161 main ()
90163 return f != $ac_func;
90165 return 0;
90167 _ACEOF
90168 rm -f conftest.$ac_objext conftest$ac_exeext
90169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90170 (eval $ac_link) 2>conftest.er1
90171 ac_status=$?
90172 grep -v '^ *+' conftest.er1 >conftest.err
90173 rm -f conftest.er1
90174 cat conftest.err >&5
90175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90176 (exit $ac_status); } &&
90177 { ac_try='test -z "$ac_c_werror_flag"
90178 || test ! -s conftest.err'
90179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90180 (eval $ac_try) 2>&5
90181 ac_status=$?
90182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90183 (exit $ac_status); }; } &&
90184 { ac_try='test -s conftest$ac_exeext'
90185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90186 (eval $ac_try) 2>&5
90187 ac_status=$?
90188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90189 (exit $ac_status); }; }; then
90190 eval "$as_ac_var=yes"
90191 else
90192 echo "$as_me: failed program was:" >&5
90193 sed 's/^/| /' conftest.$ac_ext >&5
90195 eval "$as_ac_var=no"
90197 rm -f conftest.err conftest.$ac_objext \
90198 conftest$ac_exeext conftest.$ac_ext
90200 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90201 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90202 if test `eval echo '${'$as_ac_var'}'` = yes; then
90203 cat >>confdefs.h <<_ACEOF
90204 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90205 _ACEOF
90208 done
90226 echo "$as_me:$LINENO: checking for float round functions" >&5
90227 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
90228 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
90229 echo $ECHO_N "(cached) $ECHO_C" >&6
90230 else
90234 ac_ext=cc
90235 ac_cpp='$CXXCPP $CPPFLAGS'
90236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90240 cat >conftest.$ac_ext <<_ACEOF
90241 /* confdefs.h. */
90242 _ACEOF
90243 cat confdefs.h >>conftest.$ac_ext
90244 cat >>conftest.$ac_ext <<_ACEOF
90245 /* end confdefs.h. */
90246 #include <math.h>
90248 main ()
90250 ceilf (0); floorf (0);
90252 return 0;
90254 _ACEOF
90255 rm -f conftest.$ac_objext
90256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90257 (eval $ac_compile) 2>conftest.er1
90258 ac_status=$?
90259 grep -v '^ *+' conftest.er1 >conftest.err
90260 rm -f conftest.er1
90261 cat conftest.err >&5
90262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90263 (exit $ac_status); } &&
90264 { ac_try='test -z "$ac_cxx_werror_flag"
90265 || test ! -s conftest.err'
90266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90267 (eval $ac_try) 2>&5
90268 ac_status=$?
90269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90270 (exit $ac_status); }; } &&
90271 { ac_try='test -s conftest.$ac_objext'
90272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90273 (eval $ac_try) 2>&5
90274 ac_status=$?
90275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90276 (exit $ac_status); }; }; then
90277 glibcxx_cv_func_float_round_use=yes
90278 else
90279 echo "$as_me: failed program was:" >&5
90280 sed 's/^/| /' conftest.$ac_ext >&5
90282 glibcxx_cv_func_float_round_use=no
90284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90285 ac_ext=c
90286 ac_cpp='$CPP $CPPFLAGS'
90287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90293 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
90294 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
90295 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
90298 for ac_func in ceilf floorf
90300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90301 echo "$as_me:$LINENO: checking for $ac_func" >&5
90302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90303 if eval "test \"\${$as_ac_var+set}\" = set"; then
90304 echo $ECHO_N "(cached) $ECHO_C" >&6
90305 else
90306 if test x$gcc_no_link = xyes; then
90307 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90309 { (exit 1); exit 1; }; }
90311 cat >conftest.$ac_ext <<_ACEOF
90312 /* confdefs.h. */
90313 _ACEOF
90314 cat confdefs.h >>conftest.$ac_ext
90315 cat >>conftest.$ac_ext <<_ACEOF
90316 /* end confdefs.h. */
90317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90319 #define $ac_func innocuous_$ac_func
90321 /* System header to define __stub macros and hopefully few prototypes,
90322 which can conflict with char $ac_func (); below.
90323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90324 <limits.h> exists even on freestanding compilers. */
90326 #ifdef __STDC__
90327 # include <limits.h>
90328 #else
90329 # include <assert.h>
90330 #endif
90332 #undef $ac_func
90334 /* Override any gcc2 internal prototype to avoid an error. */
90335 #ifdef __cplusplus
90336 extern "C"
90338 #endif
90339 /* We use char because int might match the return type of a gcc2
90340 builtin and then its argument prototype would still apply. */
90341 char $ac_func ();
90342 /* The GNU C library defines this for functions which it implements
90343 to always fail with ENOSYS. Some functions are actually named
90344 something starting with __ and the normal name is an alias. */
90345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90346 choke me
90347 #else
90348 char (*f) () = $ac_func;
90349 #endif
90350 #ifdef __cplusplus
90352 #endif
90355 main ()
90357 return f != $ac_func;
90359 return 0;
90361 _ACEOF
90362 rm -f conftest.$ac_objext conftest$ac_exeext
90363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90364 (eval $ac_link) 2>conftest.er1
90365 ac_status=$?
90366 grep -v '^ *+' conftest.er1 >conftest.err
90367 rm -f conftest.er1
90368 cat conftest.err >&5
90369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90370 (exit $ac_status); } &&
90371 { ac_try='test -z "$ac_c_werror_flag"
90372 || test ! -s conftest.err'
90373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90374 (eval $ac_try) 2>&5
90375 ac_status=$?
90376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90377 (exit $ac_status); }; } &&
90378 { ac_try='test -s conftest$ac_exeext'
90379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90380 (eval $ac_try) 2>&5
90381 ac_status=$?
90382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90383 (exit $ac_status); }; }; then
90384 eval "$as_ac_var=yes"
90385 else
90386 echo "$as_me: failed program was:" >&5
90387 sed 's/^/| /' conftest.$ac_ext >&5
90389 eval "$as_ac_var=no"
90391 rm -f conftest.err conftest.$ac_objext \
90392 conftest$ac_exeext conftest.$ac_ext
90394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90395 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90396 if test `eval echo '${'$as_ac_var'}'` = yes; then
90397 cat >>confdefs.h <<_ACEOF
90398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90399 _ACEOF
90402 done
90404 else
90405 echo "$as_me:$LINENO: checking for _float round functions" >&5
90406 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
90407 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
90408 echo $ECHO_N "(cached) $ECHO_C" >&6
90409 else
90413 ac_ext=cc
90414 ac_cpp='$CXXCPP $CPPFLAGS'
90415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90419 cat >conftest.$ac_ext <<_ACEOF
90420 /* confdefs.h. */
90421 _ACEOF
90422 cat confdefs.h >>conftest.$ac_ext
90423 cat >>conftest.$ac_ext <<_ACEOF
90424 /* end confdefs.h. */
90425 #include <math.h>
90427 main ()
90429 _ceilf (0); _floorf (0);
90431 return 0;
90433 _ACEOF
90434 rm -f conftest.$ac_objext
90435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90436 (eval $ac_compile) 2>conftest.er1
90437 ac_status=$?
90438 grep -v '^ *+' conftest.er1 >conftest.err
90439 rm -f conftest.er1
90440 cat conftest.err >&5
90441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90442 (exit $ac_status); } &&
90443 { ac_try='test -z "$ac_cxx_werror_flag"
90444 || test ! -s conftest.err'
90445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90446 (eval $ac_try) 2>&5
90447 ac_status=$?
90448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90449 (exit $ac_status); }; } &&
90450 { ac_try='test -s conftest.$ac_objext'
90451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90452 (eval $ac_try) 2>&5
90453 ac_status=$?
90454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90455 (exit $ac_status); }; }; then
90456 glibcxx_cv_func__float_round_use=yes
90457 else
90458 echo "$as_me: failed program was:" >&5
90459 sed 's/^/| /' conftest.$ac_ext >&5
90461 glibcxx_cv_func__float_round_use=no
90463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90464 ac_ext=c
90465 ac_cpp='$CPP $CPPFLAGS'
90466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90472 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
90473 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
90474 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
90477 for ac_func in _ceilf _floorf
90479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90480 echo "$as_me:$LINENO: checking for $ac_func" >&5
90481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90482 if eval "test \"\${$as_ac_var+set}\" = set"; then
90483 echo $ECHO_N "(cached) $ECHO_C" >&6
90484 else
90485 if test x$gcc_no_link = xyes; then
90486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90488 { (exit 1); exit 1; }; }
90490 cat >conftest.$ac_ext <<_ACEOF
90491 /* confdefs.h. */
90492 _ACEOF
90493 cat confdefs.h >>conftest.$ac_ext
90494 cat >>conftest.$ac_ext <<_ACEOF
90495 /* end confdefs.h. */
90496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90498 #define $ac_func innocuous_$ac_func
90500 /* System header to define __stub macros and hopefully few prototypes,
90501 which can conflict with char $ac_func (); below.
90502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90503 <limits.h> exists even on freestanding compilers. */
90505 #ifdef __STDC__
90506 # include <limits.h>
90507 #else
90508 # include <assert.h>
90509 #endif
90511 #undef $ac_func
90513 /* Override any gcc2 internal prototype to avoid an error. */
90514 #ifdef __cplusplus
90515 extern "C"
90517 #endif
90518 /* We use char because int might match the return type of a gcc2
90519 builtin and then its argument prototype would still apply. */
90520 char $ac_func ();
90521 /* The GNU C library defines this for functions which it implements
90522 to always fail with ENOSYS. Some functions are actually named
90523 something starting with __ and the normal name is an alias. */
90524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90525 choke me
90526 #else
90527 char (*f) () = $ac_func;
90528 #endif
90529 #ifdef __cplusplus
90531 #endif
90534 main ()
90536 return f != $ac_func;
90538 return 0;
90540 _ACEOF
90541 rm -f conftest.$ac_objext conftest$ac_exeext
90542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90543 (eval $ac_link) 2>conftest.er1
90544 ac_status=$?
90545 grep -v '^ *+' conftest.er1 >conftest.err
90546 rm -f conftest.er1
90547 cat conftest.err >&5
90548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90549 (exit $ac_status); } &&
90550 { ac_try='test -z "$ac_c_werror_flag"
90551 || test ! -s conftest.err'
90552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90553 (eval $ac_try) 2>&5
90554 ac_status=$?
90555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90556 (exit $ac_status); }; } &&
90557 { ac_try='test -s conftest$ac_exeext'
90558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90559 (eval $ac_try) 2>&5
90560 ac_status=$?
90561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90562 (exit $ac_status); }; }; then
90563 eval "$as_ac_var=yes"
90564 else
90565 echo "$as_me: failed program was:" >&5
90566 sed 's/^/| /' conftest.$ac_ext >&5
90568 eval "$as_ac_var=no"
90570 rm -f conftest.err conftest.$ac_objext \
90571 conftest$ac_exeext conftest.$ac_ext
90573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90575 if test `eval echo '${'$as_ac_var'}'` = yes; then
90576 cat >>confdefs.h <<_ACEOF
90577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90578 _ACEOF
90581 done
90593 echo "$as_me:$LINENO: checking for expf declaration" >&5
90594 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
90595 if test x${glibcxx_cv_func_expf_use+set} != xset; then
90596 if test "${glibcxx_cv_func_expf_use+set}" = set; then
90597 echo $ECHO_N "(cached) $ECHO_C" >&6
90598 else
90602 ac_ext=cc
90603 ac_cpp='$CXXCPP $CPPFLAGS'
90604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90608 cat >conftest.$ac_ext <<_ACEOF
90609 /* confdefs.h. */
90610 _ACEOF
90611 cat confdefs.h >>conftest.$ac_ext
90612 cat >>conftest.$ac_ext <<_ACEOF
90613 /* end confdefs.h. */
90614 #include <math.h>
90615 #ifdef HAVE_IEEEFP_H
90616 #include <ieeefp.h>
90617 #endif
90620 main ()
90622 expf(0);
90624 return 0;
90626 _ACEOF
90627 rm -f conftest.$ac_objext
90628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90629 (eval $ac_compile) 2>conftest.er1
90630 ac_status=$?
90631 grep -v '^ *+' conftest.er1 >conftest.err
90632 rm -f conftest.er1
90633 cat conftest.err >&5
90634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90635 (exit $ac_status); } &&
90636 { ac_try='test -z "$ac_cxx_werror_flag"
90637 || test ! -s conftest.err'
90638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90639 (eval $ac_try) 2>&5
90640 ac_status=$?
90641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90642 (exit $ac_status); }; } &&
90643 { ac_try='test -s conftest.$ac_objext'
90644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90645 (eval $ac_try) 2>&5
90646 ac_status=$?
90647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90648 (exit $ac_status); }; }; then
90649 glibcxx_cv_func_expf_use=yes
90650 else
90651 echo "$as_me: failed program was:" >&5
90652 sed 's/^/| /' conftest.$ac_ext >&5
90654 glibcxx_cv_func_expf_use=no
90656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90657 ac_ext=c
90658 ac_cpp='$CPP $CPPFLAGS'
90659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90667 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
90668 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
90670 if test x$glibcxx_cv_func_expf_use = x"yes"; then
90672 for ac_func in expf
90674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90675 echo "$as_me:$LINENO: checking for $ac_func" >&5
90676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90677 if eval "test \"\${$as_ac_var+set}\" = set"; then
90678 echo $ECHO_N "(cached) $ECHO_C" >&6
90679 else
90680 if test x$gcc_no_link = xyes; then
90681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90683 { (exit 1); exit 1; }; }
90685 cat >conftest.$ac_ext <<_ACEOF
90686 /* confdefs.h. */
90687 _ACEOF
90688 cat confdefs.h >>conftest.$ac_ext
90689 cat >>conftest.$ac_ext <<_ACEOF
90690 /* end confdefs.h. */
90691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90693 #define $ac_func innocuous_$ac_func
90695 /* System header to define __stub macros and hopefully few prototypes,
90696 which can conflict with char $ac_func (); below.
90697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90698 <limits.h> exists even on freestanding compilers. */
90700 #ifdef __STDC__
90701 # include <limits.h>
90702 #else
90703 # include <assert.h>
90704 #endif
90706 #undef $ac_func
90708 /* Override any gcc2 internal prototype to avoid an error. */
90709 #ifdef __cplusplus
90710 extern "C"
90712 #endif
90713 /* We use char because int might match the return type of a gcc2
90714 builtin and then its argument prototype would still apply. */
90715 char $ac_func ();
90716 /* The GNU C library defines this for functions which it implements
90717 to always fail with ENOSYS. Some functions are actually named
90718 something starting with __ and the normal name is an alias. */
90719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90720 choke me
90721 #else
90722 char (*f) () = $ac_func;
90723 #endif
90724 #ifdef __cplusplus
90726 #endif
90729 main ()
90731 return f != $ac_func;
90733 return 0;
90735 _ACEOF
90736 rm -f conftest.$ac_objext conftest$ac_exeext
90737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90738 (eval $ac_link) 2>conftest.er1
90739 ac_status=$?
90740 grep -v '^ *+' conftest.er1 >conftest.err
90741 rm -f conftest.er1
90742 cat conftest.err >&5
90743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90744 (exit $ac_status); } &&
90745 { ac_try='test -z "$ac_c_werror_flag"
90746 || test ! -s conftest.err'
90747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90748 (eval $ac_try) 2>&5
90749 ac_status=$?
90750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90751 (exit $ac_status); }; } &&
90752 { ac_try='test -s conftest$ac_exeext'
90753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90754 (eval $ac_try) 2>&5
90755 ac_status=$?
90756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90757 (exit $ac_status); }; }; then
90758 eval "$as_ac_var=yes"
90759 else
90760 echo "$as_me: failed program was:" >&5
90761 sed 's/^/| /' conftest.$ac_ext >&5
90763 eval "$as_ac_var=no"
90765 rm -f conftest.err conftest.$ac_objext \
90766 conftest$ac_exeext conftest.$ac_ext
90768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90770 if test `eval echo '${'$as_ac_var'}'` = yes; then
90771 cat >>confdefs.h <<_ACEOF
90772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90773 _ACEOF
90776 done
90778 else
90780 echo "$as_me:$LINENO: checking for _expf declaration" >&5
90781 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
90782 if test x${glibcxx_cv_func__expf_use+set} != xset; then
90783 if test "${glibcxx_cv_func__expf_use+set}" = set; then
90784 echo $ECHO_N "(cached) $ECHO_C" >&6
90785 else
90789 ac_ext=cc
90790 ac_cpp='$CXXCPP $CPPFLAGS'
90791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90795 cat >conftest.$ac_ext <<_ACEOF
90796 /* confdefs.h. */
90797 _ACEOF
90798 cat confdefs.h >>conftest.$ac_ext
90799 cat >>conftest.$ac_ext <<_ACEOF
90800 /* end confdefs.h. */
90801 #include <math.h>
90802 #ifdef HAVE_IEEEFP_H
90803 #include <ieeefp.h>
90804 #endif
90807 main ()
90809 _expf(0);
90811 return 0;
90813 _ACEOF
90814 rm -f conftest.$ac_objext
90815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90816 (eval $ac_compile) 2>conftest.er1
90817 ac_status=$?
90818 grep -v '^ *+' conftest.er1 >conftest.err
90819 rm -f conftest.er1
90820 cat conftest.err >&5
90821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90822 (exit $ac_status); } &&
90823 { ac_try='test -z "$ac_cxx_werror_flag"
90824 || test ! -s conftest.err'
90825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90826 (eval $ac_try) 2>&5
90827 ac_status=$?
90828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90829 (exit $ac_status); }; } &&
90830 { ac_try='test -s conftest.$ac_objext'
90831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90832 (eval $ac_try) 2>&5
90833 ac_status=$?
90834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90835 (exit $ac_status); }; }; then
90836 glibcxx_cv_func__expf_use=yes
90837 else
90838 echo "$as_me: failed program was:" >&5
90839 sed 's/^/| /' conftest.$ac_ext >&5
90841 glibcxx_cv_func__expf_use=no
90843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90844 ac_ext=c
90845 ac_cpp='$CPP $CPPFLAGS'
90846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90854 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
90855 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
90857 if test x$glibcxx_cv_func__expf_use = x"yes"; then
90859 for ac_func in _expf
90861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90862 echo "$as_me:$LINENO: checking for $ac_func" >&5
90863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90864 if eval "test \"\${$as_ac_var+set}\" = set"; then
90865 echo $ECHO_N "(cached) $ECHO_C" >&6
90866 else
90867 if test x$gcc_no_link = xyes; then
90868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90870 { (exit 1); exit 1; }; }
90872 cat >conftest.$ac_ext <<_ACEOF
90873 /* confdefs.h. */
90874 _ACEOF
90875 cat confdefs.h >>conftest.$ac_ext
90876 cat >>conftest.$ac_ext <<_ACEOF
90877 /* end confdefs.h. */
90878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90880 #define $ac_func innocuous_$ac_func
90882 /* System header to define __stub macros and hopefully few prototypes,
90883 which can conflict with char $ac_func (); below.
90884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90885 <limits.h> exists even on freestanding compilers. */
90887 #ifdef __STDC__
90888 # include <limits.h>
90889 #else
90890 # include <assert.h>
90891 #endif
90893 #undef $ac_func
90895 /* Override any gcc2 internal prototype to avoid an error. */
90896 #ifdef __cplusplus
90897 extern "C"
90899 #endif
90900 /* We use char because int might match the return type of a gcc2
90901 builtin and then its argument prototype would still apply. */
90902 char $ac_func ();
90903 /* The GNU C library defines this for functions which it implements
90904 to always fail with ENOSYS. Some functions are actually named
90905 something starting with __ and the normal name is an alias. */
90906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90907 choke me
90908 #else
90909 char (*f) () = $ac_func;
90910 #endif
90911 #ifdef __cplusplus
90913 #endif
90916 main ()
90918 return f != $ac_func;
90920 return 0;
90922 _ACEOF
90923 rm -f conftest.$ac_objext conftest$ac_exeext
90924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90925 (eval $ac_link) 2>conftest.er1
90926 ac_status=$?
90927 grep -v '^ *+' conftest.er1 >conftest.err
90928 rm -f conftest.er1
90929 cat conftest.err >&5
90930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90931 (exit $ac_status); } &&
90932 { ac_try='test -z "$ac_c_werror_flag"
90933 || test ! -s conftest.err'
90934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90935 (eval $ac_try) 2>&5
90936 ac_status=$?
90937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90938 (exit $ac_status); }; } &&
90939 { ac_try='test -s conftest$ac_exeext'
90940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90941 (eval $ac_try) 2>&5
90942 ac_status=$?
90943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90944 (exit $ac_status); }; }; then
90945 eval "$as_ac_var=yes"
90946 else
90947 echo "$as_me: failed program was:" >&5
90948 sed 's/^/| /' conftest.$ac_ext >&5
90950 eval "$as_ac_var=no"
90952 rm -f conftest.err conftest.$ac_objext \
90953 conftest$ac_exeext conftest.$ac_ext
90955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90957 if test `eval echo '${'$as_ac_var'}'` = yes; then
90958 cat >>confdefs.h <<_ACEOF
90959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90960 _ACEOF
90963 done
90973 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
90974 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
90975 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
90976 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
90977 echo $ECHO_N "(cached) $ECHO_C" >&6
90978 else
90982 ac_ext=cc
90983 ac_cpp='$CXXCPP $CPPFLAGS'
90984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90988 cat >conftest.$ac_ext <<_ACEOF
90989 /* confdefs.h. */
90990 _ACEOF
90991 cat confdefs.h >>conftest.$ac_ext
90992 cat >>conftest.$ac_ext <<_ACEOF
90993 /* end confdefs.h. */
90994 #include <math.h>
90995 #ifdef HAVE_IEEEFP_H
90996 #include <ieeefp.h>
90997 #endif
91000 main ()
91002 isnanf(0);
91004 return 0;
91006 _ACEOF
91007 rm -f conftest.$ac_objext
91008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91009 (eval $ac_compile) 2>conftest.er1
91010 ac_status=$?
91011 grep -v '^ *+' conftest.er1 >conftest.err
91012 rm -f conftest.er1
91013 cat conftest.err >&5
91014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91015 (exit $ac_status); } &&
91016 { ac_try='test -z "$ac_cxx_werror_flag"
91017 || test ! -s conftest.err'
91018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91019 (eval $ac_try) 2>&5
91020 ac_status=$?
91021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91022 (exit $ac_status); }; } &&
91023 { ac_try='test -s conftest.$ac_objext'
91024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91025 (eval $ac_try) 2>&5
91026 ac_status=$?
91027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91028 (exit $ac_status); }; }; then
91029 glibcxx_cv_func_isnanf_use=yes
91030 else
91031 echo "$as_me: failed program was:" >&5
91032 sed 's/^/| /' conftest.$ac_ext >&5
91034 glibcxx_cv_func_isnanf_use=no
91036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91037 ac_ext=c
91038 ac_cpp='$CPP $CPPFLAGS'
91039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91047 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
91048 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
91050 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
91052 for ac_func in isnanf
91054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91055 echo "$as_me:$LINENO: checking for $ac_func" >&5
91056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91057 if eval "test \"\${$as_ac_var+set}\" = set"; then
91058 echo $ECHO_N "(cached) $ECHO_C" >&6
91059 else
91060 if test x$gcc_no_link = xyes; then
91061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91063 { (exit 1); exit 1; }; }
91065 cat >conftest.$ac_ext <<_ACEOF
91066 /* confdefs.h. */
91067 _ACEOF
91068 cat confdefs.h >>conftest.$ac_ext
91069 cat >>conftest.$ac_ext <<_ACEOF
91070 /* end confdefs.h. */
91071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91073 #define $ac_func innocuous_$ac_func
91075 /* System header to define __stub macros and hopefully few prototypes,
91076 which can conflict with char $ac_func (); below.
91077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91078 <limits.h> exists even on freestanding compilers. */
91080 #ifdef __STDC__
91081 # include <limits.h>
91082 #else
91083 # include <assert.h>
91084 #endif
91086 #undef $ac_func
91088 /* Override any gcc2 internal prototype to avoid an error. */
91089 #ifdef __cplusplus
91090 extern "C"
91092 #endif
91093 /* We use char because int might match the return type of a gcc2
91094 builtin and then its argument prototype would still apply. */
91095 char $ac_func ();
91096 /* The GNU C library defines this for functions which it implements
91097 to always fail with ENOSYS. Some functions are actually named
91098 something starting with __ and the normal name is an alias. */
91099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91100 choke me
91101 #else
91102 char (*f) () = $ac_func;
91103 #endif
91104 #ifdef __cplusplus
91106 #endif
91109 main ()
91111 return f != $ac_func;
91113 return 0;
91115 _ACEOF
91116 rm -f conftest.$ac_objext conftest$ac_exeext
91117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91118 (eval $ac_link) 2>conftest.er1
91119 ac_status=$?
91120 grep -v '^ *+' conftest.er1 >conftest.err
91121 rm -f conftest.er1
91122 cat conftest.err >&5
91123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91124 (exit $ac_status); } &&
91125 { ac_try='test -z "$ac_c_werror_flag"
91126 || test ! -s conftest.err'
91127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91128 (eval $ac_try) 2>&5
91129 ac_status=$?
91130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91131 (exit $ac_status); }; } &&
91132 { ac_try='test -s conftest$ac_exeext'
91133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91134 (eval $ac_try) 2>&5
91135 ac_status=$?
91136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91137 (exit $ac_status); }; }; then
91138 eval "$as_ac_var=yes"
91139 else
91140 echo "$as_me: failed program was:" >&5
91141 sed 's/^/| /' conftest.$ac_ext >&5
91143 eval "$as_ac_var=no"
91145 rm -f conftest.err conftest.$ac_objext \
91146 conftest$ac_exeext conftest.$ac_ext
91148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91150 if test `eval echo '${'$as_ac_var'}'` = yes; then
91151 cat >>confdefs.h <<_ACEOF
91152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91153 _ACEOF
91156 done
91158 else
91160 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
91161 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
91162 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
91163 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
91164 echo $ECHO_N "(cached) $ECHO_C" >&6
91165 else
91169 ac_ext=cc
91170 ac_cpp='$CXXCPP $CPPFLAGS'
91171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91175 cat >conftest.$ac_ext <<_ACEOF
91176 /* confdefs.h. */
91177 _ACEOF
91178 cat confdefs.h >>conftest.$ac_ext
91179 cat >>conftest.$ac_ext <<_ACEOF
91180 /* end confdefs.h. */
91181 #include <math.h>
91182 #ifdef HAVE_IEEEFP_H
91183 #include <ieeefp.h>
91184 #endif
91187 main ()
91189 _isnanf(0);
91191 return 0;
91193 _ACEOF
91194 rm -f conftest.$ac_objext
91195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91196 (eval $ac_compile) 2>conftest.er1
91197 ac_status=$?
91198 grep -v '^ *+' conftest.er1 >conftest.err
91199 rm -f conftest.er1
91200 cat conftest.err >&5
91201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91202 (exit $ac_status); } &&
91203 { ac_try='test -z "$ac_cxx_werror_flag"
91204 || test ! -s conftest.err'
91205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91206 (eval $ac_try) 2>&5
91207 ac_status=$?
91208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91209 (exit $ac_status); }; } &&
91210 { ac_try='test -s conftest.$ac_objext'
91211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91212 (eval $ac_try) 2>&5
91213 ac_status=$?
91214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91215 (exit $ac_status); }; }; then
91216 glibcxx_cv_func__isnanf_use=yes
91217 else
91218 echo "$as_me: failed program was:" >&5
91219 sed 's/^/| /' conftest.$ac_ext >&5
91221 glibcxx_cv_func__isnanf_use=no
91223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91224 ac_ext=c
91225 ac_cpp='$CPP $CPPFLAGS'
91226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91234 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
91235 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
91237 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
91239 for ac_func in _isnanf
91241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91242 echo "$as_me:$LINENO: checking for $ac_func" >&5
91243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91244 if eval "test \"\${$as_ac_var+set}\" = set"; then
91245 echo $ECHO_N "(cached) $ECHO_C" >&6
91246 else
91247 if test x$gcc_no_link = xyes; then
91248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91250 { (exit 1); exit 1; }; }
91252 cat >conftest.$ac_ext <<_ACEOF
91253 /* confdefs.h. */
91254 _ACEOF
91255 cat confdefs.h >>conftest.$ac_ext
91256 cat >>conftest.$ac_ext <<_ACEOF
91257 /* end confdefs.h. */
91258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91260 #define $ac_func innocuous_$ac_func
91262 /* System header to define __stub macros and hopefully few prototypes,
91263 which can conflict with char $ac_func (); below.
91264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91265 <limits.h> exists even on freestanding compilers. */
91267 #ifdef __STDC__
91268 # include <limits.h>
91269 #else
91270 # include <assert.h>
91271 #endif
91273 #undef $ac_func
91275 /* Override any gcc2 internal prototype to avoid an error. */
91276 #ifdef __cplusplus
91277 extern "C"
91279 #endif
91280 /* We use char because int might match the return type of a gcc2
91281 builtin and then its argument prototype would still apply. */
91282 char $ac_func ();
91283 /* The GNU C library defines this for functions which it implements
91284 to always fail with ENOSYS. Some functions are actually named
91285 something starting with __ and the normal name is an alias. */
91286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91287 choke me
91288 #else
91289 char (*f) () = $ac_func;
91290 #endif
91291 #ifdef __cplusplus
91293 #endif
91296 main ()
91298 return f != $ac_func;
91300 return 0;
91302 _ACEOF
91303 rm -f conftest.$ac_objext conftest$ac_exeext
91304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91305 (eval $ac_link) 2>conftest.er1
91306 ac_status=$?
91307 grep -v '^ *+' conftest.er1 >conftest.err
91308 rm -f conftest.er1
91309 cat conftest.err >&5
91310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91311 (exit $ac_status); } &&
91312 { ac_try='test -z "$ac_c_werror_flag"
91313 || test ! -s conftest.err'
91314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91315 (eval $ac_try) 2>&5
91316 ac_status=$?
91317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91318 (exit $ac_status); }; } &&
91319 { ac_try='test -s conftest$ac_exeext'
91320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91321 (eval $ac_try) 2>&5
91322 ac_status=$?
91323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91324 (exit $ac_status); }; }; then
91325 eval "$as_ac_var=yes"
91326 else
91327 echo "$as_me: failed program was:" >&5
91328 sed 's/^/| /' conftest.$ac_ext >&5
91330 eval "$as_ac_var=no"
91332 rm -f conftest.err conftest.$ac_objext \
91333 conftest$ac_exeext conftest.$ac_ext
91335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91337 if test `eval echo '${'$as_ac_var'}'` = yes; then
91338 cat >>confdefs.h <<_ACEOF
91339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91340 _ACEOF
91343 done
91353 echo "$as_me:$LINENO: checking for isinff declaration" >&5
91354 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
91355 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
91356 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
91357 echo $ECHO_N "(cached) $ECHO_C" >&6
91358 else
91362 ac_ext=cc
91363 ac_cpp='$CXXCPP $CPPFLAGS'
91364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91368 cat >conftest.$ac_ext <<_ACEOF
91369 /* confdefs.h. */
91370 _ACEOF
91371 cat confdefs.h >>conftest.$ac_ext
91372 cat >>conftest.$ac_ext <<_ACEOF
91373 /* end confdefs.h. */
91374 #include <math.h>
91375 #ifdef HAVE_IEEEFP_H
91376 #include <ieeefp.h>
91377 #endif
91380 main ()
91382 isinff(0);
91384 return 0;
91386 _ACEOF
91387 rm -f conftest.$ac_objext
91388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91389 (eval $ac_compile) 2>conftest.er1
91390 ac_status=$?
91391 grep -v '^ *+' conftest.er1 >conftest.err
91392 rm -f conftest.er1
91393 cat conftest.err >&5
91394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91395 (exit $ac_status); } &&
91396 { ac_try='test -z "$ac_cxx_werror_flag"
91397 || test ! -s conftest.err'
91398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91399 (eval $ac_try) 2>&5
91400 ac_status=$?
91401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91402 (exit $ac_status); }; } &&
91403 { ac_try='test -s conftest.$ac_objext'
91404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91405 (eval $ac_try) 2>&5
91406 ac_status=$?
91407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91408 (exit $ac_status); }; }; then
91409 glibcxx_cv_func_isinff_use=yes
91410 else
91411 echo "$as_me: failed program was:" >&5
91412 sed 's/^/| /' conftest.$ac_ext >&5
91414 glibcxx_cv_func_isinff_use=no
91416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91417 ac_ext=c
91418 ac_cpp='$CPP $CPPFLAGS'
91419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91427 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
91428 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
91430 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
91432 for ac_func in isinff
91434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91435 echo "$as_me:$LINENO: checking for $ac_func" >&5
91436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91437 if eval "test \"\${$as_ac_var+set}\" = set"; then
91438 echo $ECHO_N "(cached) $ECHO_C" >&6
91439 else
91440 if test x$gcc_no_link = xyes; then
91441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91443 { (exit 1); exit 1; }; }
91445 cat >conftest.$ac_ext <<_ACEOF
91446 /* confdefs.h. */
91447 _ACEOF
91448 cat confdefs.h >>conftest.$ac_ext
91449 cat >>conftest.$ac_ext <<_ACEOF
91450 /* end confdefs.h. */
91451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91453 #define $ac_func innocuous_$ac_func
91455 /* System header to define __stub macros and hopefully few prototypes,
91456 which can conflict with char $ac_func (); below.
91457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91458 <limits.h> exists even on freestanding compilers. */
91460 #ifdef __STDC__
91461 # include <limits.h>
91462 #else
91463 # include <assert.h>
91464 #endif
91466 #undef $ac_func
91468 /* Override any gcc2 internal prototype to avoid an error. */
91469 #ifdef __cplusplus
91470 extern "C"
91472 #endif
91473 /* We use char because int might match the return type of a gcc2
91474 builtin and then its argument prototype would still apply. */
91475 char $ac_func ();
91476 /* The GNU C library defines this for functions which it implements
91477 to always fail with ENOSYS. Some functions are actually named
91478 something starting with __ and the normal name is an alias. */
91479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91480 choke me
91481 #else
91482 char (*f) () = $ac_func;
91483 #endif
91484 #ifdef __cplusplus
91486 #endif
91489 main ()
91491 return f != $ac_func;
91493 return 0;
91495 _ACEOF
91496 rm -f conftest.$ac_objext conftest$ac_exeext
91497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91498 (eval $ac_link) 2>conftest.er1
91499 ac_status=$?
91500 grep -v '^ *+' conftest.er1 >conftest.err
91501 rm -f conftest.er1
91502 cat conftest.err >&5
91503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91504 (exit $ac_status); } &&
91505 { ac_try='test -z "$ac_c_werror_flag"
91506 || test ! -s conftest.err'
91507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91508 (eval $ac_try) 2>&5
91509 ac_status=$?
91510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91511 (exit $ac_status); }; } &&
91512 { ac_try='test -s conftest$ac_exeext'
91513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91514 (eval $ac_try) 2>&5
91515 ac_status=$?
91516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91517 (exit $ac_status); }; }; then
91518 eval "$as_ac_var=yes"
91519 else
91520 echo "$as_me: failed program was:" >&5
91521 sed 's/^/| /' conftest.$ac_ext >&5
91523 eval "$as_ac_var=no"
91525 rm -f conftest.err conftest.$ac_objext \
91526 conftest$ac_exeext conftest.$ac_ext
91528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91530 if test `eval echo '${'$as_ac_var'}'` = yes; then
91531 cat >>confdefs.h <<_ACEOF
91532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91533 _ACEOF
91536 done
91538 else
91540 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
91541 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
91542 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
91543 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
91544 echo $ECHO_N "(cached) $ECHO_C" >&6
91545 else
91549 ac_ext=cc
91550 ac_cpp='$CXXCPP $CPPFLAGS'
91551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91555 cat >conftest.$ac_ext <<_ACEOF
91556 /* confdefs.h. */
91557 _ACEOF
91558 cat confdefs.h >>conftest.$ac_ext
91559 cat >>conftest.$ac_ext <<_ACEOF
91560 /* end confdefs.h. */
91561 #include <math.h>
91562 #ifdef HAVE_IEEEFP_H
91563 #include <ieeefp.h>
91564 #endif
91567 main ()
91569 _isinff(0);
91571 return 0;
91573 _ACEOF
91574 rm -f conftest.$ac_objext
91575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91576 (eval $ac_compile) 2>conftest.er1
91577 ac_status=$?
91578 grep -v '^ *+' conftest.er1 >conftest.err
91579 rm -f conftest.er1
91580 cat conftest.err >&5
91581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91582 (exit $ac_status); } &&
91583 { ac_try='test -z "$ac_cxx_werror_flag"
91584 || test ! -s conftest.err'
91585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91586 (eval $ac_try) 2>&5
91587 ac_status=$?
91588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91589 (exit $ac_status); }; } &&
91590 { ac_try='test -s conftest.$ac_objext'
91591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91592 (eval $ac_try) 2>&5
91593 ac_status=$?
91594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91595 (exit $ac_status); }; }; then
91596 glibcxx_cv_func__isinff_use=yes
91597 else
91598 echo "$as_me: failed program was:" >&5
91599 sed 's/^/| /' conftest.$ac_ext >&5
91601 glibcxx_cv_func__isinff_use=no
91603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91604 ac_ext=c
91605 ac_cpp='$CPP $CPPFLAGS'
91606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91614 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
91615 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
91617 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
91619 for ac_func in _isinff
91621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91622 echo "$as_me:$LINENO: checking for $ac_func" >&5
91623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91624 if eval "test \"\${$as_ac_var+set}\" = set"; then
91625 echo $ECHO_N "(cached) $ECHO_C" >&6
91626 else
91627 if test x$gcc_no_link = xyes; then
91628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91630 { (exit 1); exit 1; }; }
91632 cat >conftest.$ac_ext <<_ACEOF
91633 /* confdefs.h. */
91634 _ACEOF
91635 cat confdefs.h >>conftest.$ac_ext
91636 cat >>conftest.$ac_ext <<_ACEOF
91637 /* end confdefs.h. */
91638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91640 #define $ac_func innocuous_$ac_func
91642 /* System header to define __stub macros and hopefully few prototypes,
91643 which can conflict with char $ac_func (); below.
91644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91645 <limits.h> exists even on freestanding compilers. */
91647 #ifdef __STDC__
91648 # include <limits.h>
91649 #else
91650 # include <assert.h>
91651 #endif
91653 #undef $ac_func
91655 /* Override any gcc2 internal prototype to avoid an error. */
91656 #ifdef __cplusplus
91657 extern "C"
91659 #endif
91660 /* We use char because int might match the return type of a gcc2
91661 builtin and then its argument prototype would still apply. */
91662 char $ac_func ();
91663 /* The GNU C library defines this for functions which it implements
91664 to always fail with ENOSYS. Some functions are actually named
91665 something starting with __ and the normal name is an alias. */
91666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91667 choke me
91668 #else
91669 char (*f) () = $ac_func;
91670 #endif
91671 #ifdef __cplusplus
91673 #endif
91676 main ()
91678 return f != $ac_func;
91680 return 0;
91682 _ACEOF
91683 rm -f conftest.$ac_objext conftest$ac_exeext
91684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91685 (eval $ac_link) 2>conftest.er1
91686 ac_status=$?
91687 grep -v '^ *+' conftest.er1 >conftest.err
91688 rm -f conftest.er1
91689 cat conftest.err >&5
91690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91691 (exit $ac_status); } &&
91692 { ac_try='test -z "$ac_c_werror_flag"
91693 || test ! -s conftest.err'
91694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91695 (eval $ac_try) 2>&5
91696 ac_status=$?
91697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91698 (exit $ac_status); }; } &&
91699 { ac_try='test -s conftest$ac_exeext'
91700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91701 (eval $ac_try) 2>&5
91702 ac_status=$?
91703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91704 (exit $ac_status); }; }; then
91705 eval "$as_ac_var=yes"
91706 else
91707 echo "$as_me: failed program was:" >&5
91708 sed 's/^/| /' conftest.$ac_ext >&5
91710 eval "$as_ac_var=no"
91712 rm -f conftest.err conftest.$ac_objext \
91713 conftest$ac_exeext conftest.$ac_ext
91715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91717 if test `eval echo '${'$as_ac_var'}'` = yes; then
91718 cat >>confdefs.h <<_ACEOF
91719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91720 _ACEOF
91723 done
91733 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
91734 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
91735 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
91736 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
91737 echo $ECHO_N "(cached) $ECHO_C" >&6
91738 else
91742 ac_ext=cc
91743 ac_cpp='$CXXCPP $CPPFLAGS'
91744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91748 cat >conftest.$ac_ext <<_ACEOF
91749 /* confdefs.h. */
91750 _ACEOF
91751 cat confdefs.h >>conftest.$ac_ext
91752 cat >>conftest.$ac_ext <<_ACEOF
91753 /* end confdefs.h. */
91754 #include <math.h>
91756 main ()
91758 atan2f(0, 0);
91760 return 0;
91762 _ACEOF
91763 rm -f conftest.$ac_objext
91764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91765 (eval $ac_compile) 2>conftest.er1
91766 ac_status=$?
91767 grep -v '^ *+' conftest.er1 >conftest.err
91768 rm -f conftest.er1
91769 cat conftest.err >&5
91770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91771 (exit $ac_status); } &&
91772 { ac_try='test -z "$ac_cxx_werror_flag"
91773 || test ! -s conftest.err'
91774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91775 (eval $ac_try) 2>&5
91776 ac_status=$?
91777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91778 (exit $ac_status); }; } &&
91779 { ac_try='test -s conftest.$ac_objext'
91780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91781 (eval $ac_try) 2>&5
91782 ac_status=$?
91783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91784 (exit $ac_status); }; }; then
91785 glibcxx_cv_func_atan2f_use=yes
91786 else
91787 echo "$as_me: failed program was:" >&5
91788 sed 's/^/| /' conftest.$ac_ext >&5
91790 glibcxx_cv_func_atan2f_use=no
91792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91793 ac_ext=c
91794 ac_cpp='$CPP $CPPFLAGS'
91795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91803 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
91804 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
91806 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
91808 for ac_func in atan2f
91810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91811 echo "$as_me:$LINENO: checking for $ac_func" >&5
91812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91813 if eval "test \"\${$as_ac_var+set}\" = set"; then
91814 echo $ECHO_N "(cached) $ECHO_C" >&6
91815 else
91816 if test x$gcc_no_link = xyes; then
91817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91819 { (exit 1); exit 1; }; }
91821 cat >conftest.$ac_ext <<_ACEOF
91822 /* confdefs.h. */
91823 _ACEOF
91824 cat confdefs.h >>conftest.$ac_ext
91825 cat >>conftest.$ac_ext <<_ACEOF
91826 /* end confdefs.h. */
91827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91829 #define $ac_func innocuous_$ac_func
91831 /* System header to define __stub macros and hopefully few prototypes,
91832 which can conflict with char $ac_func (); below.
91833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91834 <limits.h> exists even on freestanding compilers. */
91836 #ifdef __STDC__
91837 # include <limits.h>
91838 #else
91839 # include <assert.h>
91840 #endif
91842 #undef $ac_func
91844 /* Override any gcc2 internal prototype to avoid an error. */
91845 #ifdef __cplusplus
91846 extern "C"
91848 #endif
91849 /* We use char because int might match the return type of a gcc2
91850 builtin and then its argument prototype would still apply. */
91851 char $ac_func ();
91852 /* The GNU C library defines this for functions which it implements
91853 to always fail with ENOSYS. Some functions are actually named
91854 something starting with __ and the normal name is an alias. */
91855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91856 choke me
91857 #else
91858 char (*f) () = $ac_func;
91859 #endif
91860 #ifdef __cplusplus
91862 #endif
91865 main ()
91867 return f != $ac_func;
91869 return 0;
91871 _ACEOF
91872 rm -f conftest.$ac_objext conftest$ac_exeext
91873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91874 (eval $ac_link) 2>conftest.er1
91875 ac_status=$?
91876 grep -v '^ *+' conftest.er1 >conftest.err
91877 rm -f conftest.er1
91878 cat conftest.err >&5
91879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91880 (exit $ac_status); } &&
91881 { ac_try='test -z "$ac_c_werror_flag"
91882 || test ! -s conftest.err'
91883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91884 (eval $ac_try) 2>&5
91885 ac_status=$?
91886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91887 (exit $ac_status); }; } &&
91888 { ac_try='test -s conftest$ac_exeext'
91889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91890 (eval $ac_try) 2>&5
91891 ac_status=$?
91892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91893 (exit $ac_status); }; }; then
91894 eval "$as_ac_var=yes"
91895 else
91896 echo "$as_me: failed program was:" >&5
91897 sed 's/^/| /' conftest.$ac_ext >&5
91899 eval "$as_ac_var=no"
91901 rm -f conftest.err conftest.$ac_objext \
91902 conftest$ac_exeext conftest.$ac_ext
91904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91906 if test `eval echo '${'$as_ac_var'}'` = yes; then
91907 cat >>confdefs.h <<_ACEOF
91908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91909 _ACEOF
91912 done
91914 else
91916 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
91917 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
91918 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
91919 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
91920 echo $ECHO_N "(cached) $ECHO_C" >&6
91921 else
91925 ac_ext=cc
91926 ac_cpp='$CXXCPP $CPPFLAGS'
91927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91931 cat >conftest.$ac_ext <<_ACEOF
91932 /* confdefs.h. */
91933 _ACEOF
91934 cat confdefs.h >>conftest.$ac_ext
91935 cat >>conftest.$ac_ext <<_ACEOF
91936 /* end confdefs.h. */
91937 #include <math.h>
91939 main ()
91941 _atan2f(0, 0);
91943 return 0;
91945 _ACEOF
91946 rm -f conftest.$ac_objext
91947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91948 (eval $ac_compile) 2>conftest.er1
91949 ac_status=$?
91950 grep -v '^ *+' conftest.er1 >conftest.err
91951 rm -f conftest.er1
91952 cat conftest.err >&5
91953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91954 (exit $ac_status); } &&
91955 { ac_try='test -z "$ac_cxx_werror_flag"
91956 || test ! -s conftest.err'
91957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91958 (eval $ac_try) 2>&5
91959 ac_status=$?
91960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91961 (exit $ac_status); }; } &&
91962 { ac_try='test -s conftest.$ac_objext'
91963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91964 (eval $ac_try) 2>&5
91965 ac_status=$?
91966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91967 (exit $ac_status); }; }; then
91968 glibcxx_cv_func__atan2f_use=yes
91969 else
91970 echo "$as_me: failed program was:" >&5
91971 sed 's/^/| /' conftest.$ac_ext >&5
91973 glibcxx_cv_func__atan2f_use=no
91975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91976 ac_ext=c
91977 ac_cpp='$CPP $CPPFLAGS'
91978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91986 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
91987 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
91989 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
91991 for ac_func in _atan2f
91993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91994 echo "$as_me:$LINENO: checking for $ac_func" >&5
91995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91996 if eval "test \"\${$as_ac_var+set}\" = set"; then
91997 echo $ECHO_N "(cached) $ECHO_C" >&6
91998 else
91999 if test x$gcc_no_link = xyes; then
92000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92002 { (exit 1); exit 1; }; }
92004 cat >conftest.$ac_ext <<_ACEOF
92005 /* confdefs.h. */
92006 _ACEOF
92007 cat confdefs.h >>conftest.$ac_ext
92008 cat >>conftest.$ac_ext <<_ACEOF
92009 /* end confdefs.h. */
92010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92012 #define $ac_func innocuous_$ac_func
92014 /* System header to define __stub macros and hopefully few prototypes,
92015 which can conflict with char $ac_func (); below.
92016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92017 <limits.h> exists even on freestanding compilers. */
92019 #ifdef __STDC__
92020 # include <limits.h>
92021 #else
92022 # include <assert.h>
92023 #endif
92025 #undef $ac_func
92027 /* Override any gcc2 internal prototype to avoid an error. */
92028 #ifdef __cplusplus
92029 extern "C"
92031 #endif
92032 /* We use char because int might match the return type of a gcc2
92033 builtin and then its argument prototype would still apply. */
92034 char $ac_func ();
92035 /* The GNU C library defines this for functions which it implements
92036 to always fail with ENOSYS. Some functions are actually named
92037 something starting with __ and the normal name is an alias. */
92038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92039 choke me
92040 #else
92041 char (*f) () = $ac_func;
92042 #endif
92043 #ifdef __cplusplus
92045 #endif
92048 main ()
92050 return f != $ac_func;
92052 return 0;
92054 _ACEOF
92055 rm -f conftest.$ac_objext conftest$ac_exeext
92056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92057 (eval $ac_link) 2>conftest.er1
92058 ac_status=$?
92059 grep -v '^ *+' conftest.er1 >conftest.err
92060 rm -f conftest.er1
92061 cat conftest.err >&5
92062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92063 (exit $ac_status); } &&
92064 { ac_try='test -z "$ac_c_werror_flag"
92065 || test ! -s conftest.err'
92066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92067 (eval $ac_try) 2>&5
92068 ac_status=$?
92069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92070 (exit $ac_status); }; } &&
92071 { ac_try='test -s conftest$ac_exeext'
92072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92073 (eval $ac_try) 2>&5
92074 ac_status=$?
92075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92076 (exit $ac_status); }; }; then
92077 eval "$as_ac_var=yes"
92078 else
92079 echo "$as_me: failed program was:" >&5
92080 sed 's/^/| /' conftest.$ac_ext >&5
92082 eval "$as_ac_var=no"
92084 rm -f conftest.err conftest.$ac_objext \
92085 conftest$ac_exeext conftest.$ac_ext
92087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92089 if test `eval echo '${'$as_ac_var'}'` = yes; then
92090 cat >>confdefs.h <<_ACEOF
92091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92092 _ACEOF
92095 done
92105 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
92106 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
92107 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
92108 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
92109 echo $ECHO_N "(cached) $ECHO_C" >&6
92110 else
92114 ac_ext=cc
92115 ac_cpp='$CXXCPP $CPPFLAGS'
92116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92120 cat >conftest.$ac_ext <<_ACEOF
92121 /* confdefs.h. */
92122 _ACEOF
92123 cat confdefs.h >>conftest.$ac_ext
92124 cat >>conftest.$ac_ext <<_ACEOF
92125 /* end confdefs.h. */
92126 #include <math.h>
92127 #ifdef HAVE_IEEEFP_H
92128 #include <ieeefp.h>
92129 #endif
92132 main ()
92134 fabsf(0);
92136 return 0;
92138 _ACEOF
92139 rm -f conftest.$ac_objext
92140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92141 (eval $ac_compile) 2>conftest.er1
92142 ac_status=$?
92143 grep -v '^ *+' conftest.er1 >conftest.err
92144 rm -f conftest.er1
92145 cat conftest.err >&5
92146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92147 (exit $ac_status); } &&
92148 { ac_try='test -z "$ac_cxx_werror_flag"
92149 || test ! -s conftest.err'
92150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92151 (eval $ac_try) 2>&5
92152 ac_status=$?
92153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92154 (exit $ac_status); }; } &&
92155 { ac_try='test -s conftest.$ac_objext'
92156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92157 (eval $ac_try) 2>&5
92158 ac_status=$?
92159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92160 (exit $ac_status); }; }; then
92161 glibcxx_cv_func_fabsf_use=yes
92162 else
92163 echo "$as_me: failed program was:" >&5
92164 sed 's/^/| /' conftest.$ac_ext >&5
92166 glibcxx_cv_func_fabsf_use=no
92168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92169 ac_ext=c
92170 ac_cpp='$CPP $CPPFLAGS'
92171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92179 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
92180 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
92182 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
92184 for ac_func in fabsf
92186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92187 echo "$as_me:$LINENO: checking for $ac_func" >&5
92188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92189 if eval "test \"\${$as_ac_var+set}\" = set"; then
92190 echo $ECHO_N "(cached) $ECHO_C" >&6
92191 else
92192 if test x$gcc_no_link = xyes; then
92193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92195 { (exit 1); exit 1; }; }
92197 cat >conftest.$ac_ext <<_ACEOF
92198 /* confdefs.h. */
92199 _ACEOF
92200 cat confdefs.h >>conftest.$ac_ext
92201 cat >>conftest.$ac_ext <<_ACEOF
92202 /* end confdefs.h. */
92203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92205 #define $ac_func innocuous_$ac_func
92207 /* System header to define __stub macros and hopefully few prototypes,
92208 which can conflict with char $ac_func (); below.
92209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92210 <limits.h> exists even on freestanding compilers. */
92212 #ifdef __STDC__
92213 # include <limits.h>
92214 #else
92215 # include <assert.h>
92216 #endif
92218 #undef $ac_func
92220 /* Override any gcc2 internal prototype to avoid an error. */
92221 #ifdef __cplusplus
92222 extern "C"
92224 #endif
92225 /* We use char because int might match the return type of a gcc2
92226 builtin and then its argument prototype would still apply. */
92227 char $ac_func ();
92228 /* The GNU C library defines this for functions which it implements
92229 to always fail with ENOSYS. Some functions are actually named
92230 something starting with __ and the normal name is an alias. */
92231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92232 choke me
92233 #else
92234 char (*f) () = $ac_func;
92235 #endif
92236 #ifdef __cplusplus
92238 #endif
92241 main ()
92243 return f != $ac_func;
92245 return 0;
92247 _ACEOF
92248 rm -f conftest.$ac_objext conftest$ac_exeext
92249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92250 (eval $ac_link) 2>conftest.er1
92251 ac_status=$?
92252 grep -v '^ *+' conftest.er1 >conftest.err
92253 rm -f conftest.er1
92254 cat conftest.err >&5
92255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92256 (exit $ac_status); } &&
92257 { ac_try='test -z "$ac_c_werror_flag"
92258 || test ! -s conftest.err'
92259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92260 (eval $ac_try) 2>&5
92261 ac_status=$?
92262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92263 (exit $ac_status); }; } &&
92264 { ac_try='test -s conftest$ac_exeext'
92265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92266 (eval $ac_try) 2>&5
92267 ac_status=$?
92268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92269 (exit $ac_status); }; }; then
92270 eval "$as_ac_var=yes"
92271 else
92272 echo "$as_me: failed program was:" >&5
92273 sed 's/^/| /' conftest.$ac_ext >&5
92275 eval "$as_ac_var=no"
92277 rm -f conftest.err conftest.$ac_objext \
92278 conftest$ac_exeext conftest.$ac_ext
92280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92282 if test `eval echo '${'$as_ac_var'}'` = yes; then
92283 cat >>confdefs.h <<_ACEOF
92284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92285 _ACEOF
92288 done
92290 else
92292 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
92293 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
92294 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
92295 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
92296 echo $ECHO_N "(cached) $ECHO_C" >&6
92297 else
92301 ac_ext=cc
92302 ac_cpp='$CXXCPP $CPPFLAGS'
92303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92307 cat >conftest.$ac_ext <<_ACEOF
92308 /* confdefs.h. */
92309 _ACEOF
92310 cat confdefs.h >>conftest.$ac_ext
92311 cat >>conftest.$ac_ext <<_ACEOF
92312 /* end confdefs.h. */
92313 #include <math.h>
92314 #ifdef HAVE_IEEEFP_H
92315 #include <ieeefp.h>
92316 #endif
92319 main ()
92321 _fabsf(0);
92323 return 0;
92325 _ACEOF
92326 rm -f conftest.$ac_objext
92327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92328 (eval $ac_compile) 2>conftest.er1
92329 ac_status=$?
92330 grep -v '^ *+' conftest.er1 >conftest.err
92331 rm -f conftest.er1
92332 cat conftest.err >&5
92333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92334 (exit $ac_status); } &&
92335 { ac_try='test -z "$ac_cxx_werror_flag"
92336 || test ! -s conftest.err'
92337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92338 (eval $ac_try) 2>&5
92339 ac_status=$?
92340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92341 (exit $ac_status); }; } &&
92342 { ac_try='test -s conftest.$ac_objext'
92343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92344 (eval $ac_try) 2>&5
92345 ac_status=$?
92346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92347 (exit $ac_status); }; }; then
92348 glibcxx_cv_func__fabsf_use=yes
92349 else
92350 echo "$as_me: failed program was:" >&5
92351 sed 's/^/| /' conftest.$ac_ext >&5
92353 glibcxx_cv_func__fabsf_use=no
92355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92356 ac_ext=c
92357 ac_cpp='$CPP $CPPFLAGS'
92358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92366 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
92367 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
92369 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
92371 for ac_func in _fabsf
92373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92374 echo "$as_me:$LINENO: checking for $ac_func" >&5
92375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92376 if eval "test \"\${$as_ac_var+set}\" = set"; then
92377 echo $ECHO_N "(cached) $ECHO_C" >&6
92378 else
92379 if test x$gcc_no_link = xyes; then
92380 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92382 { (exit 1); exit 1; }; }
92384 cat >conftest.$ac_ext <<_ACEOF
92385 /* confdefs.h. */
92386 _ACEOF
92387 cat confdefs.h >>conftest.$ac_ext
92388 cat >>conftest.$ac_ext <<_ACEOF
92389 /* end confdefs.h. */
92390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92392 #define $ac_func innocuous_$ac_func
92394 /* System header to define __stub macros and hopefully few prototypes,
92395 which can conflict with char $ac_func (); below.
92396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92397 <limits.h> exists even on freestanding compilers. */
92399 #ifdef __STDC__
92400 # include <limits.h>
92401 #else
92402 # include <assert.h>
92403 #endif
92405 #undef $ac_func
92407 /* Override any gcc2 internal prototype to avoid an error. */
92408 #ifdef __cplusplus
92409 extern "C"
92411 #endif
92412 /* We use char because int might match the return type of a gcc2
92413 builtin and then its argument prototype would still apply. */
92414 char $ac_func ();
92415 /* The GNU C library defines this for functions which it implements
92416 to always fail with ENOSYS. Some functions are actually named
92417 something starting with __ and the normal name is an alias. */
92418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92419 choke me
92420 #else
92421 char (*f) () = $ac_func;
92422 #endif
92423 #ifdef __cplusplus
92425 #endif
92428 main ()
92430 return f != $ac_func;
92432 return 0;
92434 _ACEOF
92435 rm -f conftest.$ac_objext conftest$ac_exeext
92436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92437 (eval $ac_link) 2>conftest.er1
92438 ac_status=$?
92439 grep -v '^ *+' conftest.er1 >conftest.err
92440 rm -f conftest.er1
92441 cat conftest.err >&5
92442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92443 (exit $ac_status); } &&
92444 { ac_try='test -z "$ac_c_werror_flag"
92445 || test ! -s conftest.err'
92446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92447 (eval $ac_try) 2>&5
92448 ac_status=$?
92449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92450 (exit $ac_status); }; } &&
92451 { ac_try='test -s conftest$ac_exeext'
92452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92453 (eval $ac_try) 2>&5
92454 ac_status=$?
92455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92456 (exit $ac_status); }; }; then
92457 eval "$as_ac_var=yes"
92458 else
92459 echo "$as_me: failed program was:" >&5
92460 sed 's/^/| /' conftest.$ac_ext >&5
92462 eval "$as_ac_var=no"
92464 rm -f conftest.err conftest.$ac_objext \
92465 conftest$ac_exeext conftest.$ac_ext
92467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92469 if test `eval echo '${'$as_ac_var'}'` = yes; then
92470 cat >>confdefs.h <<_ACEOF
92471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92472 _ACEOF
92475 done
92485 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
92486 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
92487 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
92488 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
92489 echo $ECHO_N "(cached) $ECHO_C" >&6
92490 else
92494 ac_ext=cc
92495 ac_cpp='$CXXCPP $CPPFLAGS'
92496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92500 cat >conftest.$ac_ext <<_ACEOF
92501 /* confdefs.h. */
92502 _ACEOF
92503 cat confdefs.h >>conftest.$ac_ext
92504 cat >>conftest.$ac_ext <<_ACEOF
92505 /* end confdefs.h. */
92506 #include <math.h>
92508 main ()
92510 fmodf(0, 0);
92512 return 0;
92514 _ACEOF
92515 rm -f conftest.$ac_objext
92516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92517 (eval $ac_compile) 2>conftest.er1
92518 ac_status=$?
92519 grep -v '^ *+' conftest.er1 >conftest.err
92520 rm -f conftest.er1
92521 cat conftest.err >&5
92522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92523 (exit $ac_status); } &&
92524 { ac_try='test -z "$ac_cxx_werror_flag"
92525 || test ! -s conftest.err'
92526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92527 (eval $ac_try) 2>&5
92528 ac_status=$?
92529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92530 (exit $ac_status); }; } &&
92531 { ac_try='test -s conftest.$ac_objext'
92532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92533 (eval $ac_try) 2>&5
92534 ac_status=$?
92535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92536 (exit $ac_status); }; }; then
92537 glibcxx_cv_func_fmodf_use=yes
92538 else
92539 echo "$as_me: failed program was:" >&5
92540 sed 's/^/| /' conftest.$ac_ext >&5
92542 glibcxx_cv_func_fmodf_use=no
92544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92545 ac_ext=c
92546 ac_cpp='$CPP $CPPFLAGS'
92547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92555 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
92556 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
92558 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
92560 for ac_func in fmodf
92562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92563 echo "$as_me:$LINENO: checking for $ac_func" >&5
92564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92565 if eval "test \"\${$as_ac_var+set}\" = set"; then
92566 echo $ECHO_N "(cached) $ECHO_C" >&6
92567 else
92568 if test x$gcc_no_link = xyes; then
92569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92571 { (exit 1); exit 1; }; }
92573 cat >conftest.$ac_ext <<_ACEOF
92574 /* confdefs.h. */
92575 _ACEOF
92576 cat confdefs.h >>conftest.$ac_ext
92577 cat >>conftest.$ac_ext <<_ACEOF
92578 /* end confdefs.h. */
92579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92581 #define $ac_func innocuous_$ac_func
92583 /* System header to define __stub macros and hopefully few prototypes,
92584 which can conflict with char $ac_func (); below.
92585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92586 <limits.h> exists even on freestanding compilers. */
92588 #ifdef __STDC__
92589 # include <limits.h>
92590 #else
92591 # include <assert.h>
92592 #endif
92594 #undef $ac_func
92596 /* Override any gcc2 internal prototype to avoid an error. */
92597 #ifdef __cplusplus
92598 extern "C"
92600 #endif
92601 /* We use char because int might match the return type of a gcc2
92602 builtin and then its argument prototype would still apply. */
92603 char $ac_func ();
92604 /* The GNU C library defines this for functions which it implements
92605 to always fail with ENOSYS. Some functions are actually named
92606 something starting with __ and the normal name is an alias. */
92607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92608 choke me
92609 #else
92610 char (*f) () = $ac_func;
92611 #endif
92612 #ifdef __cplusplus
92614 #endif
92617 main ()
92619 return f != $ac_func;
92621 return 0;
92623 _ACEOF
92624 rm -f conftest.$ac_objext conftest$ac_exeext
92625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92626 (eval $ac_link) 2>conftest.er1
92627 ac_status=$?
92628 grep -v '^ *+' conftest.er1 >conftest.err
92629 rm -f conftest.er1
92630 cat conftest.err >&5
92631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92632 (exit $ac_status); } &&
92633 { ac_try='test -z "$ac_c_werror_flag"
92634 || test ! -s conftest.err'
92635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92636 (eval $ac_try) 2>&5
92637 ac_status=$?
92638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92639 (exit $ac_status); }; } &&
92640 { ac_try='test -s conftest$ac_exeext'
92641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92642 (eval $ac_try) 2>&5
92643 ac_status=$?
92644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92645 (exit $ac_status); }; }; then
92646 eval "$as_ac_var=yes"
92647 else
92648 echo "$as_me: failed program was:" >&5
92649 sed 's/^/| /' conftest.$ac_ext >&5
92651 eval "$as_ac_var=no"
92653 rm -f conftest.err conftest.$ac_objext \
92654 conftest$ac_exeext conftest.$ac_ext
92656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92657 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92658 if test `eval echo '${'$as_ac_var'}'` = yes; then
92659 cat >>confdefs.h <<_ACEOF
92660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92661 _ACEOF
92664 done
92666 else
92668 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
92669 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
92670 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
92671 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
92672 echo $ECHO_N "(cached) $ECHO_C" >&6
92673 else
92677 ac_ext=cc
92678 ac_cpp='$CXXCPP $CPPFLAGS'
92679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92683 cat >conftest.$ac_ext <<_ACEOF
92684 /* confdefs.h. */
92685 _ACEOF
92686 cat confdefs.h >>conftest.$ac_ext
92687 cat >>conftest.$ac_ext <<_ACEOF
92688 /* end confdefs.h. */
92689 #include <math.h>
92691 main ()
92693 _fmodf(0, 0);
92695 return 0;
92697 _ACEOF
92698 rm -f conftest.$ac_objext
92699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92700 (eval $ac_compile) 2>conftest.er1
92701 ac_status=$?
92702 grep -v '^ *+' conftest.er1 >conftest.err
92703 rm -f conftest.er1
92704 cat conftest.err >&5
92705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92706 (exit $ac_status); } &&
92707 { ac_try='test -z "$ac_cxx_werror_flag"
92708 || test ! -s conftest.err'
92709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92710 (eval $ac_try) 2>&5
92711 ac_status=$?
92712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92713 (exit $ac_status); }; } &&
92714 { ac_try='test -s conftest.$ac_objext'
92715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92716 (eval $ac_try) 2>&5
92717 ac_status=$?
92718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92719 (exit $ac_status); }; }; then
92720 glibcxx_cv_func__fmodf_use=yes
92721 else
92722 echo "$as_me: failed program was:" >&5
92723 sed 's/^/| /' conftest.$ac_ext >&5
92725 glibcxx_cv_func__fmodf_use=no
92727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92728 ac_ext=c
92729 ac_cpp='$CPP $CPPFLAGS'
92730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92738 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
92739 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
92741 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
92743 for ac_func in _fmodf
92745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92746 echo "$as_me:$LINENO: checking for $ac_func" >&5
92747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92748 if eval "test \"\${$as_ac_var+set}\" = set"; then
92749 echo $ECHO_N "(cached) $ECHO_C" >&6
92750 else
92751 if test x$gcc_no_link = xyes; then
92752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92754 { (exit 1); exit 1; }; }
92756 cat >conftest.$ac_ext <<_ACEOF
92757 /* confdefs.h. */
92758 _ACEOF
92759 cat confdefs.h >>conftest.$ac_ext
92760 cat >>conftest.$ac_ext <<_ACEOF
92761 /* end confdefs.h. */
92762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92764 #define $ac_func innocuous_$ac_func
92766 /* System header to define __stub macros and hopefully few prototypes,
92767 which can conflict with char $ac_func (); below.
92768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92769 <limits.h> exists even on freestanding compilers. */
92771 #ifdef __STDC__
92772 # include <limits.h>
92773 #else
92774 # include <assert.h>
92775 #endif
92777 #undef $ac_func
92779 /* Override any gcc2 internal prototype to avoid an error. */
92780 #ifdef __cplusplus
92781 extern "C"
92783 #endif
92784 /* We use char because int might match the return type of a gcc2
92785 builtin and then its argument prototype would still apply. */
92786 char $ac_func ();
92787 /* The GNU C library defines this for functions which it implements
92788 to always fail with ENOSYS. Some functions are actually named
92789 something starting with __ and the normal name is an alias. */
92790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92791 choke me
92792 #else
92793 char (*f) () = $ac_func;
92794 #endif
92795 #ifdef __cplusplus
92797 #endif
92800 main ()
92802 return f != $ac_func;
92804 return 0;
92806 _ACEOF
92807 rm -f conftest.$ac_objext conftest$ac_exeext
92808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92809 (eval $ac_link) 2>conftest.er1
92810 ac_status=$?
92811 grep -v '^ *+' conftest.er1 >conftest.err
92812 rm -f conftest.er1
92813 cat conftest.err >&5
92814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92815 (exit $ac_status); } &&
92816 { ac_try='test -z "$ac_c_werror_flag"
92817 || test ! -s conftest.err'
92818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92819 (eval $ac_try) 2>&5
92820 ac_status=$?
92821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92822 (exit $ac_status); }; } &&
92823 { ac_try='test -s conftest$ac_exeext'
92824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92825 (eval $ac_try) 2>&5
92826 ac_status=$?
92827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92828 (exit $ac_status); }; }; then
92829 eval "$as_ac_var=yes"
92830 else
92831 echo "$as_me: failed program was:" >&5
92832 sed 's/^/| /' conftest.$ac_ext >&5
92834 eval "$as_ac_var=no"
92836 rm -f conftest.err conftest.$ac_objext \
92837 conftest$ac_exeext conftest.$ac_ext
92839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92841 if test `eval echo '${'$as_ac_var'}'` = yes; then
92842 cat >>confdefs.h <<_ACEOF
92843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92844 _ACEOF
92847 done
92857 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
92858 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
92859 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
92860 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
92861 echo $ECHO_N "(cached) $ECHO_C" >&6
92862 else
92866 ac_ext=cc
92867 ac_cpp='$CXXCPP $CPPFLAGS'
92868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92872 cat >conftest.$ac_ext <<_ACEOF
92873 /* confdefs.h. */
92874 _ACEOF
92875 cat confdefs.h >>conftest.$ac_ext
92876 cat >>conftest.$ac_ext <<_ACEOF
92877 /* end confdefs.h. */
92878 #include <math.h>
92880 main ()
92882 frexpf(0, 0);
92884 return 0;
92886 _ACEOF
92887 rm -f conftest.$ac_objext
92888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92889 (eval $ac_compile) 2>conftest.er1
92890 ac_status=$?
92891 grep -v '^ *+' conftest.er1 >conftest.err
92892 rm -f conftest.er1
92893 cat conftest.err >&5
92894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92895 (exit $ac_status); } &&
92896 { ac_try='test -z "$ac_cxx_werror_flag"
92897 || test ! -s conftest.err'
92898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92899 (eval $ac_try) 2>&5
92900 ac_status=$?
92901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92902 (exit $ac_status); }; } &&
92903 { ac_try='test -s conftest.$ac_objext'
92904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92905 (eval $ac_try) 2>&5
92906 ac_status=$?
92907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92908 (exit $ac_status); }; }; then
92909 glibcxx_cv_func_frexpf_use=yes
92910 else
92911 echo "$as_me: failed program was:" >&5
92912 sed 's/^/| /' conftest.$ac_ext >&5
92914 glibcxx_cv_func_frexpf_use=no
92916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92917 ac_ext=c
92918 ac_cpp='$CPP $CPPFLAGS'
92919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92927 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
92928 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
92930 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
92932 for ac_func in frexpf
92934 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92935 echo "$as_me:$LINENO: checking for $ac_func" >&5
92936 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92937 if eval "test \"\${$as_ac_var+set}\" = set"; then
92938 echo $ECHO_N "(cached) $ECHO_C" >&6
92939 else
92940 if test x$gcc_no_link = xyes; then
92941 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92942 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92943 { (exit 1); exit 1; }; }
92945 cat >conftest.$ac_ext <<_ACEOF
92946 /* confdefs.h. */
92947 _ACEOF
92948 cat confdefs.h >>conftest.$ac_ext
92949 cat >>conftest.$ac_ext <<_ACEOF
92950 /* end confdefs.h. */
92951 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92953 #define $ac_func innocuous_$ac_func
92955 /* System header to define __stub macros and hopefully few prototypes,
92956 which can conflict with char $ac_func (); below.
92957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92958 <limits.h> exists even on freestanding compilers. */
92960 #ifdef __STDC__
92961 # include <limits.h>
92962 #else
92963 # include <assert.h>
92964 #endif
92966 #undef $ac_func
92968 /* Override any gcc2 internal prototype to avoid an error. */
92969 #ifdef __cplusplus
92970 extern "C"
92972 #endif
92973 /* We use char because int might match the return type of a gcc2
92974 builtin and then its argument prototype would still apply. */
92975 char $ac_func ();
92976 /* The GNU C library defines this for functions which it implements
92977 to always fail with ENOSYS. Some functions are actually named
92978 something starting with __ and the normal name is an alias. */
92979 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92980 choke me
92981 #else
92982 char (*f) () = $ac_func;
92983 #endif
92984 #ifdef __cplusplus
92986 #endif
92989 main ()
92991 return f != $ac_func;
92993 return 0;
92995 _ACEOF
92996 rm -f conftest.$ac_objext conftest$ac_exeext
92997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92998 (eval $ac_link) 2>conftest.er1
92999 ac_status=$?
93000 grep -v '^ *+' conftest.er1 >conftest.err
93001 rm -f conftest.er1
93002 cat conftest.err >&5
93003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93004 (exit $ac_status); } &&
93005 { ac_try='test -z "$ac_c_werror_flag"
93006 || test ! -s conftest.err'
93007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93008 (eval $ac_try) 2>&5
93009 ac_status=$?
93010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93011 (exit $ac_status); }; } &&
93012 { ac_try='test -s conftest$ac_exeext'
93013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93014 (eval $ac_try) 2>&5
93015 ac_status=$?
93016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93017 (exit $ac_status); }; }; then
93018 eval "$as_ac_var=yes"
93019 else
93020 echo "$as_me: failed program was:" >&5
93021 sed 's/^/| /' conftest.$ac_ext >&5
93023 eval "$as_ac_var=no"
93025 rm -f conftest.err conftest.$ac_objext \
93026 conftest$ac_exeext conftest.$ac_ext
93028 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93029 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93030 if test `eval echo '${'$as_ac_var'}'` = yes; then
93031 cat >>confdefs.h <<_ACEOF
93032 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93033 _ACEOF
93036 done
93038 else
93040 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
93041 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
93042 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
93043 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
93044 echo $ECHO_N "(cached) $ECHO_C" >&6
93045 else
93049 ac_ext=cc
93050 ac_cpp='$CXXCPP $CPPFLAGS'
93051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93055 cat >conftest.$ac_ext <<_ACEOF
93056 /* confdefs.h. */
93057 _ACEOF
93058 cat confdefs.h >>conftest.$ac_ext
93059 cat >>conftest.$ac_ext <<_ACEOF
93060 /* end confdefs.h. */
93061 #include <math.h>
93063 main ()
93065 _frexpf(0, 0);
93067 return 0;
93069 _ACEOF
93070 rm -f conftest.$ac_objext
93071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93072 (eval $ac_compile) 2>conftest.er1
93073 ac_status=$?
93074 grep -v '^ *+' conftest.er1 >conftest.err
93075 rm -f conftest.er1
93076 cat conftest.err >&5
93077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93078 (exit $ac_status); } &&
93079 { ac_try='test -z "$ac_cxx_werror_flag"
93080 || test ! -s conftest.err'
93081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93082 (eval $ac_try) 2>&5
93083 ac_status=$?
93084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93085 (exit $ac_status); }; } &&
93086 { ac_try='test -s conftest.$ac_objext'
93087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93088 (eval $ac_try) 2>&5
93089 ac_status=$?
93090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93091 (exit $ac_status); }; }; then
93092 glibcxx_cv_func__frexpf_use=yes
93093 else
93094 echo "$as_me: failed program was:" >&5
93095 sed 's/^/| /' conftest.$ac_ext >&5
93097 glibcxx_cv_func__frexpf_use=no
93099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93100 ac_ext=c
93101 ac_cpp='$CPP $CPPFLAGS'
93102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93110 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
93111 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
93113 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
93115 for ac_func in _frexpf
93117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93118 echo "$as_me:$LINENO: checking for $ac_func" >&5
93119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93120 if eval "test \"\${$as_ac_var+set}\" = set"; then
93121 echo $ECHO_N "(cached) $ECHO_C" >&6
93122 else
93123 if test x$gcc_no_link = xyes; then
93124 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93126 { (exit 1); exit 1; }; }
93128 cat >conftest.$ac_ext <<_ACEOF
93129 /* confdefs.h. */
93130 _ACEOF
93131 cat confdefs.h >>conftest.$ac_ext
93132 cat >>conftest.$ac_ext <<_ACEOF
93133 /* end confdefs.h. */
93134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93136 #define $ac_func innocuous_$ac_func
93138 /* System header to define __stub macros and hopefully few prototypes,
93139 which can conflict with char $ac_func (); below.
93140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93141 <limits.h> exists even on freestanding compilers. */
93143 #ifdef __STDC__
93144 # include <limits.h>
93145 #else
93146 # include <assert.h>
93147 #endif
93149 #undef $ac_func
93151 /* Override any gcc2 internal prototype to avoid an error. */
93152 #ifdef __cplusplus
93153 extern "C"
93155 #endif
93156 /* We use char because int might match the return type of a gcc2
93157 builtin and then its argument prototype would still apply. */
93158 char $ac_func ();
93159 /* The GNU C library defines this for functions which it implements
93160 to always fail with ENOSYS. Some functions are actually named
93161 something starting with __ and the normal name is an alias. */
93162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93163 choke me
93164 #else
93165 char (*f) () = $ac_func;
93166 #endif
93167 #ifdef __cplusplus
93169 #endif
93172 main ()
93174 return f != $ac_func;
93176 return 0;
93178 _ACEOF
93179 rm -f conftest.$ac_objext conftest$ac_exeext
93180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93181 (eval $ac_link) 2>conftest.er1
93182 ac_status=$?
93183 grep -v '^ *+' conftest.er1 >conftest.err
93184 rm -f conftest.er1
93185 cat conftest.err >&5
93186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93187 (exit $ac_status); } &&
93188 { ac_try='test -z "$ac_c_werror_flag"
93189 || test ! -s conftest.err'
93190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93191 (eval $ac_try) 2>&5
93192 ac_status=$?
93193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93194 (exit $ac_status); }; } &&
93195 { ac_try='test -s conftest$ac_exeext'
93196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93197 (eval $ac_try) 2>&5
93198 ac_status=$?
93199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93200 (exit $ac_status); }; }; then
93201 eval "$as_ac_var=yes"
93202 else
93203 echo "$as_me: failed program was:" >&5
93204 sed 's/^/| /' conftest.$ac_ext >&5
93206 eval "$as_ac_var=no"
93208 rm -f conftest.err conftest.$ac_objext \
93209 conftest$ac_exeext conftest.$ac_ext
93211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93213 if test `eval echo '${'$as_ac_var'}'` = yes; then
93214 cat >>confdefs.h <<_ACEOF
93215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93216 _ACEOF
93219 done
93229 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
93230 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
93231 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
93232 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
93233 echo $ECHO_N "(cached) $ECHO_C" >&6
93234 else
93238 ac_ext=cc
93239 ac_cpp='$CXXCPP $CPPFLAGS'
93240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93244 cat >conftest.$ac_ext <<_ACEOF
93245 /* confdefs.h. */
93246 _ACEOF
93247 cat confdefs.h >>conftest.$ac_ext
93248 cat >>conftest.$ac_ext <<_ACEOF
93249 /* end confdefs.h. */
93250 #include <math.h>
93252 main ()
93254 hypotf(0, 0);
93256 return 0;
93258 _ACEOF
93259 rm -f conftest.$ac_objext
93260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93261 (eval $ac_compile) 2>conftest.er1
93262 ac_status=$?
93263 grep -v '^ *+' conftest.er1 >conftest.err
93264 rm -f conftest.er1
93265 cat conftest.err >&5
93266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93267 (exit $ac_status); } &&
93268 { ac_try='test -z "$ac_cxx_werror_flag"
93269 || test ! -s conftest.err'
93270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93271 (eval $ac_try) 2>&5
93272 ac_status=$?
93273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93274 (exit $ac_status); }; } &&
93275 { ac_try='test -s conftest.$ac_objext'
93276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93277 (eval $ac_try) 2>&5
93278 ac_status=$?
93279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93280 (exit $ac_status); }; }; then
93281 glibcxx_cv_func_hypotf_use=yes
93282 else
93283 echo "$as_me: failed program was:" >&5
93284 sed 's/^/| /' conftest.$ac_ext >&5
93286 glibcxx_cv_func_hypotf_use=no
93288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93289 ac_ext=c
93290 ac_cpp='$CPP $CPPFLAGS'
93291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93299 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
93300 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
93302 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
93304 for ac_func in hypotf
93306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93307 echo "$as_me:$LINENO: checking for $ac_func" >&5
93308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93309 if eval "test \"\${$as_ac_var+set}\" = set"; then
93310 echo $ECHO_N "(cached) $ECHO_C" >&6
93311 else
93312 if test x$gcc_no_link = xyes; then
93313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93315 { (exit 1); exit 1; }; }
93317 cat >conftest.$ac_ext <<_ACEOF
93318 /* confdefs.h. */
93319 _ACEOF
93320 cat confdefs.h >>conftest.$ac_ext
93321 cat >>conftest.$ac_ext <<_ACEOF
93322 /* end confdefs.h. */
93323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93325 #define $ac_func innocuous_$ac_func
93327 /* System header to define __stub macros and hopefully few prototypes,
93328 which can conflict with char $ac_func (); below.
93329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93330 <limits.h> exists even on freestanding compilers. */
93332 #ifdef __STDC__
93333 # include <limits.h>
93334 #else
93335 # include <assert.h>
93336 #endif
93338 #undef $ac_func
93340 /* Override any gcc2 internal prototype to avoid an error. */
93341 #ifdef __cplusplus
93342 extern "C"
93344 #endif
93345 /* We use char because int might match the return type of a gcc2
93346 builtin and then its argument prototype would still apply. */
93347 char $ac_func ();
93348 /* The GNU C library defines this for functions which it implements
93349 to always fail with ENOSYS. Some functions are actually named
93350 something starting with __ and the normal name is an alias. */
93351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93352 choke me
93353 #else
93354 char (*f) () = $ac_func;
93355 #endif
93356 #ifdef __cplusplus
93358 #endif
93361 main ()
93363 return f != $ac_func;
93365 return 0;
93367 _ACEOF
93368 rm -f conftest.$ac_objext conftest$ac_exeext
93369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93370 (eval $ac_link) 2>conftest.er1
93371 ac_status=$?
93372 grep -v '^ *+' conftest.er1 >conftest.err
93373 rm -f conftest.er1
93374 cat conftest.err >&5
93375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93376 (exit $ac_status); } &&
93377 { ac_try='test -z "$ac_c_werror_flag"
93378 || test ! -s conftest.err'
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); }; } &&
93384 { ac_try='test -s conftest$ac_exeext'
93385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93386 (eval $ac_try) 2>&5
93387 ac_status=$?
93388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93389 (exit $ac_status); }; }; then
93390 eval "$as_ac_var=yes"
93391 else
93392 echo "$as_me: failed program was:" >&5
93393 sed 's/^/| /' conftest.$ac_ext >&5
93395 eval "$as_ac_var=no"
93397 rm -f conftest.err conftest.$ac_objext \
93398 conftest$ac_exeext conftest.$ac_ext
93400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93402 if test `eval echo '${'$as_ac_var'}'` = yes; then
93403 cat >>confdefs.h <<_ACEOF
93404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93405 _ACEOF
93408 done
93410 else
93412 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
93413 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
93414 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
93415 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
93416 echo $ECHO_N "(cached) $ECHO_C" >&6
93417 else
93421 ac_ext=cc
93422 ac_cpp='$CXXCPP $CPPFLAGS'
93423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93427 cat >conftest.$ac_ext <<_ACEOF
93428 /* confdefs.h. */
93429 _ACEOF
93430 cat confdefs.h >>conftest.$ac_ext
93431 cat >>conftest.$ac_ext <<_ACEOF
93432 /* end confdefs.h. */
93433 #include <math.h>
93435 main ()
93437 _hypotf(0, 0);
93439 return 0;
93441 _ACEOF
93442 rm -f conftest.$ac_objext
93443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93444 (eval $ac_compile) 2>conftest.er1
93445 ac_status=$?
93446 grep -v '^ *+' conftest.er1 >conftest.err
93447 rm -f conftest.er1
93448 cat conftest.err >&5
93449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93450 (exit $ac_status); } &&
93451 { ac_try='test -z "$ac_cxx_werror_flag"
93452 || test ! -s conftest.err'
93453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93454 (eval $ac_try) 2>&5
93455 ac_status=$?
93456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93457 (exit $ac_status); }; } &&
93458 { ac_try='test -s conftest.$ac_objext'
93459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93460 (eval $ac_try) 2>&5
93461 ac_status=$?
93462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93463 (exit $ac_status); }; }; then
93464 glibcxx_cv_func__hypotf_use=yes
93465 else
93466 echo "$as_me: failed program was:" >&5
93467 sed 's/^/| /' conftest.$ac_ext >&5
93469 glibcxx_cv_func__hypotf_use=no
93471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93472 ac_ext=c
93473 ac_cpp='$CPP $CPPFLAGS'
93474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93482 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
93483 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
93485 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
93487 for ac_func in _hypotf
93489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93490 echo "$as_me:$LINENO: checking for $ac_func" >&5
93491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93492 if eval "test \"\${$as_ac_var+set}\" = set"; then
93493 echo $ECHO_N "(cached) $ECHO_C" >&6
93494 else
93495 if test x$gcc_no_link = xyes; then
93496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93498 { (exit 1); exit 1; }; }
93500 cat >conftest.$ac_ext <<_ACEOF
93501 /* confdefs.h. */
93502 _ACEOF
93503 cat confdefs.h >>conftest.$ac_ext
93504 cat >>conftest.$ac_ext <<_ACEOF
93505 /* end confdefs.h. */
93506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93508 #define $ac_func innocuous_$ac_func
93510 /* System header to define __stub macros and hopefully few prototypes,
93511 which can conflict with char $ac_func (); below.
93512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93513 <limits.h> exists even on freestanding compilers. */
93515 #ifdef __STDC__
93516 # include <limits.h>
93517 #else
93518 # include <assert.h>
93519 #endif
93521 #undef $ac_func
93523 /* Override any gcc2 internal prototype to avoid an error. */
93524 #ifdef __cplusplus
93525 extern "C"
93527 #endif
93528 /* We use char because int might match the return type of a gcc2
93529 builtin and then its argument prototype would still apply. */
93530 char $ac_func ();
93531 /* The GNU C library defines this for functions which it implements
93532 to always fail with ENOSYS. Some functions are actually named
93533 something starting with __ and the normal name is an alias. */
93534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93535 choke me
93536 #else
93537 char (*f) () = $ac_func;
93538 #endif
93539 #ifdef __cplusplus
93541 #endif
93544 main ()
93546 return f != $ac_func;
93548 return 0;
93550 _ACEOF
93551 rm -f conftest.$ac_objext conftest$ac_exeext
93552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93553 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
93574 else
93575 echo "$as_me: failed program was:" >&5
93576 sed 's/^/| /' conftest.$ac_ext >&5
93578 eval "$as_ac_var=no"
93580 rm -f conftest.err conftest.$ac_objext \
93581 conftest$ac_exeext conftest.$ac_ext
93583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93585 if test `eval echo '${'$as_ac_var'}'` = yes; then
93586 cat >>confdefs.h <<_ACEOF
93587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93588 _ACEOF
93591 done
93601 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
93602 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
93603 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
93604 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
93605 echo $ECHO_N "(cached) $ECHO_C" >&6
93606 else
93610 ac_ext=cc
93611 ac_cpp='$CXXCPP $CPPFLAGS'
93612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93616 cat >conftest.$ac_ext <<_ACEOF
93617 /* confdefs.h. */
93618 _ACEOF
93619 cat confdefs.h >>conftest.$ac_ext
93620 cat >>conftest.$ac_ext <<_ACEOF
93621 /* end confdefs.h. */
93622 #include <math.h>
93624 main ()
93626 ldexpf(0, 0);
93628 return 0;
93630 _ACEOF
93631 rm -f conftest.$ac_objext
93632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93633 (eval $ac_compile) 2>conftest.er1
93634 ac_status=$?
93635 grep -v '^ *+' conftest.er1 >conftest.err
93636 rm -f conftest.er1
93637 cat conftest.err >&5
93638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93639 (exit $ac_status); } &&
93640 { ac_try='test -z "$ac_cxx_werror_flag"
93641 || test ! -s conftest.err'
93642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93643 (eval $ac_try) 2>&5
93644 ac_status=$?
93645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93646 (exit $ac_status); }; } &&
93647 { ac_try='test -s conftest.$ac_objext'
93648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93649 (eval $ac_try) 2>&5
93650 ac_status=$?
93651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93652 (exit $ac_status); }; }; then
93653 glibcxx_cv_func_ldexpf_use=yes
93654 else
93655 echo "$as_me: failed program was:" >&5
93656 sed 's/^/| /' conftest.$ac_ext >&5
93658 glibcxx_cv_func_ldexpf_use=no
93660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93661 ac_ext=c
93662 ac_cpp='$CPP $CPPFLAGS'
93663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93671 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
93672 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
93674 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
93676 for ac_func in ldexpf
93678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93679 echo "$as_me:$LINENO: checking for $ac_func" >&5
93680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93681 if eval "test \"\${$as_ac_var+set}\" = set"; then
93682 echo $ECHO_N "(cached) $ECHO_C" >&6
93683 else
93684 if test x$gcc_no_link = xyes; then
93685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93687 { (exit 1); exit 1; }; }
93689 cat >conftest.$ac_ext <<_ACEOF
93690 /* confdefs.h. */
93691 _ACEOF
93692 cat confdefs.h >>conftest.$ac_ext
93693 cat >>conftest.$ac_ext <<_ACEOF
93694 /* end confdefs.h. */
93695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93697 #define $ac_func innocuous_$ac_func
93699 /* System header to define __stub macros and hopefully few prototypes,
93700 which can conflict with char $ac_func (); below.
93701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93702 <limits.h> exists even on freestanding compilers. */
93704 #ifdef __STDC__
93705 # include <limits.h>
93706 #else
93707 # include <assert.h>
93708 #endif
93710 #undef $ac_func
93712 /* Override any gcc2 internal prototype to avoid an error. */
93713 #ifdef __cplusplus
93714 extern "C"
93716 #endif
93717 /* We use char because int might match the return type of a gcc2
93718 builtin and then its argument prototype would still apply. */
93719 char $ac_func ();
93720 /* The GNU C library defines this for functions which it implements
93721 to always fail with ENOSYS. Some functions are actually named
93722 something starting with __ and the normal name is an alias. */
93723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93724 choke me
93725 #else
93726 char (*f) () = $ac_func;
93727 #endif
93728 #ifdef __cplusplus
93730 #endif
93733 main ()
93735 return f != $ac_func;
93737 return 0;
93739 _ACEOF
93740 rm -f conftest.$ac_objext conftest$ac_exeext
93741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93742 (eval $ac_link) 2>conftest.er1
93743 ac_status=$?
93744 grep -v '^ *+' conftest.er1 >conftest.err
93745 rm -f conftest.er1
93746 cat conftest.err >&5
93747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93748 (exit $ac_status); } &&
93749 { ac_try='test -z "$ac_c_werror_flag"
93750 || test ! -s conftest.err'
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); }; } &&
93756 { ac_try='test -s conftest$ac_exeext'
93757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93758 (eval $ac_try) 2>&5
93759 ac_status=$?
93760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93761 (exit $ac_status); }; }; then
93762 eval "$as_ac_var=yes"
93763 else
93764 echo "$as_me: failed program was:" >&5
93765 sed 's/^/| /' conftest.$ac_ext >&5
93767 eval "$as_ac_var=no"
93769 rm -f conftest.err conftest.$ac_objext \
93770 conftest$ac_exeext conftest.$ac_ext
93772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93774 if test `eval echo '${'$as_ac_var'}'` = yes; then
93775 cat >>confdefs.h <<_ACEOF
93776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93777 _ACEOF
93780 done
93782 else
93784 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
93785 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
93786 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
93787 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
93788 echo $ECHO_N "(cached) $ECHO_C" >&6
93789 else
93793 ac_ext=cc
93794 ac_cpp='$CXXCPP $CPPFLAGS'
93795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93799 cat >conftest.$ac_ext <<_ACEOF
93800 /* confdefs.h. */
93801 _ACEOF
93802 cat confdefs.h >>conftest.$ac_ext
93803 cat >>conftest.$ac_ext <<_ACEOF
93804 /* end confdefs.h. */
93805 #include <math.h>
93807 main ()
93809 _ldexpf(0, 0);
93811 return 0;
93813 _ACEOF
93814 rm -f conftest.$ac_objext
93815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93816 (eval $ac_compile) 2>conftest.er1
93817 ac_status=$?
93818 grep -v '^ *+' conftest.er1 >conftest.err
93819 rm -f conftest.er1
93820 cat conftest.err >&5
93821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93822 (exit $ac_status); } &&
93823 { ac_try='test -z "$ac_cxx_werror_flag"
93824 || test ! -s conftest.err'
93825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93826 (eval $ac_try) 2>&5
93827 ac_status=$?
93828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93829 (exit $ac_status); }; } &&
93830 { ac_try='test -s conftest.$ac_objext'
93831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93832 (eval $ac_try) 2>&5
93833 ac_status=$?
93834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93835 (exit $ac_status); }; }; then
93836 glibcxx_cv_func__ldexpf_use=yes
93837 else
93838 echo "$as_me: failed program was:" >&5
93839 sed 's/^/| /' conftest.$ac_ext >&5
93841 glibcxx_cv_func__ldexpf_use=no
93843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93844 ac_ext=c
93845 ac_cpp='$CPP $CPPFLAGS'
93846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93854 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
93855 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
93857 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
93859 for ac_func in _ldexpf
93861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93862 echo "$as_me:$LINENO: checking for $ac_func" >&5
93863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93864 if eval "test \"\${$as_ac_var+set}\" = set"; then
93865 echo $ECHO_N "(cached) $ECHO_C" >&6
93866 else
93867 if test x$gcc_no_link = xyes; then
93868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93870 { (exit 1); exit 1; }; }
93872 cat >conftest.$ac_ext <<_ACEOF
93873 /* confdefs.h. */
93874 _ACEOF
93875 cat confdefs.h >>conftest.$ac_ext
93876 cat >>conftest.$ac_ext <<_ACEOF
93877 /* end confdefs.h. */
93878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93880 #define $ac_func innocuous_$ac_func
93882 /* System header to define __stub macros and hopefully few prototypes,
93883 which can conflict with char $ac_func (); below.
93884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93885 <limits.h> exists even on freestanding compilers. */
93887 #ifdef __STDC__
93888 # include <limits.h>
93889 #else
93890 # include <assert.h>
93891 #endif
93893 #undef $ac_func
93895 /* Override any gcc2 internal prototype to avoid an error. */
93896 #ifdef __cplusplus
93897 extern "C"
93899 #endif
93900 /* We use char because int might match the return type of a gcc2
93901 builtin and then its argument prototype would still apply. */
93902 char $ac_func ();
93903 /* The GNU C library defines this for functions which it implements
93904 to always fail with ENOSYS. Some functions are actually named
93905 something starting with __ and the normal name is an alias. */
93906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93907 choke me
93908 #else
93909 char (*f) () = $ac_func;
93910 #endif
93911 #ifdef __cplusplus
93913 #endif
93916 main ()
93918 return f != $ac_func;
93920 return 0;
93922 _ACEOF
93923 rm -f conftest.$ac_objext conftest$ac_exeext
93924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93925 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
93946 else
93947 echo "$as_me: failed program was:" >&5
93948 sed 's/^/| /' conftest.$ac_ext >&5
93950 eval "$as_ac_var=no"
93952 rm -f conftest.err conftest.$ac_objext \
93953 conftest$ac_exeext conftest.$ac_ext
93955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93957 if test `eval echo '${'$as_ac_var'}'` = yes; then
93958 cat >>confdefs.h <<_ACEOF
93959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93960 _ACEOF
93963 done
93973 echo "$as_me:$LINENO: checking for logf declaration" >&5
93974 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
93975 if test x${glibcxx_cv_func_logf_use+set} != xset; then
93976 if test "${glibcxx_cv_func_logf_use+set}" = set; then
93977 echo $ECHO_N "(cached) $ECHO_C" >&6
93978 else
93982 ac_ext=cc
93983 ac_cpp='$CXXCPP $CPPFLAGS'
93984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93988 cat >conftest.$ac_ext <<_ACEOF
93989 /* confdefs.h. */
93990 _ACEOF
93991 cat confdefs.h >>conftest.$ac_ext
93992 cat >>conftest.$ac_ext <<_ACEOF
93993 /* end confdefs.h. */
93994 #include <math.h>
93995 #ifdef HAVE_IEEEFP_H
93996 #include <ieeefp.h>
93997 #endif
94000 main ()
94002 logf(0);
94004 return 0;
94006 _ACEOF
94007 rm -f conftest.$ac_objext
94008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94009 (eval $ac_compile) 2>conftest.er1
94010 ac_status=$?
94011 grep -v '^ *+' conftest.er1 >conftest.err
94012 rm -f conftest.er1
94013 cat conftest.err >&5
94014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94015 (exit $ac_status); } &&
94016 { ac_try='test -z "$ac_cxx_werror_flag"
94017 || test ! -s conftest.err'
94018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94019 (eval $ac_try) 2>&5
94020 ac_status=$?
94021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94022 (exit $ac_status); }; } &&
94023 { ac_try='test -s conftest.$ac_objext'
94024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94025 (eval $ac_try) 2>&5
94026 ac_status=$?
94027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94028 (exit $ac_status); }; }; then
94029 glibcxx_cv_func_logf_use=yes
94030 else
94031 echo "$as_me: failed program was:" >&5
94032 sed 's/^/| /' conftest.$ac_ext >&5
94034 glibcxx_cv_func_logf_use=no
94036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94037 ac_ext=c
94038 ac_cpp='$CPP $CPPFLAGS'
94039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94047 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
94048 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
94050 if test x$glibcxx_cv_func_logf_use = x"yes"; then
94052 for ac_func in logf
94054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94055 echo "$as_me:$LINENO: checking for $ac_func" >&5
94056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94057 if eval "test \"\${$as_ac_var+set}\" = set"; then
94058 echo $ECHO_N "(cached) $ECHO_C" >&6
94059 else
94060 if test x$gcc_no_link = xyes; then
94061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94063 { (exit 1); exit 1; }; }
94065 cat >conftest.$ac_ext <<_ACEOF
94066 /* confdefs.h. */
94067 _ACEOF
94068 cat confdefs.h >>conftest.$ac_ext
94069 cat >>conftest.$ac_ext <<_ACEOF
94070 /* end confdefs.h. */
94071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94073 #define $ac_func innocuous_$ac_func
94075 /* System header to define __stub macros and hopefully few prototypes,
94076 which can conflict with char $ac_func (); below.
94077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94078 <limits.h> exists even on freestanding compilers. */
94080 #ifdef __STDC__
94081 # include <limits.h>
94082 #else
94083 # include <assert.h>
94084 #endif
94086 #undef $ac_func
94088 /* Override any gcc2 internal prototype to avoid an error. */
94089 #ifdef __cplusplus
94090 extern "C"
94092 #endif
94093 /* We use char because int might match the return type of a gcc2
94094 builtin and then its argument prototype would still apply. */
94095 char $ac_func ();
94096 /* The GNU C library defines this for functions which it implements
94097 to always fail with ENOSYS. Some functions are actually named
94098 something starting with __ and the normal name is an alias. */
94099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94100 choke me
94101 #else
94102 char (*f) () = $ac_func;
94103 #endif
94104 #ifdef __cplusplus
94106 #endif
94109 main ()
94111 return f != $ac_func;
94113 return 0;
94115 _ACEOF
94116 rm -f conftest.$ac_objext conftest$ac_exeext
94117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94118 (eval $ac_link) 2>conftest.er1
94119 ac_status=$?
94120 grep -v '^ *+' conftest.er1 >conftest.err
94121 rm -f conftest.er1
94122 cat conftest.err >&5
94123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94124 (exit $ac_status); } &&
94125 { ac_try='test -z "$ac_c_werror_flag"
94126 || test ! -s conftest.err'
94127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94128 (eval $ac_try) 2>&5
94129 ac_status=$?
94130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94131 (exit $ac_status); }; } &&
94132 { ac_try='test -s conftest$ac_exeext'
94133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94134 (eval $ac_try) 2>&5
94135 ac_status=$?
94136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94137 (exit $ac_status); }; }; then
94138 eval "$as_ac_var=yes"
94139 else
94140 echo "$as_me: failed program was:" >&5
94141 sed 's/^/| /' conftest.$ac_ext >&5
94143 eval "$as_ac_var=no"
94145 rm -f conftest.err conftest.$ac_objext \
94146 conftest$ac_exeext conftest.$ac_ext
94148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94150 if test `eval echo '${'$as_ac_var'}'` = yes; then
94151 cat >>confdefs.h <<_ACEOF
94152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94153 _ACEOF
94156 done
94158 else
94160 echo "$as_me:$LINENO: checking for _logf declaration" >&5
94161 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
94162 if test x${glibcxx_cv_func__logf_use+set} != xset; then
94163 if test "${glibcxx_cv_func__logf_use+set}" = set; then
94164 echo $ECHO_N "(cached) $ECHO_C" >&6
94165 else
94169 ac_ext=cc
94170 ac_cpp='$CXXCPP $CPPFLAGS'
94171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94175 cat >conftest.$ac_ext <<_ACEOF
94176 /* confdefs.h. */
94177 _ACEOF
94178 cat confdefs.h >>conftest.$ac_ext
94179 cat >>conftest.$ac_ext <<_ACEOF
94180 /* end confdefs.h. */
94181 #include <math.h>
94182 #ifdef HAVE_IEEEFP_H
94183 #include <ieeefp.h>
94184 #endif
94187 main ()
94189 _logf(0);
94191 return 0;
94193 _ACEOF
94194 rm -f conftest.$ac_objext
94195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94196 (eval $ac_compile) 2>conftest.er1
94197 ac_status=$?
94198 grep -v '^ *+' conftest.er1 >conftest.err
94199 rm -f conftest.er1
94200 cat conftest.err >&5
94201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94202 (exit $ac_status); } &&
94203 { ac_try='test -z "$ac_cxx_werror_flag"
94204 || test ! -s conftest.err'
94205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94206 (eval $ac_try) 2>&5
94207 ac_status=$?
94208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94209 (exit $ac_status); }; } &&
94210 { ac_try='test -s conftest.$ac_objext'
94211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94212 (eval $ac_try) 2>&5
94213 ac_status=$?
94214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94215 (exit $ac_status); }; }; then
94216 glibcxx_cv_func__logf_use=yes
94217 else
94218 echo "$as_me: failed program was:" >&5
94219 sed 's/^/| /' conftest.$ac_ext >&5
94221 glibcxx_cv_func__logf_use=no
94223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94224 ac_ext=c
94225 ac_cpp='$CPP $CPPFLAGS'
94226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94234 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
94235 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
94237 if test x$glibcxx_cv_func__logf_use = x"yes"; then
94239 for ac_func in _logf
94241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94242 echo "$as_me:$LINENO: checking for $ac_func" >&5
94243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94244 if eval "test \"\${$as_ac_var+set}\" = set"; then
94245 echo $ECHO_N "(cached) $ECHO_C" >&6
94246 else
94247 if test x$gcc_no_link = xyes; then
94248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94250 { (exit 1); exit 1; }; }
94252 cat >conftest.$ac_ext <<_ACEOF
94253 /* confdefs.h. */
94254 _ACEOF
94255 cat confdefs.h >>conftest.$ac_ext
94256 cat >>conftest.$ac_ext <<_ACEOF
94257 /* end confdefs.h. */
94258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94260 #define $ac_func innocuous_$ac_func
94262 /* System header to define __stub macros and hopefully few prototypes,
94263 which can conflict with char $ac_func (); below.
94264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94265 <limits.h> exists even on freestanding compilers. */
94267 #ifdef __STDC__
94268 # include <limits.h>
94269 #else
94270 # include <assert.h>
94271 #endif
94273 #undef $ac_func
94275 /* Override any gcc2 internal prototype to avoid an error. */
94276 #ifdef __cplusplus
94277 extern "C"
94279 #endif
94280 /* We use char because int might match the return type of a gcc2
94281 builtin and then its argument prototype would still apply. */
94282 char $ac_func ();
94283 /* The GNU C library defines this for functions which it implements
94284 to always fail with ENOSYS. Some functions are actually named
94285 something starting with __ and the normal name is an alias. */
94286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94287 choke me
94288 #else
94289 char (*f) () = $ac_func;
94290 #endif
94291 #ifdef __cplusplus
94293 #endif
94296 main ()
94298 return f != $ac_func;
94300 return 0;
94302 _ACEOF
94303 rm -f conftest.$ac_objext conftest$ac_exeext
94304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94305 (eval $ac_link) 2>conftest.er1
94306 ac_status=$?
94307 grep -v '^ *+' conftest.er1 >conftest.err
94308 rm -f conftest.er1
94309 cat conftest.err >&5
94310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94311 (exit $ac_status); } &&
94312 { ac_try='test -z "$ac_c_werror_flag"
94313 || test ! -s conftest.err'
94314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94315 (eval $ac_try) 2>&5
94316 ac_status=$?
94317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94318 (exit $ac_status); }; } &&
94319 { ac_try='test -s conftest$ac_exeext'
94320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94321 (eval $ac_try) 2>&5
94322 ac_status=$?
94323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94324 (exit $ac_status); }; }; then
94325 eval "$as_ac_var=yes"
94326 else
94327 echo "$as_me: failed program was:" >&5
94328 sed 's/^/| /' conftest.$ac_ext >&5
94330 eval "$as_ac_var=no"
94332 rm -f conftest.err conftest.$ac_objext \
94333 conftest$ac_exeext conftest.$ac_ext
94335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94337 if test `eval echo '${'$as_ac_var'}'` = yes; then
94338 cat >>confdefs.h <<_ACEOF
94339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94340 _ACEOF
94343 done
94353 echo "$as_me:$LINENO: checking for log10f declaration" >&5
94354 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
94355 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
94356 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
94357 echo $ECHO_N "(cached) $ECHO_C" >&6
94358 else
94362 ac_ext=cc
94363 ac_cpp='$CXXCPP $CPPFLAGS'
94364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94368 cat >conftest.$ac_ext <<_ACEOF
94369 /* confdefs.h. */
94370 _ACEOF
94371 cat confdefs.h >>conftest.$ac_ext
94372 cat >>conftest.$ac_ext <<_ACEOF
94373 /* end confdefs.h. */
94374 #include <math.h>
94375 #ifdef HAVE_IEEEFP_H
94376 #include <ieeefp.h>
94377 #endif
94380 main ()
94382 log10f(0);
94384 return 0;
94386 _ACEOF
94387 rm -f conftest.$ac_objext
94388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94389 (eval $ac_compile) 2>conftest.er1
94390 ac_status=$?
94391 grep -v '^ *+' conftest.er1 >conftest.err
94392 rm -f conftest.er1
94393 cat conftest.err >&5
94394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94395 (exit $ac_status); } &&
94396 { ac_try='test -z "$ac_cxx_werror_flag"
94397 || test ! -s conftest.err'
94398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94399 (eval $ac_try) 2>&5
94400 ac_status=$?
94401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94402 (exit $ac_status); }; } &&
94403 { ac_try='test -s conftest.$ac_objext'
94404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94405 (eval $ac_try) 2>&5
94406 ac_status=$?
94407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94408 (exit $ac_status); }; }; then
94409 glibcxx_cv_func_log10f_use=yes
94410 else
94411 echo "$as_me: failed program was:" >&5
94412 sed 's/^/| /' conftest.$ac_ext >&5
94414 glibcxx_cv_func_log10f_use=no
94416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94417 ac_ext=c
94418 ac_cpp='$CPP $CPPFLAGS'
94419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94427 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
94428 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
94430 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
94432 for ac_func in log10f
94434 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94435 echo "$as_me:$LINENO: checking for $ac_func" >&5
94436 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94437 if eval "test \"\${$as_ac_var+set}\" = set"; then
94438 echo $ECHO_N "(cached) $ECHO_C" >&6
94439 else
94440 if test x$gcc_no_link = xyes; then
94441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94443 { (exit 1); exit 1; }; }
94445 cat >conftest.$ac_ext <<_ACEOF
94446 /* confdefs.h. */
94447 _ACEOF
94448 cat confdefs.h >>conftest.$ac_ext
94449 cat >>conftest.$ac_ext <<_ACEOF
94450 /* end confdefs.h. */
94451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94453 #define $ac_func innocuous_$ac_func
94455 /* System header to define __stub macros and hopefully few prototypes,
94456 which can conflict with char $ac_func (); below.
94457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94458 <limits.h> exists even on freestanding compilers. */
94460 #ifdef __STDC__
94461 # include <limits.h>
94462 #else
94463 # include <assert.h>
94464 #endif
94466 #undef $ac_func
94468 /* Override any gcc2 internal prototype to avoid an error. */
94469 #ifdef __cplusplus
94470 extern "C"
94472 #endif
94473 /* We use char because int might match the return type of a gcc2
94474 builtin and then its argument prototype would still apply. */
94475 char $ac_func ();
94476 /* The GNU C library defines this for functions which it implements
94477 to always fail with ENOSYS. Some functions are actually named
94478 something starting with __ and the normal name is an alias. */
94479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94480 choke me
94481 #else
94482 char (*f) () = $ac_func;
94483 #endif
94484 #ifdef __cplusplus
94486 #endif
94489 main ()
94491 return f != $ac_func;
94493 return 0;
94495 _ACEOF
94496 rm -f conftest.$ac_objext conftest$ac_exeext
94497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94498 (eval $ac_link) 2>conftest.er1
94499 ac_status=$?
94500 grep -v '^ *+' conftest.er1 >conftest.err
94501 rm -f conftest.er1
94502 cat conftest.err >&5
94503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94504 (exit $ac_status); } &&
94505 { ac_try='test -z "$ac_c_werror_flag"
94506 || test ! -s conftest.err'
94507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94508 (eval $ac_try) 2>&5
94509 ac_status=$?
94510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94511 (exit $ac_status); }; } &&
94512 { ac_try='test -s conftest$ac_exeext'
94513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94514 (eval $ac_try) 2>&5
94515 ac_status=$?
94516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94517 (exit $ac_status); }; }; then
94518 eval "$as_ac_var=yes"
94519 else
94520 echo "$as_me: failed program was:" >&5
94521 sed 's/^/| /' conftest.$ac_ext >&5
94523 eval "$as_ac_var=no"
94525 rm -f conftest.err conftest.$ac_objext \
94526 conftest$ac_exeext conftest.$ac_ext
94528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94530 if test `eval echo '${'$as_ac_var'}'` = yes; then
94531 cat >>confdefs.h <<_ACEOF
94532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94533 _ACEOF
94536 done
94538 else
94540 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
94541 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
94542 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
94543 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
94544 echo $ECHO_N "(cached) $ECHO_C" >&6
94545 else
94549 ac_ext=cc
94550 ac_cpp='$CXXCPP $CPPFLAGS'
94551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94555 cat >conftest.$ac_ext <<_ACEOF
94556 /* confdefs.h. */
94557 _ACEOF
94558 cat confdefs.h >>conftest.$ac_ext
94559 cat >>conftest.$ac_ext <<_ACEOF
94560 /* end confdefs.h. */
94561 #include <math.h>
94562 #ifdef HAVE_IEEEFP_H
94563 #include <ieeefp.h>
94564 #endif
94567 main ()
94569 _log10f(0);
94571 return 0;
94573 _ACEOF
94574 rm -f conftest.$ac_objext
94575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94576 (eval $ac_compile) 2>conftest.er1
94577 ac_status=$?
94578 grep -v '^ *+' conftest.er1 >conftest.err
94579 rm -f conftest.er1
94580 cat conftest.err >&5
94581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94582 (exit $ac_status); } &&
94583 { ac_try='test -z "$ac_cxx_werror_flag"
94584 || test ! -s conftest.err'
94585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94586 (eval $ac_try) 2>&5
94587 ac_status=$?
94588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94589 (exit $ac_status); }; } &&
94590 { ac_try='test -s conftest.$ac_objext'
94591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94592 (eval $ac_try) 2>&5
94593 ac_status=$?
94594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94595 (exit $ac_status); }; }; then
94596 glibcxx_cv_func__log10f_use=yes
94597 else
94598 echo "$as_me: failed program was:" >&5
94599 sed 's/^/| /' conftest.$ac_ext >&5
94601 glibcxx_cv_func__log10f_use=no
94603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94604 ac_ext=c
94605 ac_cpp='$CPP $CPPFLAGS'
94606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94614 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
94615 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
94617 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
94619 for ac_func in _log10f
94621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94622 echo "$as_me:$LINENO: checking for $ac_func" >&5
94623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94624 if eval "test \"\${$as_ac_var+set}\" = set"; then
94625 echo $ECHO_N "(cached) $ECHO_C" >&6
94626 else
94627 if test x$gcc_no_link = xyes; then
94628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94630 { (exit 1); exit 1; }; }
94632 cat >conftest.$ac_ext <<_ACEOF
94633 /* confdefs.h. */
94634 _ACEOF
94635 cat confdefs.h >>conftest.$ac_ext
94636 cat >>conftest.$ac_ext <<_ACEOF
94637 /* end confdefs.h. */
94638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94640 #define $ac_func innocuous_$ac_func
94642 /* System header to define __stub macros and hopefully few prototypes,
94643 which can conflict with char $ac_func (); below.
94644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94645 <limits.h> exists even on freestanding compilers. */
94647 #ifdef __STDC__
94648 # include <limits.h>
94649 #else
94650 # include <assert.h>
94651 #endif
94653 #undef $ac_func
94655 /* Override any gcc2 internal prototype to avoid an error. */
94656 #ifdef __cplusplus
94657 extern "C"
94659 #endif
94660 /* We use char because int might match the return type of a gcc2
94661 builtin and then its argument prototype would still apply. */
94662 char $ac_func ();
94663 /* The GNU C library defines this for functions which it implements
94664 to always fail with ENOSYS. Some functions are actually named
94665 something starting with __ and the normal name is an alias. */
94666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94667 choke me
94668 #else
94669 char (*f) () = $ac_func;
94670 #endif
94671 #ifdef __cplusplus
94673 #endif
94676 main ()
94678 return f != $ac_func;
94680 return 0;
94682 _ACEOF
94683 rm -f conftest.$ac_objext conftest$ac_exeext
94684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94685 (eval $ac_link) 2>conftest.er1
94686 ac_status=$?
94687 grep -v '^ *+' conftest.er1 >conftest.err
94688 rm -f conftest.er1
94689 cat conftest.err >&5
94690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94691 (exit $ac_status); } &&
94692 { ac_try='test -z "$ac_c_werror_flag"
94693 || test ! -s conftest.err'
94694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94695 (eval $ac_try) 2>&5
94696 ac_status=$?
94697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94698 (exit $ac_status); }; } &&
94699 { ac_try='test -s conftest$ac_exeext'
94700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94701 (eval $ac_try) 2>&5
94702 ac_status=$?
94703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94704 (exit $ac_status); }; }; then
94705 eval "$as_ac_var=yes"
94706 else
94707 echo "$as_me: failed program was:" >&5
94708 sed 's/^/| /' conftest.$ac_ext >&5
94710 eval "$as_ac_var=no"
94712 rm -f conftest.err conftest.$ac_objext \
94713 conftest$ac_exeext conftest.$ac_ext
94715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94717 if test `eval echo '${'$as_ac_var'}'` = yes; then
94718 cat >>confdefs.h <<_ACEOF
94719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94720 _ACEOF
94723 done
94733 echo "$as_me:$LINENO: checking for modff declaration" >&5
94734 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
94735 if test x${glibcxx_cv_func_modff_use+set} != xset; then
94736 if test "${glibcxx_cv_func_modff_use+set}" = set; then
94737 echo $ECHO_N "(cached) $ECHO_C" >&6
94738 else
94742 ac_ext=cc
94743 ac_cpp='$CXXCPP $CPPFLAGS'
94744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94748 cat >conftest.$ac_ext <<_ACEOF
94749 /* confdefs.h. */
94750 _ACEOF
94751 cat confdefs.h >>conftest.$ac_ext
94752 cat >>conftest.$ac_ext <<_ACEOF
94753 /* end confdefs.h. */
94754 #include <math.h>
94756 main ()
94758 modff(0, 0);
94760 return 0;
94762 _ACEOF
94763 rm -f conftest.$ac_objext
94764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94765 (eval $ac_compile) 2>conftest.er1
94766 ac_status=$?
94767 grep -v '^ *+' conftest.er1 >conftest.err
94768 rm -f conftest.er1
94769 cat conftest.err >&5
94770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94771 (exit $ac_status); } &&
94772 { ac_try='test -z "$ac_cxx_werror_flag"
94773 || test ! -s conftest.err'
94774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94775 (eval $ac_try) 2>&5
94776 ac_status=$?
94777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94778 (exit $ac_status); }; } &&
94779 { ac_try='test -s conftest.$ac_objext'
94780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94781 (eval $ac_try) 2>&5
94782 ac_status=$?
94783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94784 (exit $ac_status); }; }; then
94785 glibcxx_cv_func_modff_use=yes
94786 else
94787 echo "$as_me: failed program was:" >&5
94788 sed 's/^/| /' conftest.$ac_ext >&5
94790 glibcxx_cv_func_modff_use=no
94792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94793 ac_ext=c
94794 ac_cpp='$CPP $CPPFLAGS'
94795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94803 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
94804 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
94806 if test x$glibcxx_cv_func_modff_use = x"yes"; then
94808 for ac_func in modff
94810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94811 echo "$as_me:$LINENO: checking for $ac_func" >&5
94812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94813 if eval "test \"\${$as_ac_var+set}\" = set"; then
94814 echo $ECHO_N "(cached) $ECHO_C" >&6
94815 else
94816 if test x$gcc_no_link = xyes; then
94817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94819 { (exit 1); exit 1; }; }
94821 cat >conftest.$ac_ext <<_ACEOF
94822 /* confdefs.h. */
94823 _ACEOF
94824 cat confdefs.h >>conftest.$ac_ext
94825 cat >>conftest.$ac_ext <<_ACEOF
94826 /* end confdefs.h. */
94827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94829 #define $ac_func innocuous_$ac_func
94831 /* System header to define __stub macros and hopefully few prototypes,
94832 which can conflict with char $ac_func (); below.
94833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94834 <limits.h> exists even on freestanding compilers. */
94836 #ifdef __STDC__
94837 # include <limits.h>
94838 #else
94839 # include <assert.h>
94840 #endif
94842 #undef $ac_func
94844 /* Override any gcc2 internal prototype to avoid an error. */
94845 #ifdef __cplusplus
94846 extern "C"
94848 #endif
94849 /* We use char because int might match the return type of a gcc2
94850 builtin and then its argument prototype would still apply. */
94851 char $ac_func ();
94852 /* The GNU C library defines this for functions which it implements
94853 to always fail with ENOSYS. Some functions are actually named
94854 something starting with __ and the normal name is an alias. */
94855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94856 choke me
94857 #else
94858 char (*f) () = $ac_func;
94859 #endif
94860 #ifdef __cplusplus
94862 #endif
94865 main ()
94867 return f != $ac_func;
94869 return 0;
94871 _ACEOF
94872 rm -f conftest.$ac_objext conftest$ac_exeext
94873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94874 (eval $ac_link) 2>conftest.er1
94875 ac_status=$?
94876 grep -v '^ *+' conftest.er1 >conftest.err
94877 rm -f conftest.er1
94878 cat conftest.err >&5
94879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94880 (exit $ac_status); } &&
94881 { ac_try='test -z "$ac_c_werror_flag"
94882 || test ! -s conftest.err'
94883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94884 (eval $ac_try) 2>&5
94885 ac_status=$?
94886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94887 (exit $ac_status); }; } &&
94888 { ac_try='test -s conftest$ac_exeext'
94889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94890 (eval $ac_try) 2>&5
94891 ac_status=$?
94892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94893 (exit $ac_status); }; }; then
94894 eval "$as_ac_var=yes"
94895 else
94896 echo "$as_me: failed program was:" >&5
94897 sed 's/^/| /' conftest.$ac_ext >&5
94899 eval "$as_ac_var=no"
94901 rm -f conftest.err conftest.$ac_objext \
94902 conftest$ac_exeext conftest.$ac_ext
94904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94906 if test `eval echo '${'$as_ac_var'}'` = yes; then
94907 cat >>confdefs.h <<_ACEOF
94908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94909 _ACEOF
94912 done
94914 else
94916 echo "$as_me:$LINENO: checking for _modff declaration" >&5
94917 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
94918 if test x${glibcxx_cv_func__modff_use+set} != xset; then
94919 if test "${glibcxx_cv_func__modff_use+set}" = set; then
94920 echo $ECHO_N "(cached) $ECHO_C" >&6
94921 else
94925 ac_ext=cc
94926 ac_cpp='$CXXCPP $CPPFLAGS'
94927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94931 cat >conftest.$ac_ext <<_ACEOF
94932 /* confdefs.h. */
94933 _ACEOF
94934 cat confdefs.h >>conftest.$ac_ext
94935 cat >>conftest.$ac_ext <<_ACEOF
94936 /* end confdefs.h. */
94937 #include <math.h>
94939 main ()
94941 _modff(0, 0);
94943 return 0;
94945 _ACEOF
94946 rm -f conftest.$ac_objext
94947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94948 (eval $ac_compile) 2>conftest.er1
94949 ac_status=$?
94950 grep -v '^ *+' conftest.er1 >conftest.err
94951 rm -f conftest.er1
94952 cat conftest.err >&5
94953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94954 (exit $ac_status); } &&
94955 { ac_try='test -z "$ac_cxx_werror_flag"
94956 || test ! -s conftest.err'
94957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94958 (eval $ac_try) 2>&5
94959 ac_status=$?
94960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94961 (exit $ac_status); }; } &&
94962 { ac_try='test -s conftest.$ac_objext'
94963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94964 (eval $ac_try) 2>&5
94965 ac_status=$?
94966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94967 (exit $ac_status); }; }; then
94968 glibcxx_cv_func__modff_use=yes
94969 else
94970 echo "$as_me: failed program was:" >&5
94971 sed 's/^/| /' conftest.$ac_ext >&5
94973 glibcxx_cv_func__modff_use=no
94975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94976 ac_ext=c
94977 ac_cpp='$CPP $CPPFLAGS'
94978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94986 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
94987 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
94989 if test x$glibcxx_cv_func__modff_use = x"yes"; then
94991 for ac_func in _modff
94993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94994 echo "$as_me:$LINENO: checking for $ac_func" >&5
94995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94996 if eval "test \"\${$as_ac_var+set}\" = set"; then
94997 echo $ECHO_N "(cached) $ECHO_C" >&6
94998 else
94999 if test x$gcc_no_link = xyes; then
95000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95002 { (exit 1); exit 1; }; }
95004 cat >conftest.$ac_ext <<_ACEOF
95005 /* confdefs.h. */
95006 _ACEOF
95007 cat confdefs.h >>conftest.$ac_ext
95008 cat >>conftest.$ac_ext <<_ACEOF
95009 /* end confdefs.h. */
95010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95012 #define $ac_func innocuous_$ac_func
95014 /* System header to define __stub macros and hopefully few prototypes,
95015 which can conflict with char $ac_func (); below.
95016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95017 <limits.h> exists even on freestanding compilers. */
95019 #ifdef __STDC__
95020 # include <limits.h>
95021 #else
95022 # include <assert.h>
95023 #endif
95025 #undef $ac_func
95027 /* Override any gcc2 internal prototype to avoid an error. */
95028 #ifdef __cplusplus
95029 extern "C"
95031 #endif
95032 /* We use char because int might match the return type of a gcc2
95033 builtin and then its argument prototype would still apply. */
95034 char $ac_func ();
95035 /* The GNU C library defines this for functions which it implements
95036 to always fail with ENOSYS. Some functions are actually named
95037 something starting with __ and the normal name is an alias. */
95038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95039 choke me
95040 #else
95041 char (*f) () = $ac_func;
95042 #endif
95043 #ifdef __cplusplus
95045 #endif
95048 main ()
95050 return f != $ac_func;
95052 return 0;
95054 _ACEOF
95055 rm -f conftest.$ac_objext conftest$ac_exeext
95056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95057 (eval $ac_link) 2>conftest.er1
95058 ac_status=$?
95059 grep -v '^ *+' conftest.er1 >conftest.err
95060 rm -f conftest.er1
95061 cat conftest.err >&5
95062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95063 (exit $ac_status); } &&
95064 { ac_try='test -z "$ac_c_werror_flag"
95065 || test ! -s conftest.err'
95066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95067 (eval $ac_try) 2>&5
95068 ac_status=$?
95069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95070 (exit $ac_status); }; } &&
95071 { ac_try='test -s conftest$ac_exeext'
95072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95073 (eval $ac_try) 2>&5
95074 ac_status=$?
95075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95076 (exit $ac_status); }; }; then
95077 eval "$as_ac_var=yes"
95078 else
95079 echo "$as_me: failed program was:" >&5
95080 sed 's/^/| /' conftest.$ac_ext >&5
95082 eval "$as_ac_var=no"
95084 rm -f conftest.err conftest.$ac_objext \
95085 conftest$ac_exeext conftest.$ac_ext
95087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95089 if test `eval echo '${'$as_ac_var'}'` = yes; then
95090 cat >>confdefs.h <<_ACEOF
95091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95092 _ACEOF
95095 done
95105 echo "$as_me:$LINENO: checking for modf declaration" >&5
95106 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
95107 if test x${glibcxx_cv_func_modf_use+set} != xset; then
95108 if test "${glibcxx_cv_func_modf_use+set}" = set; then
95109 echo $ECHO_N "(cached) $ECHO_C" >&6
95110 else
95114 ac_ext=cc
95115 ac_cpp='$CXXCPP $CPPFLAGS'
95116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95120 cat >conftest.$ac_ext <<_ACEOF
95121 /* confdefs.h. */
95122 _ACEOF
95123 cat confdefs.h >>conftest.$ac_ext
95124 cat >>conftest.$ac_ext <<_ACEOF
95125 /* end confdefs.h. */
95126 #include <math.h>
95128 main ()
95130 modf(0, 0);
95132 return 0;
95134 _ACEOF
95135 rm -f conftest.$ac_objext
95136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95137 (eval $ac_compile) 2>conftest.er1
95138 ac_status=$?
95139 grep -v '^ *+' conftest.er1 >conftest.err
95140 rm -f conftest.er1
95141 cat conftest.err >&5
95142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95143 (exit $ac_status); } &&
95144 { ac_try='test -z "$ac_cxx_werror_flag"
95145 || test ! -s conftest.err'
95146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95147 (eval $ac_try) 2>&5
95148 ac_status=$?
95149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95150 (exit $ac_status); }; } &&
95151 { ac_try='test -s conftest.$ac_objext'
95152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95153 (eval $ac_try) 2>&5
95154 ac_status=$?
95155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95156 (exit $ac_status); }; }; then
95157 glibcxx_cv_func_modf_use=yes
95158 else
95159 echo "$as_me: failed program was:" >&5
95160 sed 's/^/| /' conftest.$ac_ext >&5
95162 glibcxx_cv_func_modf_use=no
95164 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95165 ac_ext=c
95166 ac_cpp='$CPP $CPPFLAGS'
95167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95175 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
95176 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
95178 if test x$glibcxx_cv_func_modf_use = x"yes"; then
95180 for ac_func in modf
95182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95183 echo "$as_me:$LINENO: checking for $ac_func" >&5
95184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95185 if eval "test \"\${$as_ac_var+set}\" = set"; then
95186 echo $ECHO_N "(cached) $ECHO_C" >&6
95187 else
95188 if test x$gcc_no_link = xyes; then
95189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95191 { (exit 1); exit 1; }; }
95193 cat >conftest.$ac_ext <<_ACEOF
95194 /* confdefs.h. */
95195 _ACEOF
95196 cat confdefs.h >>conftest.$ac_ext
95197 cat >>conftest.$ac_ext <<_ACEOF
95198 /* end confdefs.h. */
95199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95201 #define $ac_func innocuous_$ac_func
95203 /* System header to define __stub macros and hopefully few prototypes,
95204 which can conflict with char $ac_func (); below.
95205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95206 <limits.h> exists even on freestanding compilers. */
95208 #ifdef __STDC__
95209 # include <limits.h>
95210 #else
95211 # include <assert.h>
95212 #endif
95214 #undef $ac_func
95216 /* Override any gcc2 internal prototype to avoid an error. */
95217 #ifdef __cplusplus
95218 extern "C"
95220 #endif
95221 /* We use char because int might match the return type of a gcc2
95222 builtin and then its argument prototype would still apply. */
95223 char $ac_func ();
95224 /* The GNU C library defines this for functions which it implements
95225 to always fail with ENOSYS. Some functions are actually named
95226 something starting with __ and the normal name is an alias. */
95227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95228 choke me
95229 #else
95230 char (*f) () = $ac_func;
95231 #endif
95232 #ifdef __cplusplus
95234 #endif
95237 main ()
95239 return f != $ac_func;
95241 return 0;
95243 _ACEOF
95244 rm -f conftest.$ac_objext conftest$ac_exeext
95245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95246 (eval $ac_link) 2>conftest.er1
95247 ac_status=$?
95248 grep -v '^ *+' conftest.er1 >conftest.err
95249 rm -f conftest.er1
95250 cat conftest.err >&5
95251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95252 (exit $ac_status); } &&
95253 { ac_try='test -z "$ac_c_werror_flag"
95254 || test ! -s conftest.err'
95255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95256 (eval $ac_try) 2>&5
95257 ac_status=$?
95258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95259 (exit $ac_status); }; } &&
95260 { ac_try='test -s conftest$ac_exeext'
95261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95262 (eval $ac_try) 2>&5
95263 ac_status=$?
95264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95265 (exit $ac_status); }; }; then
95266 eval "$as_ac_var=yes"
95267 else
95268 echo "$as_me: failed program was:" >&5
95269 sed 's/^/| /' conftest.$ac_ext >&5
95271 eval "$as_ac_var=no"
95273 rm -f conftest.err conftest.$ac_objext \
95274 conftest$ac_exeext conftest.$ac_ext
95276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95278 if test `eval echo '${'$as_ac_var'}'` = yes; then
95279 cat >>confdefs.h <<_ACEOF
95280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95281 _ACEOF
95284 done
95286 else
95288 echo "$as_me:$LINENO: checking for _modf declaration" >&5
95289 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
95290 if test x${glibcxx_cv_func__modf_use+set} != xset; then
95291 if test "${glibcxx_cv_func__modf_use+set}" = set; then
95292 echo $ECHO_N "(cached) $ECHO_C" >&6
95293 else
95297 ac_ext=cc
95298 ac_cpp='$CXXCPP $CPPFLAGS'
95299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95303 cat >conftest.$ac_ext <<_ACEOF
95304 /* confdefs.h. */
95305 _ACEOF
95306 cat confdefs.h >>conftest.$ac_ext
95307 cat >>conftest.$ac_ext <<_ACEOF
95308 /* end confdefs.h. */
95309 #include <math.h>
95311 main ()
95313 _modf(0, 0);
95315 return 0;
95317 _ACEOF
95318 rm -f conftest.$ac_objext
95319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95320 (eval $ac_compile) 2>conftest.er1
95321 ac_status=$?
95322 grep -v '^ *+' conftest.er1 >conftest.err
95323 rm -f conftest.er1
95324 cat conftest.err >&5
95325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95326 (exit $ac_status); } &&
95327 { ac_try='test -z "$ac_cxx_werror_flag"
95328 || test ! -s conftest.err'
95329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95330 (eval $ac_try) 2>&5
95331 ac_status=$?
95332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95333 (exit $ac_status); }; } &&
95334 { ac_try='test -s conftest.$ac_objext'
95335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95336 (eval $ac_try) 2>&5
95337 ac_status=$?
95338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95339 (exit $ac_status); }; }; then
95340 glibcxx_cv_func__modf_use=yes
95341 else
95342 echo "$as_me: failed program was:" >&5
95343 sed 's/^/| /' conftest.$ac_ext >&5
95345 glibcxx_cv_func__modf_use=no
95347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95348 ac_ext=c
95349 ac_cpp='$CPP $CPPFLAGS'
95350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95358 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
95359 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
95361 if test x$glibcxx_cv_func__modf_use = x"yes"; then
95363 for ac_func in _modf
95365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95366 echo "$as_me:$LINENO: checking for $ac_func" >&5
95367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95368 if eval "test \"\${$as_ac_var+set}\" = set"; then
95369 echo $ECHO_N "(cached) $ECHO_C" >&6
95370 else
95371 if test x$gcc_no_link = xyes; then
95372 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95374 { (exit 1); exit 1; }; }
95376 cat >conftest.$ac_ext <<_ACEOF
95377 /* confdefs.h. */
95378 _ACEOF
95379 cat confdefs.h >>conftest.$ac_ext
95380 cat >>conftest.$ac_ext <<_ACEOF
95381 /* end confdefs.h. */
95382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95384 #define $ac_func innocuous_$ac_func
95386 /* System header to define __stub macros and hopefully few prototypes,
95387 which can conflict with char $ac_func (); below.
95388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95389 <limits.h> exists even on freestanding compilers. */
95391 #ifdef __STDC__
95392 # include <limits.h>
95393 #else
95394 # include <assert.h>
95395 #endif
95397 #undef $ac_func
95399 /* Override any gcc2 internal prototype to avoid an error. */
95400 #ifdef __cplusplus
95401 extern "C"
95403 #endif
95404 /* We use char because int might match the return type of a gcc2
95405 builtin and then its argument prototype would still apply. */
95406 char $ac_func ();
95407 /* The GNU C library defines this for functions which it implements
95408 to always fail with ENOSYS. Some functions are actually named
95409 something starting with __ and the normal name is an alias. */
95410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95411 choke me
95412 #else
95413 char (*f) () = $ac_func;
95414 #endif
95415 #ifdef __cplusplus
95417 #endif
95420 main ()
95422 return f != $ac_func;
95424 return 0;
95426 _ACEOF
95427 rm -f conftest.$ac_objext conftest$ac_exeext
95428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95429 (eval $ac_link) 2>conftest.er1
95430 ac_status=$?
95431 grep -v '^ *+' conftest.er1 >conftest.err
95432 rm -f conftest.er1
95433 cat conftest.err >&5
95434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95435 (exit $ac_status); } &&
95436 { ac_try='test -z "$ac_c_werror_flag"
95437 || test ! -s conftest.err'
95438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95439 (eval $ac_try) 2>&5
95440 ac_status=$?
95441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95442 (exit $ac_status); }; } &&
95443 { ac_try='test -s conftest$ac_exeext'
95444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95445 (eval $ac_try) 2>&5
95446 ac_status=$?
95447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95448 (exit $ac_status); }; }; then
95449 eval "$as_ac_var=yes"
95450 else
95451 echo "$as_me: failed program was:" >&5
95452 sed 's/^/| /' conftest.$ac_ext >&5
95454 eval "$as_ac_var=no"
95456 rm -f conftest.err conftest.$ac_objext \
95457 conftest$ac_exeext conftest.$ac_ext
95459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95461 if test `eval echo '${'$as_ac_var'}'` = yes; then
95462 cat >>confdefs.h <<_ACEOF
95463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95464 _ACEOF
95467 done
95477 echo "$as_me:$LINENO: checking for powf declaration" >&5
95478 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
95479 if test x${glibcxx_cv_func_powf_use+set} != xset; then
95480 if test "${glibcxx_cv_func_powf_use+set}" = set; then
95481 echo $ECHO_N "(cached) $ECHO_C" >&6
95482 else
95486 ac_ext=cc
95487 ac_cpp='$CXXCPP $CPPFLAGS'
95488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95492 cat >conftest.$ac_ext <<_ACEOF
95493 /* confdefs.h. */
95494 _ACEOF
95495 cat confdefs.h >>conftest.$ac_ext
95496 cat >>conftest.$ac_ext <<_ACEOF
95497 /* end confdefs.h. */
95498 #include <math.h>
95500 main ()
95502 powf(0, 0);
95504 return 0;
95506 _ACEOF
95507 rm -f conftest.$ac_objext
95508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95509 (eval $ac_compile) 2>conftest.er1
95510 ac_status=$?
95511 grep -v '^ *+' conftest.er1 >conftest.err
95512 rm -f conftest.er1
95513 cat conftest.err >&5
95514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95515 (exit $ac_status); } &&
95516 { ac_try='test -z "$ac_cxx_werror_flag"
95517 || test ! -s conftest.err'
95518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95519 (eval $ac_try) 2>&5
95520 ac_status=$?
95521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95522 (exit $ac_status); }; } &&
95523 { ac_try='test -s conftest.$ac_objext'
95524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95525 (eval $ac_try) 2>&5
95526 ac_status=$?
95527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95528 (exit $ac_status); }; }; then
95529 glibcxx_cv_func_powf_use=yes
95530 else
95531 echo "$as_me: failed program was:" >&5
95532 sed 's/^/| /' conftest.$ac_ext >&5
95534 glibcxx_cv_func_powf_use=no
95536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95537 ac_ext=c
95538 ac_cpp='$CPP $CPPFLAGS'
95539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95547 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
95548 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
95550 if test x$glibcxx_cv_func_powf_use = x"yes"; then
95552 for ac_func in powf
95554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95555 echo "$as_me:$LINENO: checking for $ac_func" >&5
95556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95557 if eval "test \"\${$as_ac_var+set}\" = set"; then
95558 echo $ECHO_N "(cached) $ECHO_C" >&6
95559 else
95560 if test x$gcc_no_link = xyes; then
95561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95563 { (exit 1); exit 1; }; }
95565 cat >conftest.$ac_ext <<_ACEOF
95566 /* confdefs.h. */
95567 _ACEOF
95568 cat confdefs.h >>conftest.$ac_ext
95569 cat >>conftest.$ac_ext <<_ACEOF
95570 /* end confdefs.h. */
95571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95573 #define $ac_func innocuous_$ac_func
95575 /* System header to define __stub macros and hopefully few prototypes,
95576 which can conflict with char $ac_func (); below.
95577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95578 <limits.h> exists even on freestanding compilers. */
95580 #ifdef __STDC__
95581 # include <limits.h>
95582 #else
95583 # include <assert.h>
95584 #endif
95586 #undef $ac_func
95588 /* Override any gcc2 internal prototype to avoid an error. */
95589 #ifdef __cplusplus
95590 extern "C"
95592 #endif
95593 /* We use char because int might match the return type of a gcc2
95594 builtin and then its argument prototype would still apply. */
95595 char $ac_func ();
95596 /* The GNU C library defines this for functions which it implements
95597 to always fail with ENOSYS. Some functions are actually named
95598 something starting with __ and the normal name is an alias. */
95599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95600 choke me
95601 #else
95602 char (*f) () = $ac_func;
95603 #endif
95604 #ifdef __cplusplus
95606 #endif
95609 main ()
95611 return f != $ac_func;
95613 return 0;
95615 _ACEOF
95616 rm -f conftest.$ac_objext conftest$ac_exeext
95617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95618 (eval $ac_link) 2>conftest.er1
95619 ac_status=$?
95620 grep -v '^ *+' conftest.er1 >conftest.err
95621 rm -f conftest.er1
95622 cat conftest.err >&5
95623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95624 (exit $ac_status); } &&
95625 { ac_try='test -z "$ac_c_werror_flag"
95626 || test ! -s conftest.err'
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); }; } &&
95632 { ac_try='test -s conftest$ac_exeext'
95633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95634 (eval $ac_try) 2>&5
95635 ac_status=$?
95636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95637 (exit $ac_status); }; }; then
95638 eval "$as_ac_var=yes"
95639 else
95640 echo "$as_me: failed program was:" >&5
95641 sed 's/^/| /' conftest.$ac_ext >&5
95643 eval "$as_ac_var=no"
95645 rm -f conftest.err conftest.$ac_objext \
95646 conftest$ac_exeext conftest.$ac_ext
95648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95650 if test `eval echo '${'$as_ac_var'}'` = yes; then
95651 cat >>confdefs.h <<_ACEOF
95652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95653 _ACEOF
95656 done
95658 else
95660 echo "$as_me:$LINENO: checking for _powf declaration" >&5
95661 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
95662 if test x${glibcxx_cv_func__powf_use+set} != xset; then
95663 if test "${glibcxx_cv_func__powf_use+set}" = set; then
95664 echo $ECHO_N "(cached) $ECHO_C" >&6
95665 else
95669 ac_ext=cc
95670 ac_cpp='$CXXCPP $CPPFLAGS'
95671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95675 cat >conftest.$ac_ext <<_ACEOF
95676 /* confdefs.h. */
95677 _ACEOF
95678 cat confdefs.h >>conftest.$ac_ext
95679 cat >>conftest.$ac_ext <<_ACEOF
95680 /* end confdefs.h. */
95681 #include <math.h>
95683 main ()
95685 _powf(0, 0);
95687 return 0;
95689 _ACEOF
95690 rm -f conftest.$ac_objext
95691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95692 (eval $ac_compile) 2>conftest.er1
95693 ac_status=$?
95694 grep -v '^ *+' conftest.er1 >conftest.err
95695 rm -f conftest.er1
95696 cat conftest.err >&5
95697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95698 (exit $ac_status); } &&
95699 { ac_try='test -z "$ac_cxx_werror_flag"
95700 || test ! -s conftest.err'
95701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95702 (eval $ac_try) 2>&5
95703 ac_status=$?
95704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95705 (exit $ac_status); }; } &&
95706 { ac_try='test -s conftest.$ac_objext'
95707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95708 (eval $ac_try) 2>&5
95709 ac_status=$?
95710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95711 (exit $ac_status); }; }; then
95712 glibcxx_cv_func__powf_use=yes
95713 else
95714 echo "$as_me: failed program was:" >&5
95715 sed 's/^/| /' conftest.$ac_ext >&5
95717 glibcxx_cv_func__powf_use=no
95719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95720 ac_ext=c
95721 ac_cpp='$CPP $CPPFLAGS'
95722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95730 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
95731 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
95733 if test x$glibcxx_cv_func__powf_use = x"yes"; then
95735 for ac_func in _powf
95737 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95738 echo "$as_me:$LINENO: checking for $ac_func" >&5
95739 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95740 if eval "test \"\${$as_ac_var+set}\" = set"; then
95741 echo $ECHO_N "(cached) $ECHO_C" >&6
95742 else
95743 if test x$gcc_no_link = xyes; then
95744 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95745 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95746 { (exit 1); exit 1; }; }
95748 cat >conftest.$ac_ext <<_ACEOF
95749 /* confdefs.h. */
95750 _ACEOF
95751 cat confdefs.h >>conftest.$ac_ext
95752 cat >>conftest.$ac_ext <<_ACEOF
95753 /* end confdefs.h. */
95754 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95755 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95756 #define $ac_func innocuous_$ac_func
95758 /* System header to define __stub macros and hopefully few prototypes,
95759 which can conflict with char $ac_func (); below.
95760 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95761 <limits.h> exists even on freestanding compilers. */
95763 #ifdef __STDC__
95764 # include <limits.h>
95765 #else
95766 # include <assert.h>
95767 #endif
95769 #undef $ac_func
95771 /* Override any gcc2 internal prototype to avoid an error. */
95772 #ifdef __cplusplus
95773 extern "C"
95775 #endif
95776 /* We use char because int might match the return type of a gcc2
95777 builtin and then its argument prototype would still apply. */
95778 char $ac_func ();
95779 /* The GNU C library defines this for functions which it implements
95780 to always fail with ENOSYS. Some functions are actually named
95781 something starting with __ and the normal name is an alias. */
95782 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95783 choke me
95784 #else
95785 char (*f) () = $ac_func;
95786 #endif
95787 #ifdef __cplusplus
95789 #endif
95792 main ()
95794 return f != $ac_func;
95796 return 0;
95798 _ACEOF
95799 rm -f conftest.$ac_objext conftest$ac_exeext
95800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95801 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
95822 else
95823 echo "$as_me: failed program was:" >&5
95824 sed 's/^/| /' conftest.$ac_ext >&5
95826 eval "$as_ac_var=no"
95828 rm -f conftest.err conftest.$ac_objext \
95829 conftest$ac_exeext conftest.$ac_ext
95831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95832 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95833 if test `eval echo '${'$as_ac_var'}'` = yes; then
95834 cat >>confdefs.h <<_ACEOF
95835 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95836 _ACEOF
95839 done
95849 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
95850 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
95851 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
95852 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
95853 echo $ECHO_N "(cached) $ECHO_C" >&6
95854 else
95858 ac_ext=cc
95859 ac_cpp='$CXXCPP $CPPFLAGS'
95860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95864 cat >conftest.$ac_ext <<_ACEOF
95865 /* confdefs.h. */
95866 _ACEOF
95867 cat confdefs.h >>conftest.$ac_ext
95868 cat >>conftest.$ac_ext <<_ACEOF
95869 /* end confdefs.h. */
95870 #include <math.h>
95871 #ifdef HAVE_IEEEFP_H
95872 #include <ieeefp.h>
95873 #endif
95876 main ()
95878 sqrtf(0);
95880 return 0;
95882 _ACEOF
95883 rm -f conftest.$ac_objext
95884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95885 (eval $ac_compile) 2>conftest.er1
95886 ac_status=$?
95887 grep -v '^ *+' conftest.er1 >conftest.err
95888 rm -f conftest.er1
95889 cat conftest.err >&5
95890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95891 (exit $ac_status); } &&
95892 { ac_try='test -z "$ac_cxx_werror_flag"
95893 || test ! -s conftest.err'
95894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95895 (eval $ac_try) 2>&5
95896 ac_status=$?
95897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95898 (exit $ac_status); }; } &&
95899 { ac_try='test -s conftest.$ac_objext'
95900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95901 (eval $ac_try) 2>&5
95902 ac_status=$?
95903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95904 (exit $ac_status); }; }; then
95905 glibcxx_cv_func_sqrtf_use=yes
95906 else
95907 echo "$as_me: failed program was:" >&5
95908 sed 's/^/| /' conftest.$ac_ext >&5
95910 glibcxx_cv_func_sqrtf_use=no
95912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95913 ac_ext=c
95914 ac_cpp='$CPP $CPPFLAGS'
95915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95923 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
95924 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
95926 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
95928 for ac_func in sqrtf
95930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95931 echo "$as_me:$LINENO: checking for $ac_func" >&5
95932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95933 if eval "test \"\${$as_ac_var+set}\" = set"; then
95934 echo $ECHO_N "(cached) $ECHO_C" >&6
95935 else
95936 if test x$gcc_no_link = xyes; then
95937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95939 { (exit 1); exit 1; }; }
95941 cat >conftest.$ac_ext <<_ACEOF
95942 /* confdefs.h. */
95943 _ACEOF
95944 cat confdefs.h >>conftest.$ac_ext
95945 cat >>conftest.$ac_ext <<_ACEOF
95946 /* end confdefs.h. */
95947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95949 #define $ac_func innocuous_$ac_func
95951 /* System header to define __stub macros and hopefully few prototypes,
95952 which can conflict with char $ac_func (); below.
95953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95954 <limits.h> exists even on freestanding compilers. */
95956 #ifdef __STDC__
95957 # include <limits.h>
95958 #else
95959 # include <assert.h>
95960 #endif
95962 #undef $ac_func
95964 /* Override any gcc2 internal prototype to avoid an error. */
95965 #ifdef __cplusplus
95966 extern "C"
95968 #endif
95969 /* We use char because int might match the return type of a gcc2
95970 builtin and then its argument prototype would still apply. */
95971 char $ac_func ();
95972 /* The GNU C library defines this for functions which it implements
95973 to always fail with ENOSYS. Some functions are actually named
95974 something starting with __ and the normal name is an alias. */
95975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95976 choke me
95977 #else
95978 char (*f) () = $ac_func;
95979 #endif
95980 #ifdef __cplusplus
95982 #endif
95985 main ()
95987 return f != $ac_func;
95989 return 0;
95991 _ACEOF
95992 rm -f conftest.$ac_objext conftest$ac_exeext
95993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95994 (eval $ac_link) 2>conftest.er1
95995 ac_status=$?
95996 grep -v '^ *+' conftest.er1 >conftest.err
95997 rm -f conftest.er1
95998 cat conftest.err >&5
95999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96000 (exit $ac_status); } &&
96001 { ac_try='test -z "$ac_c_werror_flag"
96002 || test ! -s conftest.err'
96003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96004 (eval $ac_try) 2>&5
96005 ac_status=$?
96006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96007 (exit $ac_status); }; } &&
96008 { ac_try='test -s conftest$ac_exeext'
96009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96010 (eval $ac_try) 2>&5
96011 ac_status=$?
96012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96013 (exit $ac_status); }; }; then
96014 eval "$as_ac_var=yes"
96015 else
96016 echo "$as_me: failed program was:" >&5
96017 sed 's/^/| /' conftest.$ac_ext >&5
96019 eval "$as_ac_var=no"
96021 rm -f conftest.err conftest.$ac_objext \
96022 conftest$ac_exeext conftest.$ac_ext
96024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96026 if test `eval echo '${'$as_ac_var'}'` = yes; then
96027 cat >>confdefs.h <<_ACEOF
96028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96029 _ACEOF
96032 done
96034 else
96036 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
96037 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
96038 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
96039 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
96040 echo $ECHO_N "(cached) $ECHO_C" >&6
96041 else
96045 ac_ext=cc
96046 ac_cpp='$CXXCPP $CPPFLAGS'
96047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96051 cat >conftest.$ac_ext <<_ACEOF
96052 /* confdefs.h. */
96053 _ACEOF
96054 cat confdefs.h >>conftest.$ac_ext
96055 cat >>conftest.$ac_ext <<_ACEOF
96056 /* end confdefs.h. */
96057 #include <math.h>
96058 #ifdef HAVE_IEEEFP_H
96059 #include <ieeefp.h>
96060 #endif
96063 main ()
96065 _sqrtf(0);
96067 return 0;
96069 _ACEOF
96070 rm -f conftest.$ac_objext
96071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96072 (eval $ac_compile) 2>conftest.er1
96073 ac_status=$?
96074 grep -v '^ *+' conftest.er1 >conftest.err
96075 rm -f conftest.er1
96076 cat conftest.err >&5
96077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96078 (exit $ac_status); } &&
96079 { ac_try='test -z "$ac_cxx_werror_flag"
96080 || test ! -s conftest.err'
96081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96082 (eval $ac_try) 2>&5
96083 ac_status=$?
96084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96085 (exit $ac_status); }; } &&
96086 { ac_try='test -s conftest.$ac_objext'
96087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96088 (eval $ac_try) 2>&5
96089 ac_status=$?
96090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96091 (exit $ac_status); }; }; then
96092 glibcxx_cv_func__sqrtf_use=yes
96093 else
96094 echo "$as_me: failed program was:" >&5
96095 sed 's/^/| /' conftest.$ac_ext >&5
96097 glibcxx_cv_func__sqrtf_use=no
96099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96100 ac_ext=c
96101 ac_cpp='$CPP $CPPFLAGS'
96102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96110 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
96111 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
96113 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
96115 for ac_func in _sqrtf
96117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96118 echo "$as_me:$LINENO: checking for $ac_func" >&5
96119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96120 if eval "test \"\${$as_ac_var+set}\" = set"; then
96121 echo $ECHO_N "(cached) $ECHO_C" >&6
96122 else
96123 if test x$gcc_no_link = xyes; then
96124 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96126 { (exit 1); exit 1; }; }
96128 cat >conftest.$ac_ext <<_ACEOF
96129 /* confdefs.h. */
96130 _ACEOF
96131 cat confdefs.h >>conftest.$ac_ext
96132 cat >>conftest.$ac_ext <<_ACEOF
96133 /* end confdefs.h. */
96134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96136 #define $ac_func innocuous_$ac_func
96138 /* System header to define __stub macros and hopefully few prototypes,
96139 which can conflict with char $ac_func (); below.
96140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96141 <limits.h> exists even on freestanding compilers. */
96143 #ifdef __STDC__
96144 # include <limits.h>
96145 #else
96146 # include <assert.h>
96147 #endif
96149 #undef $ac_func
96151 /* Override any gcc2 internal prototype to avoid an error. */
96152 #ifdef __cplusplus
96153 extern "C"
96155 #endif
96156 /* We use char because int might match the return type of a gcc2
96157 builtin and then its argument prototype would still apply. */
96158 char $ac_func ();
96159 /* The GNU C library defines this for functions which it implements
96160 to always fail with ENOSYS. Some functions are actually named
96161 something starting with __ and the normal name is an alias. */
96162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96163 choke me
96164 #else
96165 char (*f) () = $ac_func;
96166 #endif
96167 #ifdef __cplusplus
96169 #endif
96172 main ()
96174 return f != $ac_func;
96176 return 0;
96178 _ACEOF
96179 rm -f conftest.$ac_objext conftest$ac_exeext
96180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96181 (eval $ac_link) 2>conftest.er1
96182 ac_status=$?
96183 grep -v '^ *+' conftest.er1 >conftest.err
96184 rm -f conftest.er1
96185 cat conftest.err >&5
96186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96187 (exit $ac_status); } &&
96188 { ac_try='test -z "$ac_c_werror_flag"
96189 || test ! -s conftest.err'
96190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96191 (eval $ac_try) 2>&5
96192 ac_status=$?
96193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96194 (exit $ac_status); }; } &&
96195 { ac_try='test -s conftest$ac_exeext'
96196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96197 (eval $ac_try) 2>&5
96198 ac_status=$?
96199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96200 (exit $ac_status); }; }; then
96201 eval "$as_ac_var=yes"
96202 else
96203 echo "$as_me: failed program was:" >&5
96204 sed 's/^/| /' conftest.$ac_ext >&5
96206 eval "$as_ac_var=no"
96208 rm -f conftest.err conftest.$ac_objext \
96209 conftest$ac_exeext conftest.$ac_ext
96211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96213 if test `eval echo '${'$as_ac_var'}'` = yes; then
96214 cat >>confdefs.h <<_ACEOF
96215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96216 _ACEOF
96219 done
96229 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
96230 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
96231 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
96232 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
96233 echo $ECHO_N "(cached) $ECHO_C" >&6
96234 else
96238 ac_ext=cc
96239 ac_cpp='$CXXCPP $CPPFLAGS'
96240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96244 cat >conftest.$ac_ext <<_ACEOF
96245 /* confdefs.h. */
96246 _ACEOF
96247 cat confdefs.h >>conftest.$ac_ext
96248 cat >>conftest.$ac_ext <<_ACEOF
96249 /* end confdefs.h. */
96250 #include <math.h>
96252 main ()
96254 sincosf(0, 0, 0);
96256 return 0;
96258 _ACEOF
96259 rm -f conftest.$ac_objext
96260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96261 (eval $ac_compile) 2>conftest.er1
96262 ac_status=$?
96263 grep -v '^ *+' conftest.er1 >conftest.err
96264 rm -f conftest.er1
96265 cat conftest.err >&5
96266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96267 (exit $ac_status); } &&
96268 { ac_try='test -z "$ac_cxx_werror_flag"
96269 || test ! -s conftest.err'
96270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96271 (eval $ac_try) 2>&5
96272 ac_status=$?
96273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96274 (exit $ac_status); }; } &&
96275 { ac_try='test -s conftest.$ac_objext'
96276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96277 (eval $ac_try) 2>&5
96278 ac_status=$?
96279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96280 (exit $ac_status); }; }; then
96281 glibcxx_cv_func_sincosf_use=yes
96282 else
96283 echo "$as_me: failed program was:" >&5
96284 sed 's/^/| /' conftest.$ac_ext >&5
96286 glibcxx_cv_func_sincosf_use=no
96288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96289 ac_ext=c
96290 ac_cpp='$CPP $CPPFLAGS'
96291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96299 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
96300 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
96302 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
96304 for ac_func in sincosf
96306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96307 echo "$as_me:$LINENO: checking for $ac_func" >&5
96308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96309 if eval "test \"\${$as_ac_var+set}\" = set"; then
96310 echo $ECHO_N "(cached) $ECHO_C" >&6
96311 else
96312 if test x$gcc_no_link = xyes; then
96313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96315 { (exit 1); exit 1; }; }
96317 cat >conftest.$ac_ext <<_ACEOF
96318 /* confdefs.h. */
96319 _ACEOF
96320 cat confdefs.h >>conftest.$ac_ext
96321 cat >>conftest.$ac_ext <<_ACEOF
96322 /* end confdefs.h. */
96323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96325 #define $ac_func innocuous_$ac_func
96327 /* System header to define __stub macros and hopefully few prototypes,
96328 which can conflict with char $ac_func (); below.
96329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96330 <limits.h> exists even on freestanding compilers. */
96332 #ifdef __STDC__
96333 # include <limits.h>
96334 #else
96335 # include <assert.h>
96336 #endif
96338 #undef $ac_func
96340 /* Override any gcc2 internal prototype to avoid an error. */
96341 #ifdef __cplusplus
96342 extern "C"
96344 #endif
96345 /* We use char because int might match the return type of a gcc2
96346 builtin and then its argument prototype would still apply. */
96347 char $ac_func ();
96348 /* The GNU C library defines this for functions which it implements
96349 to always fail with ENOSYS. Some functions are actually named
96350 something starting with __ and the normal name is an alias. */
96351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96352 choke me
96353 #else
96354 char (*f) () = $ac_func;
96355 #endif
96356 #ifdef __cplusplus
96358 #endif
96361 main ()
96363 return f != $ac_func;
96365 return 0;
96367 _ACEOF
96368 rm -f conftest.$ac_objext conftest$ac_exeext
96369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96370 (eval $ac_link) 2>conftest.er1
96371 ac_status=$?
96372 grep -v '^ *+' conftest.er1 >conftest.err
96373 rm -f conftest.er1
96374 cat conftest.err >&5
96375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96376 (exit $ac_status); } &&
96377 { ac_try='test -z "$ac_c_werror_flag"
96378 || test ! -s conftest.err'
96379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96380 (eval $ac_try) 2>&5
96381 ac_status=$?
96382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96383 (exit $ac_status); }; } &&
96384 { ac_try='test -s conftest$ac_exeext'
96385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96386 (eval $ac_try) 2>&5
96387 ac_status=$?
96388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96389 (exit $ac_status); }; }; then
96390 eval "$as_ac_var=yes"
96391 else
96392 echo "$as_me: failed program was:" >&5
96393 sed 's/^/| /' conftest.$ac_ext >&5
96395 eval "$as_ac_var=no"
96397 rm -f conftest.err conftest.$ac_objext \
96398 conftest$ac_exeext conftest.$ac_ext
96400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96402 if test `eval echo '${'$as_ac_var'}'` = yes; then
96403 cat >>confdefs.h <<_ACEOF
96404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96405 _ACEOF
96408 done
96410 else
96412 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
96413 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
96414 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
96415 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
96416 echo $ECHO_N "(cached) $ECHO_C" >&6
96417 else
96421 ac_ext=cc
96422 ac_cpp='$CXXCPP $CPPFLAGS'
96423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96427 cat >conftest.$ac_ext <<_ACEOF
96428 /* confdefs.h. */
96429 _ACEOF
96430 cat confdefs.h >>conftest.$ac_ext
96431 cat >>conftest.$ac_ext <<_ACEOF
96432 /* end confdefs.h. */
96433 #include <math.h>
96435 main ()
96437 _sincosf(0, 0, 0);
96439 return 0;
96441 _ACEOF
96442 rm -f conftest.$ac_objext
96443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96444 (eval $ac_compile) 2>conftest.er1
96445 ac_status=$?
96446 grep -v '^ *+' conftest.er1 >conftest.err
96447 rm -f conftest.er1
96448 cat conftest.err >&5
96449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96450 (exit $ac_status); } &&
96451 { ac_try='test -z "$ac_cxx_werror_flag"
96452 || test ! -s conftest.err'
96453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96454 (eval $ac_try) 2>&5
96455 ac_status=$?
96456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96457 (exit $ac_status); }; } &&
96458 { ac_try='test -s conftest.$ac_objext'
96459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96460 (eval $ac_try) 2>&5
96461 ac_status=$?
96462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96463 (exit $ac_status); }; }; then
96464 glibcxx_cv_func__sincosf_use=yes
96465 else
96466 echo "$as_me: failed program was:" >&5
96467 sed 's/^/| /' conftest.$ac_ext >&5
96469 glibcxx_cv_func__sincosf_use=no
96471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96472 ac_ext=c
96473 ac_cpp='$CPP $CPPFLAGS'
96474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96482 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
96483 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
96485 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
96487 for ac_func in _sincosf
96489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96490 echo "$as_me:$LINENO: checking for $ac_func" >&5
96491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96492 if eval "test \"\${$as_ac_var+set}\" = set"; then
96493 echo $ECHO_N "(cached) $ECHO_C" >&6
96494 else
96495 if test x$gcc_no_link = xyes; then
96496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96498 { (exit 1); exit 1; }; }
96500 cat >conftest.$ac_ext <<_ACEOF
96501 /* confdefs.h. */
96502 _ACEOF
96503 cat confdefs.h >>conftest.$ac_ext
96504 cat >>conftest.$ac_ext <<_ACEOF
96505 /* end confdefs.h. */
96506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96508 #define $ac_func innocuous_$ac_func
96510 /* System header to define __stub macros and hopefully few prototypes,
96511 which can conflict with char $ac_func (); below.
96512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96513 <limits.h> exists even on freestanding compilers. */
96515 #ifdef __STDC__
96516 # include <limits.h>
96517 #else
96518 # include <assert.h>
96519 #endif
96521 #undef $ac_func
96523 /* Override any gcc2 internal prototype to avoid an error. */
96524 #ifdef __cplusplus
96525 extern "C"
96527 #endif
96528 /* We use char because int might match the return type of a gcc2
96529 builtin and then its argument prototype would still apply. */
96530 char $ac_func ();
96531 /* The GNU C library defines this for functions which it implements
96532 to always fail with ENOSYS. Some functions are actually named
96533 something starting with __ and the normal name is an alias. */
96534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96535 choke me
96536 #else
96537 char (*f) () = $ac_func;
96538 #endif
96539 #ifdef __cplusplus
96541 #endif
96544 main ()
96546 return f != $ac_func;
96548 return 0;
96550 _ACEOF
96551 rm -f conftest.$ac_objext conftest$ac_exeext
96552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96553 (eval $ac_link) 2>conftest.er1
96554 ac_status=$?
96555 grep -v '^ *+' conftest.er1 >conftest.err
96556 rm -f conftest.er1
96557 cat conftest.err >&5
96558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96559 (exit $ac_status); } &&
96560 { ac_try='test -z "$ac_c_werror_flag"
96561 || test ! -s conftest.err'
96562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96563 (eval $ac_try) 2>&5
96564 ac_status=$?
96565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96566 (exit $ac_status); }; } &&
96567 { ac_try='test -s conftest$ac_exeext'
96568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96569 (eval $ac_try) 2>&5
96570 ac_status=$?
96571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96572 (exit $ac_status); }; }; then
96573 eval "$as_ac_var=yes"
96574 else
96575 echo "$as_me: failed program was:" >&5
96576 sed 's/^/| /' conftest.$ac_ext >&5
96578 eval "$as_ac_var=no"
96580 rm -f conftest.err conftest.$ac_objext \
96581 conftest$ac_exeext conftest.$ac_ext
96583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96585 if test `eval echo '${'$as_ac_var'}'` = yes; then
96586 cat >>confdefs.h <<_ACEOF
96587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96588 _ACEOF
96591 done
96601 echo "$as_me:$LINENO: checking for finitef declaration" >&5
96602 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
96603 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
96604 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
96605 echo $ECHO_N "(cached) $ECHO_C" >&6
96606 else
96610 ac_ext=cc
96611 ac_cpp='$CXXCPP $CPPFLAGS'
96612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96616 cat >conftest.$ac_ext <<_ACEOF
96617 /* confdefs.h. */
96618 _ACEOF
96619 cat confdefs.h >>conftest.$ac_ext
96620 cat >>conftest.$ac_ext <<_ACEOF
96621 /* end confdefs.h. */
96622 #include <math.h>
96623 #ifdef HAVE_IEEEFP_H
96624 #include <ieeefp.h>
96625 #endif
96628 main ()
96630 finitef(0);
96632 return 0;
96634 _ACEOF
96635 rm -f conftest.$ac_objext
96636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96637 (eval $ac_compile) 2>conftest.er1
96638 ac_status=$?
96639 grep -v '^ *+' conftest.er1 >conftest.err
96640 rm -f conftest.er1
96641 cat conftest.err >&5
96642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96643 (exit $ac_status); } &&
96644 { ac_try='test -z "$ac_cxx_werror_flag"
96645 || test ! -s conftest.err'
96646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96647 (eval $ac_try) 2>&5
96648 ac_status=$?
96649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96650 (exit $ac_status); }; } &&
96651 { ac_try='test -s conftest.$ac_objext'
96652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96653 (eval $ac_try) 2>&5
96654 ac_status=$?
96655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96656 (exit $ac_status); }; }; then
96657 glibcxx_cv_func_finitef_use=yes
96658 else
96659 echo "$as_me: failed program was:" >&5
96660 sed 's/^/| /' conftest.$ac_ext >&5
96662 glibcxx_cv_func_finitef_use=no
96664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96665 ac_ext=c
96666 ac_cpp='$CPP $CPPFLAGS'
96667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96675 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
96676 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
96678 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
96680 for ac_func in finitef
96682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96683 echo "$as_me:$LINENO: checking for $ac_func" >&5
96684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96685 if eval "test \"\${$as_ac_var+set}\" = set"; then
96686 echo $ECHO_N "(cached) $ECHO_C" >&6
96687 else
96688 if test x$gcc_no_link = xyes; then
96689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96691 { (exit 1); exit 1; }; }
96693 cat >conftest.$ac_ext <<_ACEOF
96694 /* confdefs.h. */
96695 _ACEOF
96696 cat confdefs.h >>conftest.$ac_ext
96697 cat >>conftest.$ac_ext <<_ACEOF
96698 /* end confdefs.h. */
96699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96701 #define $ac_func innocuous_$ac_func
96703 /* System header to define __stub macros and hopefully few prototypes,
96704 which can conflict with char $ac_func (); below.
96705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96706 <limits.h> exists even on freestanding compilers. */
96708 #ifdef __STDC__
96709 # include <limits.h>
96710 #else
96711 # include <assert.h>
96712 #endif
96714 #undef $ac_func
96716 /* Override any gcc2 internal prototype to avoid an error. */
96717 #ifdef __cplusplus
96718 extern "C"
96720 #endif
96721 /* We use char because int might match the return type of a gcc2
96722 builtin and then its argument prototype would still apply. */
96723 char $ac_func ();
96724 /* The GNU C library defines this for functions which it implements
96725 to always fail with ENOSYS. Some functions are actually named
96726 something starting with __ and the normal name is an alias. */
96727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96728 choke me
96729 #else
96730 char (*f) () = $ac_func;
96731 #endif
96732 #ifdef __cplusplus
96734 #endif
96737 main ()
96739 return f != $ac_func;
96741 return 0;
96743 _ACEOF
96744 rm -f conftest.$ac_objext conftest$ac_exeext
96745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96746 (eval $ac_link) 2>conftest.er1
96747 ac_status=$?
96748 grep -v '^ *+' conftest.er1 >conftest.err
96749 rm -f conftest.er1
96750 cat conftest.err >&5
96751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96752 (exit $ac_status); } &&
96753 { ac_try='test -z "$ac_c_werror_flag"
96754 || test ! -s conftest.err'
96755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96756 (eval $ac_try) 2>&5
96757 ac_status=$?
96758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96759 (exit $ac_status); }; } &&
96760 { ac_try='test -s conftest$ac_exeext'
96761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96762 (eval $ac_try) 2>&5
96763 ac_status=$?
96764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96765 (exit $ac_status); }; }; then
96766 eval "$as_ac_var=yes"
96767 else
96768 echo "$as_me: failed program was:" >&5
96769 sed 's/^/| /' conftest.$ac_ext >&5
96771 eval "$as_ac_var=no"
96773 rm -f conftest.err conftest.$ac_objext \
96774 conftest$ac_exeext conftest.$ac_ext
96776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96778 if test `eval echo '${'$as_ac_var'}'` = yes; then
96779 cat >>confdefs.h <<_ACEOF
96780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96781 _ACEOF
96784 done
96786 else
96788 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
96789 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
96790 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
96791 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
96792 echo $ECHO_N "(cached) $ECHO_C" >&6
96793 else
96797 ac_ext=cc
96798 ac_cpp='$CXXCPP $CPPFLAGS'
96799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96803 cat >conftest.$ac_ext <<_ACEOF
96804 /* confdefs.h. */
96805 _ACEOF
96806 cat confdefs.h >>conftest.$ac_ext
96807 cat >>conftest.$ac_ext <<_ACEOF
96808 /* end confdefs.h. */
96809 #include <math.h>
96810 #ifdef HAVE_IEEEFP_H
96811 #include <ieeefp.h>
96812 #endif
96815 main ()
96817 _finitef(0);
96819 return 0;
96821 _ACEOF
96822 rm -f conftest.$ac_objext
96823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96824 (eval $ac_compile) 2>conftest.er1
96825 ac_status=$?
96826 grep -v '^ *+' conftest.er1 >conftest.err
96827 rm -f conftest.er1
96828 cat conftest.err >&5
96829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96830 (exit $ac_status); } &&
96831 { ac_try='test -z "$ac_cxx_werror_flag"
96832 || test ! -s conftest.err'
96833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96834 (eval $ac_try) 2>&5
96835 ac_status=$?
96836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96837 (exit $ac_status); }; } &&
96838 { ac_try='test -s conftest.$ac_objext'
96839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96840 (eval $ac_try) 2>&5
96841 ac_status=$?
96842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96843 (exit $ac_status); }; }; then
96844 glibcxx_cv_func__finitef_use=yes
96845 else
96846 echo "$as_me: failed program was:" >&5
96847 sed 's/^/| /' conftest.$ac_ext >&5
96849 glibcxx_cv_func__finitef_use=no
96851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96852 ac_ext=c
96853 ac_cpp='$CPP $CPPFLAGS'
96854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96862 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
96863 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
96865 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
96867 for ac_func in _finitef
96869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96870 echo "$as_me:$LINENO: checking for $ac_func" >&5
96871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96872 if eval "test \"\${$as_ac_var+set}\" = set"; then
96873 echo $ECHO_N "(cached) $ECHO_C" >&6
96874 else
96875 if test x$gcc_no_link = xyes; then
96876 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96878 { (exit 1); exit 1; }; }
96880 cat >conftest.$ac_ext <<_ACEOF
96881 /* confdefs.h. */
96882 _ACEOF
96883 cat confdefs.h >>conftest.$ac_ext
96884 cat >>conftest.$ac_ext <<_ACEOF
96885 /* end confdefs.h. */
96886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96888 #define $ac_func innocuous_$ac_func
96890 /* System header to define __stub macros and hopefully few prototypes,
96891 which can conflict with char $ac_func (); below.
96892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96893 <limits.h> exists even on freestanding compilers. */
96895 #ifdef __STDC__
96896 # include <limits.h>
96897 #else
96898 # include <assert.h>
96899 #endif
96901 #undef $ac_func
96903 /* Override any gcc2 internal prototype to avoid an error. */
96904 #ifdef __cplusplus
96905 extern "C"
96907 #endif
96908 /* We use char because int might match the return type of a gcc2
96909 builtin and then its argument prototype would still apply. */
96910 char $ac_func ();
96911 /* The GNU C library defines this for functions which it implements
96912 to always fail with ENOSYS. Some functions are actually named
96913 something starting with __ and the normal name is an alias. */
96914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96915 choke me
96916 #else
96917 char (*f) () = $ac_func;
96918 #endif
96919 #ifdef __cplusplus
96921 #endif
96924 main ()
96926 return f != $ac_func;
96928 return 0;
96930 _ACEOF
96931 rm -f conftest.$ac_objext conftest$ac_exeext
96932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96933 (eval $ac_link) 2>conftest.er1
96934 ac_status=$?
96935 grep -v '^ *+' conftest.er1 >conftest.err
96936 rm -f conftest.er1
96937 cat conftest.err >&5
96938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96939 (exit $ac_status); } &&
96940 { ac_try='test -z "$ac_c_werror_flag"
96941 || test ! -s conftest.err'
96942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96943 (eval $ac_try) 2>&5
96944 ac_status=$?
96945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96946 (exit $ac_status); }; } &&
96947 { ac_try='test -s conftest$ac_exeext'
96948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96949 (eval $ac_try) 2>&5
96950 ac_status=$?
96951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96952 (exit $ac_status); }; }; then
96953 eval "$as_ac_var=yes"
96954 else
96955 echo "$as_me: failed program was:" >&5
96956 sed 's/^/| /' conftest.$ac_ext >&5
96958 eval "$as_ac_var=no"
96960 rm -f conftest.err conftest.$ac_objext \
96961 conftest$ac_exeext conftest.$ac_ext
96963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96965 if test `eval echo '${'$as_ac_var'}'` = yes; then
96966 cat >>confdefs.h <<_ACEOF
96967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96968 _ACEOF
96971 done
96981 echo "$as_me:$LINENO: checking for long double trig functions" >&5
96982 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
96983 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
96984 echo $ECHO_N "(cached) $ECHO_C" >&6
96985 else
96989 ac_ext=cc
96990 ac_cpp='$CXXCPP $CPPFLAGS'
96991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96995 cat >conftest.$ac_ext <<_ACEOF
96996 /* confdefs.h. */
96997 _ACEOF
96998 cat confdefs.h >>conftest.$ac_ext
96999 cat >>conftest.$ac_ext <<_ACEOF
97000 /* end confdefs.h. */
97001 #include <math.h>
97003 main ()
97005 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
97007 return 0;
97009 _ACEOF
97010 rm -f conftest.$ac_objext
97011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97012 (eval $ac_compile) 2>conftest.er1
97013 ac_status=$?
97014 grep -v '^ *+' conftest.er1 >conftest.err
97015 rm -f conftest.er1
97016 cat conftest.err >&5
97017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97018 (exit $ac_status); } &&
97019 { ac_try='test -z "$ac_cxx_werror_flag"
97020 || test ! -s conftest.err'
97021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97022 (eval $ac_try) 2>&5
97023 ac_status=$?
97024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97025 (exit $ac_status); }; } &&
97026 { ac_try='test -s conftest.$ac_objext'
97027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97028 (eval $ac_try) 2>&5
97029 ac_status=$?
97030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97031 (exit $ac_status); }; }; then
97032 glibcxx_cv_func_long_double_trig_use=yes
97033 else
97034 echo "$as_me: failed program was:" >&5
97035 sed 's/^/| /' conftest.$ac_ext >&5
97037 glibcxx_cv_func_long_double_trig_use=no
97039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97040 ac_ext=c
97041 ac_cpp='$CPP $CPPFLAGS'
97042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97048 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
97049 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
97050 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
97060 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
97062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97063 echo "$as_me:$LINENO: checking for $ac_func" >&5
97064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97065 if eval "test \"\${$as_ac_var+set}\" = set"; then
97066 echo $ECHO_N "(cached) $ECHO_C" >&6
97067 else
97068 if test x$gcc_no_link = xyes; then
97069 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97070 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97071 { (exit 1); exit 1; }; }
97073 cat >conftest.$ac_ext <<_ACEOF
97074 /* confdefs.h. */
97075 _ACEOF
97076 cat confdefs.h >>conftest.$ac_ext
97077 cat >>conftest.$ac_ext <<_ACEOF
97078 /* end confdefs.h. */
97079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97080 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97081 #define $ac_func innocuous_$ac_func
97083 /* System header to define __stub macros and hopefully few prototypes,
97084 which can conflict with char $ac_func (); below.
97085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97086 <limits.h> exists even on freestanding compilers. */
97088 #ifdef __STDC__
97089 # include <limits.h>
97090 #else
97091 # include <assert.h>
97092 #endif
97094 #undef $ac_func
97096 /* Override any gcc2 internal prototype to avoid an error. */
97097 #ifdef __cplusplus
97098 extern "C"
97100 #endif
97101 /* We use char because int might match the return type of a gcc2
97102 builtin and then its argument prototype would still apply. */
97103 char $ac_func ();
97104 /* The GNU C library defines this for functions which it implements
97105 to always fail with ENOSYS. Some functions are actually named
97106 something starting with __ and the normal name is an alias. */
97107 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97108 choke me
97109 #else
97110 char (*f) () = $ac_func;
97111 #endif
97112 #ifdef __cplusplus
97114 #endif
97117 main ()
97119 return f != $ac_func;
97121 return 0;
97123 _ACEOF
97124 rm -f conftest.$ac_objext conftest$ac_exeext
97125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97126 (eval $ac_link) 2>conftest.er1
97127 ac_status=$?
97128 grep -v '^ *+' conftest.er1 >conftest.err
97129 rm -f conftest.er1
97130 cat conftest.err >&5
97131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97132 (exit $ac_status); } &&
97133 { ac_try='test -z "$ac_c_werror_flag"
97134 || test ! -s conftest.err'
97135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97136 (eval $ac_try) 2>&5
97137 ac_status=$?
97138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97139 (exit $ac_status); }; } &&
97140 { ac_try='test -s conftest$ac_exeext'
97141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97142 (eval $ac_try) 2>&5
97143 ac_status=$?
97144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97145 (exit $ac_status); }; }; then
97146 eval "$as_ac_var=yes"
97147 else
97148 echo "$as_me: failed program was:" >&5
97149 sed 's/^/| /' conftest.$ac_ext >&5
97151 eval "$as_ac_var=no"
97153 rm -f conftest.err conftest.$ac_objext \
97154 conftest$ac_exeext conftest.$ac_ext
97156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97157 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97158 if test `eval echo '${'$as_ac_var'}'` = yes; then
97159 cat >>confdefs.h <<_ACEOF
97160 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97161 _ACEOF
97164 done
97166 else
97167 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
97168 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
97169 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
97170 echo $ECHO_N "(cached) $ECHO_C" >&6
97171 else
97175 ac_ext=cc
97176 ac_cpp='$CXXCPP $CPPFLAGS'
97177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97181 cat >conftest.$ac_ext <<_ACEOF
97182 /* confdefs.h. */
97183 _ACEOF
97184 cat confdefs.h >>conftest.$ac_ext
97185 cat >>conftest.$ac_ext <<_ACEOF
97186 /* end confdefs.h. */
97187 #include <math.h>
97189 main ()
97191 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
97193 return 0;
97195 _ACEOF
97196 rm -f conftest.$ac_objext
97197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97198 (eval $ac_compile) 2>conftest.er1
97199 ac_status=$?
97200 grep -v '^ *+' conftest.er1 >conftest.err
97201 rm -f conftest.er1
97202 cat conftest.err >&5
97203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97204 (exit $ac_status); } &&
97205 { ac_try='test -z "$ac_cxx_werror_flag"
97206 || test ! -s conftest.err'
97207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97208 (eval $ac_try) 2>&5
97209 ac_status=$?
97210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97211 (exit $ac_status); }; } &&
97212 { ac_try='test -s conftest.$ac_objext'
97213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97214 (eval $ac_try) 2>&5
97215 ac_status=$?
97216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97217 (exit $ac_status); }; }; then
97218 glibcxx_cv_func__long_double_trig_use=yes
97219 else
97220 echo "$as_me: failed program was:" >&5
97221 sed 's/^/| /' conftest.$ac_ext >&5
97223 glibcxx_cv_func__long_double_trig_use=no
97225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97226 ac_ext=c
97227 ac_cpp='$CPP $CPPFLAGS'
97228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97234 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
97235 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
97236 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
97246 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
97248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97249 echo "$as_me:$LINENO: checking for $ac_func" >&5
97250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97251 if eval "test \"\${$as_ac_var+set}\" = set"; then
97252 echo $ECHO_N "(cached) $ECHO_C" >&6
97253 else
97254 if test x$gcc_no_link = xyes; then
97255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97257 { (exit 1); exit 1; }; }
97259 cat >conftest.$ac_ext <<_ACEOF
97260 /* confdefs.h. */
97261 _ACEOF
97262 cat confdefs.h >>conftest.$ac_ext
97263 cat >>conftest.$ac_ext <<_ACEOF
97264 /* end confdefs.h. */
97265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97267 #define $ac_func innocuous_$ac_func
97269 /* System header to define __stub macros and hopefully few prototypes,
97270 which can conflict with char $ac_func (); below.
97271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97272 <limits.h> exists even on freestanding compilers. */
97274 #ifdef __STDC__
97275 # include <limits.h>
97276 #else
97277 # include <assert.h>
97278 #endif
97280 #undef $ac_func
97282 /* Override any gcc2 internal prototype to avoid an error. */
97283 #ifdef __cplusplus
97284 extern "C"
97286 #endif
97287 /* We use char because int might match the return type of a gcc2
97288 builtin and then its argument prototype would still apply. */
97289 char $ac_func ();
97290 /* The GNU C library defines this for functions which it implements
97291 to always fail with ENOSYS. Some functions are actually named
97292 something starting with __ and the normal name is an alias. */
97293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97294 choke me
97295 #else
97296 char (*f) () = $ac_func;
97297 #endif
97298 #ifdef __cplusplus
97300 #endif
97303 main ()
97305 return f != $ac_func;
97307 return 0;
97309 _ACEOF
97310 rm -f conftest.$ac_objext conftest$ac_exeext
97311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97312 (eval $ac_link) 2>conftest.er1
97313 ac_status=$?
97314 grep -v '^ *+' conftest.er1 >conftest.err
97315 rm -f conftest.er1
97316 cat conftest.err >&5
97317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97318 (exit $ac_status); } &&
97319 { ac_try='test -z "$ac_c_werror_flag"
97320 || test ! -s conftest.err'
97321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97322 (eval $ac_try) 2>&5
97323 ac_status=$?
97324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97325 (exit $ac_status); }; } &&
97326 { ac_try='test -s conftest$ac_exeext'
97327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97328 (eval $ac_try) 2>&5
97329 ac_status=$?
97330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97331 (exit $ac_status); }; }; then
97332 eval "$as_ac_var=yes"
97333 else
97334 echo "$as_me: failed program was:" >&5
97335 sed 's/^/| /' conftest.$ac_ext >&5
97337 eval "$as_ac_var=no"
97339 rm -f conftest.err conftest.$ac_objext \
97340 conftest$ac_exeext conftest.$ac_ext
97342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97344 if test `eval echo '${'$as_ac_var'}'` = yes; then
97345 cat >>confdefs.h <<_ACEOF
97346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97347 _ACEOF
97350 done
97368 echo "$as_me:$LINENO: checking for long double round functions" >&5
97369 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
97370 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
97371 echo $ECHO_N "(cached) $ECHO_C" >&6
97372 else
97376 ac_ext=cc
97377 ac_cpp='$CXXCPP $CPPFLAGS'
97378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97382 cat >conftest.$ac_ext <<_ACEOF
97383 /* confdefs.h. */
97384 _ACEOF
97385 cat confdefs.h >>conftest.$ac_ext
97386 cat >>conftest.$ac_ext <<_ACEOF
97387 /* end confdefs.h. */
97388 #include <math.h>
97390 main ()
97392 ceill (0); floorl (0);
97394 return 0;
97396 _ACEOF
97397 rm -f conftest.$ac_objext
97398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97399 (eval $ac_compile) 2>conftest.er1
97400 ac_status=$?
97401 grep -v '^ *+' conftest.er1 >conftest.err
97402 rm -f conftest.er1
97403 cat conftest.err >&5
97404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97405 (exit $ac_status); } &&
97406 { ac_try='test -z "$ac_cxx_werror_flag"
97407 || test ! -s conftest.err'
97408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97409 (eval $ac_try) 2>&5
97410 ac_status=$?
97411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97412 (exit $ac_status); }; } &&
97413 { ac_try='test -s conftest.$ac_objext'
97414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97415 (eval $ac_try) 2>&5
97416 ac_status=$?
97417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97418 (exit $ac_status); }; }; then
97419 glibcxx_cv_func_long_double_round_use=yes
97420 else
97421 echo "$as_me: failed program was:" >&5
97422 sed 's/^/| /' conftest.$ac_ext >&5
97424 glibcxx_cv_func_long_double_round_use=no
97426 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97427 ac_ext=c
97428 ac_cpp='$CPP $CPPFLAGS'
97429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97435 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
97436 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
97437 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
97440 for ac_func in ceill floorl
97442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97443 echo "$as_me:$LINENO: checking for $ac_func" >&5
97444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97445 if eval "test \"\${$as_ac_var+set}\" = set"; then
97446 echo $ECHO_N "(cached) $ECHO_C" >&6
97447 else
97448 if test x$gcc_no_link = xyes; then
97449 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97451 { (exit 1); exit 1; }; }
97453 cat >conftest.$ac_ext <<_ACEOF
97454 /* confdefs.h. */
97455 _ACEOF
97456 cat confdefs.h >>conftest.$ac_ext
97457 cat >>conftest.$ac_ext <<_ACEOF
97458 /* end confdefs.h. */
97459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97461 #define $ac_func innocuous_$ac_func
97463 /* System header to define __stub macros and hopefully few prototypes,
97464 which can conflict with char $ac_func (); below.
97465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97466 <limits.h> exists even on freestanding compilers. */
97468 #ifdef __STDC__
97469 # include <limits.h>
97470 #else
97471 # include <assert.h>
97472 #endif
97474 #undef $ac_func
97476 /* Override any gcc2 internal prototype to avoid an error. */
97477 #ifdef __cplusplus
97478 extern "C"
97480 #endif
97481 /* We use char because int might match the return type of a gcc2
97482 builtin and then its argument prototype would still apply. */
97483 char $ac_func ();
97484 /* The GNU C library defines this for functions which it implements
97485 to always fail with ENOSYS. Some functions are actually named
97486 something starting with __ and the normal name is an alias. */
97487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97488 choke me
97489 #else
97490 char (*f) () = $ac_func;
97491 #endif
97492 #ifdef __cplusplus
97494 #endif
97497 main ()
97499 return f != $ac_func;
97501 return 0;
97503 _ACEOF
97504 rm -f conftest.$ac_objext conftest$ac_exeext
97505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97506 (eval $ac_link) 2>conftest.er1
97507 ac_status=$?
97508 grep -v '^ *+' conftest.er1 >conftest.err
97509 rm -f conftest.er1
97510 cat conftest.err >&5
97511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97512 (exit $ac_status); } &&
97513 { ac_try='test -z "$ac_c_werror_flag"
97514 || test ! -s conftest.err'
97515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97516 (eval $ac_try) 2>&5
97517 ac_status=$?
97518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97519 (exit $ac_status); }; } &&
97520 { ac_try='test -s conftest$ac_exeext'
97521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97522 (eval $ac_try) 2>&5
97523 ac_status=$?
97524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97525 (exit $ac_status); }; }; then
97526 eval "$as_ac_var=yes"
97527 else
97528 echo "$as_me: failed program was:" >&5
97529 sed 's/^/| /' conftest.$ac_ext >&5
97531 eval "$as_ac_var=no"
97533 rm -f conftest.err conftest.$ac_objext \
97534 conftest$ac_exeext conftest.$ac_ext
97536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97538 if test `eval echo '${'$as_ac_var'}'` = yes; then
97539 cat >>confdefs.h <<_ACEOF
97540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97541 _ACEOF
97544 done
97546 else
97547 echo "$as_me:$LINENO: checking for _long double round functions" >&5
97548 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
97549 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
97550 echo $ECHO_N "(cached) $ECHO_C" >&6
97551 else
97555 ac_ext=cc
97556 ac_cpp='$CXXCPP $CPPFLAGS'
97557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97561 cat >conftest.$ac_ext <<_ACEOF
97562 /* confdefs.h. */
97563 _ACEOF
97564 cat confdefs.h >>conftest.$ac_ext
97565 cat >>conftest.$ac_ext <<_ACEOF
97566 /* end confdefs.h. */
97567 #include <math.h>
97569 main ()
97571 _ceill (0); _floorl (0);
97573 return 0;
97575 _ACEOF
97576 rm -f conftest.$ac_objext
97577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97578 (eval $ac_compile) 2>conftest.er1
97579 ac_status=$?
97580 grep -v '^ *+' conftest.er1 >conftest.err
97581 rm -f conftest.er1
97582 cat conftest.err >&5
97583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97584 (exit $ac_status); } &&
97585 { ac_try='test -z "$ac_cxx_werror_flag"
97586 || test ! -s conftest.err'
97587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97588 (eval $ac_try) 2>&5
97589 ac_status=$?
97590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97591 (exit $ac_status); }; } &&
97592 { ac_try='test -s conftest.$ac_objext'
97593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97594 (eval $ac_try) 2>&5
97595 ac_status=$?
97596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97597 (exit $ac_status); }; }; then
97598 glibcxx_cv_func__long_double_round_use=yes
97599 else
97600 echo "$as_me: failed program was:" >&5
97601 sed 's/^/| /' conftest.$ac_ext >&5
97603 glibcxx_cv_func__long_double_round_use=no
97605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97606 ac_ext=c
97607 ac_cpp='$CPP $CPPFLAGS'
97608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97614 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
97615 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
97616 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
97619 for ac_func in _ceill _floorl
97621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97622 echo "$as_me:$LINENO: checking for $ac_func" >&5
97623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97624 if eval "test \"\${$as_ac_var+set}\" = set"; then
97625 echo $ECHO_N "(cached) $ECHO_C" >&6
97626 else
97627 if test x$gcc_no_link = xyes; then
97628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97630 { (exit 1); exit 1; }; }
97632 cat >conftest.$ac_ext <<_ACEOF
97633 /* confdefs.h. */
97634 _ACEOF
97635 cat confdefs.h >>conftest.$ac_ext
97636 cat >>conftest.$ac_ext <<_ACEOF
97637 /* end confdefs.h. */
97638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97640 #define $ac_func innocuous_$ac_func
97642 /* System header to define __stub macros and hopefully few prototypes,
97643 which can conflict with char $ac_func (); below.
97644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97645 <limits.h> exists even on freestanding compilers. */
97647 #ifdef __STDC__
97648 # include <limits.h>
97649 #else
97650 # include <assert.h>
97651 #endif
97653 #undef $ac_func
97655 /* Override any gcc2 internal prototype to avoid an error. */
97656 #ifdef __cplusplus
97657 extern "C"
97659 #endif
97660 /* We use char because int might match the return type of a gcc2
97661 builtin and then its argument prototype would still apply. */
97662 char $ac_func ();
97663 /* The GNU C library defines this for functions which it implements
97664 to always fail with ENOSYS. Some functions are actually named
97665 something starting with __ and the normal name is an alias. */
97666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97667 choke me
97668 #else
97669 char (*f) () = $ac_func;
97670 #endif
97671 #ifdef __cplusplus
97673 #endif
97676 main ()
97678 return f != $ac_func;
97680 return 0;
97682 _ACEOF
97683 rm -f conftest.$ac_objext conftest$ac_exeext
97684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97685 (eval $ac_link) 2>conftest.er1
97686 ac_status=$?
97687 grep -v '^ *+' conftest.er1 >conftest.err
97688 rm -f conftest.er1
97689 cat conftest.err >&5
97690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97691 (exit $ac_status); } &&
97692 { ac_try='test -z "$ac_c_werror_flag"
97693 || test ! -s conftest.err'
97694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97695 (eval $ac_try) 2>&5
97696 ac_status=$?
97697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97698 (exit $ac_status); }; } &&
97699 { ac_try='test -s conftest$ac_exeext'
97700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97701 (eval $ac_try) 2>&5
97702 ac_status=$?
97703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97704 (exit $ac_status); }; }; then
97705 eval "$as_ac_var=yes"
97706 else
97707 echo "$as_me: failed program was:" >&5
97708 sed 's/^/| /' conftest.$ac_ext >&5
97710 eval "$as_ac_var=no"
97712 rm -f conftest.err conftest.$ac_objext \
97713 conftest$ac_exeext conftest.$ac_ext
97715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97717 if test `eval echo '${'$as_ac_var'}'` = yes; then
97718 cat >>confdefs.h <<_ACEOF
97719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97720 _ACEOF
97723 done
97735 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
97736 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
97737 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
97738 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
97739 echo $ECHO_N "(cached) $ECHO_C" >&6
97740 else
97744 ac_ext=cc
97745 ac_cpp='$CXXCPP $CPPFLAGS'
97746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97750 cat >conftest.$ac_ext <<_ACEOF
97751 /* confdefs.h. */
97752 _ACEOF
97753 cat confdefs.h >>conftest.$ac_ext
97754 cat >>conftest.$ac_ext <<_ACEOF
97755 /* end confdefs.h. */
97756 #include <math.h>
97757 #ifdef HAVE_IEEEFP_H
97758 #include <ieeefp.h>
97759 #endif
97762 main ()
97764 isnanl(0);
97766 return 0;
97768 _ACEOF
97769 rm -f conftest.$ac_objext
97770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97771 (eval $ac_compile) 2>conftest.er1
97772 ac_status=$?
97773 grep -v '^ *+' conftest.er1 >conftest.err
97774 rm -f conftest.er1
97775 cat conftest.err >&5
97776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97777 (exit $ac_status); } &&
97778 { ac_try='test -z "$ac_cxx_werror_flag"
97779 || test ! -s conftest.err'
97780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97781 (eval $ac_try) 2>&5
97782 ac_status=$?
97783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97784 (exit $ac_status); }; } &&
97785 { ac_try='test -s conftest.$ac_objext'
97786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97787 (eval $ac_try) 2>&5
97788 ac_status=$?
97789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97790 (exit $ac_status); }; }; then
97791 glibcxx_cv_func_isnanl_use=yes
97792 else
97793 echo "$as_me: failed program was:" >&5
97794 sed 's/^/| /' conftest.$ac_ext >&5
97796 glibcxx_cv_func_isnanl_use=no
97798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97799 ac_ext=c
97800 ac_cpp='$CPP $CPPFLAGS'
97801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97809 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
97810 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
97812 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
97814 for ac_func in isnanl
97816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97817 echo "$as_me:$LINENO: checking for $ac_func" >&5
97818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97819 if eval "test \"\${$as_ac_var+set}\" = set"; then
97820 echo $ECHO_N "(cached) $ECHO_C" >&6
97821 else
97822 if test x$gcc_no_link = xyes; then
97823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97825 { (exit 1); exit 1; }; }
97827 cat >conftest.$ac_ext <<_ACEOF
97828 /* confdefs.h. */
97829 _ACEOF
97830 cat confdefs.h >>conftest.$ac_ext
97831 cat >>conftest.$ac_ext <<_ACEOF
97832 /* end confdefs.h. */
97833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97835 #define $ac_func innocuous_$ac_func
97837 /* System header to define __stub macros and hopefully few prototypes,
97838 which can conflict with char $ac_func (); below.
97839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97840 <limits.h> exists even on freestanding compilers. */
97842 #ifdef __STDC__
97843 # include <limits.h>
97844 #else
97845 # include <assert.h>
97846 #endif
97848 #undef $ac_func
97850 /* Override any gcc2 internal prototype to avoid an error. */
97851 #ifdef __cplusplus
97852 extern "C"
97854 #endif
97855 /* We use char because int might match the return type of a gcc2
97856 builtin and then its argument prototype would still apply. */
97857 char $ac_func ();
97858 /* The GNU C library defines this for functions which it implements
97859 to always fail with ENOSYS. Some functions are actually named
97860 something starting with __ and the normal name is an alias. */
97861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97862 choke me
97863 #else
97864 char (*f) () = $ac_func;
97865 #endif
97866 #ifdef __cplusplus
97868 #endif
97871 main ()
97873 return f != $ac_func;
97875 return 0;
97877 _ACEOF
97878 rm -f conftest.$ac_objext conftest$ac_exeext
97879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97880 (eval $ac_link) 2>conftest.er1
97881 ac_status=$?
97882 grep -v '^ *+' conftest.er1 >conftest.err
97883 rm -f conftest.er1
97884 cat conftest.err >&5
97885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97886 (exit $ac_status); } &&
97887 { ac_try='test -z "$ac_c_werror_flag"
97888 || test ! -s conftest.err'
97889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97890 (eval $ac_try) 2>&5
97891 ac_status=$?
97892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97893 (exit $ac_status); }; } &&
97894 { ac_try='test -s conftest$ac_exeext'
97895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97896 (eval $ac_try) 2>&5
97897 ac_status=$?
97898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97899 (exit $ac_status); }; }; then
97900 eval "$as_ac_var=yes"
97901 else
97902 echo "$as_me: failed program was:" >&5
97903 sed 's/^/| /' conftest.$ac_ext >&5
97905 eval "$as_ac_var=no"
97907 rm -f conftest.err conftest.$ac_objext \
97908 conftest$ac_exeext conftest.$ac_ext
97910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97912 if test `eval echo '${'$as_ac_var'}'` = yes; then
97913 cat >>confdefs.h <<_ACEOF
97914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97915 _ACEOF
97918 done
97920 else
97922 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
97923 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
97924 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
97925 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
97926 echo $ECHO_N "(cached) $ECHO_C" >&6
97927 else
97931 ac_ext=cc
97932 ac_cpp='$CXXCPP $CPPFLAGS'
97933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97937 cat >conftest.$ac_ext <<_ACEOF
97938 /* confdefs.h. */
97939 _ACEOF
97940 cat confdefs.h >>conftest.$ac_ext
97941 cat >>conftest.$ac_ext <<_ACEOF
97942 /* end confdefs.h. */
97943 #include <math.h>
97944 #ifdef HAVE_IEEEFP_H
97945 #include <ieeefp.h>
97946 #endif
97949 main ()
97951 _isnanl(0);
97953 return 0;
97955 _ACEOF
97956 rm -f conftest.$ac_objext
97957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97958 (eval $ac_compile) 2>conftest.er1
97959 ac_status=$?
97960 grep -v '^ *+' conftest.er1 >conftest.err
97961 rm -f conftest.er1
97962 cat conftest.err >&5
97963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97964 (exit $ac_status); } &&
97965 { ac_try='test -z "$ac_cxx_werror_flag"
97966 || test ! -s conftest.err'
97967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97968 (eval $ac_try) 2>&5
97969 ac_status=$?
97970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97971 (exit $ac_status); }; } &&
97972 { ac_try='test -s conftest.$ac_objext'
97973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97974 (eval $ac_try) 2>&5
97975 ac_status=$?
97976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97977 (exit $ac_status); }; }; then
97978 glibcxx_cv_func__isnanl_use=yes
97979 else
97980 echo "$as_me: failed program was:" >&5
97981 sed 's/^/| /' conftest.$ac_ext >&5
97983 glibcxx_cv_func__isnanl_use=no
97985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97986 ac_ext=c
97987 ac_cpp='$CPP $CPPFLAGS'
97988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97996 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
97997 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
97999 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
98001 for ac_func in _isnanl
98003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98004 echo "$as_me:$LINENO: checking for $ac_func" >&5
98005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98006 if eval "test \"\${$as_ac_var+set}\" = set"; then
98007 echo $ECHO_N "(cached) $ECHO_C" >&6
98008 else
98009 if test x$gcc_no_link = xyes; then
98010 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98012 { (exit 1); exit 1; }; }
98014 cat >conftest.$ac_ext <<_ACEOF
98015 /* confdefs.h. */
98016 _ACEOF
98017 cat confdefs.h >>conftest.$ac_ext
98018 cat >>conftest.$ac_ext <<_ACEOF
98019 /* end confdefs.h. */
98020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98022 #define $ac_func innocuous_$ac_func
98024 /* System header to define __stub macros and hopefully few prototypes,
98025 which can conflict with char $ac_func (); below.
98026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98027 <limits.h> exists even on freestanding compilers. */
98029 #ifdef __STDC__
98030 # include <limits.h>
98031 #else
98032 # include <assert.h>
98033 #endif
98035 #undef $ac_func
98037 /* Override any gcc2 internal prototype to avoid an error. */
98038 #ifdef __cplusplus
98039 extern "C"
98041 #endif
98042 /* We use char because int might match the return type of a gcc2
98043 builtin and then its argument prototype would still apply. */
98044 char $ac_func ();
98045 /* The GNU C library defines this for functions which it implements
98046 to always fail with ENOSYS. Some functions are actually named
98047 something starting with __ and the normal name is an alias. */
98048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98049 choke me
98050 #else
98051 char (*f) () = $ac_func;
98052 #endif
98053 #ifdef __cplusplus
98055 #endif
98058 main ()
98060 return f != $ac_func;
98062 return 0;
98064 _ACEOF
98065 rm -f conftest.$ac_objext conftest$ac_exeext
98066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98067 (eval $ac_link) 2>conftest.er1
98068 ac_status=$?
98069 grep -v '^ *+' conftest.er1 >conftest.err
98070 rm -f conftest.er1
98071 cat conftest.err >&5
98072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98073 (exit $ac_status); } &&
98074 { ac_try='test -z "$ac_c_werror_flag"
98075 || test ! -s conftest.err'
98076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98077 (eval $ac_try) 2>&5
98078 ac_status=$?
98079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98080 (exit $ac_status); }; } &&
98081 { ac_try='test -s conftest$ac_exeext'
98082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98083 (eval $ac_try) 2>&5
98084 ac_status=$?
98085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98086 (exit $ac_status); }; }; then
98087 eval "$as_ac_var=yes"
98088 else
98089 echo "$as_me: failed program was:" >&5
98090 sed 's/^/| /' conftest.$ac_ext >&5
98092 eval "$as_ac_var=no"
98094 rm -f conftest.err conftest.$ac_objext \
98095 conftest$ac_exeext conftest.$ac_ext
98097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98098 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98099 if test `eval echo '${'$as_ac_var'}'` = yes; then
98100 cat >>confdefs.h <<_ACEOF
98101 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98102 _ACEOF
98105 done
98115 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
98116 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
98117 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
98118 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
98119 echo $ECHO_N "(cached) $ECHO_C" >&6
98120 else
98124 ac_ext=cc
98125 ac_cpp='$CXXCPP $CPPFLAGS'
98126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98130 cat >conftest.$ac_ext <<_ACEOF
98131 /* confdefs.h. */
98132 _ACEOF
98133 cat confdefs.h >>conftest.$ac_ext
98134 cat >>conftest.$ac_ext <<_ACEOF
98135 /* end confdefs.h. */
98136 #include <math.h>
98137 #ifdef HAVE_IEEEFP_H
98138 #include <ieeefp.h>
98139 #endif
98142 main ()
98144 isinfl(0);
98146 return 0;
98148 _ACEOF
98149 rm -f conftest.$ac_objext
98150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98151 (eval $ac_compile) 2>conftest.er1
98152 ac_status=$?
98153 grep -v '^ *+' conftest.er1 >conftest.err
98154 rm -f conftest.er1
98155 cat conftest.err >&5
98156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98157 (exit $ac_status); } &&
98158 { ac_try='test -z "$ac_cxx_werror_flag"
98159 || test ! -s conftest.err'
98160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98161 (eval $ac_try) 2>&5
98162 ac_status=$?
98163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98164 (exit $ac_status); }; } &&
98165 { ac_try='test -s conftest.$ac_objext'
98166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98167 (eval $ac_try) 2>&5
98168 ac_status=$?
98169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98170 (exit $ac_status); }; }; then
98171 glibcxx_cv_func_isinfl_use=yes
98172 else
98173 echo "$as_me: failed program was:" >&5
98174 sed 's/^/| /' conftest.$ac_ext >&5
98176 glibcxx_cv_func_isinfl_use=no
98178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98179 ac_ext=c
98180 ac_cpp='$CPP $CPPFLAGS'
98181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98189 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
98190 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
98192 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
98194 for ac_func in isinfl
98196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98197 echo "$as_me:$LINENO: checking for $ac_func" >&5
98198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98199 if eval "test \"\${$as_ac_var+set}\" = set"; then
98200 echo $ECHO_N "(cached) $ECHO_C" >&6
98201 else
98202 if test x$gcc_no_link = xyes; then
98203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98205 { (exit 1); exit 1; }; }
98207 cat >conftest.$ac_ext <<_ACEOF
98208 /* confdefs.h. */
98209 _ACEOF
98210 cat confdefs.h >>conftest.$ac_ext
98211 cat >>conftest.$ac_ext <<_ACEOF
98212 /* end confdefs.h. */
98213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98215 #define $ac_func innocuous_$ac_func
98217 /* System header to define __stub macros and hopefully few prototypes,
98218 which can conflict with char $ac_func (); below.
98219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98220 <limits.h> exists even on freestanding compilers. */
98222 #ifdef __STDC__
98223 # include <limits.h>
98224 #else
98225 # include <assert.h>
98226 #endif
98228 #undef $ac_func
98230 /* Override any gcc2 internal prototype to avoid an error. */
98231 #ifdef __cplusplus
98232 extern "C"
98234 #endif
98235 /* We use char because int might match the return type of a gcc2
98236 builtin and then its argument prototype would still apply. */
98237 char $ac_func ();
98238 /* The GNU C library defines this for functions which it implements
98239 to always fail with ENOSYS. Some functions are actually named
98240 something starting with __ and the normal name is an alias. */
98241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98242 choke me
98243 #else
98244 char (*f) () = $ac_func;
98245 #endif
98246 #ifdef __cplusplus
98248 #endif
98251 main ()
98253 return f != $ac_func;
98255 return 0;
98257 _ACEOF
98258 rm -f conftest.$ac_objext conftest$ac_exeext
98259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98260 (eval $ac_link) 2>conftest.er1
98261 ac_status=$?
98262 grep -v '^ *+' conftest.er1 >conftest.err
98263 rm -f conftest.er1
98264 cat conftest.err >&5
98265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98266 (exit $ac_status); } &&
98267 { ac_try='test -z "$ac_c_werror_flag"
98268 || test ! -s conftest.err'
98269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98270 (eval $ac_try) 2>&5
98271 ac_status=$?
98272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98273 (exit $ac_status); }; } &&
98274 { ac_try='test -s conftest$ac_exeext'
98275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98276 (eval $ac_try) 2>&5
98277 ac_status=$?
98278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98279 (exit $ac_status); }; }; then
98280 eval "$as_ac_var=yes"
98281 else
98282 echo "$as_me: failed program was:" >&5
98283 sed 's/^/| /' conftest.$ac_ext >&5
98285 eval "$as_ac_var=no"
98287 rm -f conftest.err conftest.$ac_objext \
98288 conftest$ac_exeext conftest.$ac_ext
98290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98292 if test `eval echo '${'$as_ac_var'}'` = yes; then
98293 cat >>confdefs.h <<_ACEOF
98294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98295 _ACEOF
98298 done
98300 else
98302 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
98303 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
98304 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
98305 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
98306 echo $ECHO_N "(cached) $ECHO_C" >&6
98307 else
98311 ac_ext=cc
98312 ac_cpp='$CXXCPP $CPPFLAGS'
98313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98317 cat >conftest.$ac_ext <<_ACEOF
98318 /* confdefs.h. */
98319 _ACEOF
98320 cat confdefs.h >>conftest.$ac_ext
98321 cat >>conftest.$ac_ext <<_ACEOF
98322 /* end confdefs.h. */
98323 #include <math.h>
98324 #ifdef HAVE_IEEEFP_H
98325 #include <ieeefp.h>
98326 #endif
98329 main ()
98331 _isinfl(0);
98333 return 0;
98335 _ACEOF
98336 rm -f conftest.$ac_objext
98337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98338 (eval $ac_compile) 2>conftest.er1
98339 ac_status=$?
98340 grep -v '^ *+' conftest.er1 >conftest.err
98341 rm -f conftest.er1
98342 cat conftest.err >&5
98343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98344 (exit $ac_status); } &&
98345 { ac_try='test -z "$ac_cxx_werror_flag"
98346 || test ! -s conftest.err'
98347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98348 (eval $ac_try) 2>&5
98349 ac_status=$?
98350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98351 (exit $ac_status); }; } &&
98352 { ac_try='test -s conftest.$ac_objext'
98353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98354 (eval $ac_try) 2>&5
98355 ac_status=$?
98356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98357 (exit $ac_status); }; }; then
98358 glibcxx_cv_func__isinfl_use=yes
98359 else
98360 echo "$as_me: failed program was:" >&5
98361 sed 's/^/| /' conftest.$ac_ext >&5
98363 glibcxx_cv_func__isinfl_use=no
98365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98366 ac_ext=c
98367 ac_cpp='$CPP $CPPFLAGS'
98368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98376 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
98377 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
98379 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
98381 for ac_func in _isinfl
98383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98384 echo "$as_me:$LINENO: checking for $ac_func" >&5
98385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98386 if eval "test \"\${$as_ac_var+set}\" = set"; then
98387 echo $ECHO_N "(cached) $ECHO_C" >&6
98388 else
98389 if test x$gcc_no_link = xyes; then
98390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98392 { (exit 1); exit 1; }; }
98394 cat >conftest.$ac_ext <<_ACEOF
98395 /* confdefs.h. */
98396 _ACEOF
98397 cat confdefs.h >>conftest.$ac_ext
98398 cat >>conftest.$ac_ext <<_ACEOF
98399 /* end confdefs.h. */
98400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98402 #define $ac_func innocuous_$ac_func
98404 /* System header to define __stub macros and hopefully few prototypes,
98405 which can conflict with char $ac_func (); below.
98406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98407 <limits.h> exists even on freestanding compilers. */
98409 #ifdef __STDC__
98410 # include <limits.h>
98411 #else
98412 # include <assert.h>
98413 #endif
98415 #undef $ac_func
98417 /* Override any gcc2 internal prototype to avoid an error. */
98418 #ifdef __cplusplus
98419 extern "C"
98421 #endif
98422 /* We use char because int might match the return type of a gcc2
98423 builtin and then its argument prototype would still apply. */
98424 char $ac_func ();
98425 /* The GNU C library defines this for functions which it implements
98426 to always fail with ENOSYS. Some functions are actually named
98427 something starting with __ and the normal name is an alias. */
98428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98429 choke me
98430 #else
98431 char (*f) () = $ac_func;
98432 #endif
98433 #ifdef __cplusplus
98435 #endif
98438 main ()
98440 return f != $ac_func;
98442 return 0;
98444 _ACEOF
98445 rm -f conftest.$ac_objext conftest$ac_exeext
98446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98447 (eval $ac_link) 2>conftest.er1
98448 ac_status=$?
98449 grep -v '^ *+' conftest.er1 >conftest.err
98450 rm -f conftest.er1
98451 cat conftest.err >&5
98452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98453 (exit $ac_status); } &&
98454 { ac_try='test -z "$ac_c_werror_flag"
98455 || test ! -s conftest.err'
98456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98457 (eval $ac_try) 2>&5
98458 ac_status=$?
98459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98460 (exit $ac_status); }; } &&
98461 { ac_try='test -s conftest$ac_exeext'
98462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98463 (eval $ac_try) 2>&5
98464 ac_status=$?
98465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98466 (exit $ac_status); }; }; then
98467 eval "$as_ac_var=yes"
98468 else
98469 echo "$as_me: failed program was:" >&5
98470 sed 's/^/| /' conftest.$ac_ext >&5
98472 eval "$as_ac_var=no"
98474 rm -f conftest.err conftest.$ac_objext \
98475 conftest$ac_exeext conftest.$ac_ext
98477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98479 if test `eval echo '${'$as_ac_var'}'` = yes; then
98480 cat >>confdefs.h <<_ACEOF
98481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98482 _ACEOF
98485 done
98495 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
98496 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
98497 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
98498 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
98499 echo $ECHO_N "(cached) $ECHO_C" >&6
98500 else
98504 ac_ext=cc
98505 ac_cpp='$CXXCPP $CPPFLAGS'
98506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98510 cat >conftest.$ac_ext <<_ACEOF
98511 /* confdefs.h. */
98512 _ACEOF
98513 cat confdefs.h >>conftest.$ac_ext
98514 cat >>conftest.$ac_ext <<_ACEOF
98515 /* end confdefs.h. */
98516 #include <math.h>
98518 main ()
98520 copysignl(0, 0);
98522 return 0;
98524 _ACEOF
98525 rm -f conftest.$ac_objext
98526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98527 (eval $ac_compile) 2>conftest.er1
98528 ac_status=$?
98529 grep -v '^ *+' conftest.er1 >conftest.err
98530 rm -f conftest.er1
98531 cat conftest.err >&5
98532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98533 (exit $ac_status); } &&
98534 { ac_try='test -z "$ac_cxx_werror_flag"
98535 || test ! -s conftest.err'
98536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98537 (eval $ac_try) 2>&5
98538 ac_status=$?
98539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98540 (exit $ac_status); }; } &&
98541 { ac_try='test -s conftest.$ac_objext'
98542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98543 (eval $ac_try) 2>&5
98544 ac_status=$?
98545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98546 (exit $ac_status); }; }; then
98547 glibcxx_cv_func_copysignl_use=yes
98548 else
98549 echo "$as_me: failed program was:" >&5
98550 sed 's/^/| /' conftest.$ac_ext >&5
98552 glibcxx_cv_func_copysignl_use=no
98554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98555 ac_ext=c
98556 ac_cpp='$CPP $CPPFLAGS'
98557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98565 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
98566 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
98568 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
98570 for ac_func in copysignl
98572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98573 echo "$as_me:$LINENO: checking for $ac_func" >&5
98574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98575 if eval "test \"\${$as_ac_var+set}\" = set"; then
98576 echo $ECHO_N "(cached) $ECHO_C" >&6
98577 else
98578 if test x$gcc_no_link = xyes; then
98579 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98581 { (exit 1); exit 1; }; }
98583 cat >conftest.$ac_ext <<_ACEOF
98584 /* confdefs.h. */
98585 _ACEOF
98586 cat confdefs.h >>conftest.$ac_ext
98587 cat >>conftest.$ac_ext <<_ACEOF
98588 /* end confdefs.h. */
98589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98591 #define $ac_func innocuous_$ac_func
98593 /* System header to define __stub macros and hopefully few prototypes,
98594 which can conflict with char $ac_func (); below.
98595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98596 <limits.h> exists even on freestanding compilers. */
98598 #ifdef __STDC__
98599 # include <limits.h>
98600 #else
98601 # include <assert.h>
98602 #endif
98604 #undef $ac_func
98606 /* Override any gcc2 internal prototype to avoid an error. */
98607 #ifdef __cplusplus
98608 extern "C"
98610 #endif
98611 /* We use char because int might match the return type of a gcc2
98612 builtin and then its argument prototype would still apply. */
98613 char $ac_func ();
98614 /* The GNU C library defines this for functions which it implements
98615 to always fail with ENOSYS. Some functions are actually named
98616 something starting with __ and the normal name is an alias. */
98617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98618 choke me
98619 #else
98620 char (*f) () = $ac_func;
98621 #endif
98622 #ifdef __cplusplus
98624 #endif
98627 main ()
98629 return f != $ac_func;
98631 return 0;
98633 _ACEOF
98634 rm -f conftest.$ac_objext conftest$ac_exeext
98635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98636 (eval $ac_link) 2>conftest.er1
98637 ac_status=$?
98638 grep -v '^ *+' conftest.er1 >conftest.err
98639 rm -f conftest.er1
98640 cat conftest.err >&5
98641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98642 (exit $ac_status); } &&
98643 { ac_try='test -z "$ac_c_werror_flag"
98644 || test ! -s conftest.err'
98645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98646 (eval $ac_try) 2>&5
98647 ac_status=$?
98648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98649 (exit $ac_status); }; } &&
98650 { ac_try='test -s conftest$ac_exeext'
98651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98652 (eval $ac_try) 2>&5
98653 ac_status=$?
98654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98655 (exit $ac_status); }; }; then
98656 eval "$as_ac_var=yes"
98657 else
98658 echo "$as_me: failed program was:" >&5
98659 sed 's/^/| /' conftest.$ac_ext >&5
98661 eval "$as_ac_var=no"
98663 rm -f conftest.err conftest.$ac_objext \
98664 conftest$ac_exeext conftest.$ac_ext
98666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98668 if test `eval echo '${'$as_ac_var'}'` = yes; then
98669 cat >>confdefs.h <<_ACEOF
98670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98671 _ACEOF
98674 done
98676 else
98678 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
98679 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
98680 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
98681 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
98682 echo $ECHO_N "(cached) $ECHO_C" >&6
98683 else
98687 ac_ext=cc
98688 ac_cpp='$CXXCPP $CPPFLAGS'
98689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98693 cat >conftest.$ac_ext <<_ACEOF
98694 /* confdefs.h. */
98695 _ACEOF
98696 cat confdefs.h >>conftest.$ac_ext
98697 cat >>conftest.$ac_ext <<_ACEOF
98698 /* end confdefs.h. */
98699 #include <math.h>
98701 main ()
98703 _copysignl(0, 0);
98705 return 0;
98707 _ACEOF
98708 rm -f conftest.$ac_objext
98709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98710 (eval $ac_compile) 2>conftest.er1
98711 ac_status=$?
98712 grep -v '^ *+' conftest.er1 >conftest.err
98713 rm -f conftest.er1
98714 cat conftest.err >&5
98715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98716 (exit $ac_status); } &&
98717 { ac_try='test -z "$ac_cxx_werror_flag"
98718 || test ! -s conftest.err'
98719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98720 (eval $ac_try) 2>&5
98721 ac_status=$?
98722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98723 (exit $ac_status); }; } &&
98724 { ac_try='test -s conftest.$ac_objext'
98725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98726 (eval $ac_try) 2>&5
98727 ac_status=$?
98728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98729 (exit $ac_status); }; }; then
98730 glibcxx_cv_func__copysignl_use=yes
98731 else
98732 echo "$as_me: failed program was:" >&5
98733 sed 's/^/| /' conftest.$ac_ext >&5
98735 glibcxx_cv_func__copysignl_use=no
98737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98738 ac_ext=c
98739 ac_cpp='$CPP $CPPFLAGS'
98740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98748 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
98749 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
98751 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
98753 for ac_func in _copysignl
98755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98756 echo "$as_me:$LINENO: checking for $ac_func" >&5
98757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98758 if eval "test \"\${$as_ac_var+set}\" = set"; then
98759 echo $ECHO_N "(cached) $ECHO_C" >&6
98760 else
98761 if test x$gcc_no_link = xyes; then
98762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98764 { (exit 1); exit 1; }; }
98766 cat >conftest.$ac_ext <<_ACEOF
98767 /* confdefs.h. */
98768 _ACEOF
98769 cat confdefs.h >>conftest.$ac_ext
98770 cat >>conftest.$ac_ext <<_ACEOF
98771 /* end confdefs.h. */
98772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98774 #define $ac_func innocuous_$ac_func
98776 /* System header to define __stub macros and hopefully few prototypes,
98777 which can conflict with char $ac_func (); below.
98778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98779 <limits.h> exists even on freestanding compilers. */
98781 #ifdef __STDC__
98782 # include <limits.h>
98783 #else
98784 # include <assert.h>
98785 #endif
98787 #undef $ac_func
98789 /* Override any gcc2 internal prototype to avoid an error. */
98790 #ifdef __cplusplus
98791 extern "C"
98793 #endif
98794 /* We use char because int might match the return type of a gcc2
98795 builtin and then its argument prototype would still apply. */
98796 char $ac_func ();
98797 /* The GNU C library defines this for functions which it implements
98798 to always fail with ENOSYS. Some functions are actually named
98799 something starting with __ and the normal name is an alias. */
98800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98801 choke me
98802 #else
98803 char (*f) () = $ac_func;
98804 #endif
98805 #ifdef __cplusplus
98807 #endif
98810 main ()
98812 return f != $ac_func;
98814 return 0;
98816 _ACEOF
98817 rm -f conftest.$ac_objext conftest$ac_exeext
98818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98819 (eval $ac_link) 2>conftest.er1
98820 ac_status=$?
98821 grep -v '^ *+' conftest.er1 >conftest.err
98822 rm -f conftest.er1
98823 cat conftest.err >&5
98824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98825 (exit $ac_status); } &&
98826 { ac_try='test -z "$ac_c_werror_flag"
98827 || test ! -s conftest.err'
98828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98829 (eval $ac_try) 2>&5
98830 ac_status=$?
98831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98832 (exit $ac_status); }; } &&
98833 { ac_try='test -s conftest$ac_exeext'
98834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98835 (eval $ac_try) 2>&5
98836 ac_status=$?
98837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98838 (exit $ac_status); }; }; then
98839 eval "$as_ac_var=yes"
98840 else
98841 echo "$as_me: failed program was:" >&5
98842 sed 's/^/| /' conftest.$ac_ext >&5
98844 eval "$as_ac_var=no"
98846 rm -f conftest.err conftest.$ac_objext \
98847 conftest$ac_exeext conftest.$ac_ext
98849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98851 if test `eval echo '${'$as_ac_var'}'` = yes; then
98852 cat >>confdefs.h <<_ACEOF
98853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98854 _ACEOF
98857 done
98867 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
98868 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
98869 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
98870 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
98871 echo $ECHO_N "(cached) $ECHO_C" >&6
98872 else
98876 ac_ext=cc
98877 ac_cpp='$CXXCPP $CPPFLAGS'
98878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98882 cat >conftest.$ac_ext <<_ACEOF
98883 /* confdefs.h. */
98884 _ACEOF
98885 cat confdefs.h >>conftest.$ac_ext
98886 cat >>conftest.$ac_ext <<_ACEOF
98887 /* end confdefs.h. */
98888 #include <math.h>
98890 main ()
98892 atan2l(0, 0);
98894 return 0;
98896 _ACEOF
98897 rm -f conftest.$ac_objext
98898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98899 (eval $ac_compile) 2>conftest.er1
98900 ac_status=$?
98901 grep -v '^ *+' conftest.er1 >conftest.err
98902 rm -f conftest.er1
98903 cat conftest.err >&5
98904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98905 (exit $ac_status); } &&
98906 { ac_try='test -z "$ac_cxx_werror_flag"
98907 || test ! -s conftest.err'
98908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98909 (eval $ac_try) 2>&5
98910 ac_status=$?
98911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98912 (exit $ac_status); }; } &&
98913 { ac_try='test -s conftest.$ac_objext'
98914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98915 (eval $ac_try) 2>&5
98916 ac_status=$?
98917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98918 (exit $ac_status); }; }; then
98919 glibcxx_cv_func_atan2l_use=yes
98920 else
98921 echo "$as_me: failed program was:" >&5
98922 sed 's/^/| /' conftest.$ac_ext >&5
98924 glibcxx_cv_func_atan2l_use=no
98926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98927 ac_ext=c
98928 ac_cpp='$CPP $CPPFLAGS'
98929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98937 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
98938 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
98940 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
98942 for ac_func in atan2l
98944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98945 echo "$as_me:$LINENO: checking for $ac_func" >&5
98946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98947 if eval "test \"\${$as_ac_var+set}\" = set"; then
98948 echo $ECHO_N "(cached) $ECHO_C" >&6
98949 else
98950 if test x$gcc_no_link = xyes; then
98951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98953 { (exit 1); exit 1; }; }
98955 cat >conftest.$ac_ext <<_ACEOF
98956 /* confdefs.h. */
98957 _ACEOF
98958 cat confdefs.h >>conftest.$ac_ext
98959 cat >>conftest.$ac_ext <<_ACEOF
98960 /* end confdefs.h. */
98961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98963 #define $ac_func innocuous_$ac_func
98965 /* System header to define __stub macros and hopefully few prototypes,
98966 which can conflict with char $ac_func (); below.
98967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98968 <limits.h> exists even on freestanding compilers. */
98970 #ifdef __STDC__
98971 # include <limits.h>
98972 #else
98973 # include <assert.h>
98974 #endif
98976 #undef $ac_func
98978 /* Override any gcc2 internal prototype to avoid an error. */
98979 #ifdef __cplusplus
98980 extern "C"
98982 #endif
98983 /* We use char because int might match the return type of a gcc2
98984 builtin and then its argument prototype would still apply. */
98985 char $ac_func ();
98986 /* The GNU C library defines this for functions which it implements
98987 to always fail with ENOSYS. Some functions are actually named
98988 something starting with __ and the normal name is an alias. */
98989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98990 choke me
98991 #else
98992 char (*f) () = $ac_func;
98993 #endif
98994 #ifdef __cplusplus
98996 #endif
98999 main ()
99001 return f != $ac_func;
99003 return 0;
99005 _ACEOF
99006 rm -f conftest.$ac_objext conftest$ac_exeext
99007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99008 (eval $ac_link) 2>conftest.er1
99009 ac_status=$?
99010 grep -v '^ *+' conftest.er1 >conftest.err
99011 rm -f conftest.er1
99012 cat conftest.err >&5
99013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99014 (exit $ac_status); } &&
99015 { ac_try='test -z "$ac_c_werror_flag"
99016 || test ! -s conftest.err'
99017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99018 (eval $ac_try) 2>&5
99019 ac_status=$?
99020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99021 (exit $ac_status); }; } &&
99022 { ac_try='test -s conftest$ac_exeext'
99023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99024 (eval $ac_try) 2>&5
99025 ac_status=$?
99026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99027 (exit $ac_status); }; }; then
99028 eval "$as_ac_var=yes"
99029 else
99030 echo "$as_me: failed program was:" >&5
99031 sed 's/^/| /' conftest.$ac_ext >&5
99033 eval "$as_ac_var=no"
99035 rm -f conftest.err conftest.$ac_objext \
99036 conftest$ac_exeext conftest.$ac_ext
99038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99040 if test `eval echo '${'$as_ac_var'}'` = yes; then
99041 cat >>confdefs.h <<_ACEOF
99042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99043 _ACEOF
99046 done
99048 else
99050 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
99051 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
99052 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
99053 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
99054 echo $ECHO_N "(cached) $ECHO_C" >&6
99055 else
99059 ac_ext=cc
99060 ac_cpp='$CXXCPP $CPPFLAGS'
99061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99065 cat >conftest.$ac_ext <<_ACEOF
99066 /* confdefs.h. */
99067 _ACEOF
99068 cat confdefs.h >>conftest.$ac_ext
99069 cat >>conftest.$ac_ext <<_ACEOF
99070 /* end confdefs.h. */
99071 #include <math.h>
99073 main ()
99075 _atan2l(0, 0);
99077 return 0;
99079 _ACEOF
99080 rm -f conftest.$ac_objext
99081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99082 (eval $ac_compile) 2>conftest.er1
99083 ac_status=$?
99084 grep -v '^ *+' conftest.er1 >conftest.err
99085 rm -f conftest.er1
99086 cat conftest.err >&5
99087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99088 (exit $ac_status); } &&
99089 { ac_try='test -z "$ac_cxx_werror_flag"
99090 || test ! -s conftest.err'
99091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99092 (eval $ac_try) 2>&5
99093 ac_status=$?
99094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99095 (exit $ac_status); }; } &&
99096 { ac_try='test -s conftest.$ac_objext'
99097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99098 (eval $ac_try) 2>&5
99099 ac_status=$?
99100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99101 (exit $ac_status); }; }; then
99102 glibcxx_cv_func__atan2l_use=yes
99103 else
99104 echo "$as_me: failed program was:" >&5
99105 sed 's/^/| /' conftest.$ac_ext >&5
99107 glibcxx_cv_func__atan2l_use=no
99109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99110 ac_ext=c
99111 ac_cpp='$CPP $CPPFLAGS'
99112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99120 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
99121 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
99123 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
99125 for ac_func in _atan2l
99127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99128 echo "$as_me:$LINENO: checking for $ac_func" >&5
99129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99130 if eval "test \"\${$as_ac_var+set}\" = set"; then
99131 echo $ECHO_N "(cached) $ECHO_C" >&6
99132 else
99133 if test x$gcc_no_link = xyes; then
99134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99136 { (exit 1); exit 1; }; }
99138 cat >conftest.$ac_ext <<_ACEOF
99139 /* confdefs.h. */
99140 _ACEOF
99141 cat confdefs.h >>conftest.$ac_ext
99142 cat >>conftest.$ac_ext <<_ACEOF
99143 /* end confdefs.h. */
99144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99146 #define $ac_func innocuous_$ac_func
99148 /* System header to define __stub macros and hopefully few prototypes,
99149 which can conflict with char $ac_func (); below.
99150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99151 <limits.h> exists even on freestanding compilers. */
99153 #ifdef __STDC__
99154 # include <limits.h>
99155 #else
99156 # include <assert.h>
99157 #endif
99159 #undef $ac_func
99161 /* Override any gcc2 internal prototype to avoid an error. */
99162 #ifdef __cplusplus
99163 extern "C"
99165 #endif
99166 /* We use char because int might match the return type of a gcc2
99167 builtin and then its argument prototype would still apply. */
99168 char $ac_func ();
99169 /* The GNU C library defines this for functions which it implements
99170 to always fail with ENOSYS. Some functions are actually named
99171 something starting with __ and the normal name is an alias. */
99172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99173 choke me
99174 #else
99175 char (*f) () = $ac_func;
99176 #endif
99177 #ifdef __cplusplus
99179 #endif
99182 main ()
99184 return f != $ac_func;
99186 return 0;
99188 _ACEOF
99189 rm -f conftest.$ac_objext conftest$ac_exeext
99190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99191 (eval $ac_link) 2>conftest.er1
99192 ac_status=$?
99193 grep -v '^ *+' conftest.er1 >conftest.err
99194 rm -f conftest.er1
99195 cat conftest.err >&5
99196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99197 (exit $ac_status); } &&
99198 { ac_try='test -z "$ac_c_werror_flag"
99199 || test ! -s conftest.err'
99200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99201 (eval $ac_try) 2>&5
99202 ac_status=$?
99203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99204 (exit $ac_status); }; } &&
99205 { ac_try='test -s conftest$ac_exeext'
99206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99207 (eval $ac_try) 2>&5
99208 ac_status=$?
99209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99210 (exit $ac_status); }; }; then
99211 eval "$as_ac_var=yes"
99212 else
99213 echo "$as_me: failed program was:" >&5
99214 sed 's/^/| /' conftest.$ac_ext >&5
99216 eval "$as_ac_var=no"
99218 rm -f conftest.err conftest.$ac_objext \
99219 conftest$ac_exeext conftest.$ac_ext
99221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99223 if test `eval echo '${'$as_ac_var'}'` = yes; then
99224 cat >>confdefs.h <<_ACEOF
99225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99226 _ACEOF
99229 done
99239 echo "$as_me:$LINENO: checking for expl declaration" >&5
99240 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
99241 if test x${glibcxx_cv_func_expl_use+set} != xset; then
99242 if test "${glibcxx_cv_func_expl_use+set}" = set; then
99243 echo $ECHO_N "(cached) $ECHO_C" >&6
99244 else
99248 ac_ext=cc
99249 ac_cpp='$CXXCPP $CPPFLAGS'
99250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99254 cat >conftest.$ac_ext <<_ACEOF
99255 /* confdefs.h. */
99256 _ACEOF
99257 cat confdefs.h >>conftest.$ac_ext
99258 cat >>conftest.$ac_ext <<_ACEOF
99259 /* end confdefs.h. */
99260 #include <math.h>
99261 #ifdef HAVE_IEEEFP_H
99262 #include <ieeefp.h>
99263 #endif
99266 main ()
99268 expl(0);
99270 return 0;
99272 _ACEOF
99273 rm -f conftest.$ac_objext
99274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99275 (eval $ac_compile) 2>conftest.er1
99276 ac_status=$?
99277 grep -v '^ *+' conftest.er1 >conftest.err
99278 rm -f conftest.er1
99279 cat conftest.err >&5
99280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99281 (exit $ac_status); } &&
99282 { ac_try='test -z "$ac_cxx_werror_flag"
99283 || test ! -s conftest.err'
99284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99285 (eval $ac_try) 2>&5
99286 ac_status=$?
99287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99288 (exit $ac_status); }; } &&
99289 { ac_try='test -s conftest.$ac_objext'
99290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99291 (eval $ac_try) 2>&5
99292 ac_status=$?
99293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99294 (exit $ac_status); }; }; then
99295 glibcxx_cv_func_expl_use=yes
99296 else
99297 echo "$as_me: failed program was:" >&5
99298 sed 's/^/| /' conftest.$ac_ext >&5
99300 glibcxx_cv_func_expl_use=no
99302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99303 ac_ext=c
99304 ac_cpp='$CPP $CPPFLAGS'
99305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99313 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
99314 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
99316 if test x$glibcxx_cv_func_expl_use = x"yes"; then
99318 for ac_func in expl
99320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99321 echo "$as_me:$LINENO: checking for $ac_func" >&5
99322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99323 if eval "test \"\${$as_ac_var+set}\" = set"; then
99324 echo $ECHO_N "(cached) $ECHO_C" >&6
99325 else
99326 if test x$gcc_no_link = xyes; then
99327 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99329 { (exit 1); exit 1; }; }
99331 cat >conftest.$ac_ext <<_ACEOF
99332 /* confdefs.h. */
99333 _ACEOF
99334 cat confdefs.h >>conftest.$ac_ext
99335 cat >>conftest.$ac_ext <<_ACEOF
99336 /* end confdefs.h. */
99337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99339 #define $ac_func innocuous_$ac_func
99341 /* System header to define __stub macros and hopefully few prototypes,
99342 which can conflict with char $ac_func (); below.
99343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99344 <limits.h> exists even on freestanding compilers. */
99346 #ifdef __STDC__
99347 # include <limits.h>
99348 #else
99349 # include <assert.h>
99350 #endif
99352 #undef $ac_func
99354 /* Override any gcc2 internal prototype to avoid an error. */
99355 #ifdef __cplusplus
99356 extern "C"
99358 #endif
99359 /* We use char because int might match the return type of a gcc2
99360 builtin and then its argument prototype would still apply. */
99361 char $ac_func ();
99362 /* The GNU C library defines this for functions which it implements
99363 to always fail with ENOSYS. Some functions are actually named
99364 something starting with __ and the normal name is an alias. */
99365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99366 choke me
99367 #else
99368 char (*f) () = $ac_func;
99369 #endif
99370 #ifdef __cplusplus
99372 #endif
99375 main ()
99377 return f != $ac_func;
99379 return 0;
99381 _ACEOF
99382 rm -f conftest.$ac_objext conftest$ac_exeext
99383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99384 (eval $ac_link) 2>conftest.er1
99385 ac_status=$?
99386 grep -v '^ *+' conftest.er1 >conftest.err
99387 rm -f conftest.er1
99388 cat conftest.err >&5
99389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99390 (exit $ac_status); } &&
99391 { ac_try='test -z "$ac_c_werror_flag"
99392 || test ! -s conftest.err'
99393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99394 (eval $ac_try) 2>&5
99395 ac_status=$?
99396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99397 (exit $ac_status); }; } &&
99398 { ac_try='test -s conftest$ac_exeext'
99399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99400 (eval $ac_try) 2>&5
99401 ac_status=$?
99402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99403 (exit $ac_status); }; }; then
99404 eval "$as_ac_var=yes"
99405 else
99406 echo "$as_me: failed program was:" >&5
99407 sed 's/^/| /' conftest.$ac_ext >&5
99409 eval "$as_ac_var=no"
99411 rm -f conftest.err conftest.$ac_objext \
99412 conftest$ac_exeext conftest.$ac_ext
99414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99416 if test `eval echo '${'$as_ac_var'}'` = yes; then
99417 cat >>confdefs.h <<_ACEOF
99418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99419 _ACEOF
99422 done
99424 else
99426 echo "$as_me:$LINENO: checking for _expl declaration" >&5
99427 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
99428 if test x${glibcxx_cv_func__expl_use+set} != xset; then
99429 if test "${glibcxx_cv_func__expl_use+set}" = set; then
99430 echo $ECHO_N "(cached) $ECHO_C" >&6
99431 else
99435 ac_ext=cc
99436 ac_cpp='$CXXCPP $CPPFLAGS'
99437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99441 cat >conftest.$ac_ext <<_ACEOF
99442 /* confdefs.h. */
99443 _ACEOF
99444 cat confdefs.h >>conftest.$ac_ext
99445 cat >>conftest.$ac_ext <<_ACEOF
99446 /* end confdefs.h. */
99447 #include <math.h>
99448 #ifdef HAVE_IEEEFP_H
99449 #include <ieeefp.h>
99450 #endif
99453 main ()
99455 _expl(0);
99457 return 0;
99459 _ACEOF
99460 rm -f conftest.$ac_objext
99461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99462 (eval $ac_compile) 2>conftest.er1
99463 ac_status=$?
99464 grep -v '^ *+' conftest.er1 >conftest.err
99465 rm -f conftest.er1
99466 cat conftest.err >&5
99467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99468 (exit $ac_status); } &&
99469 { ac_try='test -z "$ac_cxx_werror_flag"
99470 || test ! -s conftest.err'
99471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99472 (eval $ac_try) 2>&5
99473 ac_status=$?
99474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99475 (exit $ac_status); }; } &&
99476 { ac_try='test -s conftest.$ac_objext'
99477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99478 (eval $ac_try) 2>&5
99479 ac_status=$?
99480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99481 (exit $ac_status); }; }; then
99482 glibcxx_cv_func__expl_use=yes
99483 else
99484 echo "$as_me: failed program was:" >&5
99485 sed 's/^/| /' conftest.$ac_ext >&5
99487 glibcxx_cv_func__expl_use=no
99489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99490 ac_ext=c
99491 ac_cpp='$CPP $CPPFLAGS'
99492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99500 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
99501 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
99503 if test x$glibcxx_cv_func__expl_use = x"yes"; then
99505 for ac_func in _expl
99507 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99508 echo "$as_me:$LINENO: checking for $ac_func" >&5
99509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99510 if eval "test \"\${$as_ac_var+set}\" = set"; then
99511 echo $ECHO_N "(cached) $ECHO_C" >&6
99512 else
99513 if test x$gcc_no_link = xyes; then
99514 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99516 { (exit 1); exit 1; }; }
99518 cat >conftest.$ac_ext <<_ACEOF
99519 /* confdefs.h. */
99520 _ACEOF
99521 cat confdefs.h >>conftest.$ac_ext
99522 cat >>conftest.$ac_ext <<_ACEOF
99523 /* end confdefs.h. */
99524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99526 #define $ac_func innocuous_$ac_func
99528 /* System header to define __stub macros and hopefully few prototypes,
99529 which can conflict with char $ac_func (); below.
99530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99531 <limits.h> exists even on freestanding compilers. */
99533 #ifdef __STDC__
99534 # include <limits.h>
99535 #else
99536 # include <assert.h>
99537 #endif
99539 #undef $ac_func
99541 /* Override any gcc2 internal prototype to avoid an error. */
99542 #ifdef __cplusplus
99543 extern "C"
99545 #endif
99546 /* We use char because int might match the return type of a gcc2
99547 builtin and then its argument prototype would still apply. */
99548 char $ac_func ();
99549 /* The GNU C library defines this for functions which it implements
99550 to always fail with ENOSYS. Some functions are actually named
99551 something starting with __ and the normal name is an alias. */
99552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99553 choke me
99554 #else
99555 char (*f) () = $ac_func;
99556 #endif
99557 #ifdef __cplusplus
99559 #endif
99562 main ()
99564 return f != $ac_func;
99566 return 0;
99568 _ACEOF
99569 rm -f conftest.$ac_objext conftest$ac_exeext
99570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99571 (eval $ac_link) 2>conftest.er1
99572 ac_status=$?
99573 grep -v '^ *+' conftest.er1 >conftest.err
99574 rm -f conftest.er1
99575 cat conftest.err >&5
99576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99577 (exit $ac_status); } &&
99578 { ac_try='test -z "$ac_c_werror_flag"
99579 || test ! -s conftest.err'
99580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99581 (eval $ac_try) 2>&5
99582 ac_status=$?
99583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99584 (exit $ac_status); }; } &&
99585 { ac_try='test -s conftest$ac_exeext'
99586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99587 (eval $ac_try) 2>&5
99588 ac_status=$?
99589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99590 (exit $ac_status); }; }; then
99591 eval "$as_ac_var=yes"
99592 else
99593 echo "$as_me: failed program was:" >&5
99594 sed 's/^/| /' conftest.$ac_ext >&5
99596 eval "$as_ac_var=no"
99598 rm -f conftest.err conftest.$ac_objext \
99599 conftest$ac_exeext conftest.$ac_ext
99601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99603 if test `eval echo '${'$as_ac_var'}'` = yes; then
99604 cat >>confdefs.h <<_ACEOF
99605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99606 _ACEOF
99609 done
99619 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
99620 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
99621 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
99622 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
99623 echo $ECHO_N "(cached) $ECHO_C" >&6
99624 else
99628 ac_ext=cc
99629 ac_cpp='$CXXCPP $CPPFLAGS'
99630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99634 cat >conftest.$ac_ext <<_ACEOF
99635 /* confdefs.h. */
99636 _ACEOF
99637 cat confdefs.h >>conftest.$ac_ext
99638 cat >>conftest.$ac_ext <<_ACEOF
99639 /* end confdefs.h. */
99640 #include <math.h>
99641 #ifdef HAVE_IEEEFP_H
99642 #include <ieeefp.h>
99643 #endif
99646 main ()
99648 fabsl(0);
99650 return 0;
99652 _ACEOF
99653 rm -f conftest.$ac_objext
99654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99655 (eval $ac_compile) 2>conftest.er1
99656 ac_status=$?
99657 grep -v '^ *+' conftest.er1 >conftest.err
99658 rm -f conftest.er1
99659 cat conftest.err >&5
99660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99661 (exit $ac_status); } &&
99662 { ac_try='test -z "$ac_cxx_werror_flag"
99663 || test ! -s conftest.err'
99664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99665 (eval $ac_try) 2>&5
99666 ac_status=$?
99667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99668 (exit $ac_status); }; } &&
99669 { ac_try='test -s conftest.$ac_objext'
99670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99671 (eval $ac_try) 2>&5
99672 ac_status=$?
99673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99674 (exit $ac_status); }; }; then
99675 glibcxx_cv_func_fabsl_use=yes
99676 else
99677 echo "$as_me: failed program was:" >&5
99678 sed 's/^/| /' conftest.$ac_ext >&5
99680 glibcxx_cv_func_fabsl_use=no
99682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99683 ac_ext=c
99684 ac_cpp='$CPP $CPPFLAGS'
99685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99693 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
99694 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
99696 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
99698 for ac_func in fabsl
99700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99701 echo "$as_me:$LINENO: checking for $ac_func" >&5
99702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99703 if eval "test \"\${$as_ac_var+set}\" = set"; then
99704 echo $ECHO_N "(cached) $ECHO_C" >&6
99705 else
99706 if test x$gcc_no_link = xyes; then
99707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99709 { (exit 1); exit 1; }; }
99711 cat >conftest.$ac_ext <<_ACEOF
99712 /* confdefs.h. */
99713 _ACEOF
99714 cat confdefs.h >>conftest.$ac_ext
99715 cat >>conftest.$ac_ext <<_ACEOF
99716 /* end confdefs.h. */
99717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99719 #define $ac_func innocuous_$ac_func
99721 /* System header to define __stub macros and hopefully few prototypes,
99722 which can conflict with char $ac_func (); below.
99723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99724 <limits.h> exists even on freestanding compilers. */
99726 #ifdef __STDC__
99727 # include <limits.h>
99728 #else
99729 # include <assert.h>
99730 #endif
99732 #undef $ac_func
99734 /* Override any gcc2 internal prototype to avoid an error. */
99735 #ifdef __cplusplus
99736 extern "C"
99738 #endif
99739 /* We use char because int might match the return type of a gcc2
99740 builtin and then its argument prototype would still apply. */
99741 char $ac_func ();
99742 /* The GNU C library defines this for functions which it implements
99743 to always fail with ENOSYS. Some functions are actually named
99744 something starting with __ and the normal name is an alias. */
99745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99746 choke me
99747 #else
99748 char (*f) () = $ac_func;
99749 #endif
99750 #ifdef __cplusplus
99752 #endif
99755 main ()
99757 return f != $ac_func;
99759 return 0;
99761 _ACEOF
99762 rm -f conftest.$ac_objext conftest$ac_exeext
99763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99764 (eval $ac_link) 2>conftest.er1
99765 ac_status=$?
99766 grep -v '^ *+' conftest.er1 >conftest.err
99767 rm -f conftest.er1
99768 cat conftest.err >&5
99769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99770 (exit $ac_status); } &&
99771 { ac_try='test -z "$ac_c_werror_flag"
99772 || test ! -s conftest.err'
99773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99774 (eval $ac_try) 2>&5
99775 ac_status=$?
99776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99777 (exit $ac_status); }; } &&
99778 { ac_try='test -s conftest$ac_exeext'
99779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99780 (eval $ac_try) 2>&5
99781 ac_status=$?
99782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99783 (exit $ac_status); }; }; then
99784 eval "$as_ac_var=yes"
99785 else
99786 echo "$as_me: failed program was:" >&5
99787 sed 's/^/| /' conftest.$ac_ext >&5
99789 eval "$as_ac_var=no"
99791 rm -f conftest.err conftest.$ac_objext \
99792 conftest$ac_exeext conftest.$ac_ext
99794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99796 if test `eval echo '${'$as_ac_var'}'` = yes; then
99797 cat >>confdefs.h <<_ACEOF
99798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99799 _ACEOF
99802 done
99804 else
99806 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
99807 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
99808 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
99809 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
99810 echo $ECHO_N "(cached) $ECHO_C" >&6
99811 else
99815 ac_ext=cc
99816 ac_cpp='$CXXCPP $CPPFLAGS'
99817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99821 cat >conftest.$ac_ext <<_ACEOF
99822 /* confdefs.h. */
99823 _ACEOF
99824 cat confdefs.h >>conftest.$ac_ext
99825 cat >>conftest.$ac_ext <<_ACEOF
99826 /* end confdefs.h. */
99827 #include <math.h>
99828 #ifdef HAVE_IEEEFP_H
99829 #include <ieeefp.h>
99830 #endif
99833 main ()
99835 _fabsl(0);
99837 return 0;
99839 _ACEOF
99840 rm -f conftest.$ac_objext
99841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99842 (eval $ac_compile) 2>conftest.er1
99843 ac_status=$?
99844 grep -v '^ *+' conftest.er1 >conftest.err
99845 rm -f conftest.er1
99846 cat conftest.err >&5
99847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99848 (exit $ac_status); } &&
99849 { ac_try='test -z "$ac_cxx_werror_flag"
99850 || test ! -s conftest.err'
99851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99852 (eval $ac_try) 2>&5
99853 ac_status=$?
99854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99855 (exit $ac_status); }; } &&
99856 { ac_try='test -s conftest.$ac_objext'
99857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99858 (eval $ac_try) 2>&5
99859 ac_status=$?
99860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99861 (exit $ac_status); }; }; then
99862 glibcxx_cv_func__fabsl_use=yes
99863 else
99864 echo "$as_me: failed program was:" >&5
99865 sed 's/^/| /' conftest.$ac_ext >&5
99867 glibcxx_cv_func__fabsl_use=no
99869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99870 ac_ext=c
99871 ac_cpp='$CPP $CPPFLAGS'
99872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99880 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
99881 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
99883 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
99885 for ac_func in _fabsl
99887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99888 echo "$as_me:$LINENO: checking for $ac_func" >&5
99889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99890 if eval "test \"\${$as_ac_var+set}\" = set"; then
99891 echo $ECHO_N "(cached) $ECHO_C" >&6
99892 else
99893 if test x$gcc_no_link = xyes; then
99894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99896 { (exit 1); exit 1; }; }
99898 cat >conftest.$ac_ext <<_ACEOF
99899 /* confdefs.h. */
99900 _ACEOF
99901 cat confdefs.h >>conftest.$ac_ext
99902 cat >>conftest.$ac_ext <<_ACEOF
99903 /* end confdefs.h. */
99904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99906 #define $ac_func innocuous_$ac_func
99908 /* System header to define __stub macros and hopefully few prototypes,
99909 which can conflict with char $ac_func (); below.
99910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99911 <limits.h> exists even on freestanding compilers. */
99913 #ifdef __STDC__
99914 # include <limits.h>
99915 #else
99916 # include <assert.h>
99917 #endif
99919 #undef $ac_func
99921 /* Override any gcc2 internal prototype to avoid an error. */
99922 #ifdef __cplusplus
99923 extern "C"
99925 #endif
99926 /* We use char because int might match the return type of a gcc2
99927 builtin and then its argument prototype would still apply. */
99928 char $ac_func ();
99929 /* The GNU C library defines this for functions which it implements
99930 to always fail with ENOSYS. Some functions are actually named
99931 something starting with __ and the normal name is an alias. */
99932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99933 choke me
99934 #else
99935 char (*f) () = $ac_func;
99936 #endif
99937 #ifdef __cplusplus
99939 #endif
99942 main ()
99944 return f != $ac_func;
99946 return 0;
99948 _ACEOF
99949 rm -f conftest.$ac_objext conftest$ac_exeext
99950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99951 (eval $ac_link) 2>conftest.er1
99952 ac_status=$?
99953 grep -v '^ *+' conftest.er1 >conftest.err
99954 rm -f conftest.er1
99955 cat conftest.err >&5
99956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99957 (exit $ac_status); } &&
99958 { ac_try='test -z "$ac_c_werror_flag"
99959 || test ! -s conftest.err'
99960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99961 (eval $ac_try) 2>&5
99962 ac_status=$?
99963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99964 (exit $ac_status); }; } &&
99965 { ac_try='test -s conftest$ac_exeext'
99966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99967 (eval $ac_try) 2>&5
99968 ac_status=$?
99969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99970 (exit $ac_status); }; }; then
99971 eval "$as_ac_var=yes"
99972 else
99973 echo "$as_me: failed program was:" >&5
99974 sed 's/^/| /' conftest.$ac_ext >&5
99976 eval "$as_ac_var=no"
99978 rm -f conftest.err conftest.$ac_objext \
99979 conftest$ac_exeext conftest.$ac_ext
99981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99983 if test `eval echo '${'$as_ac_var'}'` = yes; then
99984 cat >>confdefs.h <<_ACEOF
99985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99986 _ACEOF
99989 done
99999 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
100000 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
100001 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
100002 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
100003 echo $ECHO_N "(cached) $ECHO_C" >&6
100008 ac_ext=cc
100009 ac_cpp='$CXXCPP $CPPFLAGS'
100010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100014 cat >conftest.$ac_ext <<_ACEOF
100015 /* confdefs.h. */
100016 _ACEOF
100017 cat confdefs.h >>conftest.$ac_ext
100018 cat >>conftest.$ac_ext <<_ACEOF
100019 /* end confdefs.h. */
100020 #include <math.h>
100022 main ()
100024 fmodl(0, 0);
100026 return 0;
100028 _ACEOF
100029 rm -f conftest.$ac_objext
100030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100031 (eval $ac_compile) 2>conftest.er1
100032 ac_status=$?
100033 grep -v '^ *+' conftest.er1 >conftest.err
100034 rm -f conftest.er1
100035 cat conftest.err >&5
100036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100037 (exit $ac_status); } &&
100038 { ac_try='test -z "$ac_cxx_werror_flag"
100039 || test ! -s conftest.err'
100040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100041 (eval $ac_try) 2>&5
100042 ac_status=$?
100043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100044 (exit $ac_status); }; } &&
100045 { ac_try='test -s conftest.$ac_objext'
100046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100047 (eval $ac_try) 2>&5
100048 ac_status=$?
100049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100050 (exit $ac_status); }; }; then
100051 glibcxx_cv_func_fmodl_use=yes
100053 echo "$as_me: failed program was:" >&5
100054 sed 's/^/| /' conftest.$ac_ext >&5
100056 glibcxx_cv_func_fmodl_use=no
100058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100059 ac_ext=c
100060 ac_cpp='$CPP $CPPFLAGS'
100061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100069 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
100070 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
100072 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
100074 for ac_func in fmodl
100076 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100077 echo "$as_me:$LINENO: checking for $ac_func" >&5
100078 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100079 if eval "test \"\${$as_ac_var+set}\" = set"; then
100080 echo $ECHO_N "(cached) $ECHO_C" >&6
100082 if test x$gcc_no_link = xyes; then
100083 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100084 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100085 { (exit 1); exit 1; }; }
100087 cat >conftest.$ac_ext <<_ACEOF
100088 /* confdefs.h. */
100089 _ACEOF
100090 cat confdefs.h >>conftest.$ac_ext
100091 cat >>conftest.$ac_ext <<_ACEOF
100092 /* end confdefs.h. */
100093 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100094 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100095 #define $ac_func innocuous_$ac_func
100097 /* System header to define __stub macros and hopefully few prototypes,
100098 which can conflict with char $ac_func (); below.
100099 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100100 <limits.h> exists even on freestanding compilers. */
100102 #ifdef __STDC__
100103 # include <limits.h>
100104 #else
100105 # include <assert.h>
100106 #endif
100108 #undef $ac_func
100110 /* Override any gcc2 internal prototype to avoid an error. */
100111 #ifdef __cplusplus
100112 extern "C"
100114 #endif
100115 /* We use char because int might match the return type of a gcc2
100116 builtin and then its argument prototype would still apply. */
100117 char $ac_func ();
100118 /* The GNU C library defines this for functions which it implements
100119 to always fail with ENOSYS. Some functions are actually named
100120 something starting with __ and the normal name is an alias. */
100121 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100122 choke me
100123 #else
100124 char (*f) () = $ac_func;
100125 #endif
100126 #ifdef __cplusplus
100128 #endif
100131 main ()
100133 return f != $ac_func;
100135 return 0;
100137 _ACEOF
100138 rm -f conftest.$ac_objext conftest$ac_exeext
100139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100140 (eval $ac_link) 2>conftest.er1
100141 ac_status=$?
100142 grep -v '^ *+' conftest.er1 >conftest.err
100143 rm -f conftest.er1
100144 cat conftest.err >&5
100145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100146 (exit $ac_status); } &&
100147 { ac_try='test -z "$ac_c_werror_flag"
100148 || test ! -s conftest.err'
100149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100150 (eval $ac_try) 2>&5
100151 ac_status=$?
100152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100153 (exit $ac_status); }; } &&
100154 { ac_try='test -s conftest$ac_exeext'
100155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100156 (eval $ac_try) 2>&5
100157 ac_status=$?
100158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100159 (exit $ac_status); }; }; then
100160 eval "$as_ac_var=yes"
100162 echo "$as_me: failed program was:" >&5
100163 sed 's/^/| /' conftest.$ac_ext >&5
100165 eval "$as_ac_var=no"
100167 rm -f conftest.err conftest.$ac_objext \
100168 conftest$ac_exeext conftest.$ac_ext
100170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100172 if test `eval echo '${'$as_ac_var'}'` = yes; then
100173 cat >>confdefs.h <<_ACEOF
100174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100175 _ACEOF
100182 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
100183 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
100184 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
100185 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
100186 echo $ECHO_N "(cached) $ECHO_C" >&6
100191 ac_ext=cc
100192 ac_cpp='$CXXCPP $CPPFLAGS'
100193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100197 cat >conftest.$ac_ext <<_ACEOF
100198 /* confdefs.h. */
100199 _ACEOF
100200 cat confdefs.h >>conftest.$ac_ext
100201 cat >>conftest.$ac_ext <<_ACEOF
100202 /* end confdefs.h. */
100203 #include <math.h>
100205 main ()
100207 _fmodl(0, 0);
100209 return 0;
100211 _ACEOF
100212 rm -f conftest.$ac_objext
100213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100214 (eval $ac_compile) 2>conftest.er1
100215 ac_status=$?
100216 grep -v '^ *+' conftest.er1 >conftest.err
100217 rm -f conftest.er1
100218 cat conftest.err >&5
100219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100220 (exit $ac_status); } &&
100221 { ac_try='test -z "$ac_cxx_werror_flag"
100222 || test ! -s conftest.err'
100223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100224 (eval $ac_try) 2>&5
100225 ac_status=$?
100226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100227 (exit $ac_status); }; } &&
100228 { ac_try='test -s conftest.$ac_objext'
100229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100230 (eval $ac_try) 2>&5
100231 ac_status=$?
100232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100233 (exit $ac_status); }; }; then
100234 glibcxx_cv_func__fmodl_use=yes
100236 echo "$as_me: failed program was:" >&5
100237 sed 's/^/| /' conftest.$ac_ext >&5
100239 glibcxx_cv_func__fmodl_use=no
100241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100242 ac_ext=c
100243 ac_cpp='$CPP $CPPFLAGS'
100244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100252 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
100253 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
100255 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
100257 for ac_func in _fmodl
100259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100260 echo "$as_me:$LINENO: checking for $ac_func" >&5
100261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100262 if eval "test \"\${$as_ac_var+set}\" = set"; then
100263 echo $ECHO_N "(cached) $ECHO_C" >&6
100265 if test x$gcc_no_link = xyes; then
100266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100268 { (exit 1); exit 1; }; }
100270 cat >conftest.$ac_ext <<_ACEOF
100271 /* confdefs.h. */
100272 _ACEOF
100273 cat confdefs.h >>conftest.$ac_ext
100274 cat >>conftest.$ac_ext <<_ACEOF
100275 /* end confdefs.h. */
100276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100278 #define $ac_func innocuous_$ac_func
100280 /* System header to define __stub macros and hopefully few prototypes,
100281 which can conflict with char $ac_func (); below.
100282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100283 <limits.h> exists even on freestanding compilers. */
100285 #ifdef __STDC__
100286 # include <limits.h>
100287 #else
100288 # include <assert.h>
100289 #endif
100291 #undef $ac_func
100293 /* Override any gcc2 internal prototype to avoid an error. */
100294 #ifdef __cplusplus
100295 extern "C"
100297 #endif
100298 /* We use char because int might match the return type of a gcc2
100299 builtin and then its argument prototype would still apply. */
100300 char $ac_func ();
100301 /* The GNU C library defines this for functions which it implements
100302 to always fail with ENOSYS. Some functions are actually named
100303 something starting with __ and the normal name is an alias. */
100304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100305 choke me
100306 #else
100307 char (*f) () = $ac_func;
100308 #endif
100309 #ifdef __cplusplus
100311 #endif
100314 main ()
100316 return f != $ac_func;
100318 return 0;
100320 _ACEOF
100321 rm -f conftest.$ac_objext conftest$ac_exeext
100322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100323 (eval $ac_link) 2>conftest.er1
100324 ac_status=$?
100325 grep -v '^ *+' conftest.er1 >conftest.err
100326 rm -f conftest.er1
100327 cat conftest.err >&5
100328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100329 (exit $ac_status); } &&
100330 { ac_try='test -z "$ac_c_werror_flag"
100331 || test ! -s conftest.err'
100332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100333 (eval $ac_try) 2>&5
100334 ac_status=$?
100335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100336 (exit $ac_status); }; } &&
100337 { ac_try='test -s conftest$ac_exeext'
100338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100339 (eval $ac_try) 2>&5
100340 ac_status=$?
100341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100342 (exit $ac_status); }; }; then
100343 eval "$as_ac_var=yes"
100345 echo "$as_me: failed program was:" >&5
100346 sed 's/^/| /' conftest.$ac_ext >&5
100348 eval "$as_ac_var=no"
100350 rm -f conftest.err conftest.$ac_objext \
100351 conftest$ac_exeext conftest.$ac_ext
100353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100355 if test `eval echo '${'$as_ac_var'}'` = yes; then
100356 cat >>confdefs.h <<_ACEOF
100357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100358 _ACEOF
100371 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
100372 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
100373 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
100374 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
100375 echo $ECHO_N "(cached) $ECHO_C" >&6
100380 ac_ext=cc
100381 ac_cpp='$CXXCPP $CPPFLAGS'
100382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100386 cat >conftest.$ac_ext <<_ACEOF
100387 /* confdefs.h. */
100388 _ACEOF
100389 cat confdefs.h >>conftest.$ac_ext
100390 cat >>conftest.$ac_ext <<_ACEOF
100391 /* end confdefs.h. */
100392 #include <math.h>
100394 main ()
100396 frexpl(0, 0);
100398 return 0;
100400 _ACEOF
100401 rm -f conftest.$ac_objext
100402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100403 (eval $ac_compile) 2>conftest.er1
100404 ac_status=$?
100405 grep -v '^ *+' conftest.er1 >conftest.err
100406 rm -f conftest.er1
100407 cat conftest.err >&5
100408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100409 (exit $ac_status); } &&
100410 { ac_try='test -z "$ac_cxx_werror_flag"
100411 || test ! -s conftest.err'
100412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100413 (eval $ac_try) 2>&5
100414 ac_status=$?
100415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100416 (exit $ac_status); }; } &&
100417 { ac_try='test -s conftest.$ac_objext'
100418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100419 (eval $ac_try) 2>&5
100420 ac_status=$?
100421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100422 (exit $ac_status); }; }; then
100423 glibcxx_cv_func_frexpl_use=yes
100425 echo "$as_me: failed program was:" >&5
100426 sed 's/^/| /' conftest.$ac_ext >&5
100428 glibcxx_cv_func_frexpl_use=no
100430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100431 ac_ext=c
100432 ac_cpp='$CPP $CPPFLAGS'
100433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100441 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
100442 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
100444 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
100446 for ac_func in frexpl
100448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100449 echo "$as_me:$LINENO: checking for $ac_func" >&5
100450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100451 if eval "test \"\${$as_ac_var+set}\" = set"; then
100452 echo $ECHO_N "(cached) $ECHO_C" >&6
100454 if test x$gcc_no_link = xyes; then
100455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100457 { (exit 1); exit 1; }; }
100459 cat >conftest.$ac_ext <<_ACEOF
100460 /* confdefs.h. */
100461 _ACEOF
100462 cat confdefs.h >>conftest.$ac_ext
100463 cat >>conftest.$ac_ext <<_ACEOF
100464 /* end confdefs.h. */
100465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100467 #define $ac_func innocuous_$ac_func
100469 /* System header to define __stub macros and hopefully few prototypes,
100470 which can conflict with char $ac_func (); below.
100471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100472 <limits.h> exists even on freestanding compilers. */
100474 #ifdef __STDC__
100475 # include <limits.h>
100476 #else
100477 # include <assert.h>
100478 #endif
100480 #undef $ac_func
100482 /* Override any gcc2 internal prototype to avoid an error. */
100483 #ifdef __cplusplus
100484 extern "C"
100486 #endif
100487 /* We use char because int might match the return type of a gcc2
100488 builtin and then its argument prototype would still apply. */
100489 char $ac_func ();
100490 /* The GNU C library defines this for functions which it implements
100491 to always fail with ENOSYS. Some functions are actually named
100492 something starting with __ and the normal name is an alias. */
100493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100494 choke me
100495 #else
100496 char (*f) () = $ac_func;
100497 #endif
100498 #ifdef __cplusplus
100500 #endif
100503 main ()
100505 return f != $ac_func;
100507 return 0;
100509 _ACEOF
100510 rm -f conftest.$ac_objext conftest$ac_exeext
100511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100512 (eval $ac_link) 2>conftest.er1
100513 ac_status=$?
100514 grep -v '^ *+' conftest.er1 >conftest.err
100515 rm -f conftest.er1
100516 cat conftest.err >&5
100517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100518 (exit $ac_status); } &&
100519 { ac_try='test -z "$ac_c_werror_flag"
100520 || test ! -s conftest.err'
100521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100522 (eval $ac_try) 2>&5
100523 ac_status=$?
100524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100525 (exit $ac_status); }; } &&
100526 { ac_try='test -s conftest$ac_exeext'
100527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100528 (eval $ac_try) 2>&5
100529 ac_status=$?
100530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100531 (exit $ac_status); }; }; then
100532 eval "$as_ac_var=yes"
100534 echo "$as_me: failed program was:" >&5
100535 sed 's/^/| /' conftest.$ac_ext >&5
100537 eval "$as_ac_var=no"
100539 rm -f conftest.err conftest.$ac_objext \
100540 conftest$ac_exeext conftest.$ac_ext
100542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100544 if test `eval echo '${'$as_ac_var'}'` = yes; then
100545 cat >>confdefs.h <<_ACEOF
100546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100547 _ACEOF
100554 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
100555 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
100556 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
100557 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
100558 echo $ECHO_N "(cached) $ECHO_C" >&6
100563 ac_ext=cc
100564 ac_cpp='$CXXCPP $CPPFLAGS'
100565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100569 cat >conftest.$ac_ext <<_ACEOF
100570 /* confdefs.h. */
100571 _ACEOF
100572 cat confdefs.h >>conftest.$ac_ext
100573 cat >>conftest.$ac_ext <<_ACEOF
100574 /* end confdefs.h. */
100575 #include <math.h>
100577 main ()
100579 _frexpl(0, 0);
100581 return 0;
100583 _ACEOF
100584 rm -f conftest.$ac_objext
100585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100586 (eval $ac_compile) 2>conftest.er1
100587 ac_status=$?
100588 grep -v '^ *+' conftest.er1 >conftest.err
100589 rm -f conftest.er1
100590 cat conftest.err >&5
100591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100592 (exit $ac_status); } &&
100593 { ac_try='test -z "$ac_cxx_werror_flag"
100594 || test ! -s conftest.err'
100595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100596 (eval $ac_try) 2>&5
100597 ac_status=$?
100598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100599 (exit $ac_status); }; } &&
100600 { ac_try='test -s conftest.$ac_objext'
100601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100602 (eval $ac_try) 2>&5
100603 ac_status=$?
100604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100605 (exit $ac_status); }; }; then
100606 glibcxx_cv_func__frexpl_use=yes
100608 echo "$as_me: failed program was:" >&5
100609 sed 's/^/| /' conftest.$ac_ext >&5
100611 glibcxx_cv_func__frexpl_use=no
100613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100614 ac_ext=c
100615 ac_cpp='$CPP $CPPFLAGS'
100616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100624 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
100625 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
100627 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
100629 for ac_func in _frexpl
100631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100632 echo "$as_me:$LINENO: checking for $ac_func" >&5
100633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100634 if eval "test \"\${$as_ac_var+set}\" = set"; then
100635 echo $ECHO_N "(cached) $ECHO_C" >&6
100637 if test x$gcc_no_link = xyes; then
100638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100640 { (exit 1); exit 1; }; }
100642 cat >conftest.$ac_ext <<_ACEOF
100643 /* confdefs.h. */
100644 _ACEOF
100645 cat confdefs.h >>conftest.$ac_ext
100646 cat >>conftest.$ac_ext <<_ACEOF
100647 /* end confdefs.h. */
100648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100650 #define $ac_func innocuous_$ac_func
100652 /* System header to define __stub macros and hopefully few prototypes,
100653 which can conflict with char $ac_func (); below.
100654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100655 <limits.h> exists even on freestanding compilers. */
100657 #ifdef __STDC__
100658 # include <limits.h>
100659 #else
100660 # include <assert.h>
100661 #endif
100663 #undef $ac_func
100665 /* Override any gcc2 internal prototype to avoid an error. */
100666 #ifdef __cplusplus
100667 extern "C"
100669 #endif
100670 /* We use char because int might match the return type of a gcc2
100671 builtin and then its argument prototype would still apply. */
100672 char $ac_func ();
100673 /* The GNU C library defines this for functions which it implements
100674 to always fail with ENOSYS. Some functions are actually named
100675 something starting with __ and the normal name is an alias. */
100676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100677 choke me
100678 #else
100679 char (*f) () = $ac_func;
100680 #endif
100681 #ifdef __cplusplus
100683 #endif
100686 main ()
100688 return f != $ac_func;
100690 return 0;
100692 _ACEOF
100693 rm -f conftest.$ac_objext conftest$ac_exeext
100694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100695 (eval $ac_link) 2>conftest.er1
100696 ac_status=$?
100697 grep -v '^ *+' conftest.er1 >conftest.err
100698 rm -f conftest.er1
100699 cat conftest.err >&5
100700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100701 (exit $ac_status); } &&
100702 { ac_try='test -z "$ac_c_werror_flag"
100703 || test ! -s conftest.err'
100704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100705 (eval $ac_try) 2>&5
100706 ac_status=$?
100707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100708 (exit $ac_status); }; } &&
100709 { ac_try='test -s conftest$ac_exeext'
100710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100711 (eval $ac_try) 2>&5
100712 ac_status=$?
100713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100714 (exit $ac_status); }; }; then
100715 eval "$as_ac_var=yes"
100717 echo "$as_me: failed program was:" >&5
100718 sed 's/^/| /' conftest.$ac_ext >&5
100720 eval "$as_ac_var=no"
100722 rm -f conftest.err conftest.$ac_objext \
100723 conftest$ac_exeext conftest.$ac_ext
100725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100727 if test `eval echo '${'$as_ac_var'}'` = yes; then
100728 cat >>confdefs.h <<_ACEOF
100729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100730 _ACEOF
100743 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
100744 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
100745 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
100746 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
100747 echo $ECHO_N "(cached) $ECHO_C" >&6
100752 ac_ext=cc
100753 ac_cpp='$CXXCPP $CPPFLAGS'
100754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100758 cat >conftest.$ac_ext <<_ACEOF
100759 /* confdefs.h. */
100760 _ACEOF
100761 cat confdefs.h >>conftest.$ac_ext
100762 cat >>conftest.$ac_ext <<_ACEOF
100763 /* end confdefs.h. */
100764 #include <math.h>
100766 main ()
100768 hypotl(0, 0);
100770 return 0;
100772 _ACEOF
100773 rm -f conftest.$ac_objext
100774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100775 (eval $ac_compile) 2>conftest.er1
100776 ac_status=$?
100777 grep -v '^ *+' conftest.er1 >conftest.err
100778 rm -f conftest.er1
100779 cat conftest.err >&5
100780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100781 (exit $ac_status); } &&
100782 { ac_try='test -z "$ac_cxx_werror_flag"
100783 || test ! -s conftest.err'
100784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100785 (eval $ac_try) 2>&5
100786 ac_status=$?
100787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100788 (exit $ac_status); }; } &&
100789 { ac_try='test -s conftest.$ac_objext'
100790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100791 (eval $ac_try) 2>&5
100792 ac_status=$?
100793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100794 (exit $ac_status); }; }; then
100795 glibcxx_cv_func_hypotl_use=yes
100797 echo "$as_me: failed program was:" >&5
100798 sed 's/^/| /' conftest.$ac_ext >&5
100800 glibcxx_cv_func_hypotl_use=no
100802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100803 ac_ext=c
100804 ac_cpp='$CPP $CPPFLAGS'
100805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100813 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
100814 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
100816 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
100818 for ac_func in hypotl
100820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100821 echo "$as_me:$LINENO: checking for $ac_func" >&5
100822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100823 if eval "test \"\${$as_ac_var+set}\" = set"; then
100824 echo $ECHO_N "(cached) $ECHO_C" >&6
100826 if test x$gcc_no_link = xyes; then
100827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100829 { (exit 1); exit 1; }; }
100831 cat >conftest.$ac_ext <<_ACEOF
100832 /* confdefs.h. */
100833 _ACEOF
100834 cat confdefs.h >>conftest.$ac_ext
100835 cat >>conftest.$ac_ext <<_ACEOF
100836 /* end confdefs.h. */
100837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100839 #define $ac_func innocuous_$ac_func
100841 /* System header to define __stub macros and hopefully few prototypes,
100842 which can conflict with char $ac_func (); below.
100843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100844 <limits.h> exists even on freestanding compilers. */
100846 #ifdef __STDC__
100847 # include <limits.h>
100848 #else
100849 # include <assert.h>
100850 #endif
100852 #undef $ac_func
100854 /* Override any gcc2 internal prototype to avoid an error. */
100855 #ifdef __cplusplus
100856 extern "C"
100858 #endif
100859 /* We use char because int might match the return type of a gcc2
100860 builtin and then its argument prototype would still apply. */
100861 char $ac_func ();
100862 /* The GNU C library defines this for functions which it implements
100863 to always fail with ENOSYS. Some functions are actually named
100864 something starting with __ and the normal name is an alias. */
100865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100866 choke me
100867 #else
100868 char (*f) () = $ac_func;
100869 #endif
100870 #ifdef __cplusplus
100872 #endif
100875 main ()
100877 return f != $ac_func;
100879 return 0;
100881 _ACEOF
100882 rm -f conftest.$ac_objext conftest$ac_exeext
100883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100884 (eval $ac_link) 2>conftest.er1
100885 ac_status=$?
100886 grep -v '^ *+' conftest.er1 >conftest.err
100887 rm -f conftest.er1
100888 cat conftest.err >&5
100889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100890 (exit $ac_status); } &&
100891 { ac_try='test -z "$ac_c_werror_flag"
100892 || test ! -s conftest.err'
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); }; } &&
100898 { ac_try='test -s conftest$ac_exeext'
100899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100900 (eval $ac_try) 2>&5
100901 ac_status=$?
100902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100903 (exit $ac_status); }; }; then
100904 eval "$as_ac_var=yes"
100906 echo "$as_me: failed program was:" >&5
100907 sed 's/^/| /' conftest.$ac_ext >&5
100909 eval "$as_ac_var=no"
100911 rm -f conftest.err conftest.$ac_objext \
100912 conftest$ac_exeext conftest.$ac_ext
100914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100916 if test `eval echo '${'$as_ac_var'}'` = yes; then
100917 cat >>confdefs.h <<_ACEOF
100918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100919 _ACEOF
100926 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
100927 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
100928 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
100929 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
100930 echo $ECHO_N "(cached) $ECHO_C" >&6
100935 ac_ext=cc
100936 ac_cpp='$CXXCPP $CPPFLAGS'
100937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100941 cat >conftest.$ac_ext <<_ACEOF
100942 /* confdefs.h. */
100943 _ACEOF
100944 cat confdefs.h >>conftest.$ac_ext
100945 cat >>conftest.$ac_ext <<_ACEOF
100946 /* end confdefs.h. */
100947 #include <math.h>
100949 main ()
100951 _hypotl(0, 0);
100953 return 0;
100955 _ACEOF
100956 rm -f conftest.$ac_objext
100957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100958 (eval $ac_compile) 2>conftest.er1
100959 ac_status=$?
100960 grep -v '^ *+' conftest.er1 >conftest.err
100961 rm -f conftest.er1
100962 cat conftest.err >&5
100963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100964 (exit $ac_status); } &&
100965 { ac_try='test -z "$ac_cxx_werror_flag"
100966 || test ! -s conftest.err'
100967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100968 (eval $ac_try) 2>&5
100969 ac_status=$?
100970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100971 (exit $ac_status); }; } &&
100972 { ac_try='test -s conftest.$ac_objext'
100973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100974 (eval $ac_try) 2>&5
100975 ac_status=$?
100976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100977 (exit $ac_status); }; }; then
100978 glibcxx_cv_func__hypotl_use=yes
100980 echo "$as_me: failed program was:" >&5
100981 sed 's/^/| /' conftest.$ac_ext >&5
100983 glibcxx_cv_func__hypotl_use=no
100985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100986 ac_ext=c
100987 ac_cpp='$CPP $CPPFLAGS'
100988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100996 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
100997 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
100999 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
101001 for ac_func in _hypotl
101003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101004 echo "$as_me:$LINENO: checking for $ac_func" >&5
101005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101006 if eval "test \"\${$as_ac_var+set}\" = set"; then
101007 echo $ECHO_N "(cached) $ECHO_C" >&6
101009 if test x$gcc_no_link = xyes; then
101010 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101012 { (exit 1); exit 1; }; }
101014 cat >conftest.$ac_ext <<_ACEOF
101015 /* confdefs.h. */
101016 _ACEOF
101017 cat confdefs.h >>conftest.$ac_ext
101018 cat >>conftest.$ac_ext <<_ACEOF
101019 /* end confdefs.h. */
101020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101022 #define $ac_func innocuous_$ac_func
101024 /* System header to define __stub macros and hopefully few prototypes,
101025 which can conflict with char $ac_func (); below.
101026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101027 <limits.h> exists even on freestanding compilers. */
101029 #ifdef __STDC__
101030 # include <limits.h>
101031 #else
101032 # include <assert.h>
101033 #endif
101035 #undef $ac_func
101037 /* Override any gcc2 internal prototype to avoid an error. */
101038 #ifdef __cplusplus
101039 extern "C"
101041 #endif
101042 /* We use char because int might match the return type of a gcc2
101043 builtin and then its argument prototype would still apply. */
101044 char $ac_func ();
101045 /* The GNU C library defines this for functions which it implements
101046 to always fail with ENOSYS. Some functions are actually named
101047 something starting with __ and the normal name is an alias. */
101048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101049 choke me
101050 #else
101051 char (*f) () = $ac_func;
101052 #endif
101053 #ifdef __cplusplus
101055 #endif
101058 main ()
101060 return f != $ac_func;
101062 return 0;
101064 _ACEOF
101065 rm -f conftest.$ac_objext conftest$ac_exeext
101066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101067 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
101089 echo "$as_me: failed program was:" >&5
101090 sed 's/^/| /' conftest.$ac_ext >&5
101092 eval "$as_ac_var=no"
101094 rm -f conftest.err conftest.$ac_objext \
101095 conftest$ac_exeext conftest.$ac_ext
101097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101098 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101099 if test `eval echo '${'$as_ac_var'}'` = yes; then
101100 cat >>confdefs.h <<_ACEOF
101101 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101102 _ACEOF
101115 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
101116 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
101117 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
101118 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
101119 echo $ECHO_N "(cached) $ECHO_C" >&6
101124 ac_ext=cc
101125 ac_cpp='$CXXCPP $CPPFLAGS'
101126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101130 cat >conftest.$ac_ext <<_ACEOF
101131 /* confdefs.h. */
101132 _ACEOF
101133 cat confdefs.h >>conftest.$ac_ext
101134 cat >>conftest.$ac_ext <<_ACEOF
101135 /* end confdefs.h. */
101136 #include <math.h>
101138 main ()
101140 ldexpl(0, 0);
101142 return 0;
101144 _ACEOF
101145 rm -f conftest.$ac_objext
101146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101147 (eval $ac_compile) 2>conftest.er1
101148 ac_status=$?
101149 grep -v '^ *+' conftest.er1 >conftest.err
101150 rm -f conftest.er1
101151 cat conftest.err >&5
101152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101153 (exit $ac_status); } &&
101154 { ac_try='test -z "$ac_cxx_werror_flag"
101155 || test ! -s conftest.err'
101156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101157 (eval $ac_try) 2>&5
101158 ac_status=$?
101159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101160 (exit $ac_status); }; } &&
101161 { ac_try='test -s conftest.$ac_objext'
101162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101163 (eval $ac_try) 2>&5
101164 ac_status=$?
101165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101166 (exit $ac_status); }; }; then
101167 glibcxx_cv_func_ldexpl_use=yes
101169 echo "$as_me: failed program was:" >&5
101170 sed 's/^/| /' conftest.$ac_ext >&5
101172 glibcxx_cv_func_ldexpl_use=no
101174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101175 ac_ext=c
101176 ac_cpp='$CPP $CPPFLAGS'
101177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101185 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
101186 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
101188 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
101190 for ac_func in ldexpl
101192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101193 echo "$as_me:$LINENO: checking for $ac_func" >&5
101194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101195 if eval "test \"\${$as_ac_var+set}\" = set"; then
101196 echo $ECHO_N "(cached) $ECHO_C" >&6
101198 if test x$gcc_no_link = xyes; then
101199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101201 { (exit 1); exit 1; }; }
101203 cat >conftest.$ac_ext <<_ACEOF
101204 /* confdefs.h. */
101205 _ACEOF
101206 cat confdefs.h >>conftest.$ac_ext
101207 cat >>conftest.$ac_ext <<_ACEOF
101208 /* end confdefs.h. */
101209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101211 #define $ac_func innocuous_$ac_func
101213 /* System header to define __stub macros and hopefully few prototypes,
101214 which can conflict with char $ac_func (); below.
101215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101216 <limits.h> exists even on freestanding compilers. */
101218 #ifdef __STDC__
101219 # include <limits.h>
101220 #else
101221 # include <assert.h>
101222 #endif
101224 #undef $ac_func
101226 /* Override any gcc2 internal prototype to avoid an error. */
101227 #ifdef __cplusplus
101228 extern "C"
101230 #endif
101231 /* We use char because int might match the return type of a gcc2
101232 builtin and then its argument prototype would still apply. */
101233 char $ac_func ();
101234 /* The GNU C library defines this for functions which it implements
101235 to always fail with ENOSYS. Some functions are actually named
101236 something starting with __ and the normal name is an alias. */
101237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101238 choke me
101239 #else
101240 char (*f) () = $ac_func;
101241 #endif
101242 #ifdef __cplusplus
101244 #endif
101247 main ()
101249 return f != $ac_func;
101251 return 0;
101253 _ACEOF
101254 rm -f conftest.$ac_objext conftest$ac_exeext
101255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101256 (eval $ac_link) 2>conftest.er1
101257 ac_status=$?
101258 grep -v '^ *+' conftest.er1 >conftest.err
101259 rm -f conftest.er1
101260 cat conftest.err >&5
101261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101262 (exit $ac_status); } &&
101263 { ac_try='test -z "$ac_c_werror_flag"
101264 || test ! -s conftest.err'
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); }; } &&
101270 { ac_try='test -s conftest$ac_exeext'
101271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101272 (eval $ac_try) 2>&5
101273 ac_status=$?
101274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101275 (exit $ac_status); }; }; then
101276 eval "$as_ac_var=yes"
101278 echo "$as_me: failed program was:" >&5
101279 sed 's/^/| /' conftest.$ac_ext >&5
101281 eval "$as_ac_var=no"
101283 rm -f conftest.err conftest.$ac_objext \
101284 conftest$ac_exeext conftest.$ac_ext
101286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101288 if test `eval echo '${'$as_ac_var'}'` = yes; then
101289 cat >>confdefs.h <<_ACEOF
101290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101291 _ACEOF
101298 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
101299 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
101300 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
101301 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
101302 echo $ECHO_N "(cached) $ECHO_C" >&6
101307 ac_ext=cc
101308 ac_cpp='$CXXCPP $CPPFLAGS'
101309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101313 cat >conftest.$ac_ext <<_ACEOF
101314 /* confdefs.h. */
101315 _ACEOF
101316 cat confdefs.h >>conftest.$ac_ext
101317 cat >>conftest.$ac_ext <<_ACEOF
101318 /* end confdefs.h. */
101319 #include <math.h>
101321 main ()
101323 _ldexpl(0, 0);
101325 return 0;
101327 _ACEOF
101328 rm -f conftest.$ac_objext
101329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101330 (eval $ac_compile) 2>conftest.er1
101331 ac_status=$?
101332 grep -v '^ *+' conftest.er1 >conftest.err
101333 rm -f conftest.er1
101334 cat conftest.err >&5
101335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101336 (exit $ac_status); } &&
101337 { ac_try='test -z "$ac_cxx_werror_flag"
101338 || test ! -s conftest.err'
101339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101340 (eval $ac_try) 2>&5
101341 ac_status=$?
101342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101343 (exit $ac_status); }; } &&
101344 { ac_try='test -s conftest.$ac_objext'
101345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101346 (eval $ac_try) 2>&5
101347 ac_status=$?
101348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101349 (exit $ac_status); }; }; then
101350 glibcxx_cv_func__ldexpl_use=yes
101352 echo "$as_me: failed program was:" >&5
101353 sed 's/^/| /' conftest.$ac_ext >&5
101355 glibcxx_cv_func__ldexpl_use=no
101357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101358 ac_ext=c
101359 ac_cpp='$CPP $CPPFLAGS'
101360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101368 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
101369 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
101371 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
101373 for ac_func in _ldexpl
101375 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101376 echo "$as_me:$LINENO: checking for $ac_func" >&5
101377 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101378 if eval "test \"\${$as_ac_var+set}\" = set"; then
101379 echo $ECHO_N "(cached) $ECHO_C" >&6
101381 if test x$gcc_no_link = xyes; then
101382 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101384 { (exit 1); exit 1; }; }
101386 cat >conftest.$ac_ext <<_ACEOF
101387 /* confdefs.h. */
101388 _ACEOF
101389 cat confdefs.h >>conftest.$ac_ext
101390 cat >>conftest.$ac_ext <<_ACEOF
101391 /* end confdefs.h. */
101392 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101393 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101394 #define $ac_func innocuous_$ac_func
101396 /* System header to define __stub macros and hopefully few prototypes,
101397 which can conflict with char $ac_func (); below.
101398 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101399 <limits.h> exists even on freestanding compilers. */
101401 #ifdef __STDC__
101402 # include <limits.h>
101403 #else
101404 # include <assert.h>
101405 #endif
101407 #undef $ac_func
101409 /* Override any gcc2 internal prototype to avoid an error. */
101410 #ifdef __cplusplus
101411 extern "C"
101413 #endif
101414 /* We use char because int might match the return type of a gcc2
101415 builtin and then its argument prototype would still apply. */
101416 char $ac_func ();
101417 /* The GNU C library defines this for functions which it implements
101418 to always fail with ENOSYS. Some functions are actually named
101419 something starting with __ and the normal name is an alias. */
101420 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101421 choke me
101422 #else
101423 char (*f) () = $ac_func;
101424 #endif
101425 #ifdef __cplusplus
101427 #endif
101430 main ()
101432 return f != $ac_func;
101434 return 0;
101436 _ACEOF
101437 rm -f conftest.$ac_objext conftest$ac_exeext
101438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101439 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
101461 echo "$as_me: failed program was:" >&5
101462 sed 's/^/| /' conftest.$ac_ext >&5
101464 eval "$as_ac_var=no"
101466 rm -f conftest.err conftest.$ac_objext \
101467 conftest$ac_exeext conftest.$ac_ext
101469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101471 if test `eval echo '${'$as_ac_var'}'` = yes; then
101472 cat >>confdefs.h <<_ACEOF
101473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101474 _ACEOF
101487 echo "$as_me:$LINENO: checking for logl declaration" >&5
101488 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
101489 if test x${glibcxx_cv_func_logl_use+set} != xset; then
101490 if test "${glibcxx_cv_func_logl_use+set}" = set; then
101491 echo $ECHO_N "(cached) $ECHO_C" >&6
101496 ac_ext=cc
101497 ac_cpp='$CXXCPP $CPPFLAGS'
101498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101502 cat >conftest.$ac_ext <<_ACEOF
101503 /* confdefs.h. */
101504 _ACEOF
101505 cat confdefs.h >>conftest.$ac_ext
101506 cat >>conftest.$ac_ext <<_ACEOF
101507 /* end confdefs.h. */
101508 #include <math.h>
101509 #ifdef HAVE_IEEEFP_H
101510 #include <ieeefp.h>
101511 #endif
101514 main ()
101516 logl(0);
101518 return 0;
101520 _ACEOF
101521 rm -f conftest.$ac_objext
101522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101523 (eval $ac_compile) 2>conftest.er1
101524 ac_status=$?
101525 grep -v '^ *+' conftest.er1 >conftest.err
101526 rm -f conftest.er1
101527 cat conftest.err >&5
101528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101529 (exit $ac_status); } &&
101530 { ac_try='test -z "$ac_cxx_werror_flag"
101531 || test ! -s conftest.err'
101532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101533 (eval $ac_try) 2>&5
101534 ac_status=$?
101535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101536 (exit $ac_status); }; } &&
101537 { ac_try='test -s conftest.$ac_objext'
101538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101539 (eval $ac_try) 2>&5
101540 ac_status=$?
101541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101542 (exit $ac_status); }; }; then
101543 glibcxx_cv_func_logl_use=yes
101545 echo "$as_me: failed program was:" >&5
101546 sed 's/^/| /' conftest.$ac_ext >&5
101548 glibcxx_cv_func_logl_use=no
101550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101551 ac_ext=c
101552 ac_cpp='$CPP $CPPFLAGS'
101553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101561 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
101562 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
101564 if test x$glibcxx_cv_func_logl_use = x"yes"; then
101566 for ac_func in logl
101568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101569 echo "$as_me:$LINENO: checking for $ac_func" >&5
101570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101571 if eval "test \"\${$as_ac_var+set}\" = set"; then
101572 echo $ECHO_N "(cached) $ECHO_C" >&6
101574 if test x$gcc_no_link = xyes; then
101575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101577 { (exit 1); exit 1; }; }
101579 cat >conftest.$ac_ext <<_ACEOF
101580 /* confdefs.h. */
101581 _ACEOF
101582 cat confdefs.h >>conftest.$ac_ext
101583 cat >>conftest.$ac_ext <<_ACEOF
101584 /* end confdefs.h. */
101585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101587 #define $ac_func innocuous_$ac_func
101589 /* System header to define __stub macros and hopefully few prototypes,
101590 which can conflict with char $ac_func (); below.
101591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101592 <limits.h> exists even on freestanding compilers. */
101594 #ifdef __STDC__
101595 # include <limits.h>
101596 #else
101597 # include <assert.h>
101598 #endif
101600 #undef $ac_func
101602 /* Override any gcc2 internal prototype to avoid an error. */
101603 #ifdef __cplusplus
101604 extern "C"
101606 #endif
101607 /* We use char because int might match the return type of a gcc2
101608 builtin and then its argument prototype would still apply. */
101609 char $ac_func ();
101610 /* The GNU C library defines this for functions which it implements
101611 to always fail with ENOSYS. Some functions are actually named
101612 something starting with __ and the normal name is an alias. */
101613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101614 choke me
101615 #else
101616 char (*f) () = $ac_func;
101617 #endif
101618 #ifdef __cplusplus
101620 #endif
101623 main ()
101625 return f != $ac_func;
101627 return 0;
101629 _ACEOF
101630 rm -f conftest.$ac_objext conftest$ac_exeext
101631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101632 (eval $ac_link) 2>conftest.er1
101633 ac_status=$?
101634 grep -v '^ *+' conftest.er1 >conftest.err
101635 rm -f conftest.er1
101636 cat conftest.err >&5
101637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101638 (exit $ac_status); } &&
101639 { ac_try='test -z "$ac_c_werror_flag"
101640 || test ! -s conftest.err'
101641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101642 (eval $ac_try) 2>&5
101643 ac_status=$?
101644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101645 (exit $ac_status); }; } &&
101646 { ac_try='test -s conftest$ac_exeext'
101647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101648 (eval $ac_try) 2>&5
101649 ac_status=$?
101650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101651 (exit $ac_status); }; }; then
101652 eval "$as_ac_var=yes"
101654 echo "$as_me: failed program was:" >&5
101655 sed 's/^/| /' conftest.$ac_ext >&5
101657 eval "$as_ac_var=no"
101659 rm -f conftest.err conftest.$ac_objext \
101660 conftest$ac_exeext conftest.$ac_ext
101662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101664 if test `eval echo '${'$as_ac_var'}'` = yes; then
101665 cat >>confdefs.h <<_ACEOF
101666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101667 _ACEOF
101674 echo "$as_me:$LINENO: checking for _logl declaration" >&5
101675 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
101676 if test x${glibcxx_cv_func__logl_use+set} != xset; then
101677 if test "${glibcxx_cv_func__logl_use+set}" = set; then
101678 echo $ECHO_N "(cached) $ECHO_C" >&6
101683 ac_ext=cc
101684 ac_cpp='$CXXCPP $CPPFLAGS'
101685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101689 cat >conftest.$ac_ext <<_ACEOF
101690 /* confdefs.h. */
101691 _ACEOF
101692 cat confdefs.h >>conftest.$ac_ext
101693 cat >>conftest.$ac_ext <<_ACEOF
101694 /* end confdefs.h. */
101695 #include <math.h>
101696 #ifdef HAVE_IEEEFP_H
101697 #include <ieeefp.h>
101698 #endif
101701 main ()
101703 _logl(0);
101705 return 0;
101707 _ACEOF
101708 rm -f conftest.$ac_objext
101709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101710 (eval $ac_compile) 2>conftest.er1
101711 ac_status=$?
101712 grep -v '^ *+' conftest.er1 >conftest.err
101713 rm -f conftest.er1
101714 cat conftest.err >&5
101715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101716 (exit $ac_status); } &&
101717 { ac_try='test -z "$ac_cxx_werror_flag"
101718 || test ! -s conftest.err'
101719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101720 (eval $ac_try) 2>&5
101721 ac_status=$?
101722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101723 (exit $ac_status); }; } &&
101724 { ac_try='test -s conftest.$ac_objext'
101725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101726 (eval $ac_try) 2>&5
101727 ac_status=$?
101728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101729 (exit $ac_status); }; }; then
101730 glibcxx_cv_func__logl_use=yes
101732 echo "$as_me: failed program was:" >&5
101733 sed 's/^/| /' conftest.$ac_ext >&5
101735 glibcxx_cv_func__logl_use=no
101737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101738 ac_ext=c
101739 ac_cpp='$CPP $CPPFLAGS'
101740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101748 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
101749 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
101751 if test x$glibcxx_cv_func__logl_use = x"yes"; then
101753 for ac_func in _logl
101755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101756 echo "$as_me:$LINENO: checking for $ac_func" >&5
101757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101758 if eval "test \"\${$as_ac_var+set}\" = set"; then
101759 echo $ECHO_N "(cached) $ECHO_C" >&6
101761 if test x$gcc_no_link = xyes; then
101762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101764 { (exit 1); exit 1; }; }
101766 cat >conftest.$ac_ext <<_ACEOF
101767 /* confdefs.h. */
101768 _ACEOF
101769 cat confdefs.h >>conftest.$ac_ext
101770 cat >>conftest.$ac_ext <<_ACEOF
101771 /* end confdefs.h. */
101772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101774 #define $ac_func innocuous_$ac_func
101776 /* System header to define __stub macros and hopefully few prototypes,
101777 which can conflict with char $ac_func (); below.
101778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101779 <limits.h> exists even on freestanding compilers. */
101781 #ifdef __STDC__
101782 # include <limits.h>
101783 #else
101784 # include <assert.h>
101785 #endif
101787 #undef $ac_func
101789 /* Override any gcc2 internal prototype to avoid an error. */
101790 #ifdef __cplusplus
101791 extern "C"
101793 #endif
101794 /* We use char because int might match the return type of a gcc2
101795 builtin and then its argument prototype would still apply. */
101796 char $ac_func ();
101797 /* The GNU C library defines this for functions which it implements
101798 to always fail with ENOSYS. Some functions are actually named
101799 something starting with __ and the normal name is an alias. */
101800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101801 choke me
101802 #else
101803 char (*f) () = $ac_func;
101804 #endif
101805 #ifdef __cplusplus
101807 #endif
101810 main ()
101812 return f != $ac_func;
101814 return 0;
101816 _ACEOF
101817 rm -f conftest.$ac_objext conftest$ac_exeext
101818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101819 (eval $ac_link) 2>conftest.er1
101820 ac_status=$?
101821 grep -v '^ *+' conftest.er1 >conftest.err
101822 rm -f conftest.er1
101823 cat conftest.err >&5
101824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101825 (exit $ac_status); } &&
101826 { ac_try='test -z "$ac_c_werror_flag"
101827 || test ! -s conftest.err'
101828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101829 (eval $ac_try) 2>&5
101830 ac_status=$?
101831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101832 (exit $ac_status); }; } &&
101833 { ac_try='test -s conftest$ac_exeext'
101834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101835 (eval $ac_try) 2>&5
101836 ac_status=$?
101837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101838 (exit $ac_status); }; }; then
101839 eval "$as_ac_var=yes"
101841 echo "$as_me: failed program was:" >&5
101842 sed 's/^/| /' conftest.$ac_ext >&5
101844 eval "$as_ac_var=no"
101846 rm -f conftest.err conftest.$ac_objext \
101847 conftest$ac_exeext conftest.$ac_ext
101849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101851 if test `eval echo '${'$as_ac_var'}'` = yes; then
101852 cat >>confdefs.h <<_ACEOF
101853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101854 _ACEOF
101867 echo "$as_me:$LINENO: checking for log10l declaration" >&5
101868 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
101869 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
101870 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
101871 echo $ECHO_N "(cached) $ECHO_C" >&6
101876 ac_ext=cc
101877 ac_cpp='$CXXCPP $CPPFLAGS'
101878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101882 cat >conftest.$ac_ext <<_ACEOF
101883 /* confdefs.h. */
101884 _ACEOF
101885 cat confdefs.h >>conftest.$ac_ext
101886 cat >>conftest.$ac_ext <<_ACEOF
101887 /* end confdefs.h. */
101888 #include <math.h>
101889 #ifdef HAVE_IEEEFP_H
101890 #include <ieeefp.h>
101891 #endif
101894 main ()
101896 log10l(0);
101898 return 0;
101900 _ACEOF
101901 rm -f conftest.$ac_objext
101902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101903 (eval $ac_compile) 2>conftest.er1
101904 ac_status=$?
101905 grep -v '^ *+' conftest.er1 >conftest.err
101906 rm -f conftest.er1
101907 cat conftest.err >&5
101908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101909 (exit $ac_status); } &&
101910 { ac_try='test -z "$ac_cxx_werror_flag"
101911 || test ! -s conftest.err'
101912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101913 (eval $ac_try) 2>&5
101914 ac_status=$?
101915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101916 (exit $ac_status); }; } &&
101917 { ac_try='test -s conftest.$ac_objext'
101918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101919 (eval $ac_try) 2>&5
101920 ac_status=$?
101921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101922 (exit $ac_status); }; }; then
101923 glibcxx_cv_func_log10l_use=yes
101925 echo "$as_me: failed program was:" >&5
101926 sed 's/^/| /' conftest.$ac_ext >&5
101928 glibcxx_cv_func_log10l_use=no
101930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101931 ac_ext=c
101932 ac_cpp='$CPP $CPPFLAGS'
101933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101941 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
101942 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
101944 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
101946 for ac_func in log10l
101948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101949 echo "$as_me:$LINENO: checking for $ac_func" >&5
101950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101951 if eval "test \"\${$as_ac_var+set}\" = set"; then
101952 echo $ECHO_N "(cached) $ECHO_C" >&6
101954 if test x$gcc_no_link = xyes; then
101955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101957 { (exit 1); exit 1; }; }
101959 cat >conftest.$ac_ext <<_ACEOF
101960 /* confdefs.h. */
101961 _ACEOF
101962 cat confdefs.h >>conftest.$ac_ext
101963 cat >>conftest.$ac_ext <<_ACEOF
101964 /* end confdefs.h. */
101965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101967 #define $ac_func innocuous_$ac_func
101969 /* System header to define __stub macros and hopefully few prototypes,
101970 which can conflict with char $ac_func (); below.
101971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101972 <limits.h> exists even on freestanding compilers. */
101974 #ifdef __STDC__
101975 # include <limits.h>
101976 #else
101977 # include <assert.h>
101978 #endif
101980 #undef $ac_func
101982 /* Override any gcc2 internal prototype to avoid an error. */
101983 #ifdef __cplusplus
101984 extern "C"
101986 #endif
101987 /* We use char because int might match the return type of a gcc2
101988 builtin and then its argument prototype would still apply. */
101989 char $ac_func ();
101990 /* The GNU C library defines this for functions which it implements
101991 to always fail with ENOSYS. Some functions are actually named
101992 something starting with __ and the normal name is an alias. */
101993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101994 choke me
101995 #else
101996 char (*f) () = $ac_func;
101997 #endif
101998 #ifdef __cplusplus
102000 #endif
102003 main ()
102005 return f != $ac_func;
102007 return 0;
102009 _ACEOF
102010 rm -f conftest.$ac_objext conftest$ac_exeext
102011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102012 (eval $ac_link) 2>conftest.er1
102013 ac_status=$?
102014 grep -v '^ *+' conftest.er1 >conftest.err
102015 rm -f conftest.er1
102016 cat conftest.err >&5
102017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102018 (exit $ac_status); } &&
102019 { ac_try='test -z "$ac_c_werror_flag"
102020 || test ! -s conftest.err'
102021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102022 (eval $ac_try) 2>&5
102023 ac_status=$?
102024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102025 (exit $ac_status); }; } &&
102026 { ac_try='test -s conftest$ac_exeext'
102027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102028 (eval $ac_try) 2>&5
102029 ac_status=$?
102030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102031 (exit $ac_status); }; }; then
102032 eval "$as_ac_var=yes"
102034 echo "$as_me: failed program was:" >&5
102035 sed 's/^/| /' conftest.$ac_ext >&5
102037 eval "$as_ac_var=no"
102039 rm -f conftest.err conftest.$ac_objext \
102040 conftest$ac_exeext conftest.$ac_ext
102042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102044 if test `eval echo '${'$as_ac_var'}'` = yes; then
102045 cat >>confdefs.h <<_ACEOF
102046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102047 _ACEOF
102054 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
102055 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
102056 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
102057 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
102058 echo $ECHO_N "(cached) $ECHO_C" >&6
102063 ac_ext=cc
102064 ac_cpp='$CXXCPP $CPPFLAGS'
102065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102069 cat >conftest.$ac_ext <<_ACEOF
102070 /* confdefs.h. */
102071 _ACEOF
102072 cat confdefs.h >>conftest.$ac_ext
102073 cat >>conftest.$ac_ext <<_ACEOF
102074 /* end confdefs.h. */
102075 #include <math.h>
102076 #ifdef HAVE_IEEEFP_H
102077 #include <ieeefp.h>
102078 #endif
102081 main ()
102083 _log10l(0);
102085 return 0;
102087 _ACEOF
102088 rm -f conftest.$ac_objext
102089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102090 (eval $ac_compile) 2>conftest.er1
102091 ac_status=$?
102092 grep -v '^ *+' conftest.er1 >conftest.err
102093 rm -f conftest.er1
102094 cat conftest.err >&5
102095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102096 (exit $ac_status); } &&
102097 { ac_try='test -z "$ac_cxx_werror_flag"
102098 || test ! -s conftest.err'
102099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102100 (eval $ac_try) 2>&5
102101 ac_status=$?
102102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102103 (exit $ac_status); }; } &&
102104 { ac_try='test -s conftest.$ac_objext'
102105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102106 (eval $ac_try) 2>&5
102107 ac_status=$?
102108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102109 (exit $ac_status); }; }; then
102110 glibcxx_cv_func__log10l_use=yes
102112 echo "$as_me: failed program was:" >&5
102113 sed 's/^/| /' conftest.$ac_ext >&5
102115 glibcxx_cv_func__log10l_use=no
102117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102118 ac_ext=c
102119 ac_cpp='$CPP $CPPFLAGS'
102120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102128 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
102129 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
102131 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
102133 for ac_func in _log10l
102135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102136 echo "$as_me:$LINENO: checking for $ac_func" >&5
102137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102138 if eval "test \"\${$as_ac_var+set}\" = set"; then
102139 echo $ECHO_N "(cached) $ECHO_C" >&6
102141 if test x$gcc_no_link = xyes; then
102142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102144 { (exit 1); exit 1; }; }
102146 cat >conftest.$ac_ext <<_ACEOF
102147 /* confdefs.h. */
102148 _ACEOF
102149 cat confdefs.h >>conftest.$ac_ext
102150 cat >>conftest.$ac_ext <<_ACEOF
102151 /* end confdefs.h. */
102152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102154 #define $ac_func innocuous_$ac_func
102156 /* System header to define __stub macros and hopefully few prototypes,
102157 which can conflict with char $ac_func (); below.
102158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102159 <limits.h> exists even on freestanding compilers. */
102161 #ifdef __STDC__
102162 # include <limits.h>
102163 #else
102164 # include <assert.h>
102165 #endif
102167 #undef $ac_func
102169 /* Override any gcc2 internal prototype to avoid an error. */
102170 #ifdef __cplusplus
102171 extern "C"
102173 #endif
102174 /* We use char because int might match the return type of a gcc2
102175 builtin and then its argument prototype would still apply. */
102176 char $ac_func ();
102177 /* The GNU C library defines this for functions which it implements
102178 to always fail with ENOSYS. Some functions are actually named
102179 something starting with __ and the normal name is an alias. */
102180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102181 choke me
102182 #else
102183 char (*f) () = $ac_func;
102184 #endif
102185 #ifdef __cplusplus
102187 #endif
102190 main ()
102192 return f != $ac_func;
102194 return 0;
102196 _ACEOF
102197 rm -f conftest.$ac_objext conftest$ac_exeext
102198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102199 (eval $ac_link) 2>conftest.er1
102200 ac_status=$?
102201 grep -v '^ *+' conftest.er1 >conftest.err
102202 rm -f conftest.er1
102203 cat conftest.err >&5
102204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102205 (exit $ac_status); } &&
102206 { ac_try='test -z "$ac_c_werror_flag"
102207 || test ! -s conftest.err'
102208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102209 (eval $ac_try) 2>&5
102210 ac_status=$?
102211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102212 (exit $ac_status); }; } &&
102213 { ac_try='test -s conftest$ac_exeext'
102214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102215 (eval $ac_try) 2>&5
102216 ac_status=$?
102217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102218 (exit $ac_status); }; }; then
102219 eval "$as_ac_var=yes"
102221 echo "$as_me: failed program was:" >&5
102222 sed 's/^/| /' conftest.$ac_ext >&5
102224 eval "$as_ac_var=no"
102226 rm -f conftest.err conftest.$ac_objext \
102227 conftest$ac_exeext conftest.$ac_ext
102229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102231 if test `eval echo '${'$as_ac_var'}'` = yes; then
102232 cat >>confdefs.h <<_ACEOF
102233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102234 _ACEOF
102247 echo "$as_me:$LINENO: checking for modfl declaration" >&5
102248 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
102249 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
102250 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
102251 echo $ECHO_N "(cached) $ECHO_C" >&6
102256 ac_ext=cc
102257 ac_cpp='$CXXCPP $CPPFLAGS'
102258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102262 cat >conftest.$ac_ext <<_ACEOF
102263 /* confdefs.h. */
102264 _ACEOF
102265 cat confdefs.h >>conftest.$ac_ext
102266 cat >>conftest.$ac_ext <<_ACEOF
102267 /* end confdefs.h. */
102268 #include <math.h>
102270 main ()
102272 modfl(0, 0);
102274 return 0;
102276 _ACEOF
102277 rm -f conftest.$ac_objext
102278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102279 (eval $ac_compile) 2>conftest.er1
102280 ac_status=$?
102281 grep -v '^ *+' conftest.er1 >conftest.err
102282 rm -f conftest.er1
102283 cat conftest.err >&5
102284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102285 (exit $ac_status); } &&
102286 { ac_try='test -z "$ac_cxx_werror_flag"
102287 || test ! -s conftest.err'
102288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102289 (eval $ac_try) 2>&5
102290 ac_status=$?
102291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102292 (exit $ac_status); }; } &&
102293 { ac_try='test -s conftest.$ac_objext'
102294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102295 (eval $ac_try) 2>&5
102296 ac_status=$?
102297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102298 (exit $ac_status); }; }; then
102299 glibcxx_cv_func_modfl_use=yes
102301 echo "$as_me: failed program was:" >&5
102302 sed 's/^/| /' conftest.$ac_ext >&5
102304 glibcxx_cv_func_modfl_use=no
102306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102307 ac_ext=c
102308 ac_cpp='$CPP $CPPFLAGS'
102309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102317 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
102318 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
102320 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
102322 for ac_func in modfl
102324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102325 echo "$as_me:$LINENO: checking for $ac_func" >&5
102326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102327 if eval "test \"\${$as_ac_var+set}\" = set"; then
102328 echo $ECHO_N "(cached) $ECHO_C" >&6
102330 if test x$gcc_no_link = xyes; then
102331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102333 { (exit 1); exit 1; }; }
102335 cat >conftest.$ac_ext <<_ACEOF
102336 /* confdefs.h. */
102337 _ACEOF
102338 cat confdefs.h >>conftest.$ac_ext
102339 cat >>conftest.$ac_ext <<_ACEOF
102340 /* end confdefs.h. */
102341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102343 #define $ac_func innocuous_$ac_func
102345 /* System header to define __stub macros and hopefully few prototypes,
102346 which can conflict with char $ac_func (); below.
102347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102348 <limits.h> exists even on freestanding compilers. */
102350 #ifdef __STDC__
102351 # include <limits.h>
102352 #else
102353 # include <assert.h>
102354 #endif
102356 #undef $ac_func
102358 /* Override any gcc2 internal prototype to avoid an error. */
102359 #ifdef __cplusplus
102360 extern "C"
102362 #endif
102363 /* We use char because int might match the return type of a gcc2
102364 builtin and then its argument prototype would still apply. */
102365 char $ac_func ();
102366 /* The GNU C library defines this for functions which it implements
102367 to always fail with ENOSYS. Some functions are actually named
102368 something starting with __ and the normal name is an alias. */
102369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102370 choke me
102371 #else
102372 char (*f) () = $ac_func;
102373 #endif
102374 #ifdef __cplusplus
102376 #endif
102379 main ()
102381 return f != $ac_func;
102383 return 0;
102385 _ACEOF
102386 rm -f conftest.$ac_objext conftest$ac_exeext
102387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102388 (eval $ac_link) 2>conftest.er1
102389 ac_status=$?
102390 grep -v '^ *+' conftest.er1 >conftest.err
102391 rm -f conftest.er1
102392 cat conftest.err >&5
102393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102394 (exit $ac_status); } &&
102395 { ac_try='test -z "$ac_c_werror_flag"
102396 || test ! -s conftest.err'
102397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102398 (eval $ac_try) 2>&5
102399 ac_status=$?
102400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102401 (exit $ac_status); }; } &&
102402 { ac_try='test -s conftest$ac_exeext'
102403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102404 (eval $ac_try) 2>&5
102405 ac_status=$?
102406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102407 (exit $ac_status); }; }; then
102408 eval "$as_ac_var=yes"
102410 echo "$as_me: failed program was:" >&5
102411 sed 's/^/| /' conftest.$ac_ext >&5
102413 eval "$as_ac_var=no"
102415 rm -f conftest.err conftest.$ac_objext \
102416 conftest$ac_exeext conftest.$ac_ext
102418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102420 if test `eval echo '${'$as_ac_var'}'` = yes; then
102421 cat >>confdefs.h <<_ACEOF
102422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102423 _ACEOF
102430 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
102431 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
102432 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
102433 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
102434 echo $ECHO_N "(cached) $ECHO_C" >&6
102439 ac_ext=cc
102440 ac_cpp='$CXXCPP $CPPFLAGS'
102441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102445 cat >conftest.$ac_ext <<_ACEOF
102446 /* confdefs.h. */
102447 _ACEOF
102448 cat confdefs.h >>conftest.$ac_ext
102449 cat >>conftest.$ac_ext <<_ACEOF
102450 /* end confdefs.h. */
102451 #include <math.h>
102453 main ()
102455 _modfl(0, 0);
102457 return 0;
102459 _ACEOF
102460 rm -f conftest.$ac_objext
102461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102462 (eval $ac_compile) 2>conftest.er1
102463 ac_status=$?
102464 grep -v '^ *+' conftest.er1 >conftest.err
102465 rm -f conftest.er1
102466 cat conftest.err >&5
102467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102468 (exit $ac_status); } &&
102469 { ac_try='test -z "$ac_cxx_werror_flag"
102470 || test ! -s conftest.err'
102471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102472 (eval $ac_try) 2>&5
102473 ac_status=$?
102474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102475 (exit $ac_status); }; } &&
102476 { ac_try='test -s conftest.$ac_objext'
102477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102478 (eval $ac_try) 2>&5
102479 ac_status=$?
102480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102481 (exit $ac_status); }; }; then
102482 glibcxx_cv_func__modfl_use=yes
102484 echo "$as_me: failed program was:" >&5
102485 sed 's/^/| /' conftest.$ac_ext >&5
102487 glibcxx_cv_func__modfl_use=no
102489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102490 ac_ext=c
102491 ac_cpp='$CPP $CPPFLAGS'
102492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102500 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
102501 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
102503 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
102505 for ac_func in _modfl
102507 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102508 echo "$as_me:$LINENO: checking for $ac_func" >&5
102509 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102510 if eval "test \"\${$as_ac_var+set}\" = set"; then
102511 echo $ECHO_N "(cached) $ECHO_C" >&6
102513 if test x$gcc_no_link = xyes; then
102514 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102515 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102516 { (exit 1); exit 1; }; }
102518 cat >conftest.$ac_ext <<_ACEOF
102519 /* confdefs.h. */
102520 _ACEOF
102521 cat confdefs.h >>conftest.$ac_ext
102522 cat >>conftest.$ac_ext <<_ACEOF
102523 /* end confdefs.h. */
102524 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102525 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102526 #define $ac_func innocuous_$ac_func
102528 /* System header to define __stub macros and hopefully few prototypes,
102529 which can conflict with char $ac_func (); below.
102530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102531 <limits.h> exists even on freestanding compilers. */
102533 #ifdef __STDC__
102534 # include <limits.h>
102535 #else
102536 # include <assert.h>
102537 #endif
102539 #undef $ac_func
102541 /* Override any gcc2 internal prototype to avoid an error. */
102542 #ifdef __cplusplus
102543 extern "C"
102545 #endif
102546 /* We use char because int might match the return type of a gcc2
102547 builtin and then its argument prototype would still apply. */
102548 char $ac_func ();
102549 /* The GNU C library defines this for functions which it implements
102550 to always fail with ENOSYS. Some functions are actually named
102551 something starting with __ and the normal name is an alias. */
102552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102553 choke me
102554 #else
102555 char (*f) () = $ac_func;
102556 #endif
102557 #ifdef __cplusplus
102559 #endif
102562 main ()
102564 return f != $ac_func;
102566 return 0;
102568 _ACEOF
102569 rm -f conftest.$ac_objext conftest$ac_exeext
102570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102571 (eval $ac_link) 2>conftest.er1
102572 ac_status=$?
102573 grep -v '^ *+' conftest.er1 >conftest.err
102574 rm -f conftest.er1
102575 cat conftest.err >&5
102576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102577 (exit $ac_status); } &&
102578 { ac_try='test -z "$ac_c_werror_flag"
102579 || test ! -s conftest.err'
102580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102581 (eval $ac_try) 2>&5
102582 ac_status=$?
102583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102584 (exit $ac_status); }; } &&
102585 { ac_try='test -s conftest$ac_exeext'
102586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102587 (eval $ac_try) 2>&5
102588 ac_status=$?
102589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102590 (exit $ac_status); }; }; then
102591 eval "$as_ac_var=yes"
102593 echo "$as_me: failed program was:" >&5
102594 sed 's/^/| /' conftest.$ac_ext >&5
102596 eval "$as_ac_var=no"
102598 rm -f conftest.err conftest.$ac_objext \
102599 conftest$ac_exeext conftest.$ac_ext
102601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102603 if test `eval echo '${'$as_ac_var'}'` = yes; then
102604 cat >>confdefs.h <<_ACEOF
102605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102606 _ACEOF
102619 echo "$as_me:$LINENO: checking for powl declaration" >&5
102620 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
102621 if test x${glibcxx_cv_func_powl_use+set} != xset; then
102622 if test "${glibcxx_cv_func_powl_use+set}" = set; then
102623 echo $ECHO_N "(cached) $ECHO_C" >&6
102628 ac_ext=cc
102629 ac_cpp='$CXXCPP $CPPFLAGS'
102630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102634 cat >conftest.$ac_ext <<_ACEOF
102635 /* confdefs.h. */
102636 _ACEOF
102637 cat confdefs.h >>conftest.$ac_ext
102638 cat >>conftest.$ac_ext <<_ACEOF
102639 /* end confdefs.h. */
102640 #include <math.h>
102642 main ()
102644 powl(0, 0);
102646 return 0;
102648 _ACEOF
102649 rm -f conftest.$ac_objext
102650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102651 (eval $ac_compile) 2>conftest.er1
102652 ac_status=$?
102653 grep -v '^ *+' conftest.er1 >conftest.err
102654 rm -f conftest.er1
102655 cat conftest.err >&5
102656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102657 (exit $ac_status); } &&
102658 { ac_try='test -z "$ac_cxx_werror_flag"
102659 || test ! -s conftest.err'
102660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102661 (eval $ac_try) 2>&5
102662 ac_status=$?
102663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102664 (exit $ac_status); }; } &&
102665 { ac_try='test -s conftest.$ac_objext'
102666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102667 (eval $ac_try) 2>&5
102668 ac_status=$?
102669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102670 (exit $ac_status); }; }; then
102671 glibcxx_cv_func_powl_use=yes
102673 echo "$as_me: failed program was:" >&5
102674 sed 's/^/| /' conftest.$ac_ext >&5
102676 glibcxx_cv_func_powl_use=no
102678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102679 ac_ext=c
102680 ac_cpp='$CPP $CPPFLAGS'
102681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102689 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
102690 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
102692 if test x$glibcxx_cv_func_powl_use = x"yes"; then
102694 for ac_func in powl
102696 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102697 echo "$as_me:$LINENO: checking for $ac_func" >&5
102698 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102699 if eval "test \"\${$as_ac_var+set}\" = set"; then
102700 echo $ECHO_N "(cached) $ECHO_C" >&6
102702 if test x$gcc_no_link = xyes; then
102703 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102704 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102705 { (exit 1); exit 1; }; }
102707 cat >conftest.$ac_ext <<_ACEOF
102708 /* confdefs.h. */
102709 _ACEOF
102710 cat confdefs.h >>conftest.$ac_ext
102711 cat >>conftest.$ac_ext <<_ACEOF
102712 /* end confdefs.h. */
102713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102715 #define $ac_func innocuous_$ac_func
102717 /* System header to define __stub macros and hopefully few prototypes,
102718 which can conflict with char $ac_func (); below.
102719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102720 <limits.h> exists even on freestanding compilers. */
102722 #ifdef __STDC__
102723 # include <limits.h>
102724 #else
102725 # include <assert.h>
102726 #endif
102728 #undef $ac_func
102730 /* Override any gcc2 internal prototype to avoid an error. */
102731 #ifdef __cplusplus
102732 extern "C"
102734 #endif
102735 /* We use char because int might match the return type of a gcc2
102736 builtin and then its argument prototype would still apply. */
102737 char $ac_func ();
102738 /* The GNU C library defines this for functions which it implements
102739 to always fail with ENOSYS. Some functions are actually named
102740 something starting with __ and the normal name is an alias. */
102741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102742 choke me
102743 #else
102744 char (*f) () = $ac_func;
102745 #endif
102746 #ifdef __cplusplus
102748 #endif
102751 main ()
102753 return f != $ac_func;
102755 return 0;
102757 _ACEOF
102758 rm -f conftest.$ac_objext conftest$ac_exeext
102759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102760 (eval $ac_link) 2>conftest.er1
102761 ac_status=$?
102762 grep -v '^ *+' conftest.er1 >conftest.err
102763 rm -f conftest.er1
102764 cat conftest.err >&5
102765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102766 (exit $ac_status); } &&
102767 { ac_try='test -z "$ac_c_werror_flag"
102768 || test ! -s conftest.err'
102769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102770 (eval $ac_try) 2>&5
102771 ac_status=$?
102772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102773 (exit $ac_status); }; } &&
102774 { ac_try='test -s conftest$ac_exeext'
102775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102776 (eval $ac_try) 2>&5
102777 ac_status=$?
102778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102779 (exit $ac_status); }; }; then
102780 eval "$as_ac_var=yes"
102782 echo "$as_me: failed program was:" >&5
102783 sed 's/^/| /' conftest.$ac_ext >&5
102785 eval "$as_ac_var=no"
102787 rm -f conftest.err conftest.$ac_objext \
102788 conftest$ac_exeext conftest.$ac_ext
102790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102791 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102792 if test `eval echo '${'$as_ac_var'}'` = yes; then
102793 cat >>confdefs.h <<_ACEOF
102794 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102795 _ACEOF
102802 echo "$as_me:$LINENO: checking for _powl declaration" >&5
102803 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
102804 if test x${glibcxx_cv_func__powl_use+set} != xset; then
102805 if test "${glibcxx_cv_func__powl_use+set}" = set; then
102806 echo $ECHO_N "(cached) $ECHO_C" >&6
102811 ac_ext=cc
102812 ac_cpp='$CXXCPP $CPPFLAGS'
102813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102817 cat >conftest.$ac_ext <<_ACEOF
102818 /* confdefs.h. */
102819 _ACEOF
102820 cat confdefs.h >>conftest.$ac_ext
102821 cat >>conftest.$ac_ext <<_ACEOF
102822 /* end confdefs.h. */
102823 #include <math.h>
102825 main ()
102827 _powl(0, 0);
102829 return 0;
102831 _ACEOF
102832 rm -f conftest.$ac_objext
102833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102834 (eval $ac_compile) 2>conftest.er1
102835 ac_status=$?
102836 grep -v '^ *+' conftest.er1 >conftest.err
102837 rm -f conftest.er1
102838 cat conftest.err >&5
102839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102840 (exit $ac_status); } &&
102841 { ac_try='test -z "$ac_cxx_werror_flag"
102842 || test ! -s conftest.err'
102843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102844 (eval $ac_try) 2>&5
102845 ac_status=$?
102846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102847 (exit $ac_status); }; } &&
102848 { ac_try='test -s conftest.$ac_objext'
102849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102850 (eval $ac_try) 2>&5
102851 ac_status=$?
102852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102853 (exit $ac_status); }; }; then
102854 glibcxx_cv_func__powl_use=yes
102856 echo "$as_me: failed program was:" >&5
102857 sed 's/^/| /' conftest.$ac_ext >&5
102859 glibcxx_cv_func__powl_use=no
102861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102862 ac_ext=c
102863 ac_cpp='$CPP $CPPFLAGS'
102864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102872 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
102873 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
102875 if test x$glibcxx_cv_func__powl_use = x"yes"; then
102877 for ac_func in _powl
102879 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102880 echo "$as_me:$LINENO: checking for $ac_func" >&5
102881 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102882 if eval "test \"\${$as_ac_var+set}\" = set"; then
102883 echo $ECHO_N "(cached) $ECHO_C" >&6
102885 if test x$gcc_no_link = xyes; then
102886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102888 { (exit 1); exit 1; }; }
102890 cat >conftest.$ac_ext <<_ACEOF
102891 /* confdefs.h. */
102892 _ACEOF
102893 cat confdefs.h >>conftest.$ac_ext
102894 cat >>conftest.$ac_ext <<_ACEOF
102895 /* end confdefs.h. */
102896 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102897 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102898 #define $ac_func innocuous_$ac_func
102900 /* System header to define __stub macros and hopefully few prototypes,
102901 which can conflict with char $ac_func (); below.
102902 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102903 <limits.h> exists even on freestanding compilers. */
102905 #ifdef __STDC__
102906 # include <limits.h>
102907 #else
102908 # include <assert.h>
102909 #endif
102911 #undef $ac_func
102913 /* Override any gcc2 internal prototype to avoid an error. */
102914 #ifdef __cplusplus
102915 extern "C"
102917 #endif
102918 /* We use char because int might match the return type of a gcc2
102919 builtin and then its argument prototype would still apply. */
102920 char $ac_func ();
102921 /* The GNU C library defines this for functions which it implements
102922 to always fail with ENOSYS. Some functions are actually named
102923 something starting with __ and the normal name is an alias. */
102924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102925 choke me
102926 #else
102927 char (*f) () = $ac_func;
102928 #endif
102929 #ifdef __cplusplus
102931 #endif
102934 main ()
102936 return f != $ac_func;
102938 return 0;
102940 _ACEOF
102941 rm -f conftest.$ac_objext conftest$ac_exeext
102942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102943 (eval $ac_link) 2>conftest.er1
102944 ac_status=$?
102945 grep -v '^ *+' conftest.er1 >conftest.err
102946 rm -f conftest.er1
102947 cat conftest.err >&5
102948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102949 (exit $ac_status); } &&
102950 { ac_try='test -z "$ac_c_werror_flag"
102951 || test ! -s conftest.err'
102952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102953 (eval $ac_try) 2>&5
102954 ac_status=$?
102955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102956 (exit $ac_status); }; } &&
102957 { ac_try='test -s conftest$ac_exeext'
102958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102959 (eval $ac_try) 2>&5
102960 ac_status=$?
102961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102962 (exit $ac_status); }; }; then
102963 eval "$as_ac_var=yes"
102965 echo "$as_me: failed program was:" >&5
102966 sed 's/^/| /' conftest.$ac_ext >&5
102968 eval "$as_ac_var=no"
102970 rm -f conftest.err conftest.$ac_objext \
102971 conftest$ac_exeext conftest.$ac_ext
102973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102974 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102975 if test `eval echo '${'$as_ac_var'}'` = yes; then
102976 cat >>confdefs.h <<_ACEOF
102977 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102978 _ACEOF
102991 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
102992 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
102993 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
102994 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
102995 echo $ECHO_N "(cached) $ECHO_C" >&6
103000 ac_ext=cc
103001 ac_cpp='$CXXCPP $CPPFLAGS'
103002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103006 cat >conftest.$ac_ext <<_ACEOF
103007 /* confdefs.h. */
103008 _ACEOF
103009 cat confdefs.h >>conftest.$ac_ext
103010 cat >>conftest.$ac_ext <<_ACEOF
103011 /* end confdefs.h. */
103012 #include <math.h>
103013 #ifdef HAVE_IEEEFP_H
103014 #include <ieeefp.h>
103015 #endif
103018 main ()
103020 sqrtl(0);
103022 return 0;
103024 _ACEOF
103025 rm -f conftest.$ac_objext
103026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103027 (eval $ac_compile) 2>conftest.er1
103028 ac_status=$?
103029 grep -v '^ *+' conftest.er1 >conftest.err
103030 rm -f conftest.er1
103031 cat conftest.err >&5
103032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103033 (exit $ac_status); } &&
103034 { ac_try='test -z "$ac_cxx_werror_flag"
103035 || test ! -s conftest.err'
103036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103037 (eval $ac_try) 2>&5
103038 ac_status=$?
103039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103040 (exit $ac_status); }; } &&
103041 { ac_try='test -s conftest.$ac_objext'
103042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103043 (eval $ac_try) 2>&5
103044 ac_status=$?
103045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103046 (exit $ac_status); }; }; then
103047 glibcxx_cv_func_sqrtl_use=yes
103049 echo "$as_me: failed program was:" >&5
103050 sed 's/^/| /' conftest.$ac_ext >&5
103052 glibcxx_cv_func_sqrtl_use=no
103054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103055 ac_ext=c
103056 ac_cpp='$CPP $CPPFLAGS'
103057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103065 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
103066 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
103068 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
103070 for ac_func in sqrtl
103072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103073 echo "$as_me:$LINENO: checking for $ac_func" >&5
103074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103075 if eval "test \"\${$as_ac_var+set}\" = set"; then
103076 echo $ECHO_N "(cached) $ECHO_C" >&6
103078 if test x$gcc_no_link = xyes; then
103079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103081 { (exit 1); exit 1; }; }
103083 cat >conftest.$ac_ext <<_ACEOF
103084 /* confdefs.h. */
103085 _ACEOF
103086 cat confdefs.h >>conftest.$ac_ext
103087 cat >>conftest.$ac_ext <<_ACEOF
103088 /* end confdefs.h. */
103089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103091 #define $ac_func innocuous_$ac_func
103093 /* System header to define __stub macros and hopefully few prototypes,
103094 which can conflict with char $ac_func (); below.
103095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103096 <limits.h> exists even on freestanding compilers. */
103098 #ifdef __STDC__
103099 # include <limits.h>
103100 #else
103101 # include <assert.h>
103102 #endif
103104 #undef $ac_func
103106 /* Override any gcc2 internal prototype to avoid an error. */
103107 #ifdef __cplusplus
103108 extern "C"
103110 #endif
103111 /* We use char because int might match the return type of a gcc2
103112 builtin and then its argument prototype would still apply. */
103113 char $ac_func ();
103114 /* The GNU C library defines this for functions which it implements
103115 to always fail with ENOSYS. Some functions are actually named
103116 something starting with __ and the normal name is an alias. */
103117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103118 choke me
103119 #else
103120 char (*f) () = $ac_func;
103121 #endif
103122 #ifdef __cplusplus
103124 #endif
103127 main ()
103129 return f != $ac_func;
103131 return 0;
103133 _ACEOF
103134 rm -f conftest.$ac_objext conftest$ac_exeext
103135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103136 (eval $ac_link) 2>conftest.er1
103137 ac_status=$?
103138 grep -v '^ *+' conftest.er1 >conftest.err
103139 rm -f conftest.er1
103140 cat conftest.err >&5
103141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103142 (exit $ac_status); } &&
103143 { ac_try='test -z "$ac_c_werror_flag"
103144 || test ! -s conftest.err'
103145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103146 (eval $ac_try) 2>&5
103147 ac_status=$?
103148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103149 (exit $ac_status); }; } &&
103150 { ac_try='test -s conftest$ac_exeext'
103151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103152 (eval $ac_try) 2>&5
103153 ac_status=$?
103154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103155 (exit $ac_status); }; }; then
103156 eval "$as_ac_var=yes"
103158 echo "$as_me: failed program was:" >&5
103159 sed 's/^/| /' conftest.$ac_ext >&5
103161 eval "$as_ac_var=no"
103163 rm -f conftest.err conftest.$ac_objext \
103164 conftest$ac_exeext conftest.$ac_ext
103166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103168 if test `eval echo '${'$as_ac_var'}'` = yes; then
103169 cat >>confdefs.h <<_ACEOF
103170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103171 _ACEOF
103178 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
103179 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
103180 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
103181 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
103182 echo $ECHO_N "(cached) $ECHO_C" >&6
103187 ac_ext=cc
103188 ac_cpp='$CXXCPP $CPPFLAGS'
103189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103193 cat >conftest.$ac_ext <<_ACEOF
103194 /* confdefs.h. */
103195 _ACEOF
103196 cat confdefs.h >>conftest.$ac_ext
103197 cat >>conftest.$ac_ext <<_ACEOF
103198 /* end confdefs.h. */
103199 #include <math.h>
103200 #ifdef HAVE_IEEEFP_H
103201 #include <ieeefp.h>
103202 #endif
103205 main ()
103207 _sqrtl(0);
103209 return 0;
103211 _ACEOF
103212 rm -f conftest.$ac_objext
103213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103214 (eval $ac_compile) 2>conftest.er1
103215 ac_status=$?
103216 grep -v '^ *+' conftest.er1 >conftest.err
103217 rm -f conftest.er1
103218 cat conftest.err >&5
103219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103220 (exit $ac_status); } &&
103221 { ac_try='test -z "$ac_cxx_werror_flag"
103222 || test ! -s conftest.err'
103223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103224 (eval $ac_try) 2>&5
103225 ac_status=$?
103226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103227 (exit $ac_status); }; } &&
103228 { ac_try='test -s conftest.$ac_objext'
103229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103230 (eval $ac_try) 2>&5
103231 ac_status=$?
103232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103233 (exit $ac_status); }; }; then
103234 glibcxx_cv_func__sqrtl_use=yes
103236 echo "$as_me: failed program was:" >&5
103237 sed 's/^/| /' conftest.$ac_ext >&5
103239 glibcxx_cv_func__sqrtl_use=no
103241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103242 ac_ext=c
103243 ac_cpp='$CPP $CPPFLAGS'
103244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103252 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
103253 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
103255 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
103257 for ac_func in _sqrtl
103259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103260 echo "$as_me:$LINENO: checking for $ac_func" >&5
103261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103262 if eval "test \"\${$as_ac_var+set}\" = set"; then
103263 echo $ECHO_N "(cached) $ECHO_C" >&6
103265 if test x$gcc_no_link = xyes; then
103266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103268 { (exit 1); exit 1; }; }
103270 cat >conftest.$ac_ext <<_ACEOF
103271 /* confdefs.h. */
103272 _ACEOF
103273 cat confdefs.h >>conftest.$ac_ext
103274 cat >>conftest.$ac_ext <<_ACEOF
103275 /* end confdefs.h. */
103276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103278 #define $ac_func innocuous_$ac_func
103280 /* System header to define __stub macros and hopefully few prototypes,
103281 which can conflict with char $ac_func (); below.
103282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103283 <limits.h> exists even on freestanding compilers. */
103285 #ifdef __STDC__
103286 # include <limits.h>
103287 #else
103288 # include <assert.h>
103289 #endif
103291 #undef $ac_func
103293 /* Override any gcc2 internal prototype to avoid an error. */
103294 #ifdef __cplusplus
103295 extern "C"
103297 #endif
103298 /* We use char because int might match the return type of a gcc2
103299 builtin and then its argument prototype would still apply. */
103300 char $ac_func ();
103301 /* The GNU C library defines this for functions which it implements
103302 to always fail with ENOSYS. Some functions are actually named
103303 something starting with __ and the normal name is an alias. */
103304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103305 choke me
103306 #else
103307 char (*f) () = $ac_func;
103308 #endif
103309 #ifdef __cplusplus
103311 #endif
103314 main ()
103316 return f != $ac_func;
103318 return 0;
103320 _ACEOF
103321 rm -f conftest.$ac_objext conftest$ac_exeext
103322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103323 (eval $ac_link) 2>conftest.er1
103324 ac_status=$?
103325 grep -v '^ *+' conftest.er1 >conftest.err
103326 rm -f conftest.er1
103327 cat conftest.err >&5
103328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103329 (exit $ac_status); } &&
103330 { ac_try='test -z "$ac_c_werror_flag"
103331 || test ! -s conftest.err'
103332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103333 (eval $ac_try) 2>&5
103334 ac_status=$?
103335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103336 (exit $ac_status); }; } &&
103337 { ac_try='test -s conftest$ac_exeext'
103338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103339 (eval $ac_try) 2>&5
103340 ac_status=$?
103341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103342 (exit $ac_status); }; }; then
103343 eval "$as_ac_var=yes"
103345 echo "$as_me: failed program was:" >&5
103346 sed 's/^/| /' conftest.$ac_ext >&5
103348 eval "$as_ac_var=no"
103350 rm -f conftest.err conftest.$ac_objext \
103351 conftest$ac_exeext conftest.$ac_ext
103353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103355 if test `eval echo '${'$as_ac_var'}'` = yes; then
103356 cat >>confdefs.h <<_ACEOF
103357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103358 _ACEOF
103371 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
103372 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
103373 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
103374 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
103375 echo $ECHO_N "(cached) $ECHO_C" >&6
103380 ac_ext=cc
103381 ac_cpp='$CXXCPP $CPPFLAGS'
103382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103386 cat >conftest.$ac_ext <<_ACEOF
103387 /* confdefs.h. */
103388 _ACEOF
103389 cat confdefs.h >>conftest.$ac_ext
103390 cat >>conftest.$ac_ext <<_ACEOF
103391 /* end confdefs.h. */
103392 #include <math.h>
103394 main ()
103396 sincosl(0, 0, 0);
103398 return 0;
103400 _ACEOF
103401 rm -f conftest.$ac_objext
103402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103403 (eval $ac_compile) 2>conftest.er1
103404 ac_status=$?
103405 grep -v '^ *+' conftest.er1 >conftest.err
103406 rm -f conftest.er1
103407 cat conftest.err >&5
103408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103409 (exit $ac_status); } &&
103410 { ac_try='test -z "$ac_cxx_werror_flag"
103411 || test ! -s conftest.err'
103412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103413 (eval $ac_try) 2>&5
103414 ac_status=$?
103415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103416 (exit $ac_status); }; } &&
103417 { ac_try='test -s conftest.$ac_objext'
103418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103419 (eval $ac_try) 2>&5
103420 ac_status=$?
103421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103422 (exit $ac_status); }; }; then
103423 glibcxx_cv_func_sincosl_use=yes
103425 echo "$as_me: failed program was:" >&5
103426 sed 's/^/| /' conftest.$ac_ext >&5
103428 glibcxx_cv_func_sincosl_use=no
103430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103431 ac_ext=c
103432 ac_cpp='$CPP $CPPFLAGS'
103433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103441 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
103442 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
103444 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
103446 for ac_func in sincosl
103448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103449 echo "$as_me:$LINENO: checking for $ac_func" >&5
103450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103451 if eval "test \"\${$as_ac_var+set}\" = set"; then
103452 echo $ECHO_N "(cached) $ECHO_C" >&6
103454 if test x$gcc_no_link = xyes; then
103455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103457 { (exit 1); exit 1; }; }
103459 cat >conftest.$ac_ext <<_ACEOF
103460 /* confdefs.h. */
103461 _ACEOF
103462 cat confdefs.h >>conftest.$ac_ext
103463 cat >>conftest.$ac_ext <<_ACEOF
103464 /* end confdefs.h. */
103465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103467 #define $ac_func innocuous_$ac_func
103469 /* System header to define __stub macros and hopefully few prototypes,
103470 which can conflict with char $ac_func (); below.
103471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103472 <limits.h> exists even on freestanding compilers. */
103474 #ifdef __STDC__
103475 # include <limits.h>
103476 #else
103477 # include <assert.h>
103478 #endif
103480 #undef $ac_func
103482 /* Override any gcc2 internal prototype to avoid an error. */
103483 #ifdef __cplusplus
103484 extern "C"
103486 #endif
103487 /* We use char because int might match the return type of a gcc2
103488 builtin and then its argument prototype would still apply. */
103489 char $ac_func ();
103490 /* The GNU C library defines this for functions which it implements
103491 to always fail with ENOSYS. Some functions are actually named
103492 something starting with __ and the normal name is an alias. */
103493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103494 choke me
103495 #else
103496 char (*f) () = $ac_func;
103497 #endif
103498 #ifdef __cplusplus
103500 #endif
103503 main ()
103505 return f != $ac_func;
103507 return 0;
103509 _ACEOF
103510 rm -f conftest.$ac_objext conftest$ac_exeext
103511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103512 (eval $ac_link) 2>conftest.er1
103513 ac_status=$?
103514 grep -v '^ *+' conftest.er1 >conftest.err
103515 rm -f conftest.er1
103516 cat conftest.err >&5
103517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103518 (exit $ac_status); } &&
103519 { ac_try='test -z "$ac_c_werror_flag"
103520 || test ! -s conftest.err'
103521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103522 (eval $ac_try) 2>&5
103523 ac_status=$?
103524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103525 (exit $ac_status); }; } &&
103526 { ac_try='test -s conftest$ac_exeext'
103527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103528 (eval $ac_try) 2>&5
103529 ac_status=$?
103530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103531 (exit $ac_status); }; }; then
103532 eval "$as_ac_var=yes"
103534 echo "$as_me: failed program was:" >&5
103535 sed 's/^/| /' conftest.$ac_ext >&5
103537 eval "$as_ac_var=no"
103539 rm -f conftest.err conftest.$ac_objext \
103540 conftest$ac_exeext conftest.$ac_ext
103542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103544 if test `eval echo '${'$as_ac_var'}'` = yes; then
103545 cat >>confdefs.h <<_ACEOF
103546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103547 _ACEOF
103554 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
103555 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
103556 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
103557 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
103558 echo $ECHO_N "(cached) $ECHO_C" >&6
103563 ac_ext=cc
103564 ac_cpp='$CXXCPP $CPPFLAGS'
103565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103569 cat >conftest.$ac_ext <<_ACEOF
103570 /* confdefs.h. */
103571 _ACEOF
103572 cat confdefs.h >>conftest.$ac_ext
103573 cat >>conftest.$ac_ext <<_ACEOF
103574 /* end confdefs.h. */
103575 #include <math.h>
103577 main ()
103579 _sincosl(0, 0, 0);
103581 return 0;
103583 _ACEOF
103584 rm -f conftest.$ac_objext
103585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103586 (eval $ac_compile) 2>conftest.er1
103587 ac_status=$?
103588 grep -v '^ *+' conftest.er1 >conftest.err
103589 rm -f conftest.er1
103590 cat conftest.err >&5
103591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103592 (exit $ac_status); } &&
103593 { ac_try='test -z "$ac_cxx_werror_flag"
103594 || test ! -s conftest.err'
103595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103596 (eval $ac_try) 2>&5
103597 ac_status=$?
103598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103599 (exit $ac_status); }; } &&
103600 { ac_try='test -s conftest.$ac_objext'
103601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103602 (eval $ac_try) 2>&5
103603 ac_status=$?
103604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103605 (exit $ac_status); }; }; then
103606 glibcxx_cv_func__sincosl_use=yes
103608 echo "$as_me: failed program was:" >&5
103609 sed 's/^/| /' conftest.$ac_ext >&5
103611 glibcxx_cv_func__sincosl_use=no
103613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103614 ac_ext=c
103615 ac_cpp='$CPP $CPPFLAGS'
103616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103624 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
103625 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
103627 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
103629 for ac_func in _sincosl
103631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103632 echo "$as_me:$LINENO: checking for $ac_func" >&5
103633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103634 if eval "test \"\${$as_ac_var+set}\" = set"; then
103635 echo $ECHO_N "(cached) $ECHO_C" >&6
103637 if test x$gcc_no_link = xyes; then
103638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103640 { (exit 1); exit 1; }; }
103642 cat >conftest.$ac_ext <<_ACEOF
103643 /* confdefs.h. */
103644 _ACEOF
103645 cat confdefs.h >>conftest.$ac_ext
103646 cat >>conftest.$ac_ext <<_ACEOF
103647 /* end confdefs.h. */
103648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103650 #define $ac_func innocuous_$ac_func
103652 /* System header to define __stub macros and hopefully few prototypes,
103653 which can conflict with char $ac_func (); below.
103654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103655 <limits.h> exists even on freestanding compilers. */
103657 #ifdef __STDC__
103658 # include <limits.h>
103659 #else
103660 # include <assert.h>
103661 #endif
103663 #undef $ac_func
103665 /* Override any gcc2 internal prototype to avoid an error. */
103666 #ifdef __cplusplus
103667 extern "C"
103669 #endif
103670 /* We use char because int might match the return type of a gcc2
103671 builtin and then its argument prototype would still apply. */
103672 char $ac_func ();
103673 /* The GNU C library defines this for functions which it implements
103674 to always fail with ENOSYS. Some functions are actually named
103675 something starting with __ and the normal name is an alias. */
103676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103677 choke me
103678 #else
103679 char (*f) () = $ac_func;
103680 #endif
103681 #ifdef __cplusplus
103683 #endif
103686 main ()
103688 return f != $ac_func;
103690 return 0;
103692 _ACEOF
103693 rm -f conftest.$ac_objext conftest$ac_exeext
103694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103695 (eval $ac_link) 2>conftest.er1
103696 ac_status=$?
103697 grep -v '^ *+' conftest.er1 >conftest.err
103698 rm -f conftest.er1
103699 cat conftest.err >&5
103700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103701 (exit $ac_status); } &&
103702 { ac_try='test -z "$ac_c_werror_flag"
103703 || test ! -s conftest.err'
103704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103705 (eval $ac_try) 2>&5
103706 ac_status=$?
103707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103708 (exit $ac_status); }; } &&
103709 { ac_try='test -s conftest$ac_exeext'
103710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103711 (eval $ac_try) 2>&5
103712 ac_status=$?
103713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103714 (exit $ac_status); }; }; then
103715 eval "$as_ac_var=yes"
103717 echo "$as_me: failed program was:" >&5
103718 sed 's/^/| /' conftest.$ac_ext >&5
103720 eval "$as_ac_var=no"
103722 rm -f conftest.err conftest.$ac_objext \
103723 conftest$ac_exeext conftest.$ac_ext
103725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103727 if test `eval echo '${'$as_ac_var'}'` = yes; then
103728 cat >>confdefs.h <<_ACEOF
103729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103730 _ACEOF
103743 echo "$as_me:$LINENO: checking for finitel declaration" >&5
103744 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
103745 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
103746 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
103747 echo $ECHO_N "(cached) $ECHO_C" >&6
103752 ac_ext=cc
103753 ac_cpp='$CXXCPP $CPPFLAGS'
103754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103758 cat >conftest.$ac_ext <<_ACEOF
103759 /* confdefs.h. */
103760 _ACEOF
103761 cat confdefs.h >>conftest.$ac_ext
103762 cat >>conftest.$ac_ext <<_ACEOF
103763 /* end confdefs.h. */
103764 #include <math.h>
103765 #ifdef HAVE_IEEEFP_H
103766 #include <ieeefp.h>
103767 #endif
103770 main ()
103772 finitel(0);
103774 return 0;
103776 _ACEOF
103777 rm -f conftest.$ac_objext
103778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103779 (eval $ac_compile) 2>conftest.er1
103780 ac_status=$?
103781 grep -v '^ *+' conftest.er1 >conftest.err
103782 rm -f conftest.er1
103783 cat conftest.err >&5
103784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103785 (exit $ac_status); } &&
103786 { ac_try='test -z "$ac_cxx_werror_flag"
103787 || test ! -s conftest.err'
103788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103789 (eval $ac_try) 2>&5
103790 ac_status=$?
103791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103792 (exit $ac_status); }; } &&
103793 { ac_try='test -s conftest.$ac_objext'
103794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103795 (eval $ac_try) 2>&5
103796 ac_status=$?
103797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103798 (exit $ac_status); }; }; then
103799 glibcxx_cv_func_finitel_use=yes
103801 echo "$as_me: failed program was:" >&5
103802 sed 's/^/| /' conftest.$ac_ext >&5
103804 glibcxx_cv_func_finitel_use=no
103806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103807 ac_ext=c
103808 ac_cpp='$CPP $CPPFLAGS'
103809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103817 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
103818 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
103820 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
103822 for ac_func in finitel
103824 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103825 echo "$as_me:$LINENO: checking for $ac_func" >&5
103826 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103827 if eval "test \"\${$as_ac_var+set}\" = set"; then
103828 echo $ECHO_N "(cached) $ECHO_C" >&6
103830 if test x$gcc_no_link = xyes; then
103831 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103832 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103833 { (exit 1); exit 1; }; }
103835 cat >conftest.$ac_ext <<_ACEOF
103836 /* confdefs.h. */
103837 _ACEOF
103838 cat confdefs.h >>conftest.$ac_ext
103839 cat >>conftest.$ac_ext <<_ACEOF
103840 /* end confdefs.h. */
103841 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103842 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103843 #define $ac_func innocuous_$ac_func
103845 /* System header to define __stub macros and hopefully few prototypes,
103846 which can conflict with char $ac_func (); below.
103847 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103848 <limits.h> exists even on freestanding compilers. */
103850 #ifdef __STDC__
103851 # include <limits.h>
103852 #else
103853 # include <assert.h>
103854 #endif
103856 #undef $ac_func
103858 /* Override any gcc2 internal prototype to avoid an error. */
103859 #ifdef __cplusplus
103860 extern "C"
103862 #endif
103863 /* We use char because int might match the return type of a gcc2
103864 builtin and then its argument prototype would still apply. */
103865 char $ac_func ();
103866 /* The GNU C library defines this for functions which it implements
103867 to always fail with ENOSYS. Some functions are actually named
103868 something starting with __ and the normal name is an alias. */
103869 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103870 choke me
103871 #else
103872 char (*f) () = $ac_func;
103873 #endif
103874 #ifdef __cplusplus
103876 #endif
103879 main ()
103881 return f != $ac_func;
103883 return 0;
103885 _ACEOF
103886 rm -f conftest.$ac_objext conftest$ac_exeext
103887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103888 (eval $ac_link) 2>conftest.er1
103889 ac_status=$?
103890 grep -v '^ *+' conftest.er1 >conftest.err
103891 rm -f conftest.er1
103892 cat conftest.err >&5
103893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103894 (exit $ac_status); } &&
103895 { ac_try='test -z "$ac_c_werror_flag"
103896 || test ! -s conftest.err'
103897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103898 (eval $ac_try) 2>&5
103899 ac_status=$?
103900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103901 (exit $ac_status); }; } &&
103902 { ac_try='test -s conftest$ac_exeext'
103903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103904 (eval $ac_try) 2>&5
103905 ac_status=$?
103906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103907 (exit $ac_status); }; }; then
103908 eval "$as_ac_var=yes"
103910 echo "$as_me: failed program was:" >&5
103911 sed 's/^/| /' conftest.$ac_ext >&5
103913 eval "$as_ac_var=no"
103915 rm -f conftest.err conftest.$ac_objext \
103916 conftest$ac_exeext conftest.$ac_ext
103918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103919 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103920 if test `eval echo '${'$as_ac_var'}'` = yes; then
103921 cat >>confdefs.h <<_ACEOF
103922 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103923 _ACEOF
103930 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
103931 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
103932 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
103933 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
103934 echo $ECHO_N "(cached) $ECHO_C" >&6
103939 ac_ext=cc
103940 ac_cpp='$CXXCPP $CPPFLAGS'
103941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103945 cat >conftest.$ac_ext <<_ACEOF
103946 /* confdefs.h. */
103947 _ACEOF
103948 cat confdefs.h >>conftest.$ac_ext
103949 cat >>conftest.$ac_ext <<_ACEOF
103950 /* end confdefs.h. */
103951 #include <math.h>
103952 #ifdef HAVE_IEEEFP_H
103953 #include <ieeefp.h>
103954 #endif
103957 main ()
103959 _finitel(0);
103961 return 0;
103963 _ACEOF
103964 rm -f conftest.$ac_objext
103965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103966 (eval $ac_compile) 2>conftest.er1
103967 ac_status=$?
103968 grep -v '^ *+' conftest.er1 >conftest.err
103969 rm -f conftest.er1
103970 cat conftest.err >&5
103971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103972 (exit $ac_status); } &&
103973 { ac_try='test -z "$ac_cxx_werror_flag"
103974 || test ! -s conftest.err'
103975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103976 (eval $ac_try) 2>&5
103977 ac_status=$?
103978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103979 (exit $ac_status); }; } &&
103980 { ac_try='test -s conftest.$ac_objext'
103981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103982 (eval $ac_try) 2>&5
103983 ac_status=$?
103984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103985 (exit $ac_status); }; }; then
103986 glibcxx_cv_func__finitel_use=yes
103988 echo "$as_me: failed program was:" >&5
103989 sed 's/^/| /' conftest.$ac_ext >&5
103991 glibcxx_cv_func__finitel_use=no
103993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103994 ac_ext=c
103995 ac_cpp='$CPP $CPPFLAGS'
103996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104004 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
104005 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
104007 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
104009 for ac_func in _finitel
104011 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104012 echo "$as_me:$LINENO: checking for $ac_func" >&5
104013 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104014 if eval "test \"\${$as_ac_var+set}\" = set"; then
104015 echo $ECHO_N "(cached) $ECHO_C" >&6
104017 if test x$gcc_no_link = xyes; then
104018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104020 { (exit 1); exit 1; }; }
104022 cat >conftest.$ac_ext <<_ACEOF
104023 /* confdefs.h. */
104024 _ACEOF
104025 cat confdefs.h >>conftest.$ac_ext
104026 cat >>conftest.$ac_ext <<_ACEOF
104027 /* end confdefs.h. */
104028 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104029 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104030 #define $ac_func innocuous_$ac_func
104032 /* System header to define __stub macros and hopefully few prototypes,
104033 which can conflict with char $ac_func (); below.
104034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104035 <limits.h> exists even on freestanding compilers. */
104037 #ifdef __STDC__
104038 # include <limits.h>
104039 #else
104040 # include <assert.h>
104041 #endif
104043 #undef $ac_func
104045 /* Override any gcc2 internal prototype to avoid an error. */
104046 #ifdef __cplusplus
104047 extern "C"
104049 #endif
104050 /* We use char because int might match the return type of a gcc2
104051 builtin and then its argument prototype would still apply. */
104052 char $ac_func ();
104053 /* The GNU C library defines this for functions which it implements
104054 to always fail with ENOSYS. Some functions are actually named
104055 something starting with __ and the normal name is an alias. */
104056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104057 choke me
104058 #else
104059 char (*f) () = $ac_func;
104060 #endif
104061 #ifdef __cplusplus
104063 #endif
104066 main ()
104068 return f != $ac_func;
104070 return 0;
104072 _ACEOF
104073 rm -f conftest.$ac_objext conftest$ac_exeext
104074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104075 (eval $ac_link) 2>conftest.er1
104076 ac_status=$?
104077 grep -v '^ *+' conftest.er1 >conftest.err
104078 rm -f conftest.er1
104079 cat conftest.err >&5
104080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104081 (exit $ac_status); } &&
104082 { ac_try='test -z "$ac_c_werror_flag"
104083 || test ! -s conftest.err'
104084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104085 (eval $ac_try) 2>&5
104086 ac_status=$?
104087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104088 (exit $ac_status); }; } &&
104089 { ac_try='test -s conftest$ac_exeext'
104090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104091 (eval $ac_try) 2>&5
104092 ac_status=$?
104093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104094 (exit $ac_status); }; }; then
104095 eval "$as_ac_var=yes"
104097 echo "$as_me: failed program was:" >&5
104098 sed 's/^/| /' conftest.$ac_ext >&5
104100 eval "$as_ac_var=no"
104102 rm -f conftest.err conftest.$ac_objext \
104103 conftest$ac_exeext conftest.$ac_ext
104105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104107 if test `eval echo '${'$as_ac_var'}'` = yes; then
104108 cat >>confdefs.h <<_ACEOF
104109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104110 _ACEOF
104122 LIBS="$ac_save_LIBS"
104123 CXXFLAGS="$ac_save_CXXFLAGS"
104127 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
104128 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
104129 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
104130 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
104131 echo $ECHO_N "(cached) $ECHO_C" >&6
104136 ac_ext=cc
104137 ac_cpp='$CXXCPP $CPPFLAGS'
104138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104142 cat >conftest.$ac_ext <<_ACEOF
104143 /* confdefs.h. */
104144 _ACEOF
104145 cat confdefs.h >>conftest.$ac_ext
104146 cat >>conftest.$ac_ext <<_ACEOF
104147 /* end confdefs.h. */
104148 #include <math.h>
104150 main ()
104152 __builtin_abs(0);
104154 return 0;
104156 _ACEOF
104157 rm -f conftest.$ac_objext
104158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104159 (eval $ac_compile) 2>conftest.er1
104160 ac_status=$?
104161 grep -v '^ *+' conftest.er1 >conftest.err
104162 rm -f conftest.er1
104163 cat conftest.err >&5
104164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104165 (exit $ac_status); } &&
104166 { ac_try='test -z "$ac_cxx_werror_flag"
104167 || test ! -s conftest.err'
104168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104169 (eval $ac_try) 2>&5
104170 ac_status=$?
104171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104172 (exit $ac_status); }; } &&
104173 { ac_try='test -s conftest.$ac_objext'
104174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104175 (eval $ac_try) 2>&5
104176 ac_status=$?
104177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104178 (exit $ac_status); }; }; then
104179 glibcxx_cv_func___builtin_abs_use=yes
104181 echo "$as_me: failed program was:" >&5
104182 sed 's/^/| /' conftest.$ac_ext >&5
104184 glibcxx_cv_func___builtin_abs_use=no
104186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104187 ac_ext=c
104188 ac_cpp='$CPP $CPPFLAGS'
104189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104197 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
104198 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
104199 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
104200 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
104201 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
104202 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
104203 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
104204 echo $ECHO_N "(cached) $ECHO_C" >&6
104207 if test x$gcc_no_link = xyes; then
104208 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104209 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104210 { (exit 1); exit 1; }; }
104212 cat >conftest.$ac_ext <<_ACEOF
104213 /* confdefs.h. */
104214 _ACEOF
104215 cat confdefs.h >>conftest.$ac_ext
104216 cat >>conftest.$ac_ext <<_ACEOF
104217 /* end confdefs.h. */
104218 #include <math.h>
104220 main ()
104222 __builtin_abs(0);
104224 return 0;
104226 _ACEOF
104227 rm -f conftest.$ac_objext conftest$ac_exeext
104228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104229 (eval $ac_link) 2>conftest.er1
104230 ac_status=$?
104231 grep -v '^ *+' conftest.er1 >conftest.err
104232 rm -f conftest.er1
104233 cat conftest.err >&5
104234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104235 (exit $ac_status); } &&
104236 { ac_try='test -z "$ac_c_werror_flag"
104237 || test ! -s conftest.err'
104238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104239 (eval $ac_try) 2>&5
104240 ac_status=$?
104241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104242 (exit $ac_status); }; } &&
104243 { ac_try='test -s conftest$ac_exeext'
104244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104245 (eval $ac_try) 2>&5
104246 ac_status=$?
104247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104248 (exit $ac_status); }; }; then
104249 glibcxx_cv_func___builtin_abs_link=yes
104251 echo "$as_me: failed program was:" >&5
104252 sed 's/^/| /' conftest.$ac_ext >&5
104254 glibcxx_cv_func___builtin_abs_link=no
104256 rm -f conftest.err conftest.$ac_objext \
104257 conftest$ac_exeext conftest.$ac_ext
104262 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
104263 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
104265 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
104267 cat >>confdefs.h <<\_ACEOF
104268 #define HAVE___BUILTIN_ABS 1
104269 _ACEOF
104276 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
104277 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
104278 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
104279 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
104280 echo $ECHO_N "(cached) $ECHO_C" >&6
104285 ac_ext=cc
104286 ac_cpp='$CXXCPP $CPPFLAGS'
104287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104291 cat >conftest.$ac_ext <<_ACEOF
104292 /* confdefs.h. */
104293 _ACEOF
104294 cat confdefs.h >>conftest.$ac_ext
104295 cat >>conftest.$ac_ext <<_ACEOF
104296 /* end confdefs.h. */
104297 #include <math.h>
104299 main ()
104301 __builtin_fabsf(0);
104303 return 0;
104305 _ACEOF
104306 rm -f conftest.$ac_objext
104307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104308 (eval $ac_compile) 2>conftest.er1
104309 ac_status=$?
104310 grep -v '^ *+' conftest.er1 >conftest.err
104311 rm -f conftest.er1
104312 cat conftest.err >&5
104313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104314 (exit $ac_status); } &&
104315 { ac_try='test -z "$ac_cxx_werror_flag"
104316 || test ! -s conftest.err'
104317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104318 (eval $ac_try) 2>&5
104319 ac_status=$?
104320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104321 (exit $ac_status); }; } &&
104322 { ac_try='test -s conftest.$ac_objext'
104323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104324 (eval $ac_try) 2>&5
104325 ac_status=$?
104326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104327 (exit $ac_status); }; }; then
104328 glibcxx_cv_func___builtin_fabsf_use=yes
104330 echo "$as_me: failed program was:" >&5
104331 sed 's/^/| /' conftest.$ac_ext >&5
104333 glibcxx_cv_func___builtin_fabsf_use=no
104335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104336 ac_ext=c
104337 ac_cpp='$CPP $CPPFLAGS'
104338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104346 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
104347 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
104348 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
104349 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
104350 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
104351 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
104352 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
104353 echo $ECHO_N "(cached) $ECHO_C" >&6
104356 if test x$gcc_no_link = xyes; then
104357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104359 { (exit 1); exit 1; }; }
104361 cat >conftest.$ac_ext <<_ACEOF
104362 /* confdefs.h. */
104363 _ACEOF
104364 cat confdefs.h >>conftest.$ac_ext
104365 cat >>conftest.$ac_ext <<_ACEOF
104366 /* end confdefs.h. */
104367 #include <math.h>
104369 main ()
104371 __builtin_fabsf(0);
104373 return 0;
104375 _ACEOF
104376 rm -f conftest.$ac_objext conftest$ac_exeext
104377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104378 (eval $ac_link) 2>conftest.er1
104379 ac_status=$?
104380 grep -v '^ *+' conftest.er1 >conftest.err
104381 rm -f conftest.er1
104382 cat conftest.err >&5
104383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104384 (exit $ac_status); } &&
104385 { ac_try='test -z "$ac_c_werror_flag"
104386 || test ! -s conftest.err'
104387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104388 (eval $ac_try) 2>&5
104389 ac_status=$?
104390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104391 (exit $ac_status); }; } &&
104392 { ac_try='test -s conftest$ac_exeext'
104393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104394 (eval $ac_try) 2>&5
104395 ac_status=$?
104396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104397 (exit $ac_status); }; }; then
104398 glibcxx_cv_func___builtin_fabsf_link=yes
104400 echo "$as_me: failed program was:" >&5
104401 sed 's/^/| /' conftest.$ac_ext >&5
104403 glibcxx_cv_func___builtin_fabsf_link=no
104405 rm -f conftest.err conftest.$ac_objext \
104406 conftest$ac_exeext conftest.$ac_ext
104411 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
104412 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
104414 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
104416 cat >>confdefs.h <<\_ACEOF
104417 #define HAVE___BUILTIN_FABSF 1
104418 _ACEOF
104425 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
104426 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
104427 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
104428 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
104429 echo $ECHO_N "(cached) $ECHO_C" >&6
104434 ac_ext=cc
104435 ac_cpp='$CXXCPP $CPPFLAGS'
104436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104440 cat >conftest.$ac_ext <<_ACEOF
104441 /* confdefs.h. */
104442 _ACEOF
104443 cat confdefs.h >>conftest.$ac_ext
104444 cat >>conftest.$ac_ext <<_ACEOF
104445 /* end confdefs.h. */
104446 #include <math.h>
104448 main ()
104450 __builtin_fabs(0);
104452 return 0;
104454 _ACEOF
104455 rm -f conftest.$ac_objext
104456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104457 (eval $ac_compile) 2>conftest.er1
104458 ac_status=$?
104459 grep -v '^ *+' conftest.er1 >conftest.err
104460 rm -f conftest.er1
104461 cat conftest.err >&5
104462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104463 (exit $ac_status); } &&
104464 { ac_try='test -z "$ac_cxx_werror_flag"
104465 || test ! -s conftest.err'
104466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104467 (eval $ac_try) 2>&5
104468 ac_status=$?
104469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104470 (exit $ac_status); }; } &&
104471 { ac_try='test -s conftest.$ac_objext'
104472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104473 (eval $ac_try) 2>&5
104474 ac_status=$?
104475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104476 (exit $ac_status); }; }; then
104477 glibcxx_cv_func___builtin_fabs_use=yes
104479 echo "$as_me: failed program was:" >&5
104480 sed 's/^/| /' conftest.$ac_ext >&5
104482 glibcxx_cv_func___builtin_fabs_use=no
104484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104485 ac_ext=c
104486 ac_cpp='$CPP $CPPFLAGS'
104487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104495 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
104496 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
104497 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
104498 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
104499 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
104500 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
104501 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
104502 echo $ECHO_N "(cached) $ECHO_C" >&6
104505 if test x$gcc_no_link = xyes; then
104506 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104508 { (exit 1); exit 1; }; }
104510 cat >conftest.$ac_ext <<_ACEOF
104511 /* confdefs.h. */
104512 _ACEOF
104513 cat confdefs.h >>conftest.$ac_ext
104514 cat >>conftest.$ac_ext <<_ACEOF
104515 /* end confdefs.h. */
104516 #include <math.h>
104518 main ()
104520 __builtin_fabs(0);
104522 return 0;
104524 _ACEOF
104525 rm -f conftest.$ac_objext conftest$ac_exeext
104526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104527 (eval $ac_link) 2>conftest.er1
104528 ac_status=$?
104529 grep -v '^ *+' conftest.er1 >conftest.err
104530 rm -f conftest.er1
104531 cat conftest.err >&5
104532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104533 (exit $ac_status); } &&
104534 { ac_try='test -z "$ac_c_werror_flag"
104535 || test ! -s conftest.err'
104536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104537 (eval $ac_try) 2>&5
104538 ac_status=$?
104539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104540 (exit $ac_status); }; } &&
104541 { ac_try='test -s conftest$ac_exeext'
104542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104543 (eval $ac_try) 2>&5
104544 ac_status=$?
104545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104546 (exit $ac_status); }; }; then
104547 glibcxx_cv_func___builtin_fabs_link=yes
104549 echo "$as_me: failed program was:" >&5
104550 sed 's/^/| /' conftest.$ac_ext >&5
104552 glibcxx_cv_func___builtin_fabs_link=no
104554 rm -f conftest.err conftest.$ac_objext \
104555 conftest$ac_exeext conftest.$ac_ext
104560 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
104561 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
104563 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
104565 cat >>confdefs.h <<\_ACEOF
104566 #define HAVE___BUILTIN_FABS 1
104567 _ACEOF
104574 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
104575 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
104576 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
104577 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
104578 echo $ECHO_N "(cached) $ECHO_C" >&6
104583 ac_ext=cc
104584 ac_cpp='$CXXCPP $CPPFLAGS'
104585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104589 cat >conftest.$ac_ext <<_ACEOF
104590 /* confdefs.h. */
104591 _ACEOF
104592 cat confdefs.h >>conftest.$ac_ext
104593 cat >>conftest.$ac_ext <<_ACEOF
104594 /* end confdefs.h. */
104595 #include <math.h>
104597 main ()
104599 __builtin_fabsl(0);
104601 return 0;
104603 _ACEOF
104604 rm -f conftest.$ac_objext
104605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104606 (eval $ac_compile) 2>conftest.er1
104607 ac_status=$?
104608 grep -v '^ *+' conftest.er1 >conftest.err
104609 rm -f conftest.er1
104610 cat conftest.err >&5
104611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104612 (exit $ac_status); } &&
104613 { ac_try='test -z "$ac_cxx_werror_flag"
104614 || test ! -s conftest.err'
104615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104616 (eval $ac_try) 2>&5
104617 ac_status=$?
104618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104619 (exit $ac_status); }; } &&
104620 { ac_try='test -s conftest.$ac_objext'
104621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104622 (eval $ac_try) 2>&5
104623 ac_status=$?
104624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104625 (exit $ac_status); }; }; then
104626 glibcxx_cv_func___builtin_fabsl_use=yes
104628 echo "$as_me: failed program was:" >&5
104629 sed 's/^/| /' conftest.$ac_ext >&5
104631 glibcxx_cv_func___builtin_fabsl_use=no
104633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104634 ac_ext=c
104635 ac_cpp='$CPP $CPPFLAGS'
104636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104644 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
104645 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
104646 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
104647 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
104648 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
104649 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
104650 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
104651 echo $ECHO_N "(cached) $ECHO_C" >&6
104654 if test x$gcc_no_link = xyes; then
104655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104657 { (exit 1); exit 1; }; }
104659 cat >conftest.$ac_ext <<_ACEOF
104660 /* confdefs.h. */
104661 _ACEOF
104662 cat confdefs.h >>conftest.$ac_ext
104663 cat >>conftest.$ac_ext <<_ACEOF
104664 /* end confdefs.h. */
104665 #include <math.h>
104667 main ()
104669 __builtin_fabsl(0);
104671 return 0;
104673 _ACEOF
104674 rm -f conftest.$ac_objext conftest$ac_exeext
104675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104676 (eval $ac_link) 2>conftest.er1
104677 ac_status=$?
104678 grep -v '^ *+' conftest.er1 >conftest.err
104679 rm -f conftest.er1
104680 cat conftest.err >&5
104681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104682 (exit $ac_status); } &&
104683 { ac_try='test -z "$ac_c_werror_flag"
104684 || test ! -s conftest.err'
104685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104686 (eval $ac_try) 2>&5
104687 ac_status=$?
104688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104689 (exit $ac_status); }; } &&
104690 { ac_try='test -s conftest$ac_exeext'
104691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104692 (eval $ac_try) 2>&5
104693 ac_status=$?
104694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104695 (exit $ac_status); }; }; then
104696 glibcxx_cv_func___builtin_fabsl_link=yes
104698 echo "$as_me: failed program was:" >&5
104699 sed 's/^/| /' conftest.$ac_ext >&5
104701 glibcxx_cv_func___builtin_fabsl_link=no
104703 rm -f conftest.err conftest.$ac_objext \
104704 conftest$ac_exeext conftest.$ac_ext
104709 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
104710 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
104712 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
104714 cat >>confdefs.h <<\_ACEOF
104715 #define HAVE___BUILTIN_FABSL 1
104716 _ACEOF
104723 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
104724 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
104725 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
104726 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
104727 echo $ECHO_N "(cached) $ECHO_C" >&6
104732 ac_ext=cc
104733 ac_cpp='$CXXCPP $CPPFLAGS'
104734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104738 cat >conftest.$ac_ext <<_ACEOF
104739 /* confdefs.h. */
104740 _ACEOF
104741 cat confdefs.h >>conftest.$ac_ext
104742 cat >>conftest.$ac_ext <<_ACEOF
104743 /* end confdefs.h. */
104744 #include <math.h>
104746 main ()
104748 __builtin_labs(0);
104750 return 0;
104752 _ACEOF
104753 rm -f conftest.$ac_objext
104754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104755 (eval $ac_compile) 2>conftest.er1
104756 ac_status=$?
104757 grep -v '^ *+' conftest.er1 >conftest.err
104758 rm -f conftest.er1
104759 cat conftest.err >&5
104760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104761 (exit $ac_status); } &&
104762 { ac_try='test -z "$ac_cxx_werror_flag"
104763 || test ! -s conftest.err'
104764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104765 (eval $ac_try) 2>&5
104766 ac_status=$?
104767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104768 (exit $ac_status); }; } &&
104769 { ac_try='test -s conftest.$ac_objext'
104770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104771 (eval $ac_try) 2>&5
104772 ac_status=$?
104773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104774 (exit $ac_status); }; }; then
104775 glibcxx_cv_func___builtin_labs_use=yes
104777 echo "$as_me: failed program was:" >&5
104778 sed 's/^/| /' conftest.$ac_ext >&5
104780 glibcxx_cv_func___builtin_labs_use=no
104782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104783 ac_ext=c
104784 ac_cpp='$CPP $CPPFLAGS'
104785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104793 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
104794 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
104795 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
104796 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
104797 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
104798 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
104799 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
104800 echo $ECHO_N "(cached) $ECHO_C" >&6
104803 if test x$gcc_no_link = xyes; then
104804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104806 { (exit 1); exit 1; }; }
104808 cat >conftest.$ac_ext <<_ACEOF
104809 /* confdefs.h. */
104810 _ACEOF
104811 cat confdefs.h >>conftest.$ac_ext
104812 cat >>conftest.$ac_ext <<_ACEOF
104813 /* end confdefs.h. */
104814 #include <math.h>
104816 main ()
104818 __builtin_labs(0);
104820 return 0;
104822 _ACEOF
104823 rm -f conftest.$ac_objext conftest$ac_exeext
104824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104825 (eval $ac_link) 2>conftest.er1
104826 ac_status=$?
104827 grep -v '^ *+' conftest.er1 >conftest.err
104828 rm -f conftest.er1
104829 cat conftest.err >&5
104830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104831 (exit $ac_status); } &&
104832 { ac_try='test -z "$ac_c_werror_flag"
104833 || test ! -s conftest.err'
104834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104835 (eval $ac_try) 2>&5
104836 ac_status=$?
104837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104838 (exit $ac_status); }; } &&
104839 { ac_try='test -s conftest$ac_exeext'
104840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104841 (eval $ac_try) 2>&5
104842 ac_status=$?
104843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104844 (exit $ac_status); }; }; then
104845 glibcxx_cv_func___builtin_labs_link=yes
104847 echo "$as_me: failed program was:" >&5
104848 sed 's/^/| /' conftest.$ac_ext >&5
104850 glibcxx_cv_func___builtin_labs_link=no
104852 rm -f conftest.err conftest.$ac_objext \
104853 conftest$ac_exeext conftest.$ac_ext
104858 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
104859 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
104861 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
104863 cat >>confdefs.h <<\_ACEOF
104864 #define HAVE___BUILTIN_LABS 1
104865 _ACEOF
104873 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
104874 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
104875 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
104876 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
104877 echo $ECHO_N "(cached) $ECHO_C" >&6
104882 ac_ext=cc
104883 ac_cpp='$CXXCPP $CPPFLAGS'
104884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104888 cat >conftest.$ac_ext <<_ACEOF
104889 /* confdefs.h. */
104890 _ACEOF
104891 cat confdefs.h >>conftest.$ac_ext
104892 cat >>conftest.$ac_ext <<_ACEOF
104893 /* end confdefs.h. */
104894 #include <math.h>
104896 main ()
104898 __builtin_sqrtf(0);
104900 return 0;
104902 _ACEOF
104903 rm -f conftest.$ac_objext
104904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104905 (eval $ac_compile) 2>conftest.er1
104906 ac_status=$?
104907 grep -v '^ *+' conftest.er1 >conftest.err
104908 rm -f conftest.er1
104909 cat conftest.err >&5
104910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104911 (exit $ac_status); } &&
104912 { ac_try='test -z "$ac_cxx_werror_flag"
104913 || test ! -s conftest.err'
104914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104915 (eval $ac_try) 2>&5
104916 ac_status=$?
104917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104918 (exit $ac_status); }; } &&
104919 { ac_try='test -s conftest.$ac_objext'
104920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104921 (eval $ac_try) 2>&5
104922 ac_status=$?
104923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104924 (exit $ac_status); }; }; then
104925 glibcxx_cv_func___builtin_sqrtf_use=yes
104927 echo "$as_me: failed program was:" >&5
104928 sed 's/^/| /' conftest.$ac_ext >&5
104930 glibcxx_cv_func___builtin_sqrtf_use=no
104932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104933 ac_ext=c
104934 ac_cpp='$CPP $CPPFLAGS'
104935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104943 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
104944 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
104945 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
104946 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
104947 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
104948 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
104949 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
104950 echo $ECHO_N "(cached) $ECHO_C" >&6
104953 if test x$gcc_no_link = xyes; then
104954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104956 { (exit 1); exit 1; }; }
104958 cat >conftest.$ac_ext <<_ACEOF
104959 /* confdefs.h. */
104960 _ACEOF
104961 cat confdefs.h >>conftest.$ac_ext
104962 cat >>conftest.$ac_ext <<_ACEOF
104963 /* end confdefs.h. */
104964 #include <math.h>
104966 main ()
104968 __builtin_sqrtf(0);
104970 return 0;
104972 _ACEOF
104973 rm -f conftest.$ac_objext conftest$ac_exeext
104974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104975 (eval $ac_link) 2>conftest.er1
104976 ac_status=$?
104977 grep -v '^ *+' conftest.er1 >conftest.err
104978 rm -f conftest.er1
104979 cat conftest.err >&5
104980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104981 (exit $ac_status); } &&
104982 { ac_try='test -z "$ac_c_werror_flag"
104983 || test ! -s conftest.err'
104984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104985 (eval $ac_try) 2>&5
104986 ac_status=$?
104987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104988 (exit $ac_status); }; } &&
104989 { ac_try='test -s conftest$ac_exeext'
104990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104991 (eval $ac_try) 2>&5
104992 ac_status=$?
104993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104994 (exit $ac_status); }; }; then
104995 glibcxx_cv_func___builtin_sqrtf_link=yes
104997 echo "$as_me: failed program was:" >&5
104998 sed 's/^/| /' conftest.$ac_ext >&5
105000 glibcxx_cv_func___builtin_sqrtf_link=no
105002 rm -f conftest.err conftest.$ac_objext \
105003 conftest$ac_exeext conftest.$ac_ext
105008 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
105009 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
105011 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
105013 cat >>confdefs.h <<\_ACEOF
105014 #define HAVE___BUILTIN_SQRTF 1
105015 _ACEOF
105022 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
105023 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
105024 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
105025 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
105026 echo $ECHO_N "(cached) $ECHO_C" >&6
105031 ac_ext=cc
105032 ac_cpp='$CXXCPP $CPPFLAGS'
105033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105037 cat >conftest.$ac_ext <<_ACEOF
105038 /* confdefs.h. */
105039 _ACEOF
105040 cat confdefs.h >>conftest.$ac_ext
105041 cat >>conftest.$ac_ext <<_ACEOF
105042 /* end confdefs.h. */
105043 #include <math.h>
105045 main ()
105047 __builtin_sqrt(0);
105049 return 0;
105051 _ACEOF
105052 rm -f conftest.$ac_objext
105053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105054 (eval $ac_compile) 2>conftest.er1
105055 ac_status=$?
105056 grep -v '^ *+' conftest.er1 >conftest.err
105057 rm -f conftest.er1
105058 cat conftest.err >&5
105059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105060 (exit $ac_status); } &&
105061 { ac_try='test -z "$ac_cxx_werror_flag"
105062 || test ! -s conftest.err'
105063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105064 (eval $ac_try) 2>&5
105065 ac_status=$?
105066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105067 (exit $ac_status); }; } &&
105068 { ac_try='test -s conftest.$ac_objext'
105069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105070 (eval $ac_try) 2>&5
105071 ac_status=$?
105072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105073 (exit $ac_status); }; }; then
105074 glibcxx_cv_func___builtin_sqrt_use=yes
105076 echo "$as_me: failed program was:" >&5
105077 sed 's/^/| /' conftest.$ac_ext >&5
105079 glibcxx_cv_func___builtin_sqrt_use=no
105081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105082 ac_ext=c
105083 ac_cpp='$CPP $CPPFLAGS'
105084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105092 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
105093 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
105094 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
105095 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
105096 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
105097 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
105098 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
105099 echo $ECHO_N "(cached) $ECHO_C" >&6
105102 if test x$gcc_no_link = xyes; then
105103 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105104 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105105 { (exit 1); exit 1; }; }
105107 cat >conftest.$ac_ext <<_ACEOF
105108 /* confdefs.h. */
105109 _ACEOF
105110 cat confdefs.h >>conftest.$ac_ext
105111 cat >>conftest.$ac_ext <<_ACEOF
105112 /* end confdefs.h. */
105113 #include <math.h>
105115 main ()
105117 __builtin_sqrt(0);
105119 return 0;
105121 _ACEOF
105122 rm -f conftest.$ac_objext conftest$ac_exeext
105123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105124 (eval $ac_link) 2>conftest.er1
105125 ac_status=$?
105126 grep -v '^ *+' conftest.er1 >conftest.err
105127 rm -f conftest.er1
105128 cat conftest.err >&5
105129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105130 (exit $ac_status); } &&
105131 { ac_try='test -z "$ac_c_werror_flag"
105132 || test ! -s conftest.err'
105133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105134 (eval $ac_try) 2>&5
105135 ac_status=$?
105136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105137 (exit $ac_status); }; } &&
105138 { ac_try='test -s conftest$ac_exeext'
105139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105140 (eval $ac_try) 2>&5
105141 ac_status=$?
105142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105143 (exit $ac_status); }; }; then
105144 glibcxx_cv_func___builtin_sqrt_link=yes
105146 echo "$as_me: failed program was:" >&5
105147 sed 's/^/| /' conftest.$ac_ext >&5
105149 glibcxx_cv_func___builtin_sqrt_link=no
105151 rm -f conftest.err conftest.$ac_objext \
105152 conftest$ac_exeext conftest.$ac_ext
105157 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
105158 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
105160 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
105162 cat >>confdefs.h <<\_ACEOF
105163 #define HAVE___BUILTIN_SQRT 1
105164 _ACEOF
105171 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
105172 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
105173 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
105174 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
105175 echo $ECHO_N "(cached) $ECHO_C" >&6
105180 ac_ext=cc
105181 ac_cpp='$CXXCPP $CPPFLAGS'
105182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105186 cat >conftest.$ac_ext <<_ACEOF
105187 /* confdefs.h. */
105188 _ACEOF
105189 cat confdefs.h >>conftest.$ac_ext
105190 cat >>conftest.$ac_ext <<_ACEOF
105191 /* end confdefs.h. */
105192 #include <math.h>
105194 main ()
105196 __builtin_sqrtl(0);
105198 return 0;
105200 _ACEOF
105201 rm -f conftest.$ac_objext
105202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105203 (eval $ac_compile) 2>conftest.er1
105204 ac_status=$?
105205 grep -v '^ *+' conftest.er1 >conftest.err
105206 rm -f conftest.er1
105207 cat conftest.err >&5
105208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105209 (exit $ac_status); } &&
105210 { ac_try='test -z "$ac_cxx_werror_flag"
105211 || test ! -s conftest.err'
105212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105213 (eval $ac_try) 2>&5
105214 ac_status=$?
105215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105216 (exit $ac_status); }; } &&
105217 { ac_try='test -s conftest.$ac_objext'
105218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105219 (eval $ac_try) 2>&5
105220 ac_status=$?
105221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105222 (exit $ac_status); }; }; then
105223 glibcxx_cv_func___builtin_sqrtl_use=yes
105225 echo "$as_me: failed program was:" >&5
105226 sed 's/^/| /' conftest.$ac_ext >&5
105228 glibcxx_cv_func___builtin_sqrtl_use=no
105230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105231 ac_ext=c
105232 ac_cpp='$CPP $CPPFLAGS'
105233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105241 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
105242 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
105243 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
105244 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
105245 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
105246 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
105247 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
105248 echo $ECHO_N "(cached) $ECHO_C" >&6
105251 if test x$gcc_no_link = xyes; then
105252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105254 { (exit 1); exit 1; }; }
105256 cat >conftest.$ac_ext <<_ACEOF
105257 /* confdefs.h. */
105258 _ACEOF
105259 cat confdefs.h >>conftest.$ac_ext
105260 cat >>conftest.$ac_ext <<_ACEOF
105261 /* end confdefs.h. */
105262 #include <math.h>
105264 main ()
105266 __builtin_sqrtl(0);
105268 return 0;
105270 _ACEOF
105271 rm -f conftest.$ac_objext conftest$ac_exeext
105272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105273 (eval $ac_link) 2>conftest.er1
105274 ac_status=$?
105275 grep -v '^ *+' conftest.er1 >conftest.err
105276 rm -f conftest.er1
105277 cat conftest.err >&5
105278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105279 (exit $ac_status); } &&
105280 { ac_try='test -z "$ac_c_werror_flag"
105281 || test ! -s conftest.err'
105282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105283 (eval $ac_try) 2>&5
105284 ac_status=$?
105285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105286 (exit $ac_status); }; } &&
105287 { ac_try='test -s conftest$ac_exeext'
105288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105289 (eval $ac_try) 2>&5
105290 ac_status=$?
105291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105292 (exit $ac_status); }; }; then
105293 glibcxx_cv_func___builtin_sqrtl_link=yes
105295 echo "$as_me: failed program was:" >&5
105296 sed 's/^/| /' conftest.$ac_ext >&5
105298 glibcxx_cv_func___builtin_sqrtl_link=no
105300 rm -f conftest.err conftest.$ac_objext \
105301 conftest$ac_exeext conftest.$ac_ext
105306 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
105307 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
105309 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
105311 cat >>confdefs.h <<\_ACEOF
105312 #define HAVE___BUILTIN_SQRTL 1
105313 _ACEOF
105321 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
105322 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
105323 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
105324 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
105325 echo $ECHO_N "(cached) $ECHO_C" >&6
105330 ac_ext=cc
105331 ac_cpp='$CXXCPP $CPPFLAGS'
105332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105336 cat >conftest.$ac_ext <<_ACEOF
105337 /* confdefs.h. */
105338 _ACEOF
105339 cat confdefs.h >>conftest.$ac_ext
105340 cat >>conftest.$ac_ext <<_ACEOF
105341 /* end confdefs.h. */
105342 #include <math.h>
105344 main ()
105346 __builtin_sinf(0);
105348 return 0;
105350 _ACEOF
105351 rm -f conftest.$ac_objext
105352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105353 (eval $ac_compile) 2>conftest.er1
105354 ac_status=$?
105355 grep -v '^ *+' conftest.er1 >conftest.err
105356 rm -f conftest.er1
105357 cat conftest.err >&5
105358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105359 (exit $ac_status); } &&
105360 { ac_try='test -z "$ac_cxx_werror_flag"
105361 || test ! -s conftest.err'
105362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105363 (eval $ac_try) 2>&5
105364 ac_status=$?
105365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105366 (exit $ac_status); }; } &&
105367 { ac_try='test -s conftest.$ac_objext'
105368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105369 (eval $ac_try) 2>&5
105370 ac_status=$?
105371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105372 (exit $ac_status); }; }; then
105373 glibcxx_cv_func___builtin_sinf_use=yes
105375 echo "$as_me: failed program was:" >&5
105376 sed 's/^/| /' conftest.$ac_ext >&5
105378 glibcxx_cv_func___builtin_sinf_use=no
105380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105381 ac_ext=c
105382 ac_cpp='$CPP $CPPFLAGS'
105383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105391 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
105392 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
105393 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
105394 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
105395 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
105396 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
105397 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
105398 echo $ECHO_N "(cached) $ECHO_C" >&6
105401 if test x$gcc_no_link = xyes; then
105402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105404 { (exit 1); exit 1; }; }
105406 cat >conftest.$ac_ext <<_ACEOF
105407 /* confdefs.h. */
105408 _ACEOF
105409 cat confdefs.h >>conftest.$ac_ext
105410 cat >>conftest.$ac_ext <<_ACEOF
105411 /* end confdefs.h. */
105412 #include <math.h>
105414 main ()
105416 __builtin_sinf(0);
105418 return 0;
105420 _ACEOF
105421 rm -f conftest.$ac_objext conftest$ac_exeext
105422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105423 (eval $ac_link) 2>conftest.er1
105424 ac_status=$?
105425 grep -v '^ *+' conftest.er1 >conftest.err
105426 rm -f conftest.er1
105427 cat conftest.err >&5
105428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105429 (exit $ac_status); } &&
105430 { ac_try='test -z "$ac_c_werror_flag"
105431 || test ! -s conftest.err'
105432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105433 (eval $ac_try) 2>&5
105434 ac_status=$?
105435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105436 (exit $ac_status); }; } &&
105437 { ac_try='test -s conftest$ac_exeext'
105438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105439 (eval $ac_try) 2>&5
105440 ac_status=$?
105441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105442 (exit $ac_status); }; }; then
105443 glibcxx_cv_func___builtin_sinf_link=yes
105445 echo "$as_me: failed program was:" >&5
105446 sed 's/^/| /' conftest.$ac_ext >&5
105448 glibcxx_cv_func___builtin_sinf_link=no
105450 rm -f conftest.err conftest.$ac_objext \
105451 conftest$ac_exeext conftest.$ac_ext
105456 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
105457 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
105459 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
105461 cat >>confdefs.h <<\_ACEOF
105462 #define HAVE___BUILTIN_SINF 1
105463 _ACEOF
105470 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
105471 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
105472 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
105473 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
105474 echo $ECHO_N "(cached) $ECHO_C" >&6
105479 ac_ext=cc
105480 ac_cpp='$CXXCPP $CPPFLAGS'
105481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105485 cat >conftest.$ac_ext <<_ACEOF
105486 /* confdefs.h. */
105487 _ACEOF
105488 cat confdefs.h >>conftest.$ac_ext
105489 cat >>conftest.$ac_ext <<_ACEOF
105490 /* end confdefs.h. */
105491 #include <math.h>
105493 main ()
105495 __builtin_sin(0);
105497 return 0;
105499 _ACEOF
105500 rm -f conftest.$ac_objext
105501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105502 (eval $ac_compile) 2>conftest.er1
105503 ac_status=$?
105504 grep -v '^ *+' conftest.er1 >conftest.err
105505 rm -f conftest.er1
105506 cat conftest.err >&5
105507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105508 (exit $ac_status); } &&
105509 { ac_try='test -z "$ac_cxx_werror_flag"
105510 || test ! -s conftest.err'
105511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105512 (eval $ac_try) 2>&5
105513 ac_status=$?
105514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105515 (exit $ac_status); }; } &&
105516 { ac_try='test -s conftest.$ac_objext'
105517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105518 (eval $ac_try) 2>&5
105519 ac_status=$?
105520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105521 (exit $ac_status); }; }; then
105522 glibcxx_cv_func___builtin_sin_use=yes
105524 echo "$as_me: failed program was:" >&5
105525 sed 's/^/| /' conftest.$ac_ext >&5
105527 glibcxx_cv_func___builtin_sin_use=no
105529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105530 ac_ext=c
105531 ac_cpp='$CPP $CPPFLAGS'
105532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105540 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
105541 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
105542 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
105543 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
105544 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
105545 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
105546 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
105547 echo $ECHO_N "(cached) $ECHO_C" >&6
105550 if test x$gcc_no_link = xyes; then
105551 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105552 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105553 { (exit 1); exit 1; }; }
105555 cat >conftest.$ac_ext <<_ACEOF
105556 /* confdefs.h. */
105557 _ACEOF
105558 cat confdefs.h >>conftest.$ac_ext
105559 cat >>conftest.$ac_ext <<_ACEOF
105560 /* end confdefs.h. */
105561 #include <math.h>
105563 main ()
105565 __builtin_sin(0);
105567 return 0;
105569 _ACEOF
105570 rm -f conftest.$ac_objext conftest$ac_exeext
105571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105572 (eval $ac_link) 2>conftest.er1
105573 ac_status=$?
105574 grep -v '^ *+' conftest.er1 >conftest.err
105575 rm -f conftest.er1
105576 cat conftest.err >&5
105577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105578 (exit $ac_status); } &&
105579 { ac_try='test -z "$ac_c_werror_flag"
105580 || test ! -s conftest.err'
105581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105582 (eval $ac_try) 2>&5
105583 ac_status=$?
105584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105585 (exit $ac_status); }; } &&
105586 { ac_try='test -s conftest$ac_exeext'
105587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105588 (eval $ac_try) 2>&5
105589 ac_status=$?
105590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105591 (exit $ac_status); }; }; then
105592 glibcxx_cv_func___builtin_sin_link=yes
105594 echo "$as_me: failed program was:" >&5
105595 sed 's/^/| /' conftest.$ac_ext >&5
105597 glibcxx_cv_func___builtin_sin_link=no
105599 rm -f conftest.err conftest.$ac_objext \
105600 conftest$ac_exeext conftest.$ac_ext
105605 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
105606 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
105608 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
105610 cat >>confdefs.h <<\_ACEOF
105611 #define HAVE___BUILTIN_SIN 1
105612 _ACEOF
105619 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
105620 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
105621 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
105622 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
105623 echo $ECHO_N "(cached) $ECHO_C" >&6
105628 ac_ext=cc
105629 ac_cpp='$CXXCPP $CPPFLAGS'
105630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105634 cat >conftest.$ac_ext <<_ACEOF
105635 /* confdefs.h. */
105636 _ACEOF
105637 cat confdefs.h >>conftest.$ac_ext
105638 cat >>conftest.$ac_ext <<_ACEOF
105639 /* end confdefs.h. */
105640 #include <math.h>
105642 main ()
105644 __builtin_sinl(0);
105646 return 0;
105648 _ACEOF
105649 rm -f conftest.$ac_objext
105650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105651 (eval $ac_compile) 2>conftest.er1
105652 ac_status=$?
105653 grep -v '^ *+' conftest.er1 >conftest.err
105654 rm -f conftest.er1
105655 cat conftest.err >&5
105656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105657 (exit $ac_status); } &&
105658 { ac_try='test -z "$ac_cxx_werror_flag"
105659 || test ! -s conftest.err'
105660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105661 (eval $ac_try) 2>&5
105662 ac_status=$?
105663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105664 (exit $ac_status); }; } &&
105665 { ac_try='test -s conftest.$ac_objext'
105666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105667 (eval $ac_try) 2>&5
105668 ac_status=$?
105669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105670 (exit $ac_status); }; }; then
105671 glibcxx_cv_func___builtin_sinl_use=yes
105673 echo "$as_me: failed program was:" >&5
105674 sed 's/^/| /' conftest.$ac_ext >&5
105676 glibcxx_cv_func___builtin_sinl_use=no
105678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105679 ac_ext=c
105680 ac_cpp='$CPP $CPPFLAGS'
105681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105689 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
105690 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
105691 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
105692 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
105693 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
105694 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
105695 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
105696 echo $ECHO_N "(cached) $ECHO_C" >&6
105699 if test x$gcc_no_link = xyes; then
105700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105702 { (exit 1); exit 1; }; }
105704 cat >conftest.$ac_ext <<_ACEOF
105705 /* confdefs.h. */
105706 _ACEOF
105707 cat confdefs.h >>conftest.$ac_ext
105708 cat >>conftest.$ac_ext <<_ACEOF
105709 /* end confdefs.h. */
105710 #include <math.h>
105712 main ()
105714 __builtin_sinl(0);
105716 return 0;
105718 _ACEOF
105719 rm -f conftest.$ac_objext conftest$ac_exeext
105720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105721 (eval $ac_link) 2>conftest.er1
105722 ac_status=$?
105723 grep -v '^ *+' conftest.er1 >conftest.err
105724 rm -f conftest.er1
105725 cat conftest.err >&5
105726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105727 (exit $ac_status); } &&
105728 { ac_try='test -z "$ac_c_werror_flag"
105729 || test ! -s conftest.err'
105730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105731 (eval $ac_try) 2>&5
105732 ac_status=$?
105733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105734 (exit $ac_status); }; } &&
105735 { ac_try='test -s conftest$ac_exeext'
105736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105737 (eval $ac_try) 2>&5
105738 ac_status=$?
105739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105740 (exit $ac_status); }; }; then
105741 glibcxx_cv_func___builtin_sinl_link=yes
105743 echo "$as_me: failed program was:" >&5
105744 sed 's/^/| /' conftest.$ac_ext >&5
105746 glibcxx_cv_func___builtin_sinl_link=no
105748 rm -f conftest.err conftest.$ac_objext \
105749 conftest$ac_exeext conftest.$ac_ext
105754 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
105755 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
105757 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
105759 cat >>confdefs.h <<\_ACEOF
105760 #define HAVE___BUILTIN_SINL 1
105761 _ACEOF
105769 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
105770 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
105771 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
105772 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
105773 echo $ECHO_N "(cached) $ECHO_C" >&6
105778 ac_ext=cc
105779 ac_cpp='$CXXCPP $CPPFLAGS'
105780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105784 cat >conftest.$ac_ext <<_ACEOF
105785 /* confdefs.h. */
105786 _ACEOF
105787 cat confdefs.h >>conftest.$ac_ext
105788 cat >>conftest.$ac_ext <<_ACEOF
105789 /* end confdefs.h. */
105790 #include <math.h>
105792 main ()
105794 __builtin_cosf(0);
105796 return 0;
105798 _ACEOF
105799 rm -f conftest.$ac_objext
105800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105801 (eval $ac_compile) 2>conftest.er1
105802 ac_status=$?
105803 grep -v '^ *+' conftest.er1 >conftest.err
105804 rm -f conftest.er1
105805 cat conftest.err >&5
105806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105807 (exit $ac_status); } &&
105808 { ac_try='test -z "$ac_cxx_werror_flag"
105809 || test ! -s conftest.err'
105810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105811 (eval $ac_try) 2>&5
105812 ac_status=$?
105813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105814 (exit $ac_status); }; } &&
105815 { ac_try='test -s conftest.$ac_objext'
105816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105817 (eval $ac_try) 2>&5
105818 ac_status=$?
105819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105820 (exit $ac_status); }; }; then
105821 glibcxx_cv_func___builtin_cosf_use=yes
105823 echo "$as_me: failed program was:" >&5
105824 sed 's/^/| /' conftest.$ac_ext >&5
105826 glibcxx_cv_func___builtin_cosf_use=no
105828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105829 ac_ext=c
105830 ac_cpp='$CPP $CPPFLAGS'
105831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105839 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
105840 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
105841 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
105842 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
105843 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
105844 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
105845 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
105846 echo $ECHO_N "(cached) $ECHO_C" >&6
105849 if test x$gcc_no_link = xyes; then
105850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105852 { (exit 1); exit 1; }; }
105854 cat >conftest.$ac_ext <<_ACEOF
105855 /* confdefs.h. */
105856 _ACEOF
105857 cat confdefs.h >>conftest.$ac_ext
105858 cat >>conftest.$ac_ext <<_ACEOF
105859 /* end confdefs.h. */
105860 #include <math.h>
105862 main ()
105864 __builtin_cosf(0);
105866 return 0;
105868 _ACEOF
105869 rm -f conftest.$ac_objext conftest$ac_exeext
105870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105871 (eval $ac_link) 2>conftest.er1
105872 ac_status=$?
105873 grep -v '^ *+' conftest.er1 >conftest.err
105874 rm -f conftest.er1
105875 cat conftest.err >&5
105876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105877 (exit $ac_status); } &&
105878 { ac_try='test -z "$ac_c_werror_flag"
105879 || test ! -s conftest.err'
105880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105881 (eval $ac_try) 2>&5
105882 ac_status=$?
105883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105884 (exit $ac_status); }; } &&
105885 { ac_try='test -s conftest$ac_exeext'
105886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105887 (eval $ac_try) 2>&5
105888 ac_status=$?
105889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105890 (exit $ac_status); }; }; then
105891 glibcxx_cv_func___builtin_cosf_link=yes
105893 echo "$as_me: failed program was:" >&5
105894 sed 's/^/| /' conftest.$ac_ext >&5
105896 glibcxx_cv_func___builtin_cosf_link=no
105898 rm -f conftest.err conftest.$ac_objext \
105899 conftest$ac_exeext conftest.$ac_ext
105904 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
105905 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
105907 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
105909 cat >>confdefs.h <<\_ACEOF
105910 #define HAVE___BUILTIN_COSF 1
105911 _ACEOF
105918 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
105919 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
105920 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
105921 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
105922 echo $ECHO_N "(cached) $ECHO_C" >&6
105927 ac_ext=cc
105928 ac_cpp='$CXXCPP $CPPFLAGS'
105929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105933 cat >conftest.$ac_ext <<_ACEOF
105934 /* confdefs.h. */
105935 _ACEOF
105936 cat confdefs.h >>conftest.$ac_ext
105937 cat >>conftest.$ac_ext <<_ACEOF
105938 /* end confdefs.h. */
105939 #include <math.h>
105941 main ()
105943 __builtin_cos(0);
105945 return 0;
105947 _ACEOF
105948 rm -f conftest.$ac_objext
105949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105950 (eval $ac_compile) 2>conftest.er1
105951 ac_status=$?
105952 grep -v '^ *+' conftest.er1 >conftest.err
105953 rm -f conftest.er1
105954 cat conftest.err >&5
105955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105956 (exit $ac_status); } &&
105957 { ac_try='test -z "$ac_cxx_werror_flag"
105958 || test ! -s conftest.err'
105959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105960 (eval $ac_try) 2>&5
105961 ac_status=$?
105962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105963 (exit $ac_status); }; } &&
105964 { ac_try='test -s conftest.$ac_objext'
105965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105966 (eval $ac_try) 2>&5
105967 ac_status=$?
105968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105969 (exit $ac_status); }; }; then
105970 glibcxx_cv_func___builtin_cos_use=yes
105972 echo "$as_me: failed program was:" >&5
105973 sed 's/^/| /' conftest.$ac_ext >&5
105975 glibcxx_cv_func___builtin_cos_use=no
105977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105978 ac_ext=c
105979 ac_cpp='$CPP $CPPFLAGS'
105980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105988 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
105989 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
105990 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
105991 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
105992 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
105993 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
105994 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
105995 echo $ECHO_N "(cached) $ECHO_C" >&6
105998 if test x$gcc_no_link = xyes; then
105999 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106000 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106001 { (exit 1); exit 1; }; }
106003 cat >conftest.$ac_ext <<_ACEOF
106004 /* confdefs.h. */
106005 _ACEOF
106006 cat confdefs.h >>conftest.$ac_ext
106007 cat >>conftest.$ac_ext <<_ACEOF
106008 /* end confdefs.h. */
106009 #include <math.h>
106011 main ()
106013 __builtin_cos(0);
106015 return 0;
106017 _ACEOF
106018 rm -f conftest.$ac_objext conftest$ac_exeext
106019 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106020 (eval $ac_link) 2>conftest.er1
106021 ac_status=$?
106022 grep -v '^ *+' conftest.er1 >conftest.err
106023 rm -f conftest.er1
106024 cat conftest.err >&5
106025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106026 (exit $ac_status); } &&
106027 { ac_try='test -z "$ac_c_werror_flag"
106028 || test ! -s conftest.err'
106029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106030 (eval $ac_try) 2>&5
106031 ac_status=$?
106032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106033 (exit $ac_status); }; } &&
106034 { ac_try='test -s conftest$ac_exeext'
106035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106036 (eval $ac_try) 2>&5
106037 ac_status=$?
106038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106039 (exit $ac_status); }; }; then
106040 glibcxx_cv_func___builtin_cos_link=yes
106042 echo "$as_me: failed program was:" >&5
106043 sed 's/^/| /' conftest.$ac_ext >&5
106045 glibcxx_cv_func___builtin_cos_link=no
106047 rm -f conftest.err conftest.$ac_objext \
106048 conftest$ac_exeext conftest.$ac_ext
106053 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
106054 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
106056 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
106058 cat >>confdefs.h <<\_ACEOF
106059 #define HAVE___BUILTIN_COS 1
106060 _ACEOF
106067 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
106068 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
106069 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
106070 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
106071 echo $ECHO_N "(cached) $ECHO_C" >&6
106076 ac_ext=cc
106077 ac_cpp='$CXXCPP $CPPFLAGS'
106078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106082 cat >conftest.$ac_ext <<_ACEOF
106083 /* confdefs.h. */
106084 _ACEOF
106085 cat confdefs.h >>conftest.$ac_ext
106086 cat >>conftest.$ac_ext <<_ACEOF
106087 /* end confdefs.h. */
106088 #include <math.h>
106090 main ()
106092 __builtin_cosl(0);
106094 return 0;
106096 _ACEOF
106097 rm -f conftest.$ac_objext
106098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106099 (eval $ac_compile) 2>conftest.er1
106100 ac_status=$?
106101 grep -v '^ *+' conftest.er1 >conftest.err
106102 rm -f conftest.er1
106103 cat conftest.err >&5
106104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106105 (exit $ac_status); } &&
106106 { ac_try='test -z "$ac_cxx_werror_flag"
106107 || test ! -s conftest.err'
106108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106109 (eval $ac_try) 2>&5
106110 ac_status=$?
106111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106112 (exit $ac_status); }; } &&
106113 { ac_try='test -s conftest.$ac_objext'
106114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106115 (eval $ac_try) 2>&5
106116 ac_status=$?
106117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106118 (exit $ac_status); }; }; then
106119 glibcxx_cv_func___builtin_cosl_use=yes
106121 echo "$as_me: failed program was:" >&5
106122 sed 's/^/| /' conftest.$ac_ext >&5
106124 glibcxx_cv_func___builtin_cosl_use=no
106126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106127 ac_ext=c
106128 ac_cpp='$CPP $CPPFLAGS'
106129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106137 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
106138 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
106139 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
106140 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
106141 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
106142 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
106143 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
106144 echo $ECHO_N "(cached) $ECHO_C" >&6
106147 if test x$gcc_no_link = xyes; then
106148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106150 { (exit 1); exit 1; }; }
106152 cat >conftest.$ac_ext <<_ACEOF
106153 /* confdefs.h. */
106154 _ACEOF
106155 cat confdefs.h >>conftest.$ac_ext
106156 cat >>conftest.$ac_ext <<_ACEOF
106157 /* end confdefs.h. */
106158 #include <math.h>
106160 main ()
106162 __builtin_cosl(0);
106164 return 0;
106166 _ACEOF
106167 rm -f conftest.$ac_objext conftest$ac_exeext
106168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106169 (eval $ac_link) 2>conftest.er1
106170 ac_status=$?
106171 grep -v '^ *+' conftest.er1 >conftest.err
106172 rm -f conftest.er1
106173 cat conftest.err >&5
106174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106175 (exit $ac_status); } &&
106176 { ac_try='test -z "$ac_c_werror_flag"
106177 || test ! -s conftest.err'
106178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106179 (eval $ac_try) 2>&5
106180 ac_status=$?
106181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106182 (exit $ac_status); }; } &&
106183 { ac_try='test -s conftest$ac_exeext'
106184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106185 (eval $ac_try) 2>&5
106186 ac_status=$?
106187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106188 (exit $ac_status); }; }; then
106189 glibcxx_cv_func___builtin_cosl_link=yes
106191 echo "$as_me: failed program was:" >&5
106192 sed 's/^/| /' conftest.$ac_ext >&5
106194 glibcxx_cv_func___builtin_cosl_link=no
106196 rm -f conftest.err conftest.$ac_objext \
106197 conftest$ac_exeext conftest.$ac_ext
106202 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
106203 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
106205 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
106207 cat >>confdefs.h <<\_ACEOF
106208 #define HAVE___BUILTIN_COSL 1
106209 _ACEOF
106218 echo "$as_me:$LINENO: checking for main in -lm" >&5
106219 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
106220 if test "${ac_cv_lib_m_main+set}" = set; then
106221 echo $ECHO_N "(cached) $ECHO_C" >&6
106223 ac_check_lib_save_LIBS=$LIBS
106224 LIBS="-lm $LIBS"
106225 if test x$gcc_no_link = xyes; then
106226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106228 { (exit 1); exit 1; }; }
106230 cat >conftest.$ac_ext <<_ACEOF
106231 /* confdefs.h. */
106232 _ACEOF
106233 cat confdefs.h >>conftest.$ac_ext
106234 cat >>conftest.$ac_ext <<_ACEOF
106235 /* end confdefs.h. */
106239 main ()
106241 main ();
106243 return 0;
106245 _ACEOF
106246 rm -f conftest.$ac_objext conftest$ac_exeext
106247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106248 (eval $ac_link) 2>conftest.er1
106249 ac_status=$?
106250 grep -v '^ *+' conftest.er1 >conftest.err
106251 rm -f conftest.er1
106252 cat conftest.err >&5
106253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106254 (exit $ac_status); } &&
106255 { ac_try='test -z "$ac_c_werror_flag"
106256 || test ! -s conftest.err'
106257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106258 (eval $ac_try) 2>&5
106259 ac_status=$?
106260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106261 (exit $ac_status); }; } &&
106262 { ac_try='test -s conftest$ac_exeext'
106263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106264 (eval $ac_try) 2>&5
106265 ac_status=$?
106266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106267 (exit $ac_status); }; }; then
106268 ac_cv_lib_m_main=yes
106270 echo "$as_me: failed program was:" >&5
106271 sed 's/^/| /' conftest.$ac_ext >&5
106273 ac_cv_lib_m_main=no
106275 rm -f conftest.err conftest.$ac_objext \
106276 conftest$ac_exeext conftest.$ac_ext
106277 LIBS=$ac_check_lib_save_LIBS
106279 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
106280 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
106281 if test $ac_cv_lib_m_main = yes; then
106282 cat >>confdefs.h <<_ACEOF
106283 #define HAVE_LIBM 1
106284 _ACEOF
106286 LIBS="-lm $LIBS"
106291 for ac_func in copysignf
106293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106294 echo "$as_me:$LINENO: checking for $ac_func" >&5
106295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106296 if eval "test \"\${$as_ac_var+set}\" = set"; then
106297 echo $ECHO_N "(cached) $ECHO_C" >&6
106299 if test x$gcc_no_link = xyes; then
106300 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106301 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106302 { (exit 1); exit 1; }; }
106304 cat >conftest.$ac_ext <<_ACEOF
106305 /* confdefs.h. */
106306 _ACEOF
106307 cat confdefs.h >>conftest.$ac_ext
106308 cat >>conftest.$ac_ext <<_ACEOF
106309 /* end confdefs.h. */
106310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106312 #define $ac_func innocuous_$ac_func
106314 /* System header to define __stub macros and hopefully few prototypes,
106315 which can conflict with char $ac_func (); below.
106316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106317 <limits.h> exists even on freestanding compilers. */
106319 #ifdef __STDC__
106320 # include <limits.h>
106321 #else
106322 # include <assert.h>
106323 #endif
106325 #undef $ac_func
106327 /* Override any gcc2 internal prototype to avoid an error. */
106328 #ifdef __cplusplus
106329 extern "C"
106331 #endif
106332 /* We use char because int might match the return type of a gcc2
106333 builtin and then its argument prototype would still apply. */
106334 char $ac_func ();
106335 /* The GNU C library defines this for functions which it implements
106336 to always fail with ENOSYS. Some functions are actually named
106337 something starting with __ and the normal name is an alias. */
106338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106339 choke me
106340 #else
106341 char (*f) () = $ac_func;
106342 #endif
106343 #ifdef __cplusplus
106345 #endif
106348 main ()
106350 return f != $ac_func;
106352 return 0;
106354 _ACEOF
106355 rm -f conftest.$ac_objext conftest$ac_exeext
106356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106357 (eval $ac_link) 2>conftest.er1
106358 ac_status=$?
106359 grep -v '^ *+' conftest.er1 >conftest.err
106360 rm -f conftest.er1
106361 cat conftest.err >&5
106362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106363 (exit $ac_status); } &&
106364 { ac_try='test -z "$ac_c_werror_flag"
106365 || test ! -s conftest.err'
106366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106367 (eval $ac_try) 2>&5
106368 ac_status=$?
106369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106370 (exit $ac_status); }; } &&
106371 { ac_try='test -s conftest$ac_exeext'
106372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106373 (eval $ac_try) 2>&5
106374 ac_status=$?
106375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106376 (exit $ac_status); }; }; then
106377 eval "$as_ac_var=yes"
106379 echo "$as_me: failed program was:" >&5
106380 sed 's/^/| /' conftest.$ac_ext >&5
106382 eval "$as_ac_var=no"
106384 rm -f conftest.err conftest.$ac_objext \
106385 conftest$ac_exeext conftest.$ac_ext
106387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106389 if test `eval echo '${'$as_ac_var'}'` = yes; then
106390 cat >>confdefs.h <<_ACEOF
106391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106392 _ACEOF
106395 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
106401 for ac_func in __signbit
106403 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106404 echo "$as_me:$LINENO: checking for $ac_func" >&5
106405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106406 if eval "test \"\${$as_ac_var+set}\" = set"; then
106407 echo $ECHO_N "(cached) $ECHO_C" >&6
106409 if test x$gcc_no_link = xyes; then
106410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106412 { (exit 1); exit 1; }; }
106414 cat >conftest.$ac_ext <<_ACEOF
106415 /* confdefs.h. */
106416 _ACEOF
106417 cat confdefs.h >>conftest.$ac_ext
106418 cat >>conftest.$ac_ext <<_ACEOF
106419 /* end confdefs.h. */
106420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106421 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106422 #define $ac_func innocuous_$ac_func
106424 /* System header to define __stub macros and hopefully few prototypes,
106425 which can conflict with char $ac_func (); below.
106426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106427 <limits.h> exists even on freestanding compilers. */
106429 #ifdef __STDC__
106430 # include <limits.h>
106431 #else
106432 # include <assert.h>
106433 #endif
106435 #undef $ac_func
106437 /* Override any gcc2 internal prototype to avoid an error. */
106438 #ifdef __cplusplus
106439 extern "C"
106441 #endif
106442 /* We use char because int might match the return type of a gcc2
106443 builtin and then its argument prototype would still apply. */
106444 char $ac_func ();
106445 /* The GNU C library defines this for functions which it implements
106446 to always fail with ENOSYS. Some functions are actually named
106447 something starting with __ and the normal name is an alias. */
106448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106449 choke me
106450 #else
106451 char (*f) () = $ac_func;
106452 #endif
106453 #ifdef __cplusplus
106455 #endif
106458 main ()
106460 return f != $ac_func;
106462 return 0;
106464 _ACEOF
106465 rm -f conftest.$ac_objext conftest$ac_exeext
106466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106467 (eval $ac_link) 2>conftest.er1
106468 ac_status=$?
106469 grep -v '^ *+' conftest.er1 >conftest.err
106470 rm -f conftest.er1
106471 cat conftest.err >&5
106472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106473 (exit $ac_status); } &&
106474 { ac_try='test -z "$ac_c_werror_flag"
106475 || test ! -s conftest.err'
106476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106477 (eval $ac_try) 2>&5
106478 ac_status=$?
106479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106480 (exit $ac_status); }; } &&
106481 { ac_try='test -s conftest$ac_exeext'
106482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106483 (eval $ac_try) 2>&5
106484 ac_status=$?
106485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106486 (exit $ac_status); }; }; then
106487 eval "$as_ac_var=yes"
106489 echo "$as_me: failed program was:" >&5
106490 sed 's/^/| /' conftest.$ac_ext >&5
106492 eval "$as_ac_var=no"
106494 rm -f conftest.err conftest.$ac_objext \
106495 conftest$ac_exeext conftest.$ac_ext
106497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106499 if test `eval echo '${'$as_ac_var'}'` = yes; then
106500 cat >>confdefs.h <<_ACEOF
106501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106502 _ACEOF
106505 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
106511 for ac_func in __signbitf
106513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106514 echo "$as_me:$LINENO: checking for $ac_func" >&5
106515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106516 if eval "test \"\${$as_ac_var+set}\" = set"; then
106517 echo $ECHO_N "(cached) $ECHO_C" >&6
106519 if test x$gcc_no_link = xyes; then
106520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106522 { (exit 1); exit 1; }; }
106524 cat >conftest.$ac_ext <<_ACEOF
106525 /* confdefs.h. */
106526 _ACEOF
106527 cat confdefs.h >>conftest.$ac_ext
106528 cat >>conftest.$ac_ext <<_ACEOF
106529 /* end confdefs.h. */
106530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106532 #define $ac_func innocuous_$ac_func
106534 /* System header to define __stub macros and hopefully few prototypes,
106535 which can conflict with char $ac_func (); below.
106536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106537 <limits.h> exists even on freestanding compilers. */
106539 #ifdef __STDC__
106540 # include <limits.h>
106541 #else
106542 # include <assert.h>
106543 #endif
106545 #undef $ac_func
106547 /* Override any gcc2 internal prototype to avoid an error. */
106548 #ifdef __cplusplus
106549 extern "C"
106551 #endif
106552 /* We use char because int might match the return type of a gcc2
106553 builtin and then its argument prototype would still apply. */
106554 char $ac_func ();
106555 /* The GNU C library defines this for functions which it implements
106556 to always fail with ENOSYS. Some functions are actually named
106557 something starting with __ and the normal name is an alias. */
106558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106559 choke me
106560 #else
106561 char (*f) () = $ac_func;
106562 #endif
106563 #ifdef __cplusplus
106565 #endif
106568 main ()
106570 return f != $ac_func;
106572 return 0;
106574 _ACEOF
106575 rm -f conftest.$ac_objext conftest$ac_exeext
106576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106577 (eval $ac_link) 2>conftest.er1
106578 ac_status=$?
106579 grep -v '^ *+' conftest.er1 >conftest.err
106580 rm -f conftest.er1
106581 cat conftest.err >&5
106582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106583 (exit $ac_status); } &&
106584 { ac_try='test -z "$ac_c_werror_flag"
106585 || test ! -s conftest.err'
106586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106587 (eval $ac_try) 2>&5
106588 ac_status=$?
106589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106590 (exit $ac_status); }; } &&
106591 { ac_try='test -s conftest$ac_exeext'
106592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106593 (eval $ac_try) 2>&5
106594 ac_status=$?
106595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106596 (exit $ac_status); }; }; then
106597 eval "$as_ac_var=yes"
106599 echo "$as_me: failed program was:" >&5
106600 sed 's/^/| /' conftest.$ac_ext >&5
106602 eval "$as_ac_var=no"
106604 rm -f conftest.err conftest.$ac_objext \
106605 conftest$ac_exeext conftest.$ac_ext
106607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106609 if test `eval echo '${'$as_ac_var'}'` = yes; then
106610 cat >>confdefs.h <<_ACEOF
106611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106612 _ACEOF
106615 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
106620 if test x$ac_cv_func_copysignl = x"yes"; then
106622 for ac_func in __signbitl
106624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106625 echo "$as_me:$LINENO: checking for $ac_func" >&5
106626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106627 if eval "test \"\${$as_ac_var+set}\" = set"; then
106628 echo $ECHO_N "(cached) $ECHO_C" >&6
106630 if test x$gcc_no_link = xyes; then
106631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106633 { (exit 1); exit 1; }; }
106635 cat >conftest.$ac_ext <<_ACEOF
106636 /* confdefs.h. */
106637 _ACEOF
106638 cat confdefs.h >>conftest.$ac_ext
106639 cat >>conftest.$ac_ext <<_ACEOF
106640 /* end confdefs.h. */
106641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106643 #define $ac_func innocuous_$ac_func
106645 /* System header to define __stub macros and hopefully few prototypes,
106646 which can conflict with char $ac_func (); below.
106647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106648 <limits.h> exists even on freestanding compilers. */
106650 #ifdef __STDC__
106651 # include <limits.h>
106652 #else
106653 # include <assert.h>
106654 #endif
106656 #undef $ac_func
106658 /* Override any gcc2 internal prototype to avoid an error. */
106659 #ifdef __cplusplus
106660 extern "C"
106662 #endif
106663 /* We use char because int might match the return type of a gcc2
106664 builtin and then its argument prototype would still apply. */
106665 char $ac_func ();
106666 /* The GNU C library defines this for functions which it implements
106667 to always fail with ENOSYS. Some functions are actually named
106668 something starting with __ and the normal name is an alias. */
106669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106670 choke me
106671 #else
106672 char (*f) () = $ac_func;
106673 #endif
106674 #ifdef __cplusplus
106676 #endif
106679 main ()
106681 return f != $ac_func;
106683 return 0;
106685 _ACEOF
106686 rm -f conftest.$ac_objext conftest$ac_exeext
106687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106688 (eval $ac_link) 2>conftest.er1
106689 ac_status=$?
106690 grep -v '^ *+' conftest.er1 >conftest.err
106691 rm -f conftest.er1
106692 cat conftest.err >&5
106693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106694 (exit $ac_status); } &&
106695 { ac_try='test -z "$ac_c_werror_flag"
106696 || test ! -s conftest.err'
106697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106698 (eval $ac_try) 2>&5
106699 ac_status=$?
106700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106701 (exit $ac_status); }; } &&
106702 { ac_try='test -s conftest$ac_exeext'
106703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106704 (eval $ac_try) 2>&5
106705 ac_status=$?
106706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106707 (exit $ac_status); }; }; then
106708 eval "$as_ac_var=yes"
106710 echo "$as_me: failed program was:" >&5
106711 sed 's/^/| /' conftest.$ac_ext >&5
106713 eval "$as_ac_var=no"
106715 rm -f conftest.err conftest.$ac_objext \
106716 conftest$ac_exeext conftest.$ac_ext
106718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106720 if test `eval echo '${'$as_ac_var'}'` = yes; then
106721 cat >>confdefs.h <<_ACEOF
106722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106723 _ACEOF
106726 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
106732 # Used in libmath/Makefile.am.
106733 if test -n "$LIBMATHOBJS"; then
106734 need_libmath=yes
106739 ac_test_CXXFLAGS="${CXXFLAGS+set}"
106740 ac_save_CXXFLAGS="$CXXFLAGS"
106741 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
106744 echo "$as_me:$LINENO: checking for strtold declaration" >&5
106745 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
106746 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
106747 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
106748 echo $ECHO_N "(cached) $ECHO_C" >&6
106753 ac_ext=cc
106754 ac_cpp='$CXXCPP $CPPFLAGS'
106755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106759 cat >conftest.$ac_ext <<_ACEOF
106760 /* confdefs.h. */
106761 _ACEOF
106762 cat confdefs.h >>conftest.$ac_ext
106763 cat >>conftest.$ac_ext <<_ACEOF
106764 /* end confdefs.h. */
106765 #include <stdlib.h>
106767 main ()
106769 strtold(0, 0);
106771 return 0;
106773 _ACEOF
106774 rm -f conftest.$ac_objext
106775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106776 (eval $ac_compile) 2>conftest.er1
106777 ac_status=$?
106778 grep -v '^ *+' conftest.er1 >conftest.err
106779 rm -f conftest.er1
106780 cat conftest.err >&5
106781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106782 (exit $ac_status); } &&
106783 { ac_try='test -z "$ac_cxx_werror_flag"
106784 || test ! -s conftest.err'
106785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106786 (eval $ac_try) 2>&5
106787 ac_status=$?
106788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106789 (exit $ac_status); }; } &&
106790 { ac_try='test -s conftest.$ac_objext'
106791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106792 (eval $ac_try) 2>&5
106793 ac_status=$?
106794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106795 (exit $ac_status); }; }; then
106796 glibcxx_cv_func_strtold_use=yes
106798 echo "$as_me: failed program was:" >&5
106799 sed 's/^/| /' conftest.$ac_ext >&5
106801 glibcxx_cv_func_strtold_use=no
106803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106804 ac_ext=c
106805 ac_cpp='$CPP $CPPFLAGS'
106806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106814 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
106815 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
106816 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
106818 for ac_func in strtold
106820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106821 echo "$as_me:$LINENO: checking for $ac_func" >&5
106822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106823 if eval "test \"\${$as_ac_var+set}\" = set"; then
106824 echo $ECHO_N "(cached) $ECHO_C" >&6
106826 if test x$gcc_no_link = xyes; then
106827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106829 { (exit 1); exit 1; }; }
106831 cat >conftest.$ac_ext <<_ACEOF
106832 /* confdefs.h. */
106833 _ACEOF
106834 cat confdefs.h >>conftest.$ac_ext
106835 cat >>conftest.$ac_ext <<_ACEOF
106836 /* end confdefs.h. */
106837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106839 #define $ac_func innocuous_$ac_func
106841 /* System header to define __stub macros and hopefully few prototypes,
106842 which can conflict with char $ac_func (); below.
106843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106844 <limits.h> exists even on freestanding compilers. */
106846 #ifdef __STDC__
106847 # include <limits.h>
106848 #else
106849 # include <assert.h>
106850 #endif
106852 #undef $ac_func
106854 /* Override any gcc2 internal prototype to avoid an error. */
106855 #ifdef __cplusplus
106856 extern "C"
106858 #endif
106859 /* We use char because int might match the return type of a gcc2
106860 builtin and then its argument prototype would still apply. */
106861 char $ac_func ();
106862 /* The GNU C library defines this for functions which it implements
106863 to always fail with ENOSYS. Some functions are actually named
106864 something starting with __ and the normal name is an alias. */
106865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106866 choke me
106867 #else
106868 char (*f) () = $ac_func;
106869 #endif
106870 #ifdef __cplusplus
106872 #endif
106875 main ()
106877 return f != $ac_func;
106879 return 0;
106881 _ACEOF
106882 rm -f conftest.$ac_objext conftest$ac_exeext
106883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106884 (eval $ac_link) 2>conftest.er1
106885 ac_status=$?
106886 grep -v '^ *+' conftest.er1 >conftest.err
106887 rm -f conftest.er1
106888 cat conftest.err >&5
106889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106890 (exit $ac_status); } &&
106891 { ac_try='test -z "$ac_c_werror_flag"
106892 || test ! -s conftest.err'
106893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106894 (eval $ac_try) 2>&5
106895 ac_status=$?
106896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106897 (exit $ac_status); }; } &&
106898 { ac_try='test -s conftest$ac_exeext'
106899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106900 (eval $ac_try) 2>&5
106901 ac_status=$?
106902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106903 (exit $ac_status); }; }; then
106904 eval "$as_ac_var=yes"
106906 echo "$as_me: failed program was:" >&5
106907 sed 's/^/| /' conftest.$ac_ext >&5
106909 eval "$as_ac_var=no"
106911 rm -f conftest.err conftest.$ac_objext \
106912 conftest$ac_exeext conftest.$ac_ext
106914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106916 if test `eval echo '${'$as_ac_var'}'` = yes; then
106917 cat >>confdefs.h <<_ACEOF
106918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106919 _ACEOF
106930 echo "$as_me:$LINENO: checking for strtof declaration" >&5
106931 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
106932 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
106933 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
106934 echo $ECHO_N "(cached) $ECHO_C" >&6
106939 ac_ext=cc
106940 ac_cpp='$CXXCPP $CPPFLAGS'
106941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106945 cat >conftest.$ac_ext <<_ACEOF
106946 /* confdefs.h. */
106947 _ACEOF
106948 cat confdefs.h >>conftest.$ac_ext
106949 cat >>conftest.$ac_ext <<_ACEOF
106950 /* end confdefs.h. */
106951 #include <stdlib.h>
106953 main ()
106955 strtof(0, 0);
106957 return 0;
106959 _ACEOF
106960 rm -f conftest.$ac_objext
106961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106962 (eval $ac_compile) 2>conftest.er1
106963 ac_status=$?
106964 grep -v '^ *+' conftest.er1 >conftest.err
106965 rm -f conftest.er1
106966 cat conftest.err >&5
106967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106968 (exit $ac_status); } &&
106969 { ac_try='test -z "$ac_cxx_werror_flag"
106970 || test ! -s conftest.err'
106971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106972 (eval $ac_try) 2>&5
106973 ac_status=$?
106974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106975 (exit $ac_status); }; } &&
106976 { ac_try='test -s conftest.$ac_objext'
106977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106978 (eval $ac_try) 2>&5
106979 ac_status=$?
106980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106981 (exit $ac_status); }; }; then
106982 glibcxx_cv_func_strtof_use=yes
106984 echo "$as_me: failed program was:" >&5
106985 sed 's/^/| /' conftest.$ac_ext >&5
106987 glibcxx_cv_func_strtof_use=no
106989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106990 ac_ext=c
106991 ac_cpp='$CPP $CPPFLAGS'
106992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107000 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
107001 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
107002 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
107004 for ac_func in strtof
107006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107007 echo "$as_me:$LINENO: checking for $ac_func" >&5
107008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107009 if eval "test \"\${$as_ac_var+set}\" = set"; then
107010 echo $ECHO_N "(cached) $ECHO_C" >&6
107012 if test x$gcc_no_link = xyes; then
107013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107015 { (exit 1); exit 1; }; }
107017 cat >conftest.$ac_ext <<_ACEOF
107018 /* confdefs.h. */
107019 _ACEOF
107020 cat confdefs.h >>conftest.$ac_ext
107021 cat >>conftest.$ac_ext <<_ACEOF
107022 /* end confdefs.h. */
107023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107025 #define $ac_func innocuous_$ac_func
107027 /* System header to define __stub macros and hopefully few prototypes,
107028 which can conflict with char $ac_func (); below.
107029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107030 <limits.h> exists even on freestanding compilers. */
107032 #ifdef __STDC__
107033 # include <limits.h>
107034 #else
107035 # include <assert.h>
107036 #endif
107038 #undef $ac_func
107040 /* Override any gcc2 internal prototype to avoid an error. */
107041 #ifdef __cplusplus
107042 extern "C"
107044 #endif
107045 /* We use char because int might match the return type of a gcc2
107046 builtin and then its argument prototype would still apply. */
107047 char $ac_func ();
107048 /* The GNU C library defines this for functions which it implements
107049 to always fail with ENOSYS. Some functions are actually named
107050 something starting with __ and the normal name is an alias. */
107051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107052 choke me
107053 #else
107054 char (*f) () = $ac_func;
107055 #endif
107056 #ifdef __cplusplus
107058 #endif
107061 main ()
107063 return f != $ac_func;
107065 return 0;
107067 _ACEOF
107068 rm -f conftest.$ac_objext conftest$ac_exeext
107069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107070 (eval $ac_link) 2>conftest.er1
107071 ac_status=$?
107072 grep -v '^ *+' conftest.er1 >conftest.err
107073 rm -f conftest.er1
107074 cat conftest.err >&5
107075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107076 (exit $ac_status); } &&
107077 { ac_try='test -z "$ac_c_werror_flag"
107078 || test ! -s conftest.err'
107079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107080 (eval $ac_try) 2>&5
107081 ac_status=$?
107082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107083 (exit $ac_status); }; } &&
107084 { ac_try='test -s conftest$ac_exeext'
107085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107086 (eval $ac_try) 2>&5
107087 ac_status=$?
107088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107089 (exit $ac_status); }; }; then
107090 eval "$as_ac_var=yes"
107092 echo "$as_me: failed program was:" >&5
107093 sed 's/^/| /' conftest.$ac_ext >&5
107095 eval "$as_ac_var=no"
107097 rm -f conftest.err conftest.$ac_objext \
107098 conftest$ac_exeext conftest.$ac_ext
107100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107102 if test `eval echo '${'$as_ac_var'}'` = yes; then
107103 cat >>confdefs.h <<_ACEOF
107104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107105 _ACEOF
107116 CXXFLAGS="$ac_save_CXXFLAGS"
107119 # For LFS.
107120 cat >>confdefs.h <<\_ACEOF
107121 #define HAVE_INT64_T 1
107122 _ACEOF
107127 ac_ext=cc
107128 ac_cpp='$CXXCPP $CPPFLAGS'
107129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107133 ac_save_CXXFLAGS="$CXXFLAGS"
107134 CXXFLAGS="$CXXFLAGS -fno-exceptions"
107135 echo "$as_me:$LINENO: checking for LFS support" >&5
107136 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
107137 if test "${glibcxx_cv_LFS+set}" = set; then
107138 echo $ECHO_N "(cached) $ECHO_C" >&6
107141 if test x$gcc_no_link = xyes; then
107142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107144 { (exit 1); exit 1; }; }
107146 cat >conftest.$ac_ext <<_ACEOF
107147 /* confdefs.h. */
107148 _ACEOF
107149 cat confdefs.h >>conftest.$ac_ext
107150 cat >>conftest.$ac_ext <<_ACEOF
107151 /* end confdefs.h. */
107152 #include <unistd.h>
107153 #include <stdio.h>
107154 #include <sys/stat.h>
107157 main ()
107159 FILE* fp;
107160 fopen64("t", "w");
107161 fseeko64(fp, 0, SEEK_CUR);
107162 ftello64(fp);
107163 lseek64(1, 0, SEEK_CUR);
107164 struct stat64 buf;
107165 fstat64(1, &buf);
107167 return 0;
107169 _ACEOF
107170 rm -f conftest.$ac_objext conftest$ac_exeext
107171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107172 (eval $ac_link) 2>conftest.er1
107173 ac_status=$?
107174 grep -v '^ *+' conftest.er1 >conftest.err
107175 rm -f conftest.er1
107176 cat conftest.err >&5
107177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107178 (exit $ac_status); } &&
107179 { ac_try='test -z "$ac_cxx_werror_flag"
107180 || test ! -s conftest.err'
107181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107182 (eval $ac_try) 2>&5
107183 ac_status=$?
107184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107185 (exit $ac_status); }; } &&
107186 { ac_try='test -s conftest$ac_exeext'
107187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107188 (eval $ac_try) 2>&5
107189 ac_status=$?
107190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107191 (exit $ac_status); }; }; then
107192 glibcxx_cv_LFS=yes
107194 echo "$as_me: failed program was:" >&5
107195 sed 's/^/| /' conftest.$ac_ext >&5
107197 glibcxx_cv_LFS=no
107199 rm -f conftest.err conftest.$ac_objext \
107200 conftest$ac_exeext conftest.$ac_ext
107204 if test $glibcxx_cv_LFS = yes; then
107206 cat >>confdefs.h <<\_ACEOF
107207 #define _GLIBCXX_USE_LFS 1
107208 _ACEOF
107211 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
107212 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
107213 CXXFLAGS="$ac_save_CXXFLAGS"
107214 ac_ext=c
107215 ac_cpp='$CPP $CPPFLAGS'
107216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107222 # For showmanyc_helper().
107225 for ac_header in sys/ioctl.h sys/filio.h
107227 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
107228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107229 echo "$as_me:$LINENO: checking for $ac_header" >&5
107230 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
107231 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107232 echo $ECHO_N "(cached) $ECHO_C" >&6
107234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
107235 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
107237 # Is the header compilable?
107238 echo "$as_me:$LINENO: checking $ac_header usability" >&5
107239 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
107240 cat >conftest.$ac_ext <<_ACEOF
107241 /* confdefs.h. */
107242 _ACEOF
107243 cat confdefs.h >>conftest.$ac_ext
107244 cat >>conftest.$ac_ext <<_ACEOF
107245 /* end confdefs.h. */
107246 $ac_includes_default
107247 #include <$ac_header>
107248 _ACEOF
107249 rm -f conftest.$ac_objext
107250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107251 (eval $ac_compile) 2>conftest.er1
107252 ac_status=$?
107253 grep -v '^ *+' conftest.er1 >conftest.err
107254 rm -f conftest.er1
107255 cat conftest.err >&5
107256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107257 (exit $ac_status); } &&
107258 { ac_try='test -z "$ac_c_werror_flag"
107259 || test ! -s conftest.err'
107260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107261 (eval $ac_try) 2>&5
107262 ac_status=$?
107263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107264 (exit $ac_status); }; } &&
107265 { ac_try='test -s conftest.$ac_objext'
107266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107267 (eval $ac_try) 2>&5
107268 ac_status=$?
107269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107270 (exit $ac_status); }; }; then
107271 ac_header_compiler=yes
107273 echo "$as_me: failed program was:" >&5
107274 sed 's/^/| /' conftest.$ac_ext >&5
107276 ac_header_compiler=no
107278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107279 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
107280 echo "${ECHO_T}$ac_header_compiler" >&6
107282 # Is the header present?
107283 echo "$as_me:$LINENO: checking $ac_header presence" >&5
107284 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
107285 cat >conftest.$ac_ext <<_ACEOF
107286 /* confdefs.h. */
107287 _ACEOF
107288 cat confdefs.h >>conftest.$ac_ext
107289 cat >>conftest.$ac_ext <<_ACEOF
107290 /* end confdefs.h. */
107291 #include <$ac_header>
107292 _ACEOF
107293 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
107294 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
107295 ac_status=$?
107296 grep -v '^ *+' conftest.er1 >conftest.err
107297 rm -f conftest.er1
107298 cat conftest.err >&5
107299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107300 (exit $ac_status); } >/dev/null; then
107301 if test -s conftest.err; then
107302 ac_cpp_err=$ac_c_preproc_warn_flag
107303 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
107305 ac_cpp_err=
107308 ac_cpp_err=yes
107310 if test -z "$ac_cpp_err"; then
107311 ac_header_preproc=yes
107313 echo "$as_me: failed program was:" >&5
107314 sed 's/^/| /' conftest.$ac_ext >&5
107316 ac_header_preproc=no
107318 rm -f conftest.err conftest.$ac_ext
107319 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
107320 echo "${ECHO_T}$ac_header_preproc" >&6
107322 # So? What about this header?
107323 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
107324 yes:no: )
107325 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
107326 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
107327 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
107328 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
107329 ac_header_preproc=yes
107331 no:yes:* )
107332 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
107333 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
107334 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
107335 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
107336 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
107337 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
107338 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
107339 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
107340 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
107341 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
107342 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
107343 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
107345 cat <<\_ASBOX
107346 ## ----------------------------------------- ##
107347 ## Report this to the package-unused lists. ##
107348 ## ----------------------------------------- ##
107349 _ASBOX
107351 sed "s/^/$as_me: WARNING: /" >&2
107354 echo "$as_me:$LINENO: checking for $ac_header" >&5
107355 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
107356 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107357 echo $ECHO_N "(cached) $ECHO_C" >&6
107359 eval "$as_ac_Header=\$ac_header_preproc"
107361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
107362 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
107365 if test `eval echo '${'$as_ac_Header'}'` = yes; then
107366 cat >>confdefs.h <<_ACEOF
107367 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
107368 _ACEOF
107375 echo "$as_me:$LINENO: checking for poll" >&5
107376 echo $ECHO_N "checking for poll... $ECHO_C" >&6
107377 if test "${glibcxx_cv_POLL+set}" = set; then
107378 echo $ECHO_N "(cached) $ECHO_C" >&6
107381 if test x$gcc_no_link = xyes; then
107382 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107384 { (exit 1); exit 1; }; }
107386 cat >conftest.$ac_ext <<_ACEOF
107387 /* confdefs.h. */
107388 _ACEOF
107389 cat confdefs.h >>conftest.$ac_ext
107390 cat >>conftest.$ac_ext <<_ACEOF
107391 /* end confdefs.h. */
107392 #include <poll.h>
107394 main ()
107396 struct pollfd pfd[1];
107397 pfd[0].events = POLLIN;
107398 poll(pfd, 1, 0);
107400 return 0;
107402 _ACEOF
107403 rm -f conftest.$ac_objext conftest$ac_exeext
107404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107405 (eval $ac_link) 2>conftest.er1
107406 ac_status=$?
107407 grep -v '^ *+' conftest.er1 >conftest.err
107408 rm -f conftest.er1
107409 cat conftest.err >&5
107410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107411 (exit $ac_status); } &&
107412 { ac_try='test -z "$ac_c_werror_flag"
107413 || test ! -s conftest.err'
107414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107415 (eval $ac_try) 2>&5
107416 ac_status=$?
107417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107418 (exit $ac_status); }; } &&
107419 { ac_try='test -s conftest$ac_exeext'
107420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107421 (eval $ac_try) 2>&5
107422 ac_status=$?
107423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107424 (exit $ac_status); }; }; then
107425 glibcxx_cv_POLL=yes
107427 echo "$as_me: failed program was:" >&5
107428 sed 's/^/| /' conftest.$ac_ext >&5
107430 glibcxx_cv_POLL=no
107432 rm -f conftest.err conftest.$ac_objext \
107433 conftest$ac_exeext conftest.$ac_ext
107437 if test $glibcxx_cv_POLL = yes; then
107439 cat >>confdefs.h <<\_ACEOF
107440 #define HAVE_POLL 1
107441 _ACEOF
107444 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
107445 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
107448 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
107449 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
107450 if test "${glibcxx_cv_S_ISREG+set}" = set; then
107451 echo $ECHO_N "(cached) $ECHO_C" >&6
107454 if test x$gcc_no_link = xyes; then
107455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107457 { (exit 1); exit 1; }; }
107459 cat >conftest.$ac_ext <<_ACEOF
107460 /* confdefs.h. */
107461 _ACEOF
107462 cat confdefs.h >>conftest.$ac_ext
107463 cat >>conftest.$ac_ext <<_ACEOF
107464 /* end confdefs.h. */
107465 #include <sys/stat.h>
107467 main ()
107469 struct stat buffer;
107470 fstat(0, &buffer);
107471 S_ISREG(buffer.st_mode);
107473 return 0;
107475 _ACEOF
107476 rm -f conftest.$ac_objext conftest$ac_exeext
107477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107478 (eval $ac_link) 2>conftest.er1
107479 ac_status=$?
107480 grep -v '^ *+' conftest.er1 >conftest.err
107481 rm -f conftest.er1
107482 cat conftest.err >&5
107483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107484 (exit $ac_status); } &&
107485 { ac_try='test -z "$ac_c_werror_flag"
107486 || test ! -s conftest.err'
107487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107488 (eval $ac_try) 2>&5
107489 ac_status=$?
107490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107491 (exit $ac_status); }; } &&
107492 { ac_try='test -s conftest$ac_exeext'
107493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107494 (eval $ac_try) 2>&5
107495 ac_status=$?
107496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107497 (exit $ac_status); }; }; then
107498 glibcxx_cv_S_ISREG=yes
107500 echo "$as_me: failed program was:" >&5
107501 sed 's/^/| /' conftest.$ac_ext >&5
107503 glibcxx_cv_S_ISREG=no
107505 rm -f conftest.err conftest.$ac_objext \
107506 conftest$ac_exeext conftest.$ac_ext
107510 if test "${glibcxx_cv_S_IFREG+set}" = set; then
107511 echo $ECHO_N "(cached) $ECHO_C" >&6
107514 if test x$gcc_no_link = xyes; then
107515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107517 { (exit 1); exit 1; }; }
107519 cat >conftest.$ac_ext <<_ACEOF
107520 /* confdefs.h. */
107521 _ACEOF
107522 cat confdefs.h >>conftest.$ac_ext
107523 cat >>conftest.$ac_ext <<_ACEOF
107524 /* end confdefs.h. */
107525 #include <sys/stat.h>
107527 main ()
107529 struct stat buffer;
107530 fstat(0, &buffer);
107531 S_IFREG & buffer.st_mode;
107533 return 0;
107535 _ACEOF
107536 rm -f conftest.$ac_objext conftest$ac_exeext
107537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107538 (eval $ac_link) 2>conftest.er1
107539 ac_status=$?
107540 grep -v '^ *+' conftest.er1 >conftest.err
107541 rm -f conftest.er1
107542 cat conftest.err >&5
107543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107544 (exit $ac_status); } &&
107545 { ac_try='test -z "$ac_c_werror_flag"
107546 || test ! -s conftest.err'
107547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107548 (eval $ac_try) 2>&5
107549 ac_status=$?
107550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107551 (exit $ac_status); }; } &&
107552 { ac_try='test -s conftest$ac_exeext'
107553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107554 (eval $ac_try) 2>&5
107555 ac_status=$?
107556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107557 (exit $ac_status); }; }; then
107558 glibcxx_cv_S_IFREG=yes
107560 echo "$as_me: failed program was:" >&5
107561 sed 's/^/| /' conftest.$ac_ext >&5
107563 glibcxx_cv_S_IFREG=no
107565 rm -f conftest.err conftest.$ac_objext \
107566 conftest$ac_exeext conftest.$ac_ext
107570 res=no
107571 if test $glibcxx_cv_S_ISREG = yes; then
107573 cat >>confdefs.h <<\_ACEOF
107574 #define HAVE_S_ISREG 1
107575 _ACEOF
107577 res=S_ISREG
107578 elif test $glibcxx_cv_S_IFREG = yes; then
107580 cat >>confdefs.h <<\_ACEOF
107581 #define HAVE_S_IFREG 1
107582 _ACEOF
107584 res=S_IFREG
107586 echo "$as_me:$LINENO: result: $res" >&5
107587 echo "${ECHO_T}$res" >&6
107590 # For xsputn_2().
107592 for ac_header in sys/uio.h
107594 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
107595 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107596 echo "$as_me:$LINENO: checking for $ac_header" >&5
107597 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
107598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107599 echo $ECHO_N "(cached) $ECHO_C" >&6
107601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
107602 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
107604 # Is the header compilable?
107605 echo "$as_me:$LINENO: checking $ac_header usability" >&5
107606 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
107607 cat >conftest.$ac_ext <<_ACEOF
107608 /* confdefs.h. */
107609 _ACEOF
107610 cat confdefs.h >>conftest.$ac_ext
107611 cat >>conftest.$ac_ext <<_ACEOF
107612 /* end confdefs.h. */
107613 $ac_includes_default
107614 #include <$ac_header>
107615 _ACEOF
107616 rm -f conftest.$ac_objext
107617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107618 (eval $ac_compile) 2>conftest.er1
107619 ac_status=$?
107620 grep -v '^ *+' conftest.er1 >conftest.err
107621 rm -f conftest.er1
107622 cat conftest.err >&5
107623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107624 (exit $ac_status); } &&
107625 { ac_try='test -z "$ac_c_werror_flag"
107626 || test ! -s conftest.err'
107627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107628 (eval $ac_try) 2>&5
107629 ac_status=$?
107630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107631 (exit $ac_status); }; } &&
107632 { ac_try='test -s conftest.$ac_objext'
107633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107634 (eval $ac_try) 2>&5
107635 ac_status=$?
107636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107637 (exit $ac_status); }; }; then
107638 ac_header_compiler=yes
107640 echo "$as_me: failed program was:" >&5
107641 sed 's/^/| /' conftest.$ac_ext >&5
107643 ac_header_compiler=no
107645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107646 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
107647 echo "${ECHO_T}$ac_header_compiler" >&6
107649 # Is the header present?
107650 echo "$as_me:$LINENO: checking $ac_header presence" >&5
107651 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
107652 cat >conftest.$ac_ext <<_ACEOF
107653 /* confdefs.h. */
107654 _ACEOF
107655 cat confdefs.h >>conftest.$ac_ext
107656 cat >>conftest.$ac_ext <<_ACEOF
107657 /* end confdefs.h. */
107658 #include <$ac_header>
107659 _ACEOF
107660 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
107661 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
107662 ac_status=$?
107663 grep -v '^ *+' conftest.er1 >conftest.err
107664 rm -f conftest.er1
107665 cat conftest.err >&5
107666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107667 (exit $ac_status); } >/dev/null; then
107668 if test -s conftest.err; then
107669 ac_cpp_err=$ac_c_preproc_warn_flag
107670 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
107672 ac_cpp_err=
107675 ac_cpp_err=yes
107677 if test -z "$ac_cpp_err"; then
107678 ac_header_preproc=yes
107680 echo "$as_me: failed program was:" >&5
107681 sed 's/^/| /' conftest.$ac_ext >&5
107683 ac_header_preproc=no
107685 rm -f conftest.err conftest.$ac_ext
107686 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
107687 echo "${ECHO_T}$ac_header_preproc" >&6
107689 # So? What about this header?
107690 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
107691 yes:no: )
107692 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
107693 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
107694 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
107695 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
107696 ac_header_preproc=yes
107698 no:yes:* )
107699 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
107700 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
107701 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
107702 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
107703 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
107704 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
107705 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
107706 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
107707 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
107708 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
107709 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
107710 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
107712 cat <<\_ASBOX
107713 ## ----------------------------------------- ##
107714 ## Report this to the package-unused lists. ##
107715 ## ----------------------------------------- ##
107716 _ASBOX
107718 sed "s/^/$as_me: WARNING: /" >&2
107721 echo "$as_me:$LINENO: checking for $ac_header" >&5
107722 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
107723 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107724 echo $ECHO_N "(cached) $ECHO_C" >&6
107726 eval "$as_ac_Header=\$ac_header_preproc"
107728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
107729 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
107732 if test `eval echo '${'$as_ac_Header'}'` = yes; then
107733 cat >>confdefs.h <<_ACEOF
107734 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
107735 _ACEOF
107742 echo "$as_me:$LINENO: checking for writev" >&5
107743 echo $ECHO_N "checking for writev... $ECHO_C" >&6
107744 if test "${glibcxx_cv_WRITEV+set}" = set; then
107745 echo $ECHO_N "(cached) $ECHO_C" >&6
107748 if test x$gcc_no_link = xyes; then
107749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107751 { (exit 1); exit 1; }; }
107753 cat >conftest.$ac_ext <<_ACEOF
107754 /* confdefs.h. */
107755 _ACEOF
107756 cat confdefs.h >>conftest.$ac_ext
107757 cat >>conftest.$ac_ext <<_ACEOF
107758 /* end confdefs.h. */
107759 #include <sys/uio.h>
107761 main ()
107763 struct iovec iov[2];
107764 writev(0, iov, 0);
107766 return 0;
107768 _ACEOF
107769 rm -f conftest.$ac_objext conftest$ac_exeext
107770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107771 (eval $ac_link) 2>conftest.er1
107772 ac_status=$?
107773 grep -v '^ *+' conftest.er1 >conftest.err
107774 rm -f conftest.er1
107775 cat conftest.err >&5
107776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107777 (exit $ac_status); } &&
107778 { ac_try='test -z "$ac_c_werror_flag"
107779 || test ! -s conftest.err'
107780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107781 (eval $ac_try) 2>&5
107782 ac_status=$?
107783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107784 (exit $ac_status); }; } &&
107785 { ac_try='test -s conftest$ac_exeext'
107786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107787 (eval $ac_try) 2>&5
107788 ac_status=$?
107789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107790 (exit $ac_status); }; }; then
107791 glibcxx_cv_WRITEV=yes
107793 echo "$as_me: failed program was:" >&5
107794 sed 's/^/| /' conftest.$ac_ext >&5
107796 glibcxx_cv_WRITEV=no
107798 rm -f conftest.err conftest.$ac_objext \
107799 conftest$ac_exeext conftest.$ac_ext
107803 if test $glibcxx_cv_WRITEV = yes; then
107805 cat >>confdefs.h <<\_ACEOF
107806 #define HAVE_WRITEV 1
107807 _ACEOF
107810 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
107811 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
107814 # For C99 support to TR1.
107819 ac_ext=cc
107820 ac_cpp='$CXXCPP $CPPFLAGS'
107821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107826 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
107827 # undefined and fake C99 facilities may be spuriously enabled.
107828 ac_save_CXXFLAGS="$CXXFLAGS"
107829 CXXFLAGS="$CXXFLAGS -std=c++98"
107831 # Check for the existence of <complex.h> complex math functions used
107832 # by tr1/complex.
107834 for ac_header in complex.h
107836 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
107837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107838 echo "$as_me:$LINENO: checking for $ac_header" >&5
107839 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
107840 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107841 echo $ECHO_N "(cached) $ECHO_C" >&6
107843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
107844 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
107846 # Is the header compilable?
107847 echo "$as_me:$LINENO: checking $ac_header usability" >&5
107848 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
107849 cat >conftest.$ac_ext <<_ACEOF
107850 /* confdefs.h. */
107851 _ACEOF
107852 cat confdefs.h >>conftest.$ac_ext
107853 cat >>conftest.$ac_ext <<_ACEOF
107854 /* end confdefs.h. */
107855 $ac_includes_default
107856 #include <$ac_header>
107857 _ACEOF
107858 rm -f conftest.$ac_objext
107859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107860 (eval $ac_compile) 2>conftest.er1
107861 ac_status=$?
107862 grep -v '^ *+' conftest.er1 >conftest.err
107863 rm -f conftest.er1
107864 cat conftest.err >&5
107865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107866 (exit $ac_status); } &&
107867 { ac_try='test -z "$ac_cxx_werror_flag"
107868 || test ! -s conftest.err'
107869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107870 (eval $ac_try) 2>&5
107871 ac_status=$?
107872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107873 (exit $ac_status); }; } &&
107874 { ac_try='test -s conftest.$ac_objext'
107875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107876 (eval $ac_try) 2>&5
107877 ac_status=$?
107878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107879 (exit $ac_status); }; }; then
107880 ac_header_compiler=yes
107882 echo "$as_me: failed program was:" >&5
107883 sed 's/^/| /' conftest.$ac_ext >&5
107885 ac_header_compiler=no
107887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107888 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
107889 echo "${ECHO_T}$ac_header_compiler" >&6
107891 # Is the header present?
107892 echo "$as_me:$LINENO: checking $ac_header presence" >&5
107893 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
107894 cat >conftest.$ac_ext <<_ACEOF
107895 /* confdefs.h. */
107896 _ACEOF
107897 cat confdefs.h >>conftest.$ac_ext
107898 cat >>conftest.$ac_ext <<_ACEOF
107899 /* end confdefs.h. */
107900 #include <$ac_header>
107901 _ACEOF
107902 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
107903 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
107904 ac_status=$?
107905 grep -v '^ *+' conftest.er1 >conftest.err
107906 rm -f conftest.er1
107907 cat conftest.err >&5
107908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107909 (exit $ac_status); } >/dev/null; then
107910 if test -s conftest.err; then
107911 ac_cpp_err=$ac_cxx_preproc_warn_flag
107912 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
107914 ac_cpp_err=
107917 ac_cpp_err=yes
107919 if test -z "$ac_cpp_err"; then
107920 ac_header_preproc=yes
107922 echo "$as_me: failed program was:" >&5
107923 sed 's/^/| /' conftest.$ac_ext >&5
107925 ac_header_preproc=no
107927 rm -f conftest.err conftest.$ac_ext
107928 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
107929 echo "${ECHO_T}$ac_header_preproc" >&6
107931 # So? What about this header?
107932 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
107933 yes:no: )
107934 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
107935 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
107936 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
107937 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
107938 ac_header_preproc=yes
107940 no:yes:* )
107941 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
107942 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
107943 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
107944 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
107945 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
107946 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
107947 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
107948 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
107949 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
107950 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
107951 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
107952 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
107954 cat <<\_ASBOX
107955 ## ----------------------------------------- ##
107956 ## Report this to the package-unused lists. ##
107957 ## ----------------------------------------- ##
107958 _ASBOX
107960 sed "s/^/$as_me: WARNING: /" >&2
107963 echo "$as_me:$LINENO: checking for $ac_header" >&5
107964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
107965 if eval "test \"\${$as_ac_Header+set}\" = set"; then
107966 echo $ECHO_N "(cached) $ECHO_C" >&6
107968 eval "$as_ac_Header=\$ac_header_preproc"
107970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
107971 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
107974 if test `eval echo '${'$as_ac_Header'}'` = yes; then
107975 cat >>confdefs.h <<_ACEOF
107976 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
107977 _ACEOF
107978 ac_has_complex_h=yes
107980 ac_has_complex_h=no
107985 ac_c99_complex_tr1=no;
107986 if test x"$ac_has_complex_h" = x"yes"; then
107987 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
107988 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
107989 cat >conftest.$ac_ext <<_ACEOF
107990 /* confdefs.h. */
107991 _ACEOF
107992 cat confdefs.h >>conftest.$ac_ext
107993 cat >>conftest.$ac_ext <<_ACEOF
107994 /* end confdefs.h. */
107995 #include <complex.h>
107997 main ()
107999 typedef __complex__ float float_type; float_type tmpf;
108000 cacosf(tmpf);
108001 casinf(tmpf);
108002 catanf(tmpf);
108003 cacoshf(tmpf);
108004 casinhf(tmpf);
108005 catanhf(tmpf);
108006 typedef __complex__ double double_type; double_type tmpd;
108007 cacos(tmpd);
108008 casin(tmpd);
108009 catan(tmpd);
108010 cacosh(tmpd);
108011 casinh(tmpd);
108012 catanh(tmpd);
108013 typedef __complex__ long double ld_type; ld_type tmpld;
108014 cacosl(tmpld);
108015 casinl(tmpld);
108016 catanl(tmpld);
108017 cacoshl(tmpld);
108018 casinhl(tmpld);
108019 catanhl(tmpld);
108022 return 0;
108024 _ACEOF
108025 rm -f conftest.$ac_objext
108026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108027 (eval $ac_compile) 2>conftest.er1
108028 ac_status=$?
108029 grep -v '^ *+' conftest.er1 >conftest.err
108030 rm -f conftest.er1
108031 cat conftest.err >&5
108032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108033 (exit $ac_status); } &&
108034 { ac_try='test -z "$ac_cxx_werror_flag"
108035 || test ! -s conftest.err'
108036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108037 (eval $ac_try) 2>&5
108038 ac_status=$?
108039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108040 (exit $ac_status); }; } &&
108041 { ac_try='test -s conftest.$ac_objext'
108042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108043 (eval $ac_try) 2>&5
108044 ac_status=$?
108045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108046 (exit $ac_status); }; }; then
108047 ac_c99_complex_tr1=yes
108049 echo "$as_me: failed program was:" >&5
108050 sed 's/^/| /' conftest.$ac_ext >&5
108052 ac_c99_complex_tr1=no
108054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108056 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
108057 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
108058 if test x"$ac_c99_complex_tr1" = x"yes"; then
108060 cat >>confdefs.h <<\_ACEOF
108061 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
108062 _ACEOF
108066 # Check for the existence of <ctype.h> functions.
108067 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
108068 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
108069 if test "${ac_c99_ctype_tr1+set}" = set; then
108070 echo $ECHO_N "(cached) $ECHO_C" >&6
108073 cat >conftest.$ac_ext <<_ACEOF
108074 /* confdefs.h. */
108075 _ACEOF
108076 cat confdefs.h >>conftest.$ac_ext
108077 cat >>conftest.$ac_ext <<_ACEOF
108078 /* end confdefs.h. */
108079 #include <ctype.h>
108081 main ()
108083 int ch;
108084 int ret;
108085 ret = isblank(ch);
108088 return 0;
108090 _ACEOF
108091 rm -f conftest.$ac_objext
108092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108093 (eval $ac_compile) 2>conftest.er1
108094 ac_status=$?
108095 grep -v '^ *+' conftest.er1 >conftest.err
108096 rm -f conftest.er1
108097 cat conftest.err >&5
108098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108099 (exit $ac_status); } &&
108100 { ac_try='test -z "$ac_cxx_werror_flag"
108101 || test ! -s conftest.err'
108102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108103 (eval $ac_try) 2>&5
108104 ac_status=$?
108105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108106 (exit $ac_status); }; } &&
108107 { ac_try='test -s conftest.$ac_objext'
108108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108109 (eval $ac_try) 2>&5
108110 ac_status=$?
108111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108112 (exit $ac_status); }; }; then
108113 ac_c99_ctype_tr1=yes
108115 echo "$as_me: failed program was:" >&5
108116 sed 's/^/| /' conftest.$ac_ext >&5
108118 ac_c99_ctype_tr1=no
108120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108124 echo "$as_me:$LINENO: result: $ac_c99_ctype_tr1" >&5
108125 echo "${ECHO_T}$ac_c99_ctype_tr1" >&6
108126 if test x"$ac_c99_ctype_tr1" = x"yes"; then
108128 cat >>confdefs.h <<\_ACEOF
108129 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
108130 _ACEOF
108134 # Check for the existence of <fenv.h> functions.
108136 for ac_header in fenv.h
108138 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108140 echo "$as_me:$LINENO: checking for $ac_header" >&5
108141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108143 echo $ECHO_N "(cached) $ECHO_C" >&6
108145 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108146 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108148 # Is the header compilable?
108149 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108150 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108151 cat >conftest.$ac_ext <<_ACEOF
108152 /* confdefs.h. */
108153 _ACEOF
108154 cat confdefs.h >>conftest.$ac_ext
108155 cat >>conftest.$ac_ext <<_ACEOF
108156 /* end confdefs.h. */
108157 $ac_includes_default
108158 #include <$ac_header>
108159 _ACEOF
108160 rm -f conftest.$ac_objext
108161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108162 (eval $ac_compile) 2>conftest.er1
108163 ac_status=$?
108164 grep -v '^ *+' conftest.er1 >conftest.err
108165 rm -f conftest.er1
108166 cat conftest.err >&5
108167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108168 (exit $ac_status); } &&
108169 { ac_try='test -z "$ac_cxx_werror_flag"
108170 || test ! -s conftest.err'
108171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108172 (eval $ac_try) 2>&5
108173 ac_status=$?
108174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108175 (exit $ac_status); }; } &&
108176 { ac_try='test -s conftest.$ac_objext'
108177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108178 (eval $ac_try) 2>&5
108179 ac_status=$?
108180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108181 (exit $ac_status); }; }; then
108182 ac_header_compiler=yes
108184 echo "$as_me: failed program was:" >&5
108185 sed 's/^/| /' conftest.$ac_ext >&5
108187 ac_header_compiler=no
108189 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108190 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108191 echo "${ECHO_T}$ac_header_compiler" >&6
108193 # Is the header present?
108194 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108195 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108196 cat >conftest.$ac_ext <<_ACEOF
108197 /* confdefs.h. */
108198 _ACEOF
108199 cat confdefs.h >>conftest.$ac_ext
108200 cat >>conftest.$ac_ext <<_ACEOF
108201 /* end confdefs.h. */
108202 #include <$ac_header>
108203 _ACEOF
108204 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108205 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108206 ac_status=$?
108207 grep -v '^ *+' conftest.er1 >conftest.err
108208 rm -f conftest.er1
108209 cat conftest.err >&5
108210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108211 (exit $ac_status); } >/dev/null; then
108212 if test -s conftest.err; then
108213 ac_cpp_err=$ac_cxx_preproc_warn_flag
108214 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
108216 ac_cpp_err=
108219 ac_cpp_err=yes
108221 if test -z "$ac_cpp_err"; then
108222 ac_header_preproc=yes
108224 echo "$as_me: failed program was:" >&5
108225 sed 's/^/| /' conftest.$ac_ext >&5
108227 ac_header_preproc=no
108229 rm -f conftest.err conftest.$ac_ext
108230 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108231 echo "${ECHO_T}$ac_header_preproc" >&6
108233 # So? What about this header?
108234 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
108235 yes:no: )
108236 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108237 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108239 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108240 ac_header_preproc=yes
108242 no:yes:* )
108243 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108244 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108245 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
108246 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
108247 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108248 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108249 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
108250 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
108251 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108252 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108253 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108254 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108256 cat <<\_ASBOX
108257 ## ----------------------------------------- ##
108258 ## Report this to the package-unused lists. ##
108259 ## ----------------------------------------- ##
108260 _ASBOX
108262 sed "s/^/$as_me: WARNING: /" >&2
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 eval "$as_ac_Header=\$ac_header_preproc"
108272 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108273 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108276 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108277 cat >>confdefs.h <<_ACEOF
108278 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108279 _ACEOF
108280 ac_has_fenv_h=yes
108282 ac_has_fenv_h=no
108287 ac_c99_fenv_tr1=no;
108288 if test x"$ac_has_fenv_h" = x"yes"; then
108289 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
108290 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
108291 cat >conftest.$ac_ext <<_ACEOF
108292 /* confdefs.h. */
108293 _ACEOF
108294 cat confdefs.h >>conftest.$ac_ext
108295 cat >>conftest.$ac_ext <<_ACEOF
108296 /* end confdefs.h. */
108297 #include <fenv.h>
108299 main ()
108301 int except, mode;
108302 fexcept_t* pflag;
108303 fenv_t* penv;
108304 int ret;
108305 ret = feclearexcept(except);
108306 ret = fegetexceptflag(pflag, except);
108307 ret = feraiseexcept(except);
108308 ret = fesetexceptflag(pflag, except);
108309 ret = fetestexcept(except);
108310 ret = fegetround();
108311 ret = fesetround(mode);
108312 ret = fegetenv(penv);
108313 ret = feholdexcept(penv);
108314 ret = fesetenv(penv);
108315 ret = feupdateenv(penv);
108318 return 0;
108320 _ACEOF
108321 rm -f conftest.$ac_objext
108322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108323 (eval $ac_compile) 2>conftest.er1
108324 ac_status=$?
108325 grep -v '^ *+' conftest.er1 >conftest.err
108326 rm -f conftest.er1
108327 cat conftest.err >&5
108328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108329 (exit $ac_status); } &&
108330 { ac_try='test -z "$ac_cxx_werror_flag"
108331 || test ! -s conftest.err'
108332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108333 (eval $ac_try) 2>&5
108334 ac_status=$?
108335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108336 (exit $ac_status); }; } &&
108337 { ac_try='test -s conftest.$ac_objext'
108338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108339 (eval $ac_try) 2>&5
108340 ac_status=$?
108341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108342 (exit $ac_status); }; }; then
108343 ac_c99_fenv_tr1=yes
108345 echo "$as_me: failed program was:" >&5
108346 sed 's/^/| /' conftest.$ac_ext >&5
108348 ac_c99_fenv_tr1=no
108350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108352 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
108353 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
108354 if test x"$ac_c99_fenv_tr1" = x"yes"; then
108356 cat >>confdefs.h <<\_ACEOF
108357 #define _GLIBCXX_USE_C99_FENV_TR1 1
108358 _ACEOF
108362 # Check for the existence of <stdint.h> types.
108363 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
108364 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
108365 if test "${ac_c99_stdint_tr1+set}" = set; then
108366 echo $ECHO_N "(cached) $ECHO_C" >&6
108369 cat >conftest.$ac_ext <<_ACEOF
108370 /* confdefs.h. */
108371 _ACEOF
108372 cat confdefs.h >>conftest.$ac_ext
108373 cat >>conftest.$ac_ext <<_ACEOF
108374 /* end confdefs.h. */
108375 #include <stdint.h>
108377 main ()
108379 typedef int8_t my_int8_t;
108380 typedef int16_t my_int16_t;
108381 typedef int32_t my_int32_t;
108382 typedef int64_t my_int64_t;
108383 typedef int_fast8_t my_int_fast8_t;
108384 typedef int_fast16_t my_int_fast16_t;
108385 typedef int_fast32_t my_int_fast32_t;
108386 typedef int_fast64_t my_int_fast64_t;
108387 typedef int_least8_t my_int_least8_t;
108388 typedef int_least16_t my_int_least16_t;
108389 typedef int_least32_t my_int_least32_t;
108390 typedef int_least64_t my_int_least64_t;
108391 typedef intmax_t my_intmax_t;
108392 typedef intptr_t my_intptr_t;
108393 typedef uint8_t my_uint8_t;
108394 typedef uint16_t my_uint16_t;
108395 typedef uint32_t my_uint32_t;
108396 typedef uint64_t my_uint64_t;
108397 typedef uint_fast8_t my_uint_fast8_t;
108398 typedef uint_fast16_t my_uint_fast16_t;
108399 typedef uint_fast32_t my_uint_fast32_t;
108400 typedef uint_fast64_t my_uint_fast64_t;
108401 typedef uint_least8_t my_uint_least8_t;
108402 typedef uint_least16_t my_uint_least16_t;
108403 typedef uint_least32_t my_uint_least32_t;
108404 typedef uint_least64_t my_uint_least64_t;
108405 typedef uintmax_t my_uintmax_t;
108406 typedef uintptr_t my_uintptr_t;
108409 return 0;
108411 _ACEOF
108412 rm -f conftest.$ac_objext
108413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108414 (eval $ac_compile) 2>conftest.er1
108415 ac_status=$?
108416 grep -v '^ *+' conftest.er1 >conftest.err
108417 rm -f conftest.er1
108418 cat conftest.err >&5
108419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108420 (exit $ac_status); } &&
108421 { ac_try='test -z "$ac_cxx_werror_flag"
108422 || test ! -s conftest.err'
108423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108424 (eval $ac_try) 2>&5
108425 ac_status=$?
108426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108427 (exit $ac_status); }; } &&
108428 { ac_try='test -s conftest.$ac_objext'
108429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108430 (eval $ac_try) 2>&5
108431 ac_status=$?
108432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108433 (exit $ac_status); }; }; then
108434 ac_c99_stdint_tr1=yes
108436 echo "$as_me: failed program was:" >&5
108437 sed 's/^/| /' conftest.$ac_ext >&5
108439 ac_c99_stdint_tr1=no
108441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108445 echo "$as_me:$LINENO: result: $ac_c99_stdint_tr1" >&5
108446 echo "${ECHO_T}$ac_c99_stdint_tr1" >&6
108447 if test x"$ac_c99_stdint_tr1" = x"yes"; then
108449 cat >>confdefs.h <<\_ACEOF
108450 #define _GLIBCXX_USE_C99_STDINT_TR1 1
108451 _ACEOF
108455 # Check for the existence of <math.h> functions.
108456 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
108457 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
108458 if test "${ac_c99_math_tr1+set}" = set; then
108459 echo $ECHO_N "(cached) $ECHO_C" >&6
108462 cat >conftest.$ac_ext <<_ACEOF
108463 /* confdefs.h. */
108464 _ACEOF
108465 cat confdefs.h >>conftest.$ac_ext
108466 cat >>conftest.$ac_ext <<_ACEOF
108467 /* end confdefs.h. */
108468 #include <math.h>
108470 main ()
108472 typedef double_t my_double_t;
108473 typedef float_t my_float_t;
108474 acosh(0.0);
108475 acoshf(0.0f);
108476 acoshl(0.0l);
108477 asinh(0.0);
108478 asinhf(0.0f);
108479 asinhl(0.0l);
108480 atanh(0.0);
108481 atanhf(0.0f);
108482 atanhl(0.0l);
108483 cbrt(0.0);
108484 cbrtf(0.0f);
108485 cbrtl(0.0l);
108486 copysign(0.0, 0.0);
108487 copysignf(0.0f, 0.0f);
108488 copysignl(0.0l, 0.0l);
108489 erf(0.0);
108490 erff(0.0f);
108491 erfl(0.0l);
108492 erfc(0.0);
108493 erfcf(0.0f);
108494 erfcl(0.0l);
108495 exp2(0.0);
108496 exp2f(0.0f);
108497 exp2l(0.0l);
108498 expm1(0.0);
108499 expm1f(0.0f);
108500 expm1l(0.0l);
108501 fdim(0.0, 0.0);
108502 fdimf(0.0f, 0.0f);
108503 fdiml(0.0l, 0.0l);
108504 fma(0.0, 0.0, 0.0);
108505 fmaf(0.0f, 0.0f, 0.0f);
108506 fmal(0.0l, 0.0l, 0.0l);
108507 fmax(0.0, 0.0);
108508 fmaxf(0.0f, 0.0f);
108509 fmaxl(0.0l, 0.0l);
108510 fmin(0.0, 0.0);
108511 fminf(0.0f, 0.0f);
108512 fminl(0.0l, 0.0l);
108513 hypot(0.0, 0.0);
108514 hypotf(0.0f, 0.0f);
108515 hypotl(0.0l, 0.0l);
108516 ilogb(0.0);
108517 ilogbf(0.0f);
108518 ilogbl(0.0l);
108519 lgamma(0.0);
108520 lgammaf(0.0f);
108521 lgammal(0.0l);
108522 llrint(0.0);
108523 llrintf(0.0f);
108524 llrintl(0.0l);
108525 llround(0.0);
108526 llroundf(0.0f);
108527 llroundl(0.0l);
108528 log1p(0.0);
108529 log1pf(0.0f);
108530 log1pl(0.0l);
108531 log2(0.0);
108532 log2f(0.0f);
108533 log2l(0.0l);
108534 logb(0.0);
108535 logbf(0.0f);
108536 logbl(0.0l);
108537 lrint(0.0);
108538 lrintf(0.0f);
108539 lrintl(0.0l);
108540 lround(0.0);
108541 lroundf(0.0f);
108542 lroundl(0.0l);
108543 nan(0);
108544 nanf(0);
108545 nanl(0);
108546 nearbyint(0.0);
108547 nearbyintf(0.0f);
108548 nearbyintl(0.0l);
108549 nextafter(0.0, 0.0);
108550 nextafterf(0.0f, 0.0f);
108551 nextafterl(0.0l, 0.0l);
108552 nexttoward(0.0, 0.0);
108553 nexttowardf(0.0f, 0.0f);
108554 nexttowardl(0.0l, 0.0l);
108555 remainder(0.0, 0.0);
108556 remainderf(0.0f, 0.0f);
108557 remainderl(0.0l, 0.0l);
108558 remquo(0.0, 0.0, 0);
108559 remquo(0.0f, 0.0f, 0);
108560 remquo(0.0l, 0.0l, 0);
108561 rint(0.0);
108562 rintf(0.0f);
108563 rintl(0.0l);
108564 round(0.0);
108565 roundf(0.0f);
108566 roundl(0.0l);
108567 scalbln(0.0, 0l);
108568 scalblnf(0.0f, 0l);
108569 scalblnl(0.0l, 0l);
108570 scalbn(0.0, 0);
108571 scalbnf(0.0f, 0);
108572 scalbnl(0.0l, 0);
108573 tgamma(0.0);
108574 tgammaf(0.0f);
108575 tgammal(0.0l);
108576 trunc(0.0);
108577 truncf(0.0f);
108578 truncl(0.0l);
108581 return 0;
108583 _ACEOF
108584 rm -f conftest.$ac_objext
108585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108586 (eval $ac_compile) 2>conftest.er1
108587 ac_status=$?
108588 grep -v '^ *+' conftest.er1 >conftest.err
108589 rm -f conftest.er1
108590 cat conftest.err >&5
108591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108592 (exit $ac_status); } &&
108593 { ac_try='test -z "$ac_cxx_werror_flag"
108594 || test ! -s conftest.err'
108595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108596 (eval $ac_try) 2>&5
108597 ac_status=$?
108598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108599 (exit $ac_status); }; } &&
108600 { ac_try='test -s conftest.$ac_objext'
108601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108602 (eval $ac_try) 2>&5
108603 ac_status=$?
108604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108605 (exit $ac_status); }; }; then
108606 ac_c99_math_tr1=yes
108608 echo "$as_me: failed program was:" >&5
108609 sed 's/^/| /' conftest.$ac_ext >&5
108611 ac_c99_math_tr1=no
108613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108617 echo "$as_me:$LINENO: result: $ac_c99_math_tr1" >&5
108618 echo "${ECHO_T}$ac_c99_math_tr1" >&6
108619 if test x"$ac_c99_math_tr1" = x"yes"; then
108621 cat >>confdefs.h <<\_ACEOF
108622 #define _GLIBCXX_USE_C99_MATH_TR1 1
108623 _ACEOF
108627 # Check for the existence of <inttypes.h> functions (NB: doesn't make
108628 # sense if the previous check fails, per C99, 7.8/1).
108629 ac_c99_inttypes_tr1=no;
108630 if test x"$ac_c99_stdint_tr1" = x"yes"; then
108631 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
108632 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
108633 cat >conftest.$ac_ext <<_ACEOF
108634 /* confdefs.h. */
108635 _ACEOF
108636 cat confdefs.h >>conftest.$ac_ext
108637 cat >>conftest.$ac_ext <<_ACEOF
108638 /* end confdefs.h. */
108639 #include <inttypes.h>
108641 main ()
108643 intmax_t i, numer, denom, base;
108644 const char* s;
108645 char** endptr;
108646 intmax_t ret = imaxabs(i);
108647 imaxdiv_t dret = imaxdiv(numer, denom);
108648 ret = strtoimax(s, endptr, base);
108649 uintmax_t uret = strtoumax(s, endptr, base);
108652 return 0;
108654 _ACEOF
108655 rm -f conftest.$ac_objext
108656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108657 (eval $ac_compile) 2>conftest.er1
108658 ac_status=$?
108659 grep -v '^ *+' conftest.er1 >conftest.err
108660 rm -f conftest.er1
108661 cat conftest.err >&5
108662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108663 (exit $ac_status); } &&
108664 { ac_try='test -z "$ac_cxx_werror_flag"
108665 || test ! -s conftest.err'
108666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108667 (eval $ac_try) 2>&5
108668 ac_status=$?
108669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108670 (exit $ac_status); }; } &&
108671 { ac_try='test -s conftest.$ac_objext'
108672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108673 (eval $ac_try) 2>&5
108674 ac_status=$?
108675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108676 (exit $ac_status); }; }; then
108677 ac_c99_inttypes_tr1=yes
108679 echo "$as_me: failed program was:" >&5
108680 sed 's/^/| /' conftest.$ac_ext >&5
108682 ac_c99_inttypes_tr1=no
108684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108686 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
108687 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
108688 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
108690 cat >>confdefs.h <<\_ACEOF
108691 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
108692 _ACEOF
108696 # Check for the existence of the <stdbool.h> header.
108698 for ac_header in stdbool.h
108700 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108701 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108702 echo "$as_me:$LINENO: checking for $ac_header" >&5
108703 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108704 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108705 echo $ECHO_N "(cached) $ECHO_C" >&6
108707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108708 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108710 # Is the header compilable?
108711 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108712 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108713 cat >conftest.$ac_ext <<_ACEOF
108714 /* confdefs.h. */
108715 _ACEOF
108716 cat confdefs.h >>conftest.$ac_ext
108717 cat >>conftest.$ac_ext <<_ACEOF
108718 /* end confdefs.h. */
108719 $ac_includes_default
108720 #include <$ac_header>
108721 _ACEOF
108722 rm -f conftest.$ac_objext
108723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108724 (eval $ac_compile) 2>conftest.er1
108725 ac_status=$?
108726 grep -v '^ *+' conftest.er1 >conftest.err
108727 rm -f conftest.er1
108728 cat conftest.err >&5
108729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108730 (exit $ac_status); } &&
108731 { ac_try='test -z "$ac_cxx_werror_flag"
108732 || test ! -s conftest.err'
108733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108734 (eval $ac_try) 2>&5
108735 ac_status=$?
108736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108737 (exit $ac_status); }; } &&
108738 { ac_try='test -s conftest.$ac_objext'
108739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108740 (eval $ac_try) 2>&5
108741 ac_status=$?
108742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108743 (exit $ac_status); }; }; then
108744 ac_header_compiler=yes
108746 echo "$as_me: failed program was:" >&5
108747 sed 's/^/| /' conftest.$ac_ext >&5
108749 ac_header_compiler=no
108751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108752 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108753 echo "${ECHO_T}$ac_header_compiler" >&6
108755 # Is the header present?
108756 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108757 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108758 cat >conftest.$ac_ext <<_ACEOF
108759 /* confdefs.h. */
108760 _ACEOF
108761 cat confdefs.h >>conftest.$ac_ext
108762 cat >>conftest.$ac_ext <<_ACEOF
108763 /* end confdefs.h. */
108764 #include <$ac_header>
108765 _ACEOF
108766 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108767 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108768 ac_status=$?
108769 grep -v '^ *+' conftest.er1 >conftest.err
108770 rm -f conftest.er1
108771 cat conftest.err >&5
108772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108773 (exit $ac_status); } >/dev/null; then
108774 if test -s conftest.err; then
108775 ac_cpp_err=$ac_cxx_preproc_warn_flag
108776 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
108778 ac_cpp_err=
108781 ac_cpp_err=yes
108783 if test -z "$ac_cpp_err"; then
108784 ac_header_preproc=yes
108786 echo "$as_me: failed program was:" >&5
108787 sed 's/^/| /' conftest.$ac_ext >&5
108789 ac_header_preproc=no
108791 rm -f conftest.err conftest.$ac_ext
108792 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
108793 echo "${ECHO_T}$ac_header_preproc" >&6
108795 # So? What about this header?
108796 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
108797 yes:no: )
108798 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
108799 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
108800 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
108801 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
108802 ac_header_preproc=yes
108804 no:yes:* )
108805 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
108806 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
108807 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
108808 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
108809 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
108810 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
108811 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
108812 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
108813 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
108814 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
108815 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
108816 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
108818 cat <<\_ASBOX
108819 ## ----------------------------------------- ##
108820 ## Report this to the package-unused lists. ##
108821 ## ----------------------------------------- ##
108822 _ASBOX
108824 sed "s/^/$as_me: WARNING: /" >&2
108827 echo "$as_me:$LINENO: checking for $ac_header" >&5
108828 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108829 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108830 echo $ECHO_N "(cached) $ECHO_C" >&6
108832 eval "$as_ac_Header=\$ac_header_preproc"
108834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108835 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108838 if test `eval echo '${'$as_ac_Header'}'` = yes; then
108839 cat >>confdefs.h <<_ACEOF
108840 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
108841 _ACEOF
108848 CXXFLAGS="$ac_save_CXXFLAGS"
108849 ac_ext=c
108850 ac_cpp='$CPP $CPPFLAGS'
108851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108857 # Check for sigsetjmp
108858 cat >conftest.$ac_ext <<_ACEOF
108859 /* confdefs.h. */
108860 _ACEOF
108861 cat confdefs.h >>conftest.$ac_ext
108862 cat >>conftest.$ac_ext <<_ACEOF
108863 /* end confdefs.h. */
108864 #include <setjmp.h>
108866 main ()
108868 sigjmp_buf env;
108869 while (! sigsetjmp (env, 1))
108870 siglongjmp (env, 1);
108873 return 0;
108875 _ACEOF
108876 rm -f conftest.$ac_objext
108877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108878 (eval $ac_compile) 2>conftest.er1
108879 ac_status=$?
108880 grep -v '^ *+' conftest.er1 >conftest.err
108881 rm -f conftest.er1
108882 cat conftest.err >&5
108883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108884 (exit $ac_status); } &&
108885 { ac_try='test -z "$ac_c_werror_flag"
108886 || test ! -s conftest.err'
108887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108888 (eval $ac_try) 2>&5
108889 ac_status=$?
108890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108891 (exit $ac_status); }; } &&
108892 { ac_try='test -s conftest.$ac_objext'
108893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108894 (eval $ac_try) 2>&5
108895 ac_status=$?
108896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108897 (exit $ac_status); }; }; then
108899 cat >>confdefs.h <<\_ACEOF
108900 #define HAVE_SIGSETJMP 1
108901 _ACEOF
108904 echo "$as_me: failed program was:" >&5
108905 sed 's/^/| /' conftest.$ac_ext >&5
108908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108910 *-mingw32*)
108914 for ac_header in sys/types.h locale.h float.h
108916 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
108917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108918 echo "$as_me:$LINENO: checking for $ac_header" >&5
108919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
108920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
108921 echo $ECHO_N "(cached) $ECHO_C" >&6
108923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
108924 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
108926 # Is the header compilable?
108927 echo "$as_me:$LINENO: checking $ac_header usability" >&5
108928 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
108929 cat >conftest.$ac_ext <<_ACEOF
108930 /* confdefs.h. */
108931 _ACEOF
108932 cat confdefs.h >>conftest.$ac_ext
108933 cat >>conftest.$ac_ext <<_ACEOF
108934 /* end confdefs.h. */
108935 $ac_includes_default
108936 #include <$ac_header>
108937 _ACEOF
108938 rm -f conftest.$ac_objext
108939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108940 (eval $ac_compile) 2>conftest.er1
108941 ac_status=$?
108942 grep -v '^ *+' conftest.er1 >conftest.err
108943 rm -f conftest.er1
108944 cat conftest.err >&5
108945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108946 (exit $ac_status); } &&
108947 { ac_try='test -z "$ac_c_werror_flag"
108948 || test ! -s conftest.err'
108949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108950 (eval $ac_try) 2>&5
108951 ac_status=$?
108952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108953 (exit $ac_status); }; } &&
108954 { ac_try='test -s conftest.$ac_objext'
108955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108956 (eval $ac_try) 2>&5
108957 ac_status=$?
108958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108959 (exit $ac_status); }; }; then
108960 ac_header_compiler=yes
108962 echo "$as_me: failed program was:" >&5
108963 sed 's/^/| /' conftest.$ac_ext >&5
108965 ac_header_compiler=no
108967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108968 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
108969 echo "${ECHO_T}$ac_header_compiler" >&6
108971 # Is the header present?
108972 echo "$as_me:$LINENO: checking $ac_header presence" >&5
108973 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
108974 cat >conftest.$ac_ext <<_ACEOF
108975 /* confdefs.h. */
108976 _ACEOF
108977 cat confdefs.h >>conftest.$ac_ext
108978 cat >>conftest.$ac_ext <<_ACEOF
108979 /* end confdefs.h. */
108980 #include <$ac_header>
108981 _ACEOF
108982 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
108983 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
108984 ac_status=$?
108985 grep -v '^ *+' conftest.er1 >conftest.err
108986 rm -f conftest.er1
108987 cat conftest.err >&5
108988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108989 (exit $ac_status); } >/dev/null; then
108990 if test -s conftest.err; then
108991 ac_cpp_err=$ac_c_preproc_warn_flag
108992 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
108994 ac_cpp_err=
108997 ac_cpp_err=yes
108999 if test -z "$ac_cpp_err"; then
109000 ac_header_preproc=yes
109002 echo "$as_me: failed program was:" >&5
109003 sed 's/^/| /' conftest.$ac_ext >&5
109005 ac_header_preproc=no
109007 rm -f conftest.err conftest.$ac_ext
109008 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109009 echo "${ECHO_T}$ac_header_preproc" >&6
109011 # So? What about this header?
109012 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
109013 yes:no: )
109014 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109015 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109016 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109017 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109018 ac_header_preproc=yes
109020 no:yes:* )
109021 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109022 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109023 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109024 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109025 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109026 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109027 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109028 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109029 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109030 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109031 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109032 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109034 cat <<\_ASBOX
109035 ## ----------------------------------------- ##
109036 ## Report this to the package-unused lists. ##
109037 ## ----------------------------------------- ##
109038 _ASBOX
109040 sed "s/^/$as_me: WARNING: /" >&2
109043 echo "$as_me:$LINENO: checking for $ac_header" >&5
109044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109046 echo $ECHO_N "(cached) $ECHO_C" >&6
109048 eval "$as_ac_Header=\$ac_header_preproc"
109050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109051 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109054 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109055 cat >>confdefs.h <<_ACEOF
109056 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109057 _ACEOF
109064 # If we're not using GNU ld, then there's no point in even trying these
109065 # tests. Check for that first. We should have already tested for gld
109066 # by now (in libtool), but require it now just to be safe...
109067 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
109068 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
109072 # The name set by libtool depends on the version of libtool. Shame on us
109073 # for depending on an impl detail, but c'est la vie. Older versions used
109074 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
109075 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
109076 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
109077 # set (hence we're using an older libtool), then set it.
109078 if test x${with_gnu_ld+set} != xset; then
109079 if test x${ac_cv_prog_gnu_ld+set} != xset; then
109080 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
109081 with_gnu_ld=no
109083 with_gnu_ld=$ac_cv_prog_gnu_ld
109087 # Start by getting the version number. I think the libtool test already
109088 # does some of this, but throws away the result.
109089 if test x"$with_gnu_ld" = x"yes"; then
109090 echo "$as_me:$LINENO: checking for ld version" >&5
109091 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
109093 ldver=`$LD --version 2>/dev/null | head -1 | \
109094 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
109096 glibcxx_gnu_ld_version=`echo $ldver | \
109097 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
109098 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
109099 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
109102 # Set --gc-sections.
109103 glibcxx_gcsections_min_ld=21602
109104 if test x"$with_gnu_ld" = x"yes" &&
109105 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
109107 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
109108 # NB: This flag only works reliably after 2.16.1. Configure tests
109109 # for this are difficult, so hard wire a value that should work.
109111 ac_test_CFLAGS="${CFLAGS+set}"
109112 ac_save_CFLAGS="$CFLAGS"
109113 CFLAGS='-Wl,--gc-sections'
109115 # Check for -Wl,--gc-sections
109116 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
109117 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
109118 if test x$gcc_no_link = xyes; then
109119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109121 { (exit 1); exit 1; }; }
109123 cat >conftest.$ac_ext <<_ACEOF
109124 /* confdefs.h. */
109125 _ACEOF
109126 cat confdefs.h >>conftest.$ac_ext
109127 cat >>conftest.$ac_ext <<_ACEOF
109128 /* end confdefs.h. */
109129 int one(void) { return 1; }
109130 int two(void) { return 2; }
109133 main ()
109135 two();
109137 return 0;
109139 _ACEOF
109140 rm -f conftest.$ac_objext conftest$ac_exeext
109141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109142 (eval $ac_link) 2>conftest.er1
109143 ac_status=$?
109144 grep -v '^ *+' conftest.er1 >conftest.err
109145 rm -f conftest.er1
109146 cat conftest.err >&5
109147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109148 (exit $ac_status); } &&
109149 { ac_try='test -z "$ac_c_werror_flag"
109150 || test ! -s conftest.err'
109151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109152 (eval $ac_try) 2>&5
109153 ac_status=$?
109154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109155 (exit $ac_status); }; } &&
109156 { ac_try='test -s conftest$ac_exeext'
109157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109158 (eval $ac_try) 2>&5
109159 ac_status=$?
109160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109161 (exit $ac_status); }; }; then
109162 ac_gcsections=yes
109164 echo "$as_me: failed program was:" >&5
109165 sed 's/^/| /' conftest.$ac_ext >&5
109167 ac_gcsections=no
109169 rm -f conftest.err conftest.$ac_objext \
109170 conftest$ac_exeext conftest.$ac_ext
109171 if test "$ac_gcsections" = "yes"; then
109172 rm -f conftest.c
109173 touch conftest.c
109174 if $CC -c conftest.c; then
109175 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
109176 grep "Warning: gc-sections option ignored" > /dev/null; then
109177 ac_gcsections=no
109180 rm -f conftest.c conftest.o conftest
109182 if test "$ac_gcsections" = "yes"; then
109183 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
109185 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
109186 echo "${ECHO_T}$ac_gcsections" >&6
109188 if test "$ac_test_CFLAGS" = set; then
109189 CFLAGS="$ac_save_CFLAGS"
109191 # this is the suspicious part
109192 CFLAGS=''
109196 # Set -z,relro.
109197 # Note this is only for shared objects.
109198 ac_ld_relro=no
109199 if test x"$with_gnu_ld" = x"yes"; then
109200 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
109201 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
109202 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
109203 if test -n "$cxx_z_relo"; then
109204 OPT_LDFLAGS="-Wl,-z,relro"
109205 ac_ld_relro=yes
109207 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
109208 echo "${ECHO_T}$ac_ld_relro" >&6
109211 # Set linker optimization flags.
109212 if test x"$with_gnu_ld" = x"yes"; then
109213 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
109221 echo "$as_me:$LINENO: checking for main in -lm" >&5
109222 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
109223 if test "${ac_cv_lib_m_main+set}" = set; then
109224 echo $ECHO_N "(cached) $ECHO_C" >&6
109226 ac_check_lib_save_LIBS=$LIBS
109227 LIBS="-lm $LIBS"
109228 if test x$gcc_no_link = xyes; then
109229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109231 { (exit 1); exit 1; }; }
109233 cat >conftest.$ac_ext <<_ACEOF
109234 /* confdefs.h. */
109235 _ACEOF
109236 cat confdefs.h >>conftest.$ac_ext
109237 cat >>conftest.$ac_ext <<_ACEOF
109238 /* end confdefs.h. */
109242 main ()
109244 main ();
109246 return 0;
109248 _ACEOF
109249 rm -f conftest.$ac_objext conftest$ac_exeext
109250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109251 (eval $ac_link) 2>conftest.er1
109252 ac_status=$?
109253 grep -v '^ *+' conftest.er1 >conftest.err
109254 rm -f conftest.er1
109255 cat conftest.err >&5
109256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109257 (exit $ac_status); } &&
109258 { ac_try='test -z "$ac_c_werror_flag"
109259 || test ! -s conftest.err'
109260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109261 (eval $ac_try) 2>&5
109262 ac_status=$?
109263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109264 (exit $ac_status); }; } &&
109265 { ac_try='test -s conftest$ac_exeext'
109266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109267 (eval $ac_try) 2>&5
109268 ac_status=$?
109269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109270 (exit $ac_status); }; }; then
109271 ac_cv_lib_m_main=yes
109273 echo "$as_me: failed program was:" >&5
109274 sed 's/^/| /' conftest.$ac_ext >&5
109276 ac_cv_lib_m_main=no
109278 rm -f conftest.err conftest.$ac_objext \
109279 conftest$ac_exeext conftest.$ac_ext
109280 LIBS=$ac_check_lib_save_LIBS
109282 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
109283 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
109284 if test $ac_cv_lib_m_main = yes; then
109285 cat >>confdefs.h <<_ACEOF
109286 #define HAVE_LIBM 1
109287 _ACEOF
109289 LIBS="-lm $LIBS"
109294 for ac_func in copysignf
109296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109297 echo "$as_me:$LINENO: checking for $ac_func" >&5
109298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109299 if eval "test \"\${$as_ac_var+set}\" = set"; then
109300 echo $ECHO_N "(cached) $ECHO_C" >&6
109302 if test x$gcc_no_link = xyes; then
109303 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109305 { (exit 1); exit 1; }; }
109307 cat >conftest.$ac_ext <<_ACEOF
109308 /* confdefs.h. */
109309 _ACEOF
109310 cat confdefs.h >>conftest.$ac_ext
109311 cat >>conftest.$ac_ext <<_ACEOF
109312 /* end confdefs.h. */
109313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109315 #define $ac_func innocuous_$ac_func
109317 /* System header to define __stub macros and hopefully few prototypes,
109318 which can conflict with char $ac_func (); below.
109319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109320 <limits.h> exists even on freestanding compilers. */
109322 #ifdef __STDC__
109323 # include <limits.h>
109324 #else
109325 # include <assert.h>
109326 #endif
109328 #undef $ac_func
109330 /* Override any gcc2 internal prototype to avoid an error. */
109331 #ifdef __cplusplus
109332 extern "C"
109334 #endif
109335 /* We use char because int might match the return type of a gcc2
109336 builtin and then its argument prototype would still apply. */
109337 char $ac_func ();
109338 /* The GNU C library defines this for functions which it implements
109339 to always fail with ENOSYS. Some functions are actually named
109340 something starting with __ and the normal name is an alias. */
109341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109342 choke me
109343 #else
109344 char (*f) () = $ac_func;
109345 #endif
109346 #ifdef __cplusplus
109348 #endif
109351 main ()
109353 return f != $ac_func;
109355 return 0;
109357 _ACEOF
109358 rm -f conftest.$ac_objext conftest$ac_exeext
109359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109360 (eval $ac_link) 2>conftest.er1
109361 ac_status=$?
109362 grep -v '^ *+' conftest.er1 >conftest.err
109363 rm -f conftest.er1
109364 cat conftest.err >&5
109365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109366 (exit $ac_status); } &&
109367 { ac_try='test -z "$ac_c_werror_flag"
109368 || test ! -s conftest.err'
109369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109370 (eval $ac_try) 2>&5
109371 ac_status=$?
109372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109373 (exit $ac_status); }; } &&
109374 { ac_try='test -s conftest$ac_exeext'
109375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109376 (eval $ac_try) 2>&5
109377 ac_status=$?
109378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109379 (exit $ac_status); }; }; then
109380 eval "$as_ac_var=yes"
109382 echo "$as_me: failed program was:" >&5
109383 sed 's/^/| /' conftest.$ac_ext >&5
109385 eval "$as_ac_var=no"
109387 rm -f conftest.err conftest.$ac_objext \
109388 conftest$ac_exeext conftest.$ac_ext
109390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109392 if test `eval echo '${'$as_ac_var'}'` = yes; then
109393 cat >>confdefs.h <<_ACEOF
109394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109395 _ACEOF
109398 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
109404 for ac_func in __signbit
109406 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109407 echo "$as_me:$LINENO: checking for $ac_func" >&5
109408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109409 if eval "test \"\${$as_ac_var+set}\" = set"; then
109410 echo $ECHO_N "(cached) $ECHO_C" >&6
109412 if test x$gcc_no_link = xyes; then
109413 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109415 { (exit 1); exit 1; }; }
109417 cat >conftest.$ac_ext <<_ACEOF
109418 /* confdefs.h. */
109419 _ACEOF
109420 cat confdefs.h >>conftest.$ac_ext
109421 cat >>conftest.$ac_ext <<_ACEOF
109422 /* end confdefs.h. */
109423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109424 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109425 #define $ac_func innocuous_$ac_func
109427 /* System header to define __stub macros and hopefully few prototypes,
109428 which can conflict with char $ac_func (); below.
109429 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109430 <limits.h> exists even on freestanding compilers. */
109432 #ifdef __STDC__
109433 # include <limits.h>
109434 #else
109435 # include <assert.h>
109436 #endif
109438 #undef $ac_func
109440 /* Override any gcc2 internal prototype to avoid an error. */
109441 #ifdef __cplusplus
109442 extern "C"
109444 #endif
109445 /* We use char because int might match the return type of a gcc2
109446 builtin and then its argument prototype would still apply. */
109447 char $ac_func ();
109448 /* The GNU C library defines this for functions which it implements
109449 to always fail with ENOSYS. Some functions are actually named
109450 something starting with __ and the normal name is an alias. */
109451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109452 choke me
109453 #else
109454 char (*f) () = $ac_func;
109455 #endif
109456 #ifdef __cplusplus
109458 #endif
109461 main ()
109463 return f != $ac_func;
109465 return 0;
109467 _ACEOF
109468 rm -f conftest.$ac_objext conftest$ac_exeext
109469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109470 (eval $ac_link) 2>conftest.er1
109471 ac_status=$?
109472 grep -v '^ *+' conftest.er1 >conftest.err
109473 rm -f conftest.er1
109474 cat conftest.err >&5
109475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109476 (exit $ac_status); } &&
109477 { ac_try='test -z "$ac_c_werror_flag"
109478 || test ! -s conftest.err'
109479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109480 (eval $ac_try) 2>&5
109481 ac_status=$?
109482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109483 (exit $ac_status); }; } &&
109484 { ac_try='test -s conftest$ac_exeext'
109485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109486 (eval $ac_try) 2>&5
109487 ac_status=$?
109488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109489 (exit $ac_status); }; }; then
109490 eval "$as_ac_var=yes"
109492 echo "$as_me: failed program was:" >&5
109493 sed 's/^/| /' conftest.$ac_ext >&5
109495 eval "$as_ac_var=no"
109497 rm -f conftest.err conftest.$ac_objext \
109498 conftest$ac_exeext conftest.$ac_ext
109500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109501 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109502 if test `eval echo '${'$as_ac_var'}'` = yes; then
109503 cat >>confdefs.h <<_ACEOF
109504 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109505 _ACEOF
109508 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
109514 for ac_func in __signbitf
109516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109517 echo "$as_me:$LINENO: checking for $ac_func" >&5
109518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109519 if eval "test \"\${$as_ac_var+set}\" = set"; then
109520 echo $ECHO_N "(cached) $ECHO_C" >&6
109522 if test x$gcc_no_link = xyes; then
109523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109525 { (exit 1); exit 1; }; }
109527 cat >conftest.$ac_ext <<_ACEOF
109528 /* confdefs.h. */
109529 _ACEOF
109530 cat confdefs.h >>conftest.$ac_ext
109531 cat >>conftest.$ac_ext <<_ACEOF
109532 /* end confdefs.h. */
109533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109535 #define $ac_func innocuous_$ac_func
109537 /* System header to define __stub macros and hopefully few prototypes,
109538 which can conflict with char $ac_func (); below.
109539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109540 <limits.h> exists even on freestanding compilers. */
109542 #ifdef __STDC__
109543 # include <limits.h>
109544 #else
109545 # include <assert.h>
109546 #endif
109548 #undef $ac_func
109550 /* Override any gcc2 internal prototype to avoid an error. */
109551 #ifdef __cplusplus
109552 extern "C"
109554 #endif
109555 /* We use char because int might match the return type of a gcc2
109556 builtin and then its argument prototype would still apply. */
109557 char $ac_func ();
109558 /* The GNU C library defines this for functions which it implements
109559 to always fail with ENOSYS. Some functions are actually named
109560 something starting with __ and the normal name is an alias. */
109561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109562 choke me
109563 #else
109564 char (*f) () = $ac_func;
109565 #endif
109566 #ifdef __cplusplus
109568 #endif
109571 main ()
109573 return f != $ac_func;
109575 return 0;
109577 _ACEOF
109578 rm -f conftest.$ac_objext conftest$ac_exeext
109579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109580 (eval $ac_link) 2>conftest.er1
109581 ac_status=$?
109582 grep -v '^ *+' conftest.er1 >conftest.err
109583 rm -f conftest.er1
109584 cat conftest.err >&5
109585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109586 (exit $ac_status); } &&
109587 { ac_try='test -z "$ac_c_werror_flag"
109588 || test ! -s conftest.err'
109589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109590 (eval $ac_try) 2>&5
109591 ac_status=$?
109592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109593 (exit $ac_status); }; } &&
109594 { ac_try='test -s conftest$ac_exeext'
109595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109596 (eval $ac_try) 2>&5
109597 ac_status=$?
109598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109599 (exit $ac_status); }; }; then
109600 eval "$as_ac_var=yes"
109602 echo "$as_me: failed program was:" >&5
109603 sed 's/^/| /' conftest.$ac_ext >&5
109605 eval "$as_ac_var=no"
109607 rm -f conftest.err conftest.$ac_objext \
109608 conftest$ac_exeext conftest.$ac_ext
109610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109612 if test `eval echo '${'$as_ac_var'}'` = yes; then
109613 cat >>confdefs.h <<_ACEOF
109614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109615 _ACEOF
109618 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
109623 if test x$ac_cv_func_copysignl = x"yes"; then
109625 for ac_func in __signbitl
109627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109628 echo "$as_me:$LINENO: checking for $ac_func" >&5
109629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109630 if eval "test \"\${$as_ac_var+set}\" = set"; then
109631 echo $ECHO_N "(cached) $ECHO_C" >&6
109633 if test x$gcc_no_link = xyes; then
109634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109636 { (exit 1); exit 1; }; }
109638 cat >conftest.$ac_ext <<_ACEOF
109639 /* confdefs.h. */
109640 _ACEOF
109641 cat confdefs.h >>conftest.$ac_ext
109642 cat >>conftest.$ac_ext <<_ACEOF
109643 /* end confdefs.h. */
109644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109646 #define $ac_func innocuous_$ac_func
109648 /* System header to define __stub macros and hopefully few prototypes,
109649 which can conflict with char $ac_func (); below.
109650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109651 <limits.h> exists even on freestanding compilers. */
109653 #ifdef __STDC__
109654 # include <limits.h>
109655 #else
109656 # include <assert.h>
109657 #endif
109659 #undef $ac_func
109661 /* Override any gcc2 internal prototype to avoid an error. */
109662 #ifdef __cplusplus
109663 extern "C"
109665 #endif
109666 /* We use char because int might match the return type of a gcc2
109667 builtin and then its argument prototype would still apply. */
109668 char $ac_func ();
109669 /* The GNU C library defines this for functions which it implements
109670 to always fail with ENOSYS. Some functions are actually named
109671 something starting with __ and the normal name is an alias. */
109672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109673 choke me
109674 #else
109675 char (*f) () = $ac_func;
109676 #endif
109677 #ifdef __cplusplus
109679 #endif
109682 main ()
109684 return f != $ac_func;
109686 return 0;
109688 _ACEOF
109689 rm -f conftest.$ac_objext conftest$ac_exeext
109690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109691 (eval $ac_link) 2>conftest.er1
109692 ac_status=$?
109693 grep -v '^ *+' conftest.er1 >conftest.err
109694 rm -f conftest.er1
109695 cat conftest.err >&5
109696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109697 (exit $ac_status); } &&
109698 { ac_try='test -z "$ac_c_werror_flag"
109699 || test ! -s conftest.err'
109700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109701 (eval $ac_try) 2>&5
109702 ac_status=$?
109703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109704 (exit $ac_status); }; } &&
109705 { ac_try='test -s conftest$ac_exeext'
109706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109707 (eval $ac_try) 2>&5
109708 ac_status=$?
109709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109710 (exit $ac_status); }; }; then
109711 eval "$as_ac_var=yes"
109713 echo "$as_me: failed program was:" >&5
109714 sed 's/^/| /' conftest.$ac_ext >&5
109716 eval "$as_ac_var=no"
109718 rm -f conftest.err conftest.$ac_objext \
109719 conftest$ac_exeext conftest.$ac_ext
109721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109723 if test `eval echo '${'$as_ac_var'}'` = yes; then
109724 cat >>confdefs.h <<_ACEOF
109725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109726 _ACEOF
109729 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
109735 # Used in libmath/Makefile.am.
109736 if test -n "$LIBMATHOBJS"; then
109737 need_libmath=yes
109742 *-netbsd*)
109755 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
109756 machine/endian.h machine/param.h sys/machine.h sys/types.h \
109757 fp.h locale.h float.h inttypes.h
109759 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109761 echo "$as_me:$LINENO: checking for $ac_header" >&5
109762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109764 echo $ECHO_N "(cached) $ECHO_C" >&6
109766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109767 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109769 # Is the header compilable?
109770 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109771 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109772 cat >conftest.$ac_ext <<_ACEOF
109773 /* confdefs.h. */
109774 _ACEOF
109775 cat confdefs.h >>conftest.$ac_ext
109776 cat >>conftest.$ac_ext <<_ACEOF
109777 /* end confdefs.h. */
109778 $ac_includes_default
109779 #include <$ac_header>
109780 _ACEOF
109781 rm -f conftest.$ac_objext
109782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109783 (eval $ac_compile) 2>conftest.er1
109784 ac_status=$?
109785 grep -v '^ *+' conftest.er1 >conftest.err
109786 rm -f conftest.er1
109787 cat conftest.err >&5
109788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109789 (exit $ac_status); } &&
109790 { ac_try='test -z "$ac_c_werror_flag"
109791 || test ! -s conftest.err'
109792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109793 (eval $ac_try) 2>&5
109794 ac_status=$?
109795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109796 (exit $ac_status); }; } &&
109797 { ac_try='test -s conftest.$ac_objext'
109798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109799 (eval $ac_try) 2>&5
109800 ac_status=$?
109801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109802 (exit $ac_status); }; }; then
109803 ac_header_compiler=yes
109805 echo "$as_me: failed program was:" >&5
109806 sed 's/^/| /' conftest.$ac_ext >&5
109808 ac_header_compiler=no
109810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109811 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109812 echo "${ECHO_T}$ac_header_compiler" >&6
109814 # Is the header present?
109815 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109816 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109817 cat >conftest.$ac_ext <<_ACEOF
109818 /* confdefs.h. */
109819 _ACEOF
109820 cat confdefs.h >>conftest.$ac_ext
109821 cat >>conftest.$ac_ext <<_ACEOF
109822 /* end confdefs.h. */
109823 #include <$ac_header>
109824 _ACEOF
109825 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109826 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109827 ac_status=$?
109828 grep -v '^ *+' conftest.er1 >conftest.err
109829 rm -f conftest.er1
109830 cat conftest.err >&5
109831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109832 (exit $ac_status); } >/dev/null; then
109833 if test -s conftest.err; then
109834 ac_cpp_err=$ac_c_preproc_warn_flag
109835 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
109837 ac_cpp_err=
109840 ac_cpp_err=yes
109842 if test -z "$ac_cpp_err"; then
109843 ac_header_preproc=yes
109845 echo "$as_me: failed program was:" >&5
109846 sed 's/^/| /' conftest.$ac_ext >&5
109848 ac_header_preproc=no
109850 rm -f conftest.err conftest.$ac_ext
109851 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109852 echo "${ECHO_T}$ac_header_preproc" >&6
109854 # So? What about this header?
109855 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
109856 yes:no: )
109857 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109858 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109859 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109860 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109861 ac_header_preproc=yes
109863 no:yes:* )
109864 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109865 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109866 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109867 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109868 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109869 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109870 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109871 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109872 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109873 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109874 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109875 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109877 cat <<\_ASBOX
109878 ## ----------------------------------------- ##
109879 ## Report this to the package-unused lists. ##
109880 ## ----------------------------------------- ##
109881 _ASBOX
109883 sed "s/^/$as_me: WARNING: /" >&2
109886 echo "$as_me:$LINENO: checking for $ac_header" >&5
109887 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109888 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109889 echo $ECHO_N "(cached) $ECHO_C" >&6
109891 eval "$as_ac_Header=\$ac_header_preproc"
109893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109894 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109897 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109898 cat >>confdefs.h <<_ACEOF
109899 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109900 _ACEOF
109906 SECTION_FLAGS='-ffunction-sections -fdata-sections'
109909 # If we're not using GNU ld, then there's no point in even trying these
109910 # tests. Check for that first. We should have already tested for gld
109911 # by now (in libtool), but require it now just to be safe...
109912 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
109913 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
109917 # The name set by libtool depends on the version of libtool. Shame on us
109918 # for depending on an impl detail, but c'est la vie. Older versions used
109919 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
109920 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
109921 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
109922 # set (hence we're using an older libtool), then set it.
109923 if test x${with_gnu_ld+set} != xset; then
109924 if test x${ac_cv_prog_gnu_ld+set} != xset; then
109925 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
109926 with_gnu_ld=no
109928 with_gnu_ld=$ac_cv_prog_gnu_ld
109932 # Start by getting the version number. I think the libtool test already
109933 # does some of this, but throws away the result.
109934 if test x"$with_gnu_ld" = x"yes"; then
109935 echo "$as_me:$LINENO: checking for ld version" >&5
109936 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
109938 ldver=`$LD --version 2>/dev/null | head -1 | \
109939 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
109941 glibcxx_gnu_ld_version=`echo $ldver | \
109942 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
109943 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
109944 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
109947 # Set --gc-sections.
109948 glibcxx_gcsections_min_ld=21602
109949 if test x"$with_gnu_ld" = x"yes" &&
109950 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
109952 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
109953 # NB: This flag only works reliably after 2.16.1. Configure tests
109954 # for this are difficult, so hard wire a value that should work.
109956 ac_test_CFLAGS="${CFLAGS+set}"
109957 ac_save_CFLAGS="$CFLAGS"
109958 CFLAGS='-Wl,--gc-sections'
109960 # Check for -Wl,--gc-sections
109961 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
109962 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
109963 if test x$gcc_no_link = xyes; then
109964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109966 { (exit 1); exit 1; }; }
109968 cat >conftest.$ac_ext <<_ACEOF
109969 /* confdefs.h. */
109970 _ACEOF
109971 cat confdefs.h >>conftest.$ac_ext
109972 cat >>conftest.$ac_ext <<_ACEOF
109973 /* end confdefs.h. */
109974 int one(void) { return 1; }
109975 int two(void) { return 2; }
109978 main ()
109980 two();
109982 return 0;
109984 _ACEOF
109985 rm -f conftest.$ac_objext conftest$ac_exeext
109986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109987 (eval $ac_link) 2>conftest.er1
109988 ac_status=$?
109989 grep -v '^ *+' conftest.er1 >conftest.err
109990 rm -f conftest.er1
109991 cat conftest.err >&5
109992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109993 (exit $ac_status); } &&
109994 { ac_try='test -z "$ac_c_werror_flag"
109995 || test ! -s conftest.err'
109996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109997 (eval $ac_try) 2>&5
109998 ac_status=$?
109999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110000 (exit $ac_status); }; } &&
110001 { ac_try='test -s conftest$ac_exeext'
110002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110003 (eval $ac_try) 2>&5
110004 ac_status=$?
110005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110006 (exit $ac_status); }; }; then
110007 ac_gcsections=yes
110009 echo "$as_me: failed program was:" >&5
110010 sed 's/^/| /' conftest.$ac_ext >&5
110012 ac_gcsections=no
110014 rm -f conftest.err conftest.$ac_objext \
110015 conftest$ac_exeext conftest.$ac_ext
110016 if test "$ac_gcsections" = "yes"; then
110017 rm -f conftest.c
110018 touch conftest.c
110019 if $CC -c conftest.c; then
110020 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
110021 grep "Warning: gc-sections option ignored" > /dev/null; then
110022 ac_gcsections=no
110025 rm -f conftest.c conftest.o conftest
110027 if test "$ac_gcsections" = "yes"; then
110028 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
110030 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
110031 echo "${ECHO_T}$ac_gcsections" >&6
110033 if test "$ac_test_CFLAGS" = set; then
110034 CFLAGS="$ac_save_CFLAGS"
110036 # this is the suspicious part
110037 CFLAGS=''
110041 # Set -z,relro.
110042 # Note this is only for shared objects.
110043 ac_ld_relro=no
110044 if test x"$with_gnu_ld" = x"yes"; then
110045 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
110046 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
110047 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
110048 if test -n "$cxx_z_relo"; then
110049 OPT_LDFLAGS="-Wl,-z,relro"
110050 ac_ld_relro=yes
110052 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
110053 echo "${ECHO_T}$ac_ld_relro" >&6
110056 # Set linker optimization flags.
110057 if test x"$with_gnu_ld" = x"yes"; then
110058 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
110066 echo "$as_me:$LINENO: checking for main in -lm" >&5
110067 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
110068 if test "${ac_cv_lib_m_main+set}" = set; then
110069 echo $ECHO_N "(cached) $ECHO_C" >&6
110071 ac_check_lib_save_LIBS=$LIBS
110072 LIBS="-lm $LIBS"
110073 if test x$gcc_no_link = xyes; then
110074 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110075 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110076 { (exit 1); exit 1; }; }
110078 cat >conftest.$ac_ext <<_ACEOF
110079 /* confdefs.h. */
110080 _ACEOF
110081 cat confdefs.h >>conftest.$ac_ext
110082 cat >>conftest.$ac_ext <<_ACEOF
110083 /* end confdefs.h. */
110087 main ()
110089 main ();
110091 return 0;
110093 _ACEOF
110094 rm -f conftest.$ac_objext conftest$ac_exeext
110095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110096 (eval $ac_link) 2>conftest.er1
110097 ac_status=$?
110098 grep -v '^ *+' conftest.er1 >conftest.err
110099 rm -f conftest.er1
110100 cat conftest.err >&5
110101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110102 (exit $ac_status); } &&
110103 { ac_try='test -z "$ac_c_werror_flag"
110104 || test ! -s conftest.err'
110105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110106 (eval $ac_try) 2>&5
110107 ac_status=$?
110108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110109 (exit $ac_status); }; } &&
110110 { ac_try='test -s conftest$ac_exeext'
110111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110112 (eval $ac_try) 2>&5
110113 ac_status=$?
110114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110115 (exit $ac_status); }; }; then
110116 ac_cv_lib_m_main=yes
110118 echo "$as_me: failed program was:" >&5
110119 sed 's/^/| /' conftest.$ac_ext >&5
110121 ac_cv_lib_m_main=no
110123 rm -f conftest.err conftest.$ac_objext \
110124 conftest$ac_exeext conftest.$ac_ext
110125 LIBS=$ac_check_lib_save_LIBS
110127 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
110128 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
110129 if test $ac_cv_lib_m_main = yes; then
110130 cat >>confdefs.h <<_ACEOF
110131 #define HAVE_LIBM 1
110132 _ACEOF
110134 LIBS="-lm $LIBS"
110139 for ac_func in copysignf
110141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110142 echo "$as_me:$LINENO: checking for $ac_func" >&5
110143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110144 if eval "test \"\${$as_ac_var+set}\" = set"; then
110145 echo $ECHO_N "(cached) $ECHO_C" >&6
110147 if test x$gcc_no_link = xyes; then
110148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110150 { (exit 1); exit 1; }; }
110152 cat >conftest.$ac_ext <<_ACEOF
110153 /* confdefs.h. */
110154 _ACEOF
110155 cat confdefs.h >>conftest.$ac_ext
110156 cat >>conftest.$ac_ext <<_ACEOF
110157 /* end confdefs.h. */
110158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110160 #define $ac_func innocuous_$ac_func
110162 /* System header to define __stub macros and hopefully few prototypes,
110163 which can conflict with char $ac_func (); below.
110164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110165 <limits.h> exists even on freestanding compilers. */
110167 #ifdef __STDC__
110168 # include <limits.h>
110169 #else
110170 # include <assert.h>
110171 #endif
110173 #undef $ac_func
110175 /* Override any gcc2 internal prototype to avoid an error. */
110176 #ifdef __cplusplus
110177 extern "C"
110179 #endif
110180 /* We use char because int might match the return type of a gcc2
110181 builtin and then its argument prototype would still apply. */
110182 char $ac_func ();
110183 /* The GNU C library defines this for functions which it implements
110184 to always fail with ENOSYS. Some functions are actually named
110185 something starting with __ and the normal name is an alias. */
110186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110187 choke me
110188 #else
110189 char (*f) () = $ac_func;
110190 #endif
110191 #ifdef __cplusplus
110193 #endif
110196 main ()
110198 return f != $ac_func;
110200 return 0;
110202 _ACEOF
110203 rm -f conftest.$ac_objext conftest$ac_exeext
110204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110205 (eval $ac_link) 2>conftest.er1
110206 ac_status=$?
110207 grep -v '^ *+' conftest.er1 >conftest.err
110208 rm -f conftest.er1
110209 cat conftest.err >&5
110210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110211 (exit $ac_status); } &&
110212 { ac_try='test -z "$ac_c_werror_flag"
110213 || test ! -s conftest.err'
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); }; } &&
110219 { ac_try='test -s conftest$ac_exeext'
110220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110221 (eval $ac_try) 2>&5
110222 ac_status=$?
110223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110224 (exit $ac_status); }; }; then
110225 eval "$as_ac_var=yes"
110227 echo "$as_me: failed program was:" >&5
110228 sed 's/^/| /' conftest.$ac_ext >&5
110230 eval "$as_ac_var=no"
110232 rm -f conftest.err conftest.$ac_objext \
110233 conftest$ac_exeext conftest.$ac_ext
110235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110237 if test `eval echo '${'$as_ac_var'}'` = yes; then
110238 cat >>confdefs.h <<_ACEOF
110239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110240 _ACEOF
110243 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
110249 for ac_func in __signbit
110251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110252 echo "$as_me:$LINENO: checking for $ac_func" >&5
110253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110254 if eval "test \"\${$as_ac_var+set}\" = set"; then
110255 echo $ECHO_N "(cached) $ECHO_C" >&6
110257 if test x$gcc_no_link = xyes; then
110258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110260 { (exit 1); exit 1; }; }
110262 cat >conftest.$ac_ext <<_ACEOF
110263 /* confdefs.h. */
110264 _ACEOF
110265 cat confdefs.h >>conftest.$ac_ext
110266 cat >>conftest.$ac_ext <<_ACEOF
110267 /* end confdefs.h. */
110268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110270 #define $ac_func innocuous_$ac_func
110272 /* System header to define __stub macros and hopefully few prototypes,
110273 which can conflict with char $ac_func (); below.
110274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110275 <limits.h> exists even on freestanding compilers. */
110277 #ifdef __STDC__
110278 # include <limits.h>
110279 #else
110280 # include <assert.h>
110281 #endif
110283 #undef $ac_func
110285 /* Override any gcc2 internal prototype to avoid an error. */
110286 #ifdef __cplusplus
110287 extern "C"
110289 #endif
110290 /* We use char because int might match the return type of a gcc2
110291 builtin and then its argument prototype would still apply. */
110292 char $ac_func ();
110293 /* The GNU C library defines this for functions which it implements
110294 to always fail with ENOSYS. Some functions are actually named
110295 something starting with __ and the normal name is an alias. */
110296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110297 choke me
110298 #else
110299 char (*f) () = $ac_func;
110300 #endif
110301 #ifdef __cplusplus
110303 #endif
110306 main ()
110308 return f != $ac_func;
110310 return 0;
110312 _ACEOF
110313 rm -f conftest.$ac_objext conftest$ac_exeext
110314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110315 (eval $ac_link) 2>conftest.er1
110316 ac_status=$?
110317 grep -v '^ *+' conftest.er1 >conftest.err
110318 rm -f conftest.er1
110319 cat conftest.err >&5
110320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110321 (exit $ac_status); } &&
110322 { ac_try='test -z "$ac_c_werror_flag"
110323 || test ! -s conftest.err'
110324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110325 (eval $ac_try) 2>&5
110326 ac_status=$?
110327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110328 (exit $ac_status); }; } &&
110329 { ac_try='test -s conftest$ac_exeext'
110330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110331 (eval $ac_try) 2>&5
110332 ac_status=$?
110333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110334 (exit $ac_status); }; }; then
110335 eval "$as_ac_var=yes"
110337 echo "$as_me: failed program was:" >&5
110338 sed 's/^/| /' conftest.$ac_ext >&5
110340 eval "$as_ac_var=no"
110342 rm -f conftest.err conftest.$ac_objext \
110343 conftest$ac_exeext conftest.$ac_ext
110345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110347 if test `eval echo '${'$as_ac_var'}'` = yes; then
110348 cat >>confdefs.h <<_ACEOF
110349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110350 _ACEOF
110353 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
110359 for ac_func in __signbitf
110361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110362 echo "$as_me:$LINENO: checking for $ac_func" >&5
110363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110364 if eval "test \"\${$as_ac_var+set}\" = set"; then
110365 echo $ECHO_N "(cached) $ECHO_C" >&6
110367 if test x$gcc_no_link = xyes; then
110368 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110370 { (exit 1); exit 1; }; }
110372 cat >conftest.$ac_ext <<_ACEOF
110373 /* confdefs.h. */
110374 _ACEOF
110375 cat confdefs.h >>conftest.$ac_ext
110376 cat >>conftest.$ac_ext <<_ACEOF
110377 /* end confdefs.h. */
110378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110380 #define $ac_func innocuous_$ac_func
110382 /* System header to define __stub macros and hopefully few prototypes,
110383 which can conflict with char $ac_func (); below.
110384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110385 <limits.h> exists even on freestanding compilers. */
110387 #ifdef __STDC__
110388 # include <limits.h>
110389 #else
110390 # include <assert.h>
110391 #endif
110393 #undef $ac_func
110395 /* Override any gcc2 internal prototype to avoid an error. */
110396 #ifdef __cplusplus
110397 extern "C"
110399 #endif
110400 /* We use char because int might match the return type of a gcc2
110401 builtin and then its argument prototype would still apply. */
110402 char $ac_func ();
110403 /* The GNU C library defines this for functions which it implements
110404 to always fail with ENOSYS. Some functions are actually named
110405 something starting with __ and the normal name is an alias. */
110406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110407 choke me
110408 #else
110409 char (*f) () = $ac_func;
110410 #endif
110411 #ifdef __cplusplus
110413 #endif
110416 main ()
110418 return f != $ac_func;
110420 return 0;
110422 _ACEOF
110423 rm -f conftest.$ac_objext conftest$ac_exeext
110424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110425 (eval $ac_link) 2>conftest.er1
110426 ac_status=$?
110427 grep -v '^ *+' conftest.er1 >conftest.err
110428 rm -f conftest.er1
110429 cat conftest.err >&5
110430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110431 (exit $ac_status); } &&
110432 { ac_try='test -z "$ac_c_werror_flag"
110433 || test ! -s conftest.err'
110434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110435 (eval $ac_try) 2>&5
110436 ac_status=$?
110437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110438 (exit $ac_status); }; } &&
110439 { ac_try='test -s conftest$ac_exeext'
110440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110441 (eval $ac_try) 2>&5
110442 ac_status=$?
110443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110444 (exit $ac_status); }; }; then
110445 eval "$as_ac_var=yes"
110447 echo "$as_me: failed program was:" >&5
110448 sed 's/^/| /' conftest.$ac_ext >&5
110450 eval "$as_ac_var=no"
110452 rm -f conftest.err conftest.$ac_objext \
110453 conftest$ac_exeext conftest.$ac_ext
110455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110457 if test `eval echo '${'$as_ac_var'}'` = yes; then
110458 cat >>confdefs.h <<_ACEOF
110459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110460 _ACEOF
110463 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
110468 if test x$ac_cv_func_copysignl = x"yes"; then
110470 for ac_func in __signbitl
110472 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110473 echo "$as_me:$LINENO: checking for $ac_func" >&5
110474 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110475 if eval "test \"\${$as_ac_var+set}\" = set"; then
110476 echo $ECHO_N "(cached) $ECHO_C" >&6
110478 if test x$gcc_no_link = xyes; then
110479 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110480 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110481 { (exit 1); exit 1; }; }
110483 cat >conftest.$ac_ext <<_ACEOF
110484 /* confdefs.h. */
110485 _ACEOF
110486 cat confdefs.h >>conftest.$ac_ext
110487 cat >>conftest.$ac_ext <<_ACEOF
110488 /* end confdefs.h. */
110489 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110490 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110491 #define $ac_func innocuous_$ac_func
110493 /* System header to define __stub macros and hopefully few prototypes,
110494 which can conflict with char $ac_func (); below.
110495 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110496 <limits.h> exists even on freestanding compilers. */
110498 #ifdef __STDC__
110499 # include <limits.h>
110500 #else
110501 # include <assert.h>
110502 #endif
110504 #undef $ac_func
110506 /* Override any gcc2 internal prototype to avoid an error. */
110507 #ifdef __cplusplus
110508 extern "C"
110510 #endif
110511 /* We use char because int might match the return type of a gcc2
110512 builtin and then its argument prototype would still apply. */
110513 char $ac_func ();
110514 /* The GNU C library defines this for functions which it implements
110515 to always fail with ENOSYS. Some functions are actually named
110516 something starting with __ and the normal name is an alias. */
110517 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110518 choke me
110519 #else
110520 char (*f) () = $ac_func;
110521 #endif
110522 #ifdef __cplusplus
110524 #endif
110527 main ()
110529 return f != $ac_func;
110531 return 0;
110533 _ACEOF
110534 rm -f conftest.$ac_objext conftest$ac_exeext
110535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110536 (eval $ac_link) 2>conftest.er1
110537 ac_status=$?
110538 grep -v '^ *+' conftest.er1 >conftest.err
110539 rm -f conftest.er1
110540 cat conftest.err >&5
110541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110542 (exit $ac_status); } &&
110543 { ac_try='test -z "$ac_c_werror_flag"
110544 || test ! -s conftest.err'
110545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110546 (eval $ac_try) 2>&5
110547 ac_status=$?
110548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110549 (exit $ac_status); }; } &&
110550 { ac_try='test -s conftest$ac_exeext'
110551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110552 (eval $ac_try) 2>&5
110553 ac_status=$?
110554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110555 (exit $ac_status); }; }; then
110556 eval "$as_ac_var=yes"
110558 echo "$as_me: failed program was:" >&5
110559 sed 's/^/| /' conftest.$ac_ext >&5
110561 eval "$as_ac_var=no"
110563 rm -f conftest.err conftest.$ac_objext \
110564 conftest$ac_exeext conftest.$ac_ext
110566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110567 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110568 if test `eval echo '${'$as_ac_var'}'` = yes; then
110569 cat >>confdefs.h <<_ACEOF
110570 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110571 _ACEOF
110574 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
110580 # Used in libmath/Makefile.am.
110581 if test -n "$LIBMATHOBJS"; then
110582 need_libmath=yes
110586 cat >>confdefs.h <<\_ACEOF
110587 #define HAVE_COPYSIGN 1
110588 _ACEOF
110590 cat >>confdefs.h <<\_ACEOF
110591 #define HAVE_COPYSIGNF 1
110592 _ACEOF
110594 cat >>confdefs.h <<\_ACEOF
110595 #define HAVE_FINITEF 1
110596 _ACEOF
110598 cat >>confdefs.h <<\_ACEOF
110599 #define HAVE_FINITE 1
110600 _ACEOF
110602 cat >>confdefs.h <<\_ACEOF
110603 #define HAVE_FREXPF 1
110604 _ACEOF
110606 cat >>confdefs.h <<\_ACEOF
110607 #define HAVE_HYPOTF 1
110608 _ACEOF
110610 cat >>confdefs.h <<\_ACEOF
110611 #define HAVE_ISINF 1
110612 _ACEOF
110614 cat >>confdefs.h <<\_ACEOF
110615 #define HAVE_ISINFF 1
110616 _ACEOF
110618 cat >>confdefs.h <<\_ACEOF
110619 #define HAVE_ISNAN 1
110620 _ACEOF
110622 cat >>confdefs.h <<\_ACEOF
110623 #define HAVE_ISNANF 1
110624 _ACEOF
110626 if test x"long_double_math_on_this_cpu" = x"yes"; then
110627 cat >>confdefs.h <<\_ACEOF
110628 #define HAVE_FINITEL 1
110629 _ACEOF
110631 cat >>confdefs.h <<\_ACEOF
110632 #define HAVE_ISINFL 1
110633 _ACEOF
110635 cat >>confdefs.h <<\_ACEOF
110636 #define HAVE_ISNANL 1
110637 _ACEOF
110641 *-netware)
110650 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
110651 sys/types.h locale.h float.h inttypes.h
110653 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
110654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110655 echo "$as_me:$LINENO: checking for $ac_header" >&5
110656 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110657 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110658 echo $ECHO_N "(cached) $ECHO_C" >&6
110660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110661 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110663 # Is the header compilable?
110664 echo "$as_me:$LINENO: checking $ac_header usability" >&5
110665 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
110666 cat >conftest.$ac_ext <<_ACEOF
110667 /* confdefs.h. */
110668 _ACEOF
110669 cat confdefs.h >>conftest.$ac_ext
110670 cat >>conftest.$ac_ext <<_ACEOF
110671 /* end confdefs.h. */
110672 $ac_includes_default
110673 #include <$ac_header>
110674 _ACEOF
110675 rm -f conftest.$ac_objext
110676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110677 (eval $ac_compile) 2>conftest.er1
110678 ac_status=$?
110679 grep -v '^ *+' conftest.er1 >conftest.err
110680 rm -f conftest.er1
110681 cat conftest.err >&5
110682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110683 (exit $ac_status); } &&
110684 { ac_try='test -z "$ac_c_werror_flag"
110685 || test ! -s conftest.err'
110686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110687 (eval $ac_try) 2>&5
110688 ac_status=$?
110689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110690 (exit $ac_status); }; } &&
110691 { ac_try='test -s conftest.$ac_objext'
110692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110693 (eval $ac_try) 2>&5
110694 ac_status=$?
110695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110696 (exit $ac_status); }; }; then
110697 ac_header_compiler=yes
110699 echo "$as_me: failed program was:" >&5
110700 sed 's/^/| /' conftest.$ac_ext >&5
110702 ac_header_compiler=no
110704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110705 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110706 echo "${ECHO_T}$ac_header_compiler" >&6
110708 # Is the header present?
110709 echo "$as_me:$LINENO: checking $ac_header presence" >&5
110710 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
110711 cat >conftest.$ac_ext <<_ACEOF
110712 /* confdefs.h. */
110713 _ACEOF
110714 cat confdefs.h >>conftest.$ac_ext
110715 cat >>conftest.$ac_ext <<_ACEOF
110716 /* end confdefs.h. */
110717 #include <$ac_header>
110718 _ACEOF
110719 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
110720 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
110721 ac_status=$?
110722 grep -v '^ *+' conftest.er1 >conftest.err
110723 rm -f conftest.er1
110724 cat conftest.err >&5
110725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110726 (exit $ac_status); } >/dev/null; then
110727 if test -s conftest.err; then
110728 ac_cpp_err=$ac_c_preproc_warn_flag
110729 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
110731 ac_cpp_err=
110734 ac_cpp_err=yes
110736 if test -z "$ac_cpp_err"; then
110737 ac_header_preproc=yes
110739 echo "$as_me: failed program was:" >&5
110740 sed 's/^/| /' conftest.$ac_ext >&5
110742 ac_header_preproc=no
110744 rm -f conftest.err conftest.$ac_ext
110745 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
110746 echo "${ECHO_T}$ac_header_preproc" >&6
110748 # So? What about this header?
110749 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
110750 yes:no: )
110751 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
110752 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
110753 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
110754 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
110755 ac_header_preproc=yes
110757 no:yes:* )
110758 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
110759 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
110760 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
110761 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
110762 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
110763 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
110764 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
110765 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
110766 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
110767 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
110768 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
110769 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
110771 cat <<\_ASBOX
110772 ## ----------------------------------------- ##
110773 ## Report this to the package-unused lists. ##
110774 ## ----------------------------------------- ##
110775 _ASBOX
110777 sed "s/^/$as_me: WARNING: /" >&2
110780 echo "$as_me:$LINENO: checking for $ac_header" >&5
110781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110783 echo $ECHO_N "(cached) $ECHO_C" >&6
110785 eval "$as_ac_Header=\$ac_header_preproc"
110787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110788 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110791 if test `eval echo '${'$as_ac_Header'}'` = yes; then
110792 cat >>confdefs.h <<_ACEOF
110793 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
110794 _ACEOF
110800 SECTION_FLAGS='-ffunction-sections -fdata-sections'
110803 # If we're not using GNU ld, then there's no point in even trying these
110804 # tests. Check for that first. We should have already tested for gld
110805 # by now (in libtool), but require it now just to be safe...
110806 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
110807 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
110811 # The name set by libtool depends on the version of libtool. Shame on us
110812 # for depending on an impl detail, but c'est la vie. Older versions used
110813 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
110814 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
110815 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
110816 # set (hence we're using an older libtool), then set it.
110817 if test x${with_gnu_ld+set} != xset; then
110818 if test x${ac_cv_prog_gnu_ld+set} != xset; then
110819 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
110820 with_gnu_ld=no
110822 with_gnu_ld=$ac_cv_prog_gnu_ld
110826 # Start by getting the version number. I think the libtool test already
110827 # does some of this, but throws away the result.
110828 if test x"$with_gnu_ld" = x"yes"; then
110829 echo "$as_me:$LINENO: checking for ld version" >&5
110830 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
110832 ldver=`$LD --version 2>/dev/null | head -1 | \
110833 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
110835 glibcxx_gnu_ld_version=`echo $ldver | \
110836 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
110837 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
110838 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
110841 # Set --gc-sections.
110842 glibcxx_gcsections_min_ld=21602
110843 if test x"$with_gnu_ld" = x"yes" &&
110844 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
110846 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
110847 # NB: This flag only works reliably after 2.16.1. Configure tests
110848 # for this are difficult, so hard wire a value that should work.
110850 ac_test_CFLAGS="${CFLAGS+set}"
110851 ac_save_CFLAGS="$CFLAGS"
110852 CFLAGS='-Wl,--gc-sections'
110854 # Check for -Wl,--gc-sections
110855 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
110856 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
110857 if test x$gcc_no_link = xyes; then
110858 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110859 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110860 { (exit 1); exit 1; }; }
110862 cat >conftest.$ac_ext <<_ACEOF
110863 /* confdefs.h. */
110864 _ACEOF
110865 cat confdefs.h >>conftest.$ac_ext
110866 cat >>conftest.$ac_ext <<_ACEOF
110867 /* end confdefs.h. */
110868 int one(void) { return 1; }
110869 int two(void) { return 2; }
110872 main ()
110874 two();
110876 return 0;
110878 _ACEOF
110879 rm -f conftest.$ac_objext conftest$ac_exeext
110880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110881 (eval $ac_link) 2>conftest.er1
110882 ac_status=$?
110883 grep -v '^ *+' conftest.er1 >conftest.err
110884 rm -f conftest.er1
110885 cat conftest.err >&5
110886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110887 (exit $ac_status); } &&
110888 { ac_try='test -z "$ac_c_werror_flag"
110889 || test ! -s conftest.err'
110890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110891 (eval $ac_try) 2>&5
110892 ac_status=$?
110893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110894 (exit $ac_status); }; } &&
110895 { ac_try='test -s conftest$ac_exeext'
110896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110897 (eval $ac_try) 2>&5
110898 ac_status=$?
110899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110900 (exit $ac_status); }; }; then
110901 ac_gcsections=yes
110903 echo "$as_me: failed program was:" >&5
110904 sed 's/^/| /' conftest.$ac_ext >&5
110906 ac_gcsections=no
110908 rm -f conftest.err conftest.$ac_objext \
110909 conftest$ac_exeext conftest.$ac_ext
110910 if test "$ac_gcsections" = "yes"; then
110911 rm -f conftest.c
110912 touch conftest.c
110913 if $CC -c conftest.c; then
110914 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
110915 grep "Warning: gc-sections option ignored" > /dev/null; then
110916 ac_gcsections=no
110919 rm -f conftest.c conftest.o conftest
110921 if test "$ac_gcsections" = "yes"; then
110922 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
110924 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
110925 echo "${ECHO_T}$ac_gcsections" >&6
110927 if test "$ac_test_CFLAGS" = set; then
110928 CFLAGS="$ac_save_CFLAGS"
110930 # this is the suspicious part
110931 CFLAGS=''
110935 # Set -z,relro.
110936 # Note this is only for shared objects.
110937 ac_ld_relro=no
110938 if test x"$with_gnu_ld" = x"yes"; then
110939 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
110940 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
110941 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
110942 if test -n "$cxx_z_relo"; then
110943 OPT_LDFLAGS="-Wl,-z,relro"
110944 ac_ld_relro=yes
110946 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
110947 echo "${ECHO_T}$ac_ld_relro" >&6
110950 # Set linker optimization flags.
110951 if test x"$with_gnu_ld" = x"yes"; then
110952 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
110960 echo "$as_me:$LINENO: checking for main in -lm" >&5
110961 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
110962 if test "${ac_cv_lib_m_main+set}" = set; then
110963 echo $ECHO_N "(cached) $ECHO_C" >&6
110965 ac_check_lib_save_LIBS=$LIBS
110966 LIBS="-lm $LIBS"
110967 if test x$gcc_no_link = xyes; then
110968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110970 { (exit 1); exit 1; }; }
110972 cat >conftest.$ac_ext <<_ACEOF
110973 /* confdefs.h. */
110974 _ACEOF
110975 cat confdefs.h >>conftest.$ac_ext
110976 cat >>conftest.$ac_ext <<_ACEOF
110977 /* end confdefs.h. */
110981 main ()
110983 main ();
110985 return 0;
110987 _ACEOF
110988 rm -f conftest.$ac_objext conftest$ac_exeext
110989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110990 (eval $ac_link) 2>conftest.er1
110991 ac_status=$?
110992 grep -v '^ *+' conftest.er1 >conftest.err
110993 rm -f conftest.er1
110994 cat conftest.err >&5
110995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110996 (exit $ac_status); } &&
110997 { ac_try='test -z "$ac_c_werror_flag"
110998 || test ! -s conftest.err'
110999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111000 (eval $ac_try) 2>&5
111001 ac_status=$?
111002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111003 (exit $ac_status); }; } &&
111004 { ac_try='test -s conftest$ac_exeext'
111005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111006 (eval $ac_try) 2>&5
111007 ac_status=$?
111008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111009 (exit $ac_status); }; }; then
111010 ac_cv_lib_m_main=yes
111012 echo "$as_me: failed program was:" >&5
111013 sed 's/^/| /' conftest.$ac_ext >&5
111015 ac_cv_lib_m_main=no
111017 rm -f conftest.err conftest.$ac_objext \
111018 conftest$ac_exeext conftest.$ac_ext
111019 LIBS=$ac_check_lib_save_LIBS
111021 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
111022 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
111023 if test $ac_cv_lib_m_main = yes; then
111024 cat >>confdefs.h <<_ACEOF
111025 #define HAVE_LIBM 1
111026 _ACEOF
111028 LIBS="-lm $LIBS"
111033 for ac_func in copysignf
111035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111036 echo "$as_me:$LINENO: checking for $ac_func" >&5
111037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111038 if eval "test \"\${$as_ac_var+set}\" = set"; then
111039 echo $ECHO_N "(cached) $ECHO_C" >&6
111041 if test x$gcc_no_link = xyes; then
111042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111044 { (exit 1); exit 1; }; }
111046 cat >conftest.$ac_ext <<_ACEOF
111047 /* confdefs.h. */
111048 _ACEOF
111049 cat confdefs.h >>conftest.$ac_ext
111050 cat >>conftest.$ac_ext <<_ACEOF
111051 /* end confdefs.h. */
111052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111054 #define $ac_func innocuous_$ac_func
111056 /* System header to define __stub macros and hopefully few prototypes,
111057 which can conflict with char $ac_func (); below.
111058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111059 <limits.h> exists even on freestanding compilers. */
111061 #ifdef __STDC__
111062 # include <limits.h>
111063 #else
111064 # include <assert.h>
111065 #endif
111067 #undef $ac_func
111069 /* Override any gcc2 internal prototype to avoid an error. */
111070 #ifdef __cplusplus
111071 extern "C"
111073 #endif
111074 /* We use char because int might match the return type of a gcc2
111075 builtin and then its argument prototype would still apply. */
111076 char $ac_func ();
111077 /* The GNU C library defines this for functions which it implements
111078 to always fail with ENOSYS. Some functions are actually named
111079 something starting with __ and the normal name is an alias. */
111080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111081 choke me
111082 #else
111083 char (*f) () = $ac_func;
111084 #endif
111085 #ifdef __cplusplus
111087 #endif
111090 main ()
111092 return f != $ac_func;
111094 return 0;
111096 _ACEOF
111097 rm -f conftest.$ac_objext conftest$ac_exeext
111098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111099 (eval $ac_link) 2>conftest.er1
111100 ac_status=$?
111101 grep -v '^ *+' conftest.er1 >conftest.err
111102 rm -f conftest.er1
111103 cat conftest.err >&5
111104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111105 (exit $ac_status); } &&
111106 { ac_try='test -z "$ac_c_werror_flag"
111107 || test ! -s conftest.err'
111108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111109 (eval $ac_try) 2>&5
111110 ac_status=$?
111111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111112 (exit $ac_status); }; } &&
111113 { ac_try='test -s conftest$ac_exeext'
111114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111115 (eval $ac_try) 2>&5
111116 ac_status=$?
111117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111118 (exit $ac_status); }; }; then
111119 eval "$as_ac_var=yes"
111121 echo "$as_me: failed program was:" >&5
111122 sed 's/^/| /' conftest.$ac_ext >&5
111124 eval "$as_ac_var=no"
111126 rm -f conftest.err conftest.$ac_objext \
111127 conftest$ac_exeext conftest.$ac_ext
111129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111131 if test `eval echo '${'$as_ac_var'}'` = yes; then
111132 cat >>confdefs.h <<_ACEOF
111133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111134 _ACEOF
111137 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
111143 for ac_func in __signbit
111145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111146 echo "$as_me:$LINENO: checking for $ac_func" >&5
111147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111148 if eval "test \"\${$as_ac_var+set}\" = set"; then
111149 echo $ECHO_N "(cached) $ECHO_C" >&6
111151 if test x$gcc_no_link = xyes; then
111152 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111154 { (exit 1); exit 1; }; }
111156 cat >conftest.$ac_ext <<_ACEOF
111157 /* confdefs.h. */
111158 _ACEOF
111159 cat confdefs.h >>conftest.$ac_ext
111160 cat >>conftest.$ac_ext <<_ACEOF
111161 /* end confdefs.h. */
111162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111164 #define $ac_func innocuous_$ac_func
111166 /* System header to define __stub macros and hopefully few prototypes,
111167 which can conflict with char $ac_func (); below.
111168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111169 <limits.h> exists even on freestanding compilers. */
111171 #ifdef __STDC__
111172 # include <limits.h>
111173 #else
111174 # include <assert.h>
111175 #endif
111177 #undef $ac_func
111179 /* Override any gcc2 internal prototype to avoid an error. */
111180 #ifdef __cplusplus
111181 extern "C"
111183 #endif
111184 /* We use char because int might match the return type of a gcc2
111185 builtin and then its argument prototype would still apply. */
111186 char $ac_func ();
111187 /* The GNU C library defines this for functions which it implements
111188 to always fail with ENOSYS. Some functions are actually named
111189 something starting with __ and the normal name is an alias. */
111190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111191 choke me
111192 #else
111193 char (*f) () = $ac_func;
111194 #endif
111195 #ifdef __cplusplus
111197 #endif
111200 main ()
111202 return f != $ac_func;
111204 return 0;
111206 _ACEOF
111207 rm -f conftest.$ac_objext conftest$ac_exeext
111208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111209 (eval $ac_link) 2>conftest.er1
111210 ac_status=$?
111211 grep -v '^ *+' conftest.er1 >conftest.err
111212 rm -f conftest.er1
111213 cat conftest.err >&5
111214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111215 (exit $ac_status); } &&
111216 { ac_try='test -z "$ac_c_werror_flag"
111217 || test ! -s conftest.err'
111218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111219 (eval $ac_try) 2>&5
111220 ac_status=$?
111221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111222 (exit $ac_status); }; } &&
111223 { ac_try='test -s conftest$ac_exeext'
111224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111225 (eval $ac_try) 2>&5
111226 ac_status=$?
111227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111228 (exit $ac_status); }; }; then
111229 eval "$as_ac_var=yes"
111231 echo "$as_me: failed program was:" >&5
111232 sed 's/^/| /' conftest.$ac_ext >&5
111234 eval "$as_ac_var=no"
111236 rm -f conftest.err conftest.$ac_objext \
111237 conftest$ac_exeext conftest.$ac_ext
111239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111241 if test `eval echo '${'$as_ac_var'}'` = yes; then
111242 cat >>confdefs.h <<_ACEOF
111243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111244 _ACEOF
111247 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
111253 for ac_func in __signbitf
111255 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111256 echo "$as_me:$LINENO: checking for $ac_func" >&5
111257 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111258 if eval "test \"\${$as_ac_var+set}\" = set"; then
111259 echo $ECHO_N "(cached) $ECHO_C" >&6
111261 if test x$gcc_no_link = xyes; then
111262 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111263 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111264 { (exit 1); exit 1; }; }
111266 cat >conftest.$ac_ext <<_ACEOF
111267 /* confdefs.h. */
111268 _ACEOF
111269 cat confdefs.h >>conftest.$ac_ext
111270 cat >>conftest.$ac_ext <<_ACEOF
111271 /* end confdefs.h. */
111272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111274 #define $ac_func innocuous_$ac_func
111276 /* System header to define __stub macros and hopefully few prototypes,
111277 which can conflict with char $ac_func (); below.
111278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111279 <limits.h> exists even on freestanding compilers. */
111281 #ifdef __STDC__
111282 # include <limits.h>
111283 #else
111284 # include <assert.h>
111285 #endif
111287 #undef $ac_func
111289 /* Override any gcc2 internal prototype to avoid an error. */
111290 #ifdef __cplusplus
111291 extern "C"
111293 #endif
111294 /* We use char because int might match the return type of a gcc2
111295 builtin and then its argument prototype would still apply. */
111296 char $ac_func ();
111297 /* The GNU C library defines this for functions which it implements
111298 to always fail with ENOSYS. Some functions are actually named
111299 something starting with __ and the normal name is an alias. */
111300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111301 choke me
111302 #else
111303 char (*f) () = $ac_func;
111304 #endif
111305 #ifdef __cplusplus
111307 #endif
111310 main ()
111312 return f != $ac_func;
111314 return 0;
111316 _ACEOF
111317 rm -f conftest.$ac_objext conftest$ac_exeext
111318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111319 (eval $ac_link) 2>conftest.er1
111320 ac_status=$?
111321 grep -v '^ *+' conftest.er1 >conftest.err
111322 rm -f conftest.er1
111323 cat conftest.err >&5
111324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111325 (exit $ac_status); } &&
111326 { ac_try='test -z "$ac_c_werror_flag"
111327 || test ! -s conftest.err'
111328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111329 (eval $ac_try) 2>&5
111330 ac_status=$?
111331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111332 (exit $ac_status); }; } &&
111333 { ac_try='test -s conftest$ac_exeext'
111334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111335 (eval $ac_try) 2>&5
111336 ac_status=$?
111337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111338 (exit $ac_status); }; }; then
111339 eval "$as_ac_var=yes"
111341 echo "$as_me: failed program was:" >&5
111342 sed 's/^/| /' conftest.$ac_ext >&5
111344 eval "$as_ac_var=no"
111346 rm -f conftest.err conftest.$ac_objext \
111347 conftest$ac_exeext conftest.$ac_ext
111349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111351 if test `eval echo '${'$as_ac_var'}'` = yes; then
111352 cat >>confdefs.h <<_ACEOF
111353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111354 _ACEOF
111357 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
111362 if test x$ac_cv_func_copysignl = x"yes"; then
111364 for ac_func in __signbitl
111366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111367 echo "$as_me:$LINENO: checking for $ac_func" >&5
111368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111369 if eval "test \"\${$as_ac_var+set}\" = set"; then
111370 echo $ECHO_N "(cached) $ECHO_C" >&6
111372 if test x$gcc_no_link = xyes; then
111373 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111375 { (exit 1); exit 1; }; }
111377 cat >conftest.$ac_ext <<_ACEOF
111378 /* confdefs.h. */
111379 _ACEOF
111380 cat confdefs.h >>conftest.$ac_ext
111381 cat >>conftest.$ac_ext <<_ACEOF
111382 /* end confdefs.h. */
111383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111385 #define $ac_func innocuous_$ac_func
111387 /* System header to define __stub macros and hopefully few prototypes,
111388 which can conflict with char $ac_func (); below.
111389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111390 <limits.h> exists even on freestanding compilers. */
111392 #ifdef __STDC__
111393 # include <limits.h>
111394 #else
111395 # include <assert.h>
111396 #endif
111398 #undef $ac_func
111400 /* Override any gcc2 internal prototype to avoid an error. */
111401 #ifdef __cplusplus
111402 extern "C"
111404 #endif
111405 /* We use char because int might match the return type of a gcc2
111406 builtin and then its argument prototype would still apply. */
111407 char $ac_func ();
111408 /* The GNU C library defines this for functions which it implements
111409 to always fail with ENOSYS. Some functions are actually named
111410 something starting with __ and the normal name is an alias. */
111411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111412 choke me
111413 #else
111414 char (*f) () = $ac_func;
111415 #endif
111416 #ifdef __cplusplus
111418 #endif
111421 main ()
111423 return f != $ac_func;
111425 return 0;
111427 _ACEOF
111428 rm -f conftest.$ac_objext conftest$ac_exeext
111429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111430 (eval $ac_link) 2>conftest.er1
111431 ac_status=$?
111432 grep -v '^ *+' conftest.er1 >conftest.err
111433 rm -f conftest.er1
111434 cat conftest.err >&5
111435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111436 (exit $ac_status); } &&
111437 { ac_try='test -z "$ac_c_werror_flag"
111438 || test ! -s conftest.err'
111439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111440 (eval $ac_try) 2>&5
111441 ac_status=$?
111442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111443 (exit $ac_status); }; } &&
111444 { ac_try='test -s conftest$ac_exeext'
111445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111446 (eval $ac_try) 2>&5
111447 ac_status=$?
111448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111449 (exit $ac_status); }; }; then
111450 eval "$as_ac_var=yes"
111452 echo "$as_me: failed program was:" >&5
111453 sed 's/^/| /' conftest.$ac_ext >&5
111455 eval "$as_ac_var=no"
111457 rm -f conftest.err conftest.$ac_objext \
111458 conftest$ac_exeext conftest.$ac_ext
111460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111462 if test `eval echo '${'$as_ac_var'}'` = yes; then
111463 cat >>confdefs.h <<_ACEOF
111464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111465 _ACEOF
111468 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
111474 # Used in libmath/Makefile.am.
111475 if test -n "$LIBMATHOBJS"; then
111476 need_libmath=yes
111480 cat >>confdefs.h <<\_ACEOF
111481 #define HAVE_HYPOT 1
111482 _ACEOF
111484 cat >>confdefs.h <<\_ACEOF
111485 #define HAVE_ISINF 1
111486 _ACEOF
111488 cat >>confdefs.h <<\_ACEOF
111489 #define HAVE_ISNAN 1
111490 _ACEOF
111493 # For showmanyc_helper().
111496 for ac_header in sys/ioctl.h sys/filio.h
111498 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
111499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111500 echo "$as_me:$LINENO: checking for $ac_header" >&5
111501 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111502 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111503 echo $ECHO_N "(cached) $ECHO_C" >&6
111505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111506 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111508 # Is the header compilable?
111509 echo "$as_me:$LINENO: checking $ac_header usability" >&5
111510 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
111511 cat >conftest.$ac_ext <<_ACEOF
111512 /* confdefs.h. */
111513 _ACEOF
111514 cat confdefs.h >>conftest.$ac_ext
111515 cat >>conftest.$ac_ext <<_ACEOF
111516 /* end confdefs.h. */
111517 $ac_includes_default
111518 #include <$ac_header>
111519 _ACEOF
111520 rm -f conftest.$ac_objext
111521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111522 (eval $ac_compile) 2>conftest.er1
111523 ac_status=$?
111524 grep -v '^ *+' conftest.er1 >conftest.err
111525 rm -f conftest.er1
111526 cat conftest.err >&5
111527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111528 (exit $ac_status); } &&
111529 { ac_try='test -z "$ac_c_werror_flag"
111530 || test ! -s conftest.err'
111531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111532 (eval $ac_try) 2>&5
111533 ac_status=$?
111534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111535 (exit $ac_status); }; } &&
111536 { ac_try='test -s conftest.$ac_objext'
111537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111538 (eval $ac_try) 2>&5
111539 ac_status=$?
111540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111541 (exit $ac_status); }; }; then
111542 ac_header_compiler=yes
111544 echo "$as_me: failed program was:" >&5
111545 sed 's/^/| /' conftest.$ac_ext >&5
111547 ac_header_compiler=no
111549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111550 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
111551 echo "${ECHO_T}$ac_header_compiler" >&6
111553 # Is the header present?
111554 echo "$as_me:$LINENO: checking $ac_header presence" >&5
111555 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
111556 cat >conftest.$ac_ext <<_ACEOF
111557 /* confdefs.h. */
111558 _ACEOF
111559 cat confdefs.h >>conftest.$ac_ext
111560 cat >>conftest.$ac_ext <<_ACEOF
111561 /* end confdefs.h. */
111562 #include <$ac_header>
111563 _ACEOF
111564 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
111565 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
111566 ac_status=$?
111567 grep -v '^ *+' conftest.er1 >conftest.err
111568 rm -f conftest.er1
111569 cat conftest.err >&5
111570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111571 (exit $ac_status); } >/dev/null; then
111572 if test -s conftest.err; then
111573 ac_cpp_err=$ac_c_preproc_warn_flag
111574 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
111576 ac_cpp_err=
111579 ac_cpp_err=yes
111581 if test -z "$ac_cpp_err"; then
111582 ac_header_preproc=yes
111584 echo "$as_me: failed program was:" >&5
111585 sed 's/^/| /' conftest.$ac_ext >&5
111587 ac_header_preproc=no
111589 rm -f conftest.err conftest.$ac_ext
111590 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
111591 echo "${ECHO_T}$ac_header_preproc" >&6
111593 # So? What about this header?
111594 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
111595 yes:no: )
111596 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
111597 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
111598 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
111599 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
111600 ac_header_preproc=yes
111602 no:yes:* )
111603 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
111604 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
111605 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
111606 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
111607 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
111608 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
111609 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
111610 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
111611 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
111612 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
111613 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
111614 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
111616 cat <<\_ASBOX
111617 ## ----------------------------------------- ##
111618 ## Report this to the package-unused lists. ##
111619 ## ----------------------------------------- ##
111620 _ASBOX
111622 sed "s/^/$as_me: WARNING: /" >&2
111625 echo "$as_me:$LINENO: checking for $ac_header" >&5
111626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111627 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111628 echo $ECHO_N "(cached) $ECHO_C" >&6
111630 eval "$as_ac_Header=\$ac_header_preproc"
111632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111633 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111636 if test `eval echo '${'$as_ac_Header'}'` = yes; then
111637 cat >>confdefs.h <<_ACEOF
111638 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
111639 _ACEOF
111646 echo "$as_me:$LINENO: checking for poll" >&5
111647 echo $ECHO_N "checking for poll... $ECHO_C" >&6
111648 if test "${glibcxx_cv_POLL+set}" = set; then
111649 echo $ECHO_N "(cached) $ECHO_C" >&6
111652 if test x$gcc_no_link = xyes; then
111653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111655 { (exit 1); exit 1; }; }
111657 cat >conftest.$ac_ext <<_ACEOF
111658 /* confdefs.h. */
111659 _ACEOF
111660 cat confdefs.h >>conftest.$ac_ext
111661 cat >>conftest.$ac_ext <<_ACEOF
111662 /* end confdefs.h. */
111663 #include <poll.h>
111665 main ()
111667 struct pollfd pfd[1];
111668 pfd[0].events = POLLIN;
111669 poll(pfd, 1, 0);
111671 return 0;
111673 _ACEOF
111674 rm -f conftest.$ac_objext conftest$ac_exeext
111675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111676 (eval $ac_link) 2>conftest.er1
111677 ac_status=$?
111678 grep -v '^ *+' conftest.er1 >conftest.err
111679 rm -f conftest.er1
111680 cat conftest.err >&5
111681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111682 (exit $ac_status); } &&
111683 { ac_try='test -z "$ac_c_werror_flag"
111684 || test ! -s conftest.err'
111685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111686 (eval $ac_try) 2>&5
111687 ac_status=$?
111688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111689 (exit $ac_status); }; } &&
111690 { ac_try='test -s conftest$ac_exeext'
111691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111692 (eval $ac_try) 2>&5
111693 ac_status=$?
111694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111695 (exit $ac_status); }; }; then
111696 glibcxx_cv_POLL=yes
111698 echo "$as_me: failed program was:" >&5
111699 sed 's/^/| /' conftest.$ac_ext >&5
111701 glibcxx_cv_POLL=no
111703 rm -f conftest.err conftest.$ac_objext \
111704 conftest$ac_exeext conftest.$ac_ext
111708 if test $glibcxx_cv_POLL = yes; then
111710 cat >>confdefs.h <<\_ACEOF
111711 #define HAVE_POLL 1
111712 _ACEOF
111715 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
111716 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
111719 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
111720 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
111721 if test "${glibcxx_cv_S_ISREG+set}" = set; then
111722 echo $ECHO_N "(cached) $ECHO_C" >&6
111725 if test x$gcc_no_link = xyes; then
111726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111728 { (exit 1); exit 1; }; }
111730 cat >conftest.$ac_ext <<_ACEOF
111731 /* confdefs.h. */
111732 _ACEOF
111733 cat confdefs.h >>conftest.$ac_ext
111734 cat >>conftest.$ac_ext <<_ACEOF
111735 /* end confdefs.h. */
111736 #include <sys/stat.h>
111738 main ()
111740 struct stat buffer;
111741 fstat(0, &buffer);
111742 S_ISREG(buffer.st_mode);
111744 return 0;
111746 _ACEOF
111747 rm -f conftest.$ac_objext conftest$ac_exeext
111748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111749 (eval $ac_link) 2>conftest.er1
111750 ac_status=$?
111751 grep -v '^ *+' conftest.er1 >conftest.err
111752 rm -f conftest.er1
111753 cat conftest.err >&5
111754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111755 (exit $ac_status); } &&
111756 { ac_try='test -z "$ac_c_werror_flag"
111757 || test ! -s conftest.err'
111758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111759 (eval $ac_try) 2>&5
111760 ac_status=$?
111761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111762 (exit $ac_status); }; } &&
111763 { ac_try='test -s conftest$ac_exeext'
111764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111765 (eval $ac_try) 2>&5
111766 ac_status=$?
111767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111768 (exit $ac_status); }; }; then
111769 glibcxx_cv_S_ISREG=yes
111771 echo "$as_me: failed program was:" >&5
111772 sed 's/^/| /' conftest.$ac_ext >&5
111774 glibcxx_cv_S_ISREG=no
111776 rm -f conftest.err conftest.$ac_objext \
111777 conftest$ac_exeext conftest.$ac_ext
111781 if test "${glibcxx_cv_S_IFREG+set}" = set; then
111782 echo $ECHO_N "(cached) $ECHO_C" >&6
111785 if test x$gcc_no_link = xyes; then
111786 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111787 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111788 { (exit 1); exit 1; }; }
111790 cat >conftest.$ac_ext <<_ACEOF
111791 /* confdefs.h. */
111792 _ACEOF
111793 cat confdefs.h >>conftest.$ac_ext
111794 cat >>conftest.$ac_ext <<_ACEOF
111795 /* end confdefs.h. */
111796 #include <sys/stat.h>
111798 main ()
111800 struct stat buffer;
111801 fstat(0, &buffer);
111802 S_IFREG & buffer.st_mode;
111804 return 0;
111806 _ACEOF
111807 rm -f conftest.$ac_objext conftest$ac_exeext
111808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111809 (eval $ac_link) 2>conftest.er1
111810 ac_status=$?
111811 grep -v '^ *+' conftest.er1 >conftest.err
111812 rm -f conftest.er1
111813 cat conftest.err >&5
111814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111815 (exit $ac_status); } &&
111816 { ac_try='test -z "$ac_c_werror_flag"
111817 || test ! -s conftest.err'
111818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111819 (eval $ac_try) 2>&5
111820 ac_status=$?
111821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111822 (exit $ac_status); }; } &&
111823 { ac_try='test -s conftest$ac_exeext'
111824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111825 (eval $ac_try) 2>&5
111826 ac_status=$?
111827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111828 (exit $ac_status); }; }; then
111829 glibcxx_cv_S_IFREG=yes
111831 echo "$as_me: failed program was:" >&5
111832 sed 's/^/| /' conftest.$ac_ext >&5
111834 glibcxx_cv_S_IFREG=no
111836 rm -f conftest.err conftest.$ac_objext \
111837 conftest$ac_exeext conftest.$ac_ext
111841 res=no
111842 if test $glibcxx_cv_S_ISREG = yes; then
111844 cat >>confdefs.h <<\_ACEOF
111845 #define HAVE_S_ISREG 1
111846 _ACEOF
111848 res=S_ISREG
111849 elif test $glibcxx_cv_S_IFREG = yes; then
111851 cat >>confdefs.h <<\_ACEOF
111852 #define HAVE_S_IFREG 1
111853 _ACEOF
111855 res=S_IFREG
111857 echo "$as_me:$LINENO: result: $res" >&5
111858 echo "${ECHO_T}$res" >&6
111861 # For xsputn_2().
111863 for ac_header in sys/uio.h
111865 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
111866 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111867 echo "$as_me:$LINENO: checking for $ac_header" >&5
111868 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111869 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111870 echo $ECHO_N "(cached) $ECHO_C" >&6
111872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111873 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111875 # Is the header compilable?
111876 echo "$as_me:$LINENO: checking $ac_header usability" >&5
111877 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
111878 cat >conftest.$ac_ext <<_ACEOF
111879 /* confdefs.h. */
111880 _ACEOF
111881 cat confdefs.h >>conftest.$ac_ext
111882 cat >>conftest.$ac_ext <<_ACEOF
111883 /* end confdefs.h. */
111884 $ac_includes_default
111885 #include <$ac_header>
111886 _ACEOF
111887 rm -f conftest.$ac_objext
111888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111889 (eval $ac_compile) 2>conftest.er1
111890 ac_status=$?
111891 grep -v '^ *+' conftest.er1 >conftest.err
111892 rm -f conftest.er1
111893 cat conftest.err >&5
111894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111895 (exit $ac_status); } &&
111896 { ac_try='test -z "$ac_c_werror_flag"
111897 || test ! -s conftest.err'
111898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111899 (eval $ac_try) 2>&5
111900 ac_status=$?
111901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111902 (exit $ac_status); }; } &&
111903 { ac_try='test -s conftest.$ac_objext'
111904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111905 (eval $ac_try) 2>&5
111906 ac_status=$?
111907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111908 (exit $ac_status); }; }; then
111909 ac_header_compiler=yes
111911 echo "$as_me: failed program was:" >&5
111912 sed 's/^/| /' conftest.$ac_ext >&5
111914 ac_header_compiler=no
111916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111917 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
111918 echo "${ECHO_T}$ac_header_compiler" >&6
111920 # Is the header present?
111921 echo "$as_me:$LINENO: checking $ac_header presence" >&5
111922 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
111923 cat >conftest.$ac_ext <<_ACEOF
111924 /* confdefs.h. */
111925 _ACEOF
111926 cat confdefs.h >>conftest.$ac_ext
111927 cat >>conftest.$ac_ext <<_ACEOF
111928 /* end confdefs.h. */
111929 #include <$ac_header>
111930 _ACEOF
111931 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
111932 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
111933 ac_status=$?
111934 grep -v '^ *+' conftest.er1 >conftest.err
111935 rm -f conftest.er1
111936 cat conftest.err >&5
111937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111938 (exit $ac_status); } >/dev/null; then
111939 if test -s conftest.err; then
111940 ac_cpp_err=$ac_c_preproc_warn_flag
111941 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
111943 ac_cpp_err=
111946 ac_cpp_err=yes
111948 if test -z "$ac_cpp_err"; then
111949 ac_header_preproc=yes
111951 echo "$as_me: failed program was:" >&5
111952 sed 's/^/| /' conftest.$ac_ext >&5
111954 ac_header_preproc=no
111956 rm -f conftest.err conftest.$ac_ext
111957 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
111958 echo "${ECHO_T}$ac_header_preproc" >&6
111960 # So? What about this header?
111961 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
111962 yes:no: )
111963 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
111964 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
111965 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
111966 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
111967 ac_header_preproc=yes
111969 no:yes:* )
111970 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
111971 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
111972 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
111973 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
111974 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
111975 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
111976 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
111977 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
111978 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
111979 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
111980 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
111981 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
111983 cat <<\_ASBOX
111984 ## ----------------------------------------- ##
111985 ## Report this to the package-unused lists. ##
111986 ## ----------------------------------------- ##
111987 _ASBOX
111989 sed "s/^/$as_me: WARNING: /" >&2
111992 echo "$as_me:$LINENO: checking for $ac_header" >&5
111993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111994 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111995 echo $ECHO_N "(cached) $ECHO_C" >&6
111997 eval "$as_ac_Header=\$ac_header_preproc"
111999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112000 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112003 if test `eval echo '${'$as_ac_Header'}'` = yes; then
112004 cat >>confdefs.h <<_ACEOF
112005 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
112006 _ACEOF
112013 echo "$as_me:$LINENO: checking for writev" >&5
112014 echo $ECHO_N "checking for writev... $ECHO_C" >&6
112015 if test "${glibcxx_cv_WRITEV+set}" = set; then
112016 echo $ECHO_N "(cached) $ECHO_C" >&6
112019 if test x$gcc_no_link = xyes; then
112020 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112022 { (exit 1); exit 1; }; }
112024 cat >conftest.$ac_ext <<_ACEOF
112025 /* confdefs.h. */
112026 _ACEOF
112027 cat confdefs.h >>conftest.$ac_ext
112028 cat >>conftest.$ac_ext <<_ACEOF
112029 /* end confdefs.h. */
112030 #include <sys/uio.h>
112032 main ()
112034 struct iovec iov[2];
112035 writev(0, iov, 0);
112037 return 0;
112039 _ACEOF
112040 rm -f conftest.$ac_objext conftest$ac_exeext
112041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112042 (eval $ac_link) 2>conftest.er1
112043 ac_status=$?
112044 grep -v '^ *+' conftest.er1 >conftest.err
112045 rm -f conftest.er1
112046 cat conftest.err >&5
112047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112048 (exit $ac_status); } &&
112049 { ac_try='test -z "$ac_c_werror_flag"
112050 || test ! -s conftest.err'
112051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112052 (eval $ac_try) 2>&5
112053 ac_status=$?
112054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112055 (exit $ac_status); }; } &&
112056 { ac_try='test -s conftest$ac_exeext'
112057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112058 (eval $ac_try) 2>&5
112059 ac_status=$?
112060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112061 (exit $ac_status); }; }; then
112062 glibcxx_cv_WRITEV=yes
112064 echo "$as_me: failed program was:" >&5
112065 sed 's/^/| /' conftest.$ac_ext >&5
112067 glibcxx_cv_WRITEV=no
112069 rm -f conftest.err conftest.$ac_objext \
112070 conftest$ac_exeext conftest.$ac_ext
112074 if test $glibcxx_cv_WRITEV = yes; then
112076 cat >>confdefs.h <<\_ACEOF
112077 #define HAVE_WRITEV 1
112078 _ACEOF
112081 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
112082 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
112085 *-qnx6.1* | *-qnx6.2*)
112086 SECTION_FLAGS='-ffunction-sections -fdata-sections'
112089 # If we're not using GNU ld, then there's no point in even trying these
112090 # tests. Check for that first. We should have already tested for gld
112091 # by now (in libtool), but require it now just to be safe...
112092 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
112093 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
112097 # The name set by libtool depends on the version of libtool. Shame on us
112098 # for depending on an impl detail, but c'est la vie. Older versions used
112099 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
112100 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
112101 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
112102 # set (hence we're using an older libtool), then set it.
112103 if test x${with_gnu_ld+set} != xset; then
112104 if test x${ac_cv_prog_gnu_ld+set} != xset; then
112105 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
112106 with_gnu_ld=no
112108 with_gnu_ld=$ac_cv_prog_gnu_ld
112112 # Start by getting the version number. I think the libtool test already
112113 # does some of this, but throws away the result.
112114 if test x"$with_gnu_ld" = x"yes"; then
112115 echo "$as_me:$LINENO: checking for ld version" >&5
112116 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
112118 ldver=`$LD --version 2>/dev/null | head -1 | \
112119 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
112121 glibcxx_gnu_ld_version=`echo $ldver | \
112122 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
112123 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
112124 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
112127 # Set --gc-sections.
112128 glibcxx_gcsections_min_ld=21602
112129 if test x"$with_gnu_ld" = x"yes" &&
112130 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
112132 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
112133 # NB: This flag only works reliably after 2.16.1. Configure tests
112134 # for this are difficult, so hard wire a value that should work.
112136 ac_test_CFLAGS="${CFLAGS+set}"
112137 ac_save_CFLAGS="$CFLAGS"
112138 CFLAGS='-Wl,--gc-sections'
112140 # Check for -Wl,--gc-sections
112141 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
112142 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
112143 if test x$gcc_no_link = xyes; then
112144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112146 { (exit 1); exit 1; }; }
112148 cat >conftest.$ac_ext <<_ACEOF
112149 /* confdefs.h. */
112150 _ACEOF
112151 cat confdefs.h >>conftest.$ac_ext
112152 cat >>conftest.$ac_ext <<_ACEOF
112153 /* end confdefs.h. */
112154 int one(void) { return 1; }
112155 int two(void) { return 2; }
112158 main ()
112160 two();
112162 return 0;
112164 _ACEOF
112165 rm -f conftest.$ac_objext conftest$ac_exeext
112166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112167 (eval $ac_link) 2>conftest.er1
112168 ac_status=$?
112169 grep -v '^ *+' conftest.er1 >conftest.err
112170 rm -f conftest.er1
112171 cat conftest.err >&5
112172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112173 (exit $ac_status); } &&
112174 { ac_try='test -z "$ac_c_werror_flag"
112175 || test ! -s conftest.err'
112176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112177 (eval $ac_try) 2>&5
112178 ac_status=$?
112179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112180 (exit $ac_status); }; } &&
112181 { ac_try='test -s conftest$ac_exeext'
112182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112183 (eval $ac_try) 2>&5
112184 ac_status=$?
112185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112186 (exit $ac_status); }; }; then
112187 ac_gcsections=yes
112189 echo "$as_me: failed program was:" >&5
112190 sed 's/^/| /' conftest.$ac_ext >&5
112192 ac_gcsections=no
112194 rm -f conftest.err conftest.$ac_objext \
112195 conftest$ac_exeext conftest.$ac_ext
112196 if test "$ac_gcsections" = "yes"; then
112197 rm -f conftest.c
112198 touch conftest.c
112199 if $CC -c conftest.c; then
112200 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
112201 grep "Warning: gc-sections option ignored" > /dev/null; then
112202 ac_gcsections=no
112205 rm -f conftest.c conftest.o conftest
112207 if test "$ac_gcsections" = "yes"; then
112208 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
112210 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
112211 echo "${ECHO_T}$ac_gcsections" >&6
112213 if test "$ac_test_CFLAGS" = set; then
112214 CFLAGS="$ac_save_CFLAGS"
112216 # this is the suspicious part
112217 CFLAGS=''
112221 # Set -z,relro.
112222 # Note this is only for shared objects.
112223 ac_ld_relro=no
112224 if test x"$with_gnu_ld" = x"yes"; then
112225 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
112226 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
112227 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
112228 if test -n "$cxx_z_relo"; then
112229 OPT_LDFLAGS="-Wl,-z,relro"
112230 ac_ld_relro=yes
112232 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
112233 echo "${ECHO_T}$ac_ld_relro" >&6
112236 # Set linker optimization flags.
112237 if test x"$with_gnu_ld" = x"yes"; then
112238 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
112246 echo "$as_me:$LINENO: checking for main in -lm" >&5
112247 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
112248 if test "${ac_cv_lib_m_main+set}" = set; then
112249 echo $ECHO_N "(cached) $ECHO_C" >&6
112251 ac_check_lib_save_LIBS=$LIBS
112252 LIBS="-lm $LIBS"
112253 if test x$gcc_no_link = xyes; then
112254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112256 { (exit 1); exit 1; }; }
112258 cat >conftest.$ac_ext <<_ACEOF
112259 /* confdefs.h. */
112260 _ACEOF
112261 cat confdefs.h >>conftest.$ac_ext
112262 cat >>conftest.$ac_ext <<_ACEOF
112263 /* end confdefs.h. */
112267 main ()
112269 main ();
112271 return 0;
112273 _ACEOF
112274 rm -f conftest.$ac_objext conftest$ac_exeext
112275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112276 (eval $ac_link) 2>conftest.er1
112277 ac_status=$?
112278 grep -v '^ *+' conftest.er1 >conftest.err
112279 rm -f conftest.er1
112280 cat conftest.err >&5
112281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112282 (exit $ac_status); } &&
112283 { ac_try='test -z "$ac_c_werror_flag"
112284 || test ! -s conftest.err'
112285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112286 (eval $ac_try) 2>&5
112287 ac_status=$?
112288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112289 (exit $ac_status); }; } &&
112290 { ac_try='test -s conftest$ac_exeext'
112291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112292 (eval $ac_try) 2>&5
112293 ac_status=$?
112294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112295 (exit $ac_status); }; }; then
112296 ac_cv_lib_m_main=yes
112298 echo "$as_me: failed program was:" >&5
112299 sed 's/^/| /' conftest.$ac_ext >&5
112301 ac_cv_lib_m_main=no
112303 rm -f conftest.err conftest.$ac_objext \
112304 conftest$ac_exeext conftest.$ac_ext
112305 LIBS=$ac_check_lib_save_LIBS
112307 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
112308 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
112309 if test $ac_cv_lib_m_main = yes; then
112310 cat >>confdefs.h <<_ACEOF
112311 #define HAVE_LIBM 1
112312 _ACEOF
112314 LIBS="-lm $LIBS"
112319 for ac_func in copysignf
112321 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112322 echo "$as_me:$LINENO: checking for $ac_func" >&5
112323 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112324 if eval "test \"\${$as_ac_var+set}\" = set"; then
112325 echo $ECHO_N "(cached) $ECHO_C" >&6
112327 if test x$gcc_no_link = xyes; then
112328 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112329 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112330 { (exit 1); exit 1; }; }
112332 cat >conftest.$ac_ext <<_ACEOF
112333 /* confdefs.h. */
112334 _ACEOF
112335 cat confdefs.h >>conftest.$ac_ext
112336 cat >>conftest.$ac_ext <<_ACEOF
112337 /* end confdefs.h. */
112338 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112339 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112340 #define $ac_func innocuous_$ac_func
112342 /* System header to define __stub macros and hopefully few prototypes,
112343 which can conflict with char $ac_func (); below.
112344 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112345 <limits.h> exists even on freestanding compilers. */
112347 #ifdef __STDC__
112348 # include <limits.h>
112349 #else
112350 # include <assert.h>
112351 #endif
112353 #undef $ac_func
112355 /* Override any gcc2 internal prototype to avoid an error. */
112356 #ifdef __cplusplus
112357 extern "C"
112359 #endif
112360 /* We use char because int might match the return type of a gcc2
112361 builtin and then its argument prototype would still apply. */
112362 char $ac_func ();
112363 /* The GNU C library defines this for functions which it implements
112364 to always fail with ENOSYS. Some functions are actually named
112365 something starting with __ and the normal name is an alias. */
112366 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112367 choke me
112368 #else
112369 char (*f) () = $ac_func;
112370 #endif
112371 #ifdef __cplusplus
112373 #endif
112376 main ()
112378 return f != $ac_func;
112380 return 0;
112382 _ACEOF
112383 rm -f conftest.$ac_objext conftest$ac_exeext
112384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112385 (eval $ac_link) 2>conftest.er1
112386 ac_status=$?
112387 grep -v '^ *+' conftest.er1 >conftest.err
112388 rm -f conftest.er1
112389 cat conftest.err >&5
112390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112391 (exit $ac_status); } &&
112392 { ac_try='test -z "$ac_c_werror_flag"
112393 || test ! -s conftest.err'
112394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112395 (eval $ac_try) 2>&5
112396 ac_status=$?
112397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112398 (exit $ac_status); }; } &&
112399 { ac_try='test -s conftest$ac_exeext'
112400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112401 (eval $ac_try) 2>&5
112402 ac_status=$?
112403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112404 (exit $ac_status); }; }; then
112405 eval "$as_ac_var=yes"
112407 echo "$as_me: failed program was:" >&5
112408 sed 's/^/| /' conftest.$ac_ext >&5
112410 eval "$as_ac_var=no"
112412 rm -f conftest.err conftest.$ac_objext \
112413 conftest$ac_exeext conftest.$ac_ext
112415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112417 if test `eval echo '${'$as_ac_var'}'` = yes; then
112418 cat >>confdefs.h <<_ACEOF
112419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112420 _ACEOF
112423 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
112429 for ac_func in __signbit
112431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112432 echo "$as_me:$LINENO: checking for $ac_func" >&5
112433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112434 if eval "test \"\${$as_ac_var+set}\" = set"; then
112435 echo $ECHO_N "(cached) $ECHO_C" >&6
112437 if test x$gcc_no_link = xyes; then
112438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112440 { (exit 1); exit 1; }; }
112442 cat >conftest.$ac_ext <<_ACEOF
112443 /* confdefs.h. */
112444 _ACEOF
112445 cat confdefs.h >>conftest.$ac_ext
112446 cat >>conftest.$ac_ext <<_ACEOF
112447 /* end confdefs.h. */
112448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112450 #define $ac_func innocuous_$ac_func
112452 /* System header to define __stub macros and hopefully few prototypes,
112453 which can conflict with char $ac_func (); below.
112454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112455 <limits.h> exists even on freestanding compilers. */
112457 #ifdef __STDC__
112458 # include <limits.h>
112459 #else
112460 # include <assert.h>
112461 #endif
112463 #undef $ac_func
112465 /* Override any gcc2 internal prototype to avoid an error. */
112466 #ifdef __cplusplus
112467 extern "C"
112469 #endif
112470 /* We use char because int might match the return type of a gcc2
112471 builtin and then its argument prototype would still apply. */
112472 char $ac_func ();
112473 /* The GNU C library defines this for functions which it implements
112474 to always fail with ENOSYS. Some functions are actually named
112475 something starting with __ and the normal name is an alias. */
112476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112477 choke me
112478 #else
112479 char (*f) () = $ac_func;
112480 #endif
112481 #ifdef __cplusplus
112483 #endif
112486 main ()
112488 return f != $ac_func;
112490 return 0;
112492 _ACEOF
112493 rm -f conftest.$ac_objext conftest$ac_exeext
112494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112495 (eval $ac_link) 2>conftest.er1
112496 ac_status=$?
112497 grep -v '^ *+' conftest.er1 >conftest.err
112498 rm -f conftest.er1
112499 cat conftest.err >&5
112500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112501 (exit $ac_status); } &&
112502 { ac_try='test -z "$ac_c_werror_flag"
112503 || test ! -s conftest.err'
112504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112505 (eval $ac_try) 2>&5
112506 ac_status=$?
112507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112508 (exit $ac_status); }; } &&
112509 { ac_try='test -s conftest$ac_exeext'
112510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112511 (eval $ac_try) 2>&5
112512 ac_status=$?
112513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112514 (exit $ac_status); }; }; then
112515 eval "$as_ac_var=yes"
112517 echo "$as_me: failed program was:" >&5
112518 sed 's/^/| /' conftest.$ac_ext >&5
112520 eval "$as_ac_var=no"
112522 rm -f conftest.err conftest.$ac_objext \
112523 conftest$ac_exeext conftest.$ac_ext
112525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112526 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112527 if test `eval echo '${'$as_ac_var'}'` = yes; then
112528 cat >>confdefs.h <<_ACEOF
112529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112530 _ACEOF
112533 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
112539 for ac_func in __signbitf
112541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112542 echo "$as_me:$LINENO: checking for $ac_func" >&5
112543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112544 if eval "test \"\${$as_ac_var+set}\" = set"; then
112545 echo $ECHO_N "(cached) $ECHO_C" >&6
112547 if test x$gcc_no_link = xyes; then
112548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112550 { (exit 1); exit 1; }; }
112552 cat >conftest.$ac_ext <<_ACEOF
112553 /* confdefs.h. */
112554 _ACEOF
112555 cat confdefs.h >>conftest.$ac_ext
112556 cat >>conftest.$ac_ext <<_ACEOF
112557 /* end confdefs.h. */
112558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112560 #define $ac_func innocuous_$ac_func
112562 /* System header to define __stub macros and hopefully few prototypes,
112563 which can conflict with char $ac_func (); below.
112564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112565 <limits.h> exists even on freestanding compilers. */
112567 #ifdef __STDC__
112568 # include <limits.h>
112569 #else
112570 # include <assert.h>
112571 #endif
112573 #undef $ac_func
112575 /* Override any gcc2 internal prototype to avoid an error. */
112576 #ifdef __cplusplus
112577 extern "C"
112579 #endif
112580 /* We use char because int might match the return type of a gcc2
112581 builtin and then its argument prototype would still apply. */
112582 char $ac_func ();
112583 /* The GNU C library defines this for functions which it implements
112584 to always fail with ENOSYS. Some functions are actually named
112585 something starting with __ and the normal name is an alias. */
112586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112587 choke me
112588 #else
112589 char (*f) () = $ac_func;
112590 #endif
112591 #ifdef __cplusplus
112593 #endif
112596 main ()
112598 return f != $ac_func;
112600 return 0;
112602 _ACEOF
112603 rm -f conftest.$ac_objext conftest$ac_exeext
112604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112605 (eval $ac_link) 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_exeext'
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 eval "$as_ac_var=yes"
112627 echo "$as_me: failed program was:" >&5
112628 sed 's/^/| /' conftest.$ac_ext >&5
112630 eval "$as_ac_var=no"
112632 rm -f conftest.err conftest.$ac_objext \
112633 conftest$ac_exeext conftest.$ac_ext
112635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112637 if test `eval echo '${'$as_ac_var'}'` = yes; then
112638 cat >>confdefs.h <<_ACEOF
112639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112640 _ACEOF
112643 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
112648 if test x$ac_cv_func_copysignl = x"yes"; then
112650 for ac_func in __signbitl
112652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112653 echo "$as_me:$LINENO: checking for $ac_func" >&5
112654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112655 if eval "test \"\${$as_ac_var+set}\" = set"; then
112656 echo $ECHO_N "(cached) $ECHO_C" >&6
112658 if test x$gcc_no_link = xyes; then
112659 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112661 { (exit 1); exit 1; }; }
112663 cat >conftest.$ac_ext <<_ACEOF
112664 /* confdefs.h. */
112665 _ACEOF
112666 cat confdefs.h >>conftest.$ac_ext
112667 cat >>conftest.$ac_ext <<_ACEOF
112668 /* end confdefs.h. */
112669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112671 #define $ac_func innocuous_$ac_func
112673 /* System header to define __stub macros and hopefully few prototypes,
112674 which can conflict with char $ac_func (); below.
112675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112676 <limits.h> exists even on freestanding compilers. */
112678 #ifdef __STDC__
112679 # include <limits.h>
112680 #else
112681 # include <assert.h>
112682 #endif
112684 #undef $ac_func
112686 /* Override any gcc2 internal prototype to avoid an error. */
112687 #ifdef __cplusplus
112688 extern "C"
112690 #endif
112691 /* We use char because int might match the return type of a gcc2
112692 builtin and then its argument prototype would still apply. */
112693 char $ac_func ();
112694 /* The GNU C library defines this for functions which it implements
112695 to always fail with ENOSYS. Some functions are actually named
112696 something starting with __ and the normal name is an alias. */
112697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112698 choke me
112699 #else
112700 char (*f) () = $ac_func;
112701 #endif
112702 #ifdef __cplusplus
112704 #endif
112707 main ()
112709 return f != $ac_func;
112711 return 0;
112713 _ACEOF
112714 rm -f conftest.$ac_objext conftest$ac_exeext
112715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112716 (eval $ac_link) 2>conftest.er1
112717 ac_status=$?
112718 grep -v '^ *+' conftest.er1 >conftest.err
112719 rm -f conftest.er1
112720 cat conftest.err >&5
112721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112722 (exit $ac_status); } &&
112723 { ac_try='test -z "$ac_c_werror_flag"
112724 || test ! -s conftest.err'
112725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112726 (eval $ac_try) 2>&5
112727 ac_status=$?
112728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112729 (exit $ac_status); }; } &&
112730 { ac_try='test -s conftest$ac_exeext'
112731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112732 (eval $ac_try) 2>&5
112733 ac_status=$?
112734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112735 (exit $ac_status); }; }; then
112736 eval "$as_ac_var=yes"
112738 echo "$as_me: failed program was:" >&5
112739 sed 's/^/| /' conftest.$ac_ext >&5
112741 eval "$as_ac_var=no"
112743 rm -f conftest.err conftest.$ac_objext \
112744 conftest$ac_exeext conftest.$ac_ext
112746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112748 if test `eval echo '${'$as_ac_var'}'` = yes; then
112749 cat >>confdefs.h <<_ACEOF
112750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112751 _ACEOF
112754 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
112760 # Used in libmath/Makefile.am.
112761 if test -n "$LIBMATHOBJS"; then
112762 need_libmath=yes
112766 cat >>confdefs.h <<\_ACEOF
112767 #define HAVE_COSF 1
112768 _ACEOF
112770 cat >>confdefs.h <<\_ACEOF
112771 #define HAVE_COSL 1
112772 _ACEOF
112774 cat >>confdefs.h <<\_ACEOF
112775 #define HAVE_COSHF 1
112776 _ACEOF
112778 cat >>confdefs.h <<\_ACEOF
112779 #define HAVE_COSHL 1
112780 _ACEOF
112782 cat >>confdefs.h <<\_ACEOF
112783 #define HAVE_LOGF 1
112784 _ACEOF
112786 cat >>confdefs.h <<\_ACEOF
112787 #define HAVE_LOGL 1
112788 _ACEOF
112790 cat >>confdefs.h <<\_ACEOF
112791 #define HAVE_LOG10F 1
112792 _ACEOF
112794 cat >>confdefs.h <<\_ACEOF
112795 #define HAVE_LOG10L 1
112796 _ACEOF
112798 cat >>confdefs.h <<\_ACEOF
112799 #define HAVE_SINF 1
112800 _ACEOF
112802 cat >>confdefs.h <<\_ACEOF
112803 #define HAVE_SINL 1
112804 _ACEOF
112806 cat >>confdefs.h <<\_ACEOF
112807 #define HAVE_SINHF 1
112808 _ACEOF
112810 cat >>confdefs.h <<\_ACEOF
112811 #define HAVE_SINHL 1
112812 _ACEOF
112815 *-solaris*)
112816 case "$target" in
112817 # *-solaris2.5)
112818 # os_include_dir="os/solaris/solaris2.5"
112820 # *-solaris2.6)
112821 # os_include_dir="os/solaris/solaris2.6"
112823 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
112825 # If we're not using GNU ld, then there's no point in even trying these
112826 # tests. Check for that first. We should have already tested for gld
112827 # by now (in libtool), but require it now just to be safe...
112828 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
112829 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
112833 # The name set by libtool depends on the version of libtool. Shame on us
112834 # for depending on an impl detail, but c'est la vie. Older versions used
112835 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
112836 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
112837 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
112838 # set (hence we're using an older libtool), then set it.
112839 if test x${with_gnu_ld+set} != xset; then
112840 if test x${ac_cv_prog_gnu_ld+set} != xset; then
112841 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
112842 with_gnu_ld=no
112844 with_gnu_ld=$ac_cv_prog_gnu_ld
112848 # Start by getting the version number. I think the libtool test already
112849 # does some of this, but throws away the result.
112850 if test x"$with_gnu_ld" = x"yes"; then
112851 echo "$as_me:$LINENO: checking for ld version" >&5
112852 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
112854 ldver=`$LD --version 2>/dev/null | head -1 | \
112855 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
112857 glibcxx_gnu_ld_version=`echo $ldver | \
112858 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
112859 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
112860 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
112863 # Set --gc-sections.
112864 glibcxx_gcsections_min_ld=21602
112865 if test x"$with_gnu_ld" = x"yes" &&
112866 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
112868 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
112869 # NB: This flag only works reliably after 2.16.1. Configure tests
112870 # for this are difficult, so hard wire a value that should work.
112872 ac_test_CFLAGS="${CFLAGS+set}"
112873 ac_save_CFLAGS="$CFLAGS"
112874 CFLAGS='-Wl,--gc-sections'
112876 # Check for -Wl,--gc-sections
112877 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
112878 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
112879 if test x$gcc_no_link = xyes; then
112880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112882 { (exit 1); exit 1; }; }
112884 cat >conftest.$ac_ext <<_ACEOF
112885 /* confdefs.h. */
112886 _ACEOF
112887 cat confdefs.h >>conftest.$ac_ext
112888 cat >>conftest.$ac_ext <<_ACEOF
112889 /* end confdefs.h. */
112890 int one(void) { return 1; }
112891 int two(void) { return 2; }
112894 main ()
112896 two();
112898 return 0;
112900 _ACEOF
112901 rm -f conftest.$ac_objext conftest$ac_exeext
112902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112903 (eval $ac_link) 2>conftest.er1
112904 ac_status=$?
112905 grep -v '^ *+' conftest.er1 >conftest.err
112906 rm -f conftest.er1
112907 cat conftest.err >&5
112908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112909 (exit $ac_status); } &&
112910 { ac_try='test -z "$ac_c_werror_flag"
112911 || test ! -s conftest.err'
112912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112913 (eval $ac_try) 2>&5
112914 ac_status=$?
112915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112916 (exit $ac_status); }; } &&
112917 { ac_try='test -s conftest$ac_exeext'
112918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112919 (eval $ac_try) 2>&5
112920 ac_status=$?
112921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112922 (exit $ac_status); }; }; then
112923 ac_gcsections=yes
112925 echo "$as_me: failed program was:" >&5
112926 sed 's/^/| /' conftest.$ac_ext >&5
112928 ac_gcsections=no
112930 rm -f conftest.err conftest.$ac_objext \
112931 conftest$ac_exeext conftest.$ac_ext
112932 if test "$ac_gcsections" = "yes"; then
112933 rm -f conftest.c
112934 touch conftest.c
112935 if $CC -c conftest.c; then
112936 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
112937 grep "Warning: gc-sections option ignored" > /dev/null; then
112938 ac_gcsections=no
112941 rm -f conftest.c conftest.o conftest
112943 if test "$ac_gcsections" = "yes"; then
112944 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
112946 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
112947 echo "${ECHO_T}$ac_gcsections" >&6
112949 if test "$ac_test_CFLAGS" = set; then
112950 CFLAGS="$ac_save_CFLAGS"
112952 # this is the suspicious part
112953 CFLAGS=''
112957 # Set -z,relro.
112958 # Note this is only for shared objects.
112959 ac_ld_relro=no
112960 if test x"$with_gnu_ld" = x"yes"; then
112961 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
112962 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
112963 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
112964 if test -n "$cxx_z_relo"; then
112965 OPT_LDFLAGS="-Wl,-z,relro"
112966 ac_ld_relro=yes
112968 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
112969 echo "${ECHO_T}$ac_ld_relro" >&6
112972 # Set linker optimization flags.
112973 if test x"$with_gnu_ld" = x"yes"; then
112974 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
112980 cat >>confdefs.h <<\_ACEOF
112981 #define HAVE_GETPAGESIZE 1
112982 _ACEOF
112984 cat >>confdefs.h <<\_ACEOF
112985 #define HAVE_SIGSETJMP 1
112986 _ACEOF
112988 cat >>confdefs.h <<\_ACEOF
112989 #define HAVE_MBSTATE_T 1
112990 _ACEOF
112992 cat >>confdefs.h <<\_ACEOF
112993 #define HAVE_POLL 1
112994 _ACEOF
112996 cat >>confdefs.h <<\_ACEOF
112997 #define HAVE_S_ISREG 1
112998 _ACEOF
113000 cat >>confdefs.h <<\_ACEOF
113001 #define HAVE_LC_MESSAGES 1
113002 _ACEOF
113004 cat >>confdefs.h <<\_ACEOF
113005 #define HAVE_FINITE 1
113006 _ACEOF
113008 cat >>confdefs.h <<\_ACEOF
113009 #define HAVE_FPCLASS 1
113010 _ACEOF
113012 cat >>confdefs.h <<\_ACEOF
113013 #define HAVE_GETPAGESIZE 1
113014 _ACEOF
113016 # All of the dependencies for wide character support are here, so
113017 # turn it on.
113018 cat >>confdefs.h <<\_ACEOF
113019 #define _GLIBCXX_USE_WCHAR_T 1
113020 _ACEOF
113022 # Are these tested for even when cross?
113023 cat >>confdefs.h <<\_ACEOF
113024 #define HAVE_FLOAT_H 1
113025 _ACEOF
113027 cat >>confdefs.h <<\_ACEOF
113028 #define HAVE_IEEEFP_H 1
113029 _ACEOF
113031 cat >>confdefs.h <<\_ACEOF
113032 #define HAVE_INTTYPES_H 1
113033 _ACEOF
113035 cat >>confdefs.h <<\_ACEOF
113036 #define HAVE_LOCALE_H 1
113037 _ACEOF
113039 cat >>confdefs.h <<\_ACEOF
113040 #define HAVE_NAN_H 1
113041 _ACEOF
113043 cat >>confdefs.h <<\_ACEOF
113044 #define HAVE_SYS_FILIO_H 1
113045 _ACEOF
113047 cat >>confdefs.h <<\_ACEOF
113048 #define HAVE_SYS_IOCTL_H 1
113049 _ACEOF
113051 cat >>confdefs.h <<\_ACEOF
113052 #define HAVE_SYS_ISA_DEFS_H 1
113053 _ACEOF
113055 cat >>confdefs.h <<\_ACEOF
113056 #define HAVE_SYS_RESOURCE_H 1
113057 _ACEOF
113059 cat >>confdefs.h <<\_ACEOF
113060 #define HAVE_SYS_TIME_H 1
113061 _ACEOF
113063 cat >>confdefs.h <<\_ACEOF
113064 #define HAVE_SYS_TYPES_H 1
113065 _ACEOF
113067 cat >>confdefs.h <<\_ACEOF
113068 #define HAVE_UNISTD_H 1
113069 _ACEOF
113071 cat >>confdefs.h <<\_ACEOF
113072 #define HAVE_WCHAR_H 1
113073 _ACEOF
113075 cat >>confdefs.h <<\_ACEOF
113076 #define HAVE_WCTYPE_H 1
113077 _ACEOF
113079 cat >>confdefs.h <<\_ACEOF
113080 #define HAVE_LIBM 1
113081 _ACEOF
113085 case "$target" in
113086 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
113087 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
113088 cat >>confdefs.h <<\_ACEOF
113089 #define HAVE___BUILTIN_ABS 1
113090 _ACEOF
113092 cat >>confdefs.h <<\_ACEOF
113093 #define HAVE___BUILTIN_LABS 1
113094 _ACEOF
113096 cat >>confdefs.h <<\_ACEOF
113097 #define HAVE___BUILTIN_FABS 1
113098 _ACEOF
113100 cat >>confdefs.h <<\_ACEOF
113101 #define HAVE___BUILTIN_FABSF 1
113102 _ACEOF
113104 cat >>confdefs.h <<\_ACEOF
113105 #define HAVE___BUILTIN_FABSL 1
113106 _ACEOF
113108 cat >>confdefs.h <<\_ACEOF
113109 #define HAVE___BUILTIN_COS 1
113110 _ACEOF
113112 cat >>confdefs.h <<\_ACEOF
113113 #define HAVE___BUILTIN_COSF 1
113114 _ACEOF
113116 cat >>confdefs.h <<\_ACEOF
113117 #define HAVE___BUILTIN_SIN 1
113118 _ACEOF
113120 cat >>confdefs.h <<\_ACEOF
113121 #define HAVE___BUILTIN_SINF 1
113122 _ACEOF
113126 case "$target" in
113127 *-*-solaris2.10)
113128 # These two C99 functions are present only in Solaris >= 10
113129 cat >>confdefs.h <<\_ACEOF
113130 #define HAVE_STRTOF 1
113131 _ACEOF
113133 cat >>confdefs.h <<\_ACEOF
113134 #define HAVE_STRTOLD 1
113135 _ACEOF
113139 cat >>confdefs.h <<\_ACEOF
113140 #define HAVE_MMAP 1
113141 _ACEOF
113143 cat >>confdefs.h <<\_ACEOF
113144 #define HAVE_COPYSIGN 1
113145 _ACEOF
113147 cat >>confdefs.h <<\_ACEOF
113148 #define HAVE_ISNAN 1
113149 _ACEOF
113151 cat >>confdefs.h <<\_ACEOF
113152 #define HAVE_ISNANF 1
113153 _ACEOF
113155 cat >>confdefs.h <<\_ACEOF
113156 #define HAVE_MODFF 1
113157 _ACEOF
113159 cat >>confdefs.h <<\_ACEOF
113160 #define HAVE_HYPOT 1
113161 _ACEOF
113164 *-tpf)
113173 for ac_header in nan.h endian.h machine/endian.h \
113174 sys/param.h sys/types.h locale.h float.h inttypes.h
113176 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
113177 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113178 echo "$as_me:$LINENO: checking for $ac_header" >&5
113179 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
113180 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113181 echo $ECHO_N "(cached) $ECHO_C" >&6
113183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113184 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113186 # Is the header compilable?
113187 echo "$as_me:$LINENO: checking $ac_header usability" >&5
113188 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
113189 cat >conftest.$ac_ext <<_ACEOF
113190 /* confdefs.h. */
113191 _ACEOF
113192 cat confdefs.h >>conftest.$ac_ext
113193 cat >>conftest.$ac_ext <<_ACEOF
113194 /* end confdefs.h. */
113195 $ac_includes_default
113196 #include <$ac_header>
113197 _ACEOF
113198 rm -f conftest.$ac_objext
113199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
113200 (eval $ac_compile) 2>conftest.er1
113201 ac_status=$?
113202 grep -v '^ *+' conftest.er1 >conftest.err
113203 rm -f conftest.er1
113204 cat conftest.err >&5
113205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113206 (exit $ac_status); } &&
113207 { ac_try='test -z "$ac_c_werror_flag"
113208 || test ! -s conftest.err'
113209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113210 (eval $ac_try) 2>&5
113211 ac_status=$?
113212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113213 (exit $ac_status); }; } &&
113214 { ac_try='test -s conftest.$ac_objext'
113215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113216 (eval $ac_try) 2>&5
113217 ac_status=$?
113218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113219 (exit $ac_status); }; }; then
113220 ac_header_compiler=yes
113222 echo "$as_me: failed program was:" >&5
113223 sed 's/^/| /' conftest.$ac_ext >&5
113225 ac_header_compiler=no
113227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
113228 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
113229 echo "${ECHO_T}$ac_header_compiler" >&6
113231 # Is the header present?
113232 echo "$as_me:$LINENO: checking $ac_header presence" >&5
113233 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
113234 cat >conftest.$ac_ext <<_ACEOF
113235 /* confdefs.h. */
113236 _ACEOF
113237 cat confdefs.h >>conftest.$ac_ext
113238 cat >>conftest.$ac_ext <<_ACEOF
113239 /* end confdefs.h. */
113240 #include <$ac_header>
113241 _ACEOF
113242 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
113243 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
113244 ac_status=$?
113245 grep -v '^ *+' conftest.er1 >conftest.err
113246 rm -f conftest.er1
113247 cat conftest.err >&5
113248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113249 (exit $ac_status); } >/dev/null; then
113250 if test -s conftest.err; then
113251 ac_cpp_err=$ac_c_preproc_warn_flag
113252 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
113254 ac_cpp_err=
113257 ac_cpp_err=yes
113259 if test -z "$ac_cpp_err"; then
113260 ac_header_preproc=yes
113262 echo "$as_me: failed program was:" >&5
113263 sed 's/^/| /' conftest.$ac_ext >&5
113265 ac_header_preproc=no
113267 rm -f conftest.err conftest.$ac_ext
113268 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
113269 echo "${ECHO_T}$ac_header_preproc" >&6
113271 # So? What about this header?
113272 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
113273 yes:no: )
113274 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
113275 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
113276 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
113277 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
113278 ac_header_preproc=yes
113280 no:yes:* )
113281 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
113282 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
113283 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
113284 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
113285 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
113286 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
113287 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
113288 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
113289 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
113290 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
113291 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
113292 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
113294 cat <<\_ASBOX
113295 ## ----------------------------------------- ##
113296 ## Report this to the package-unused lists. ##
113297 ## ----------------------------------------- ##
113298 _ASBOX
113300 sed "s/^/$as_me: WARNING: /" >&2
113303 echo "$as_me:$LINENO: checking for $ac_header" >&5
113304 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
113305 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113306 echo $ECHO_N "(cached) $ECHO_C" >&6
113308 eval "$as_ac_Header=\$ac_header_preproc"
113310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113311 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113314 if test `eval echo '${'$as_ac_Header'}'` = yes; then
113315 cat >>confdefs.h <<_ACEOF
113316 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
113317 _ACEOF
113323 SECTION_FLAGS='-ffunction-sections -fdata-sections'
113326 # If we're not using GNU ld, then there's no point in even trying these
113327 # tests. Check for that first. We should have already tested for gld
113328 # by now (in libtool), but require it now just to be safe...
113329 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
113330 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
113334 # The name set by libtool depends on the version of libtool. Shame on us
113335 # for depending on an impl detail, but c'est la vie. Older versions used
113336 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
113337 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
113338 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
113339 # set (hence we're using an older libtool), then set it.
113340 if test x${with_gnu_ld+set} != xset; then
113341 if test x${ac_cv_prog_gnu_ld+set} != xset; then
113342 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
113343 with_gnu_ld=no
113345 with_gnu_ld=$ac_cv_prog_gnu_ld
113349 # Start by getting the version number. I think the libtool test already
113350 # does some of this, but throws away the result.
113351 if test x"$with_gnu_ld" = x"yes"; then
113352 echo "$as_me:$LINENO: checking for ld version" >&5
113353 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
113355 ldver=`$LD --version 2>/dev/null | head -1 | \
113356 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
113358 glibcxx_gnu_ld_version=`echo $ldver | \
113359 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
113360 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
113361 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
113364 # Set --gc-sections.
113365 glibcxx_gcsections_min_ld=21602
113366 if test x"$with_gnu_ld" = x"yes" &&
113367 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
113369 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
113370 # NB: This flag only works reliably after 2.16.1. Configure tests
113371 # for this are difficult, so hard wire a value that should work.
113373 ac_test_CFLAGS="${CFLAGS+set}"
113374 ac_save_CFLAGS="$CFLAGS"
113375 CFLAGS='-Wl,--gc-sections'
113377 # Check for -Wl,--gc-sections
113378 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
113379 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
113380 if test x$gcc_no_link = xyes; then
113381 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113382 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113383 { (exit 1); exit 1; }; }
113385 cat >conftest.$ac_ext <<_ACEOF
113386 /* confdefs.h. */
113387 _ACEOF
113388 cat confdefs.h >>conftest.$ac_ext
113389 cat >>conftest.$ac_ext <<_ACEOF
113390 /* end confdefs.h. */
113391 int one(void) { return 1; }
113392 int two(void) { return 2; }
113395 main ()
113397 two();
113399 return 0;
113401 _ACEOF
113402 rm -f conftest.$ac_objext conftest$ac_exeext
113403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113404 (eval $ac_link) 2>conftest.er1
113405 ac_status=$?
113406 grep -v '^ *+' conftest.er1 >conftest.err
113407 rm -f conftest.er1
113408 cat conftest.err >&5
113409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113410 (exit $ac_status); } &&
113411 { ac_try='test -z "$ac_c_werror_flag"
113412 || test ! -s conftest.err'
113413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113414 (eval $ac_try) 2>&5
113415 ac_status=$?
113416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113417 (exit $ac_status); }; } &&
113418 { ac_try='test -s conftest$ac_exeext'
113419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113420 (eval $ac_try) 2>&5
113421 ac_status=$?
113422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113423 (exit $ac_status); }; }; then
113424 ac_gcsections=yes
113426 echo "$as_me: failed program was:" >&5
113427 sed 's/^/| /' conftest.$ac_ext >&5
113429 ac_gcsections=no
113431 rm -f conftest.err conftest.$ac_objext \
113432 conftest$ac_exeext conftest.$ac_ext
113433 if test "$ac_gcsections" = "yes"; then
113434 rm -f conftest.c
113435 touch conftest.c
113436 if $CC -c conftest.c; then
113437 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
113438 grep "Warning: gc-sections option ignored" > /dev/null; then
113439 ac_gcsections=no
113442 rm -f conftest.c conftest.o conftest
113444 if test "$ac_gcsections" = "yes"; then
113445 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
113447 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
113448 echo "${ECHO_T}$ac_gcsections" >&6
113450 if test "$ac_test_CFLAGS" = set; then
113451 CFLAGS="$ac_save_CFLAGS"
113453 # this is the suspicious part
113454 CFLAGS=''
113458 # Set -z,relro.
113459 # Note this is only for shared objects.
113460 ac_ld_relro=no
113461 if test x"$with_gnu_ld" = x"yes"; then
113462 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
113463 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
113464 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
113465 if test -n "$cxx_z_relo"; then
113466 OPT_LDFLAGS="-Wl,-z,relro"
113467 ac_ld_relro=yes
113469 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
113470 echo "${ECHO_T}$ac_ld_relro" >&6
113473 # Set linker optimization flags.
113474 if test x"$with_gnu_ld" = x"yes"; then
113475 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
113483 echo "$as_me:$LINENO: checking for main in -lm" >&5
113484 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
113485 if test "${ac_cv_lib_m_main+set}" = set; then
113486 echo $ECHO_N "(cached) $ECHO_C" >&6
113488 ac_check_lib_save_LIBS=$LIBS
113489 LIBS="-lm $LIBS"
113490 if test x$gcc_no_link = xyes; then
113491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113493 { (exit 1); exit 1; }; }
113495 cat >conftest.$ac_ext <<_ACEOF
113496 /* confdefs.h. */
113497 _ACEOF
113498 cat confdefs.h >>conftest.$ac_ext
113499 cat >>conftest.$ac_ext <<_ACEOF
113500 /* end confdefs.h. */
113504 main ()
113506 main ();
113508 return 0;
113510 _ACEOF
113511 rm -f conftest.$ac_objext conftest$ac_exeext
113512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113513 (eval $ac_link) 2>conftest.er1
113514 ac_status=$?
113515 grep -v '^ *+' conftest.er1 >conftest.err
113516 rm -f conftest.er1
113517 cat conftest.err >&5
113518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113519 (exit $ac_status); } &&
113520 { ac_try='test -z "$ac_c_werror_flag"
113521 || test ! -s conftest.err'
113522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113523 (eval $ac_try) 2>&5
113524 ac_status=$?
113525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113526 (exit $ac_status); }; } &&
113527 { ac_try='test -s conftest$ac_exeext'
113528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113529 (eval $ac_try) 2>&5
113530 ac_status=$?
113531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113532 (exit $ac_status); }; }; then
113533 ac_cv_lib_m_main=yes
113535 echo "$as_me: failed program was:" >&5
113536 sed 's/^/| /' conftest.$ac_ext >&5
113538 ac_cv_lib_m_main=no
113540 rm -f conftest.err conftest.$ac_objext \
113541 conftest$ac_exeext conftest.$ac_ext
113542 LIBS=$ac_check_lib_save_LIBS
113544 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
113545 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
113546 if test $ac_cv_lib_m_main = yes; then
113547 cat >>confdefs.h <<_ACEOF
113548 #define HAVE_LIBM 1
113549 _ACEOF
113551 LIBS="-lm $LIBS"
113556 for ac_func in copysignf
113558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113559 echo "$as_me:$LINENO: checking for $ac_func" >&5
113560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113561 if eval "test \"\${$as_ac_var+set}\" = set"; then
113562 echo $ECHO_N "(cached) $ECHO_C" >&6
113564 if test x$gcc_no_link = xyes; then
113565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113567 { (exit 1); exit 1; }; }
113569 cat >conftest.$ac_ext <<_ACEOF
113570 /* confdefs.h. */
113571 _ACEOF
113572 cat confdefs.h >>conftest.$ac_ext
113573 cat >>conftest.$ac_ext <<_ACEOF
113574 /* end confdefs.h. */
113575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113576 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113577 #define $ac_func innocuous_$ac_func
113579 /* System header to define __stub macros and hopefully few prototypes,
113580 which can conflict with char $ac_func (); below.
113581 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113582 <limits.h> exists even on freestanding compilers. */
113584 #ifdef __STDC__
113585 # include <limits.h>
113586 #else
113587 # include <assert.h>
113588 #endif
113590 #undef $ac_func
113592 /* Override any gcc2 internal prototype to avoid an error. */
113593 #ifdef __cplusplus
113594 extern "C"
113596 #endif
113597 /* We use char because int might match the return type of a gcc2
113598 builtin and then its argument prototype would still apply. */
113599 char $ac_func ();
113600 /* The GNU C library defines this for functions which it implements
113601 to always fail with ENOSYS. Some functions are actually named
113602 something starting with __ and the normal name is an alias. */
113603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113604 choke me
113605 #else
113606 char (*f) () = $ac_func;
113607 #endif
113608 #ifdef __cplusplus
113610 #endif
113613 main ()
113615 return f != $ac_func;
113617 return 0;
113619 _ACEOF
113620 rm -f conftest.$ac_objext conftest$ac_exeext
113621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113622 (eval $ac_link) 2>conftest.er1
113623 ac_status=$?
113624 grep -v '^ *+' conftest.er1 >conftest.err
113625 rm -f conftest.er1
113626 cat conftest.err >&5
113627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113628 (exit $ac_status); } &&
113629 { ac_try='test -z "$ac_c_werror_flag"
113630 || test ! -s conftest.err'
113631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113632 (eval $ac_try) 2>&5
113633 ac_status=$?
113634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113635 (exit $ac_status); }; } &&
113636 { ac_try='test -s conftest$ac_exeext'
113637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113638 (eval $ac_try) 2>&5
113639 ac_status=$?
113640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113641 (exit $ac_status); }; }; then
113642 eval "$as_ac_var=yes"
113644 echo "$as_me: failed program was:" >&5
113645 sed 's/^/| /' conftest.$ac_ext >&5
113647 eval "$as_ac_var=no"
113649 rm -f conftest.err conftest.$ac_objext \
113650 conftest$ac_exeext conftest.$ac_ext
113652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113654 if test `eval echo '${'$as_ac_var'}'` = yes; then
113655 cat >>confdefs.h <<_ACEOF
113656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113657 _ACEOF
113660 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
113666 for ac_func in __signbit
113668 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113669 echo "$as_me:$LINENO: checking for $ac_func" >&5
113670 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113671 if eval "test \"\${$as_ac_var+set}\" = set"; then
113672 echo $ECHO_N "(cached) $ECHO_C" >&6
113674 if test x$gcc_no_link = xyes; then
113675 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113676 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113677 { (exit 1); exit 1; }; }
113679 cat >conftest.$ac_ext <<_ACEOF
113680 /* confdefs.h. */
113681 _ACEOF
113682 cat confdefs.h >>conftest.$ac_ext
113683 cat >>conftest.$ac_ext <<_ACEOF
113684 /* end confdefs.h. */
113685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113687 #define $ac_func innocuous_$ac_func
113689 /* System header to define __stub macros and hopefully few prototypes,
113690 which can conflict with char $ac_func (); below.
113691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113692 <limits.h> exists even on freestanding compilers. */
113694 #ifdef __STDC__
113695 # include <limits.h>
113696 #else
113697 # include <assert.h>
113698 #endif
113700 #undef $ac_func
113702 /* Override any gcc2 internal prototype to avoid an error. */
113703 #ifdef __cplusplus
113704 extern "C"
113706 #endif
113707 /* We use char because int might match the return type of a gcc2
113708 builtin and then its argument prototype would still apply. */
113709 char $ac_func ();
113710 /* The GNU C library defines this for functions which it implements
113711 to always fail with ENOSYS. Some functions are actually named
113712 something starting with __ and the normal name is an alias. */
113713 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113714 choke me
113715 #else
113716 char (*f) () = $ac_func;
113717 #endif
113718 #ifdef __cplusplus
113720 #endif
113723 main ()
113725 return f != $ac_func;
113727 return 0;
113729 _ACEOF
113730 rm -f conftest.$ac_objext conftest$ac_exeext
113731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113732 (eval $ac_link) 2>conftest.er1
113733 ac_status=$?
113734 grep -v '^ *+' conftest.er1 >conftest.err
113735 rm -f conftest.er1
113736 cat conftest.err >&5
113737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113738 (exit $ac_status); } &&
113739 { ac_try='test -z "$ac_c_werror_flag"
113740 || test ! -s conftest.err'
113741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113742 (eval $ac_try) 2>&5
113743 ac_status=$?
113744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113745 (exit $ac_status); }; } &&
113746 { ac_try='test -s conftest$ac_exeext'
113747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113748 (eval $ac_try) 2>&5
113749 ac_status=$?
113750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113751 (exit $ac_status); }; }; then
113752 eval "$as_ac_var=yes"
113754 echo "$as_me: failed program was:" >&5
113755 sed 's/^/| /' conftest.$ac_ext >&5
113757 eval "$as_ac_var=no"
113759 rm -f conftest.err conftest.$ac_objext \
113760 conftest$ac_exeext conftest.$ac_ext
113762 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113763 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113764 if test `eval echo '${'$as_ac_var'}'` = yes; then
113765 cat >>confdefs.h <<_ACEOF
113766 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113767 _ACEOF
113770 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
113776 for ac_func in __signbitf
113778 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113779 echo "$as_me:$LINENO: checking for $ac_func" >&5
113780 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113781 if eval "test \"\${$as_ac_var+set}\" = set"; then
113782 echo $ECHO_N "(cached) $ECHO_C" >&6
113784 if test x$gcc_no_link = xyes; then
113785 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113786 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113787 { (exit 1); exit 1; }; }
113789 cat >conftest.$ac_ext <<_ACEOF
113790 /* confdefs.h. */
113791 _ACEOF
113792 cat confdefs.h >>conftest.$ac_ext
113793 cat >>conftest.$ac_ext <<_ACEOF
113794 /* end confdefs.h. */
113795 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113796 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113797 #define $ac_func innocuous_$ac_func
113799 /* System header to define __stub macros and hopefully few prototypes,
113800 which can conflict with char $ac_func (); below.
113801 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113802 <limits.h> exists even on freestanding compilers. */
113804 #ifdef __STDC__
113805 # include <limits.h>
113806 #else
113807 # include <assert.h>
113808 #endif
113810 #undef $ac_func
113812 /* Override any gcc2 internal prototype to avoid an error. */
113813 #ifdef __cplusplus
113814 extern "C"
113816 #endif
113817 /* We use char because int might match the return type of a gcc2
113818 builtin and then its argument prototype would still apply. */
113819 char $ac_func ();
113820 /* The GNU C library defines this for functions which it implements
113821 to always fail with ENOSYS. Some functions are actually named
113822 something starting with __ and the normal name is an alias. */
113823 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113824 choke me
113825 #else
113826 char (*f) () = $ac_func;
113827 #endif
113828 #ifdef __cplusplus
113830 #endif
113833 main ()
113835 return f != $ac_func;
113837 return 0;
113839 _ACEOF
113840 rm -f conftest.$ac_objext conftest$ac_exeext
113841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113842 (eval $ac_link) 2>conftest.er1
113843 ac_status=$?
113844 grep -v '^ *+' conftest.er1 >conftest.err
113845 rm -f conftest.er1
113846 cat conftest.err >&5
113847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113848 (exit $ac_status); } &&
113849 { ac_try='test -z "$ac_c_werror_flag"
113850 || test ! -s conftest.err'
113851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113852 (eval $ac_try) 2>&5
113853 ac_status=$?
113854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113855 (exit $ac_status); }; } &&
113856 { ac_try='test -s conftest$ac_exeext'
113857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113858 (eval $ac_try) 2>&5
113859 ac_status=$?
113860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113861 (exit $ac_status); }; }; then
113862 eval "$as_ac_var=yes"
113864 echo "$as_me: failed program was:" >&5
113865 sed 's/^/| /' conftest.$ac_ext >&5
113867 eval "$as_ac_var=no"
113869 rm -f conftest.err conftest.$ac_objext \
113870 conftest$ac_exeext conftest.$ac_ext
113872 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113873 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113874 if test `eval echo '${'$as_ac_var'}'` = yes; then
113875 cat >>confdefs.h <<_ACEOF
113876 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113877 _ACEOF
113880 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
113885 if test x$ac_cv_func_copysignl = x"yes"; then
113887 for ac_func in __signbitl
113889 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113890 echo "$as_me:$LINENO: checking for $ac_func" >&5
113891 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113892 if eval "test \"\${$as_ac_var+set}\" = set"; then
113893 echo $ECHO_N "(cached) $ECHO_C" >&6
113895 if test x$gcc_no_link = xyes; then
113896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113898 { (exit 1); exit 1; }; }
113900 cat >conftest.$ac_ext <<_ACEOF
113901 /* confdefs.h. */
113902 _ACEOF
113903 cat confdefs.h >>conftest.$ac_ext
113904 cat >>conftest.$ac_ext <<_ACEOF
113905 /* end confdefs.h. */
113906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113908 #define $ac_func innocuous_$ac_func
113910 /* System header to define __stub macros and hopefully few prototypes,
113911 which can conflict with char $ac_func (); below.
113912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113913 <limits.h> exists even on freestanding compilers. */
113915 #ifdef __STDC__
113916 # include <limits.h>
113917 #else
113918 # include <assert.h>
113919 #endif
113921 #undef $ac_func
113923 /* Override any gcc2 internal prototype to avoid an error. */
113924 #ifdef __cplusplus
113925 extern "C"
113927 #endif
113928 /* We use char because int might match the return type of a gcc2
113929 builtin and then its argument prototype would still apply. */
113930 char $ac_func ();
113931 /* The GNU C library defines this for functions which it implements
113932 to always fail with ENOSYS. Some functions are actually named
113933 something starting with __ and the normal name is an alias. */
113934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113935 choke me
113936 #else
113937 char (*f) () = $ac_func;
113938 #endif
113939 #ifdef __cplusplus
113941 #endif
113944 main ()
113946 return f != $ac_func;
113948 return 0;
113950 _ACEOF
113951 rm -f conftest.$ac_objext conftest$ac_exeext
113952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113953 (eval $ac_link) 2>conftest.er1
113954 ac_status=$?
113955 grep -v '^ *+' conftest.er1 >conftest.err
113956 rm -f conftest.er1
113957 cat conftest.err >&5
113958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113959 (exit $ac_status); } &&
113960 { ac_try='test -z "$ac_c_werror_flag"
113961 || test ! -s conftest.err'
113962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113963 (eval $ac_try) 2>&5
113964 ac_status=$?
113965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113966 (exit $ac_status); }; } &&
113967 { ac_try='test -s conftest$ac_exeext'
113968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113969 (eval $ac_try) 2>&5
113970 ac_status=$?
113971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113972 (exit $ac_status); }; }; then
113973 eval "$as_ac_var=yes"
113975 echo "$as_me: failed program was:" >&5
113976 sed 's/^/| /' conftest.$ac_ext >&5
113978 eval "$as_ac_var=no"
113980 rm -f conftest.err conftest.$ac_objext \
113981 conftest$ac_exeext conftest.$ac_ext
113983 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113984 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113985 if test `eval echo '${'$as_ac_var'}'` = yes; then
113986 cat >>confdefs.h <<_ACEOF
113987 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113988 _ACEOF
113991 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
113997 # Used in libmath/Makefile.am.
113998 if test -n "$LIBMATHOBJS"; then
113999 need_libmath=yes
114003 cat >>confdefs.h <<\_ACEOF
114004 #define HAVE_COPYSIGN 1
114005 _ACEOF
114007 cat >>confdefs.h <<\_ACEOF
114008 #define HAVE_COPYSIGNF 1
114009 _ACEOF
114011 cat >>confdefs.h <<\_ACEOF
114012 #define HAVE_FINITE 1
114013 _ACEOF
114015 cat >>confdefs.h <<\_ACEOF
114016 #define HAVE_FINITEF 1
114017 _ACEOF
114019 cat >>confdefs.h <<\_ACEOF
114020 #define HAVE_FREXPF 1
114021 _ACEOF
114023 cat >>confdefs.h <<\_ACEOF
114024 #define HAVE_HYPOTF 1
114025 _ACEOF
114027 cat >>confdefs.h <<\_ACEOF
114028 #define HAVE_ISINF 1
114029 _ACEOF
114031 cat >>confdefs.h <<\_ACEOF
114032 #define HAVE_ISINFF 1
114033 _ACEOF
114035 cat >>confdefs.h <<\_ACEOF
114036 #define HAVE_ISNAN 1
114037 _ACEOF
114039 cat >>confdefs.h <<\_ACEOF
114040 #define HAVE_ISNANF 1
114041 _ACEOF
114043 cat >>confdefs.h <<\_ACEOF
114044 #define HAVE_SINCOS 1
114045 _ACEOF
114047 cat >>confdefs.h <<\_ACEOF
114048 #define HAVE_SINCOSF 1
114049 _ACEOF
114051 if test x"long_double_math_on_this_cpu" = x"yes"; then
114052 cat >>confdefs.h <<\_ACEOF
114053 #define HAVE_FINITEL 1
114054 _ACEOF
114056 cat >>confdefs.h <<\_ACEOF
114057 #define HAVE_HYPOTL 1
114058 _ACEOF
114060 cat >>confdefs.h <<\_ACEOF
114061 #define HAVE_ISINFL 1
114062 _ACEOF
114064 cat >>confdefs.h <<\_ACEOF
114065 #define HAVE_ISNANL 1
114066 _ACEOF
114070 *-vxworks)
114071 cat >>confdefs.h <<\_ACEOF
114072 #define HAVE_MMAP 1
114073 _ACEOF
114075 cat >>confdefs.h <<\_ACEOF
114076 #define HAVE_ACOSF 1
114077 _ACEOF
114079 cat >>confdefs.h <<\_ACEOF
114080 #define HAVE_ASINF 1
114081 _ACEOF
114083 cat >>confdefs.h <<\_ACEOF
114084 #define HAVE_ATAN2F 1
114085 _ACEOF
114087 cat >>confdefs.h <<\_ACEOF
114088 #define HAVE_ATANF 1
114089 _ACEOF
114091 cat >>confdefs.h <<\_ACEOF
114092 #define HAVE_CEILF 1
114093 _ACEOF
114095 cat >>confdefs.h <<\_ACEOF
114096 #define HAVE_COSF 1
114097 _ACEOF
114099 cat >>confdefs.h <<\_ACEOF
114100 #define HAVE_COSHF 1
114101 _ACEOF
114103 cat >>confdefs.h <<\_ACEOF
114104 #define HAVE_EXPF 1
114105 _ACEOF
114107 cat >>confdefs.h <<\_ACEOF
114108 #define HAVE_FABSF 1
114109 _ACEOF
114111 cat >>confdefs.h <<\_ACEOF
114112 #define HAVE_FLOORF 1
114113 _ACEOF
114115 cat >>confdefs.h <<\_ACEOF
114116 #define HAVE_FMODF 1
114117 _ACEOF
114119 cat >>confdefs.h <<\_ACEOF
114120 #define HAVE_HYPOT 1
114121 _ACEOF
114123 cat >>confdefs.h <<\_ACEOF
114124 #define HAVE_LOG10F 1
114125 _ACEOF
114127 cat >>confdefs.h <<\_ACEOF
114128 #define HAVE_LOGF 1
114129 _ACEOF
114131 cat >>confdefs.h <<\_ACEOF
114132 #define HAVE_POWF 1
114133 _ACEOF
114135 cat >>confdefs.h <<\_ACEOF
114136 #define HAVE_SINF 1
114137 _ACEOF
114139 cat >>confdefs.h <<\_ACEOF
114140 #define HAVE_SINHF 1
114141 _ACEOF
114143 cat >>confdefs.h <<\_ACEOF
114144 #define HAVE_SQRTF 1
114145 _ACEOF
114147 cat >>confdefs.h <<\_ACEOF
114148 #define HAVE_TANF 1
114149 _ACEOF
114151 cat >>confdefs.h <<\_ACEOF
114152 #define HAVE_TANHF 1
114153 _ACEOF
114156 *-windiss*)
114157 cat >>confdefs.h <<\_ACEOF
114158 #define HAVE_ACOSF 1
114159 _ACEOF
114161 cat >>confdefs.h <<\_ACEOF
114162 #define HAVE_ACOSL 1
114163 _ACEOF
114165 cat >>confdefs.h <<\_ACEOF
114166 #define HAVE_ASINF 1
114167 _ACEOF
114169 cat >>confdefs.h <<\_ACEOF
114170 #define HAVE_ASINL 1
114171 _ACEOF
114173 cat >>confdefs.h <<\_ACEOF
114174 #define HAVE_ATAN2F 1
114175 _ACEOF
114177 cat >>confdefs.h <<\_ACEOF
114178 #define HAVE_ATAN2L 1
114179 _ACEOF
114181 cat >>confdefs.h <<\_ACEOF
114182 #define HAVE_ATANF 1
114183 _ACEOF
114185 cat >>confdefs.h <<\_ACEOF
114186 #define HAVE_ATANL 1
114187 _ACEOF
114189 cat >>confdefs.h <<\_ACEOF
114190 #define HAVE_CEILF 1
114191 _ACEOF
114193 cat >>confdefs.h <<\_ACEOF
114194 #define HAVE_CEILL 1
114195 _ACEOF
114197 cat >>confdefs.h <<\_ACEOF
114198 #define HAVE_COPYSIGN 1
114199 _ACEOF
114201 cat >>confdefs.h <<\_ACEOF
114202 #define HAVE_COPYSIGNF 1
114203 _ACEOF
114205 cat >>confdefs.h <<\_ACEOF
114206 #define HAVE_COSF 1
114207 _ACEOF
114209 cat >>confdefs.h <<\_ACEOF
114210 #define HAVE_COSL 1
114211 _ACEOF
114213 cat >>confdefs.h <<\_ACEOF
114214 #define HAVE_COSHF 1
114215 _ACEOF
114217 cat >>confdefs.h <<\_ACEOF
114218 #define HAVE_COSHL 1
114219 _ACEOF
114221 cat >>confdefs.h <<\_ACEOF
114222 #define HAVE_EXPF 1
114223 _ACEOF
114225 cat >>confdefs.h <<\_ACEOF
114226 #define HAVE_EXPL 1
114227 _ACEOF
114229 cat >>confdefs.h <<\_ACEOF
114230 #define HAVE_FABSF 1
114231 _ACEOF
114233 cat >>confdefs.h <<\_ACEOF
114234 #define HAVE_FABSL 1
114235 _ACEOF
114237 cat >>confdefs.h <<\_ACEOF
114238 #define HAVE_FLOORF 1
114239 _ACEOF
114241 cat >>confdefs.h <<\_ACEOF
114242 #define HAVE_FLOORL 1
114243 _ACEOF
114245 cat >>confdefs.h <<\_ACEOF
114246 #define HAVE_FMODF 1
114247 _ACEOF
114249 cat >>confdefs.h <<\_ACEOF
114250 #define HAVE_FMODL 1
114251 _ACEOF
114253 cat >>confdefs.h <<\_ACEOF
114254 #define HAVE_FREXPF 1
114255 _ACEOF
114257 cat >>confdefs.h <<\_ACEOF
114258 #define HAVE_FREXPL 1
114259 _ACEOF
114261 cat >>confdefs.h <<\_ACEOF
114262 #define HAVE_LDEXPF 1
114263 _ACEOF
114265 cat >>confdefs.h <<\_ACEOF
114266 #define HAVE_LDEXPL 1
114267 _ACEOF
114269 cat >>confdefs.h <<\_ACEOF
114270 #define HAVE_LOG10F 1
114271 _ACEOF
114273 cat >>confdefs.h <<\_ACEOF
114274 #define HAVE_LOG10L 1
114275 _ACEOF
114277 cat >>confdefs.h <<\_ACEOF
114278 #define HAVE_LOGF 1
114279 _ACEOF
114281 cat >>confdefs.h <<\_ACEOF
114282 #define HAVE_MODFF 1
114283 _ACEOF
114285 cat >>confdefs.h <<\_ACEOF
114286 #define HAVE_MODFL 1
114287 _ACEOF
114289 cat >>confdefs.h <<\_ACEOF
114290 #define HAVE_POWF 1
114291 _ACEOF
114293 cat >>confdefs.h <<\_ACEOF
114294 #define HAVE_POWL 1
114295 _ACEOF
114297 cat >>confdefs.h <<\_ACEOF
114298 #define HAVE_SINF 1
114299 _ACEOF
114301 cat >>confdefs.h <<\_ACEOF
114302 #define HAVE_SINL 1
114303 _ACEOF
114305 cat >>confdefs.h <<\_ACEOF
114306 #define HAVE_SINHF 1
114307 _ACEOF
114309 cat >>confdefs.h <<\_ACEOF
114310 #define HAVE_SINHL 1
114311 _ACEOF
114313 cat >>confdefs.h <<\_ACEOF
114314 #define HAVE_SQRTF 1
114315 _ACEOF
114317 cat >>confdefs.h <<\_ACEOF
114318 #define HAVE_SQRTL 1
114319 _ACEOF
114321 cat >>confdefs.h <<\_ACEOF
114322 #define HAVE_TANF 1
114323 _ACEOF
114325 cat >>confdefs.h <<\_ACEOF
114326 #define HAVE_TANL 1
114327 _ACEOF
114329 cat >>confdefs.h <<\_ACEOF
114330 #define HAVE_TANHF 1
114331 _ACEOF
114333 cat >>confdefs.h <<\_ACEOF
114334 #define HAVE_TANHL 1
114335 _ACEOF
114339 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
114340 echo "$as_me: error: No support for this host/target combination." >&2;}
114341 { (exit 1); exit 1; }; }
114347 # At some point, we should differentiate between architectures
114348 # like x86, which have long double versions, and alpha/powerpc/etc.,
114349 # which don't. For the time being, punt.
114350 if test x"long_double_math_on_this_cpu" = x"yes"; then
114351 cat >>confdefs.h <<\_ACEOF
114352 #define HAVE_ACOSL 1
114353 _ACEOF
114355 cat >>confdefs.h <<\_ACEOF
114356 #define HAVE_ASINL 1
114357 _ACEOF
114359 cat >>confdefs.h <<\_ACEOF
114360 #define HAVE_ATAN2L 1
114361 _ACEOF
114363 cat >>confdefs.h <<\_ACEOF
114364 #define HAVE_ATANL 1
114365 _ACEOF
114367 cat >>confdefs.h <<\_ACEOF
114368 #define HAVE_CEILL 1
114369 _ACEOF
114371 cat >>confdefs.h <<\_ACEOF
114372 #define HAVE_COPYSIGNL 1
114373 _ACEOF
114375 cat >>confdefs.h <<\_ACEOF
114376 #define HAVE_COSL 1
114377 _ACEOF
114379 cat >>confdefs.h <<\_ACEOF
114380 #define HAVE_COSHL 1
114381 _ACEOF
114383 cat >>confdefs.h <<\_ACEOF
114384 #define HAVE_EXPL 1
114385 _ACEOF
114387 cat >>confdefs.h <<\_ACEOF
114388 #define HAVE_FABSL 1
114389 _ACEOF
114391 cat >>confdefs.h <<\_ACEOF
114392 #define HAVE_FLOORL 1
114393 _ACEOF
114395 cat >>confdefs.h <<\_ACEOF
114396 #define HAVE_FMODL 1
114397 _ACEOF
114399 cat >>confdefs.h <<\_ACEOF
114400 #define HAVE_FREXPL 1
114401 _ACEOF
114403 cat >>confdefs.h <<\_ACEOF
114404 #define HAVE_LDEXPL 1
114405 _ACEOF
114407 cat >>confdefs.h <<\_ACEOF
114408 #define HAVE_LOG10L 1
114409 _ACEOF
114411 cat >>confdefs.h <<\_ACEOF
114412 #define HAVE_LOGL 1
114413 _ACEOF
114415 cat >>confdefs.h <<\_ACEOF
114416 #define HAVE_MODFL 1
114417 _ACEOF
114419 cat >>confdefs.h <<\_ACEOF
114420 #define HAVE_POWL 1
114421 _ACEOF
114423 cat >>confdefs.h <<\_ACEOF
114424 #define HAVE_SINCOSL 1
114425 _ACEOF
114427 cat >>confdefs.h <<\_ACEOF
114428 #define HAVE_SINL 1
114429 _ACEOF
114431 cat >>confdefs.h <<\_ACEOF
114432 #define HAVE_SINHL 1
114433 _ACEOF
114435 cat >>confdefs.h <<\_ACEOF
114436 #define HAVE_SQRTL 1
114437 _ACEOF
114439 cat >>confdefs.h <<\_ACEOF
114440 #define HAVE_TANL 1
114441 _ACEOF
114443 cat >>confdefs.h <<\_ACEOF
114444 #define HAVE_TANHL 1
114445 _ACEOF
114449 # Assume we have _Unwind_GetIPInfo for cross-compiles.
114450 cat >>confdefs.h <<\_ACEOF
114451 #define HAVE_GETIPINFO 1
114452 _ACEOF
114456 # Check whether --enable-linux-futex or --disable-linux-futex was given.
114457 if test "${enable_linux_futex+set}" = set; then
114458 enableval="$enable_linux_futex"
114460 case "$enableval" in
114461 yes|no|default) ;;
114462 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
114463 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
114464 { (exit 1); exit 1; }; } ;;
114468 enable_linux_futex=default
114471 case "$target" in
114472 *-linux*)
114473 case "$enable_linux_futex" in
114474 default)
114475 # If headers don't have gettid/futex syscalls definition, then
114476 # default to no, otherwise there will be compile time failures.
114477 # Otherwise, default to yes. If we don't detect we are
114478 # compiled/linked against NPTL and not cross-compiling, check
114479 # if programs are run by default against NPTL and if not, issue
114480 # a warning.
114481 enable_linux_futex=no
114482 if test x$gcc_no_link = xyes; then
114483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114485 { (exit 1); exit 1; }; }
114487 cat >conftest.$ac_ext <<_ACEOF
114488 /* confdefs.h. */
114489 _ACEOF
114490 cat confdefs.h >>conftest.$ac_ext
114491 cat >>conftest.$ac_ext <<_ACEOF
114492 /* end confdefs.h. */
114493 #include <sys/syscall.h>
114494 int lk;
114496 main ()
114498 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
114500 return 0;
114502 _ACEOF
114503 rm -f conftest.$ac_objext conftest$ac_exeext
114504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114505 (eval $ac_link) 2>conftest.er1
114506 ac_status=$?
114507 grep -v '^ *+' conftest.er1 >conftest.err
114508 rm -f conftest.er1
114509 cat conftest.err >&5
114510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114511 (exit $ac_status); } &&
114512 { ac_try='test -z "$ac_c_werror_flag"
114513 || test ! -s conftest.err'
114514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114515 (eval $ac_try) 2>&5
114516 ac_status=$?
114517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114518 (exit $ac_status); }; } &&
114519 { ac_try='test -s conftest$ac_exeext'
114520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114521 (eval $ac_try) 2>&5
114522 ac_status=$?
114523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114524 (exit $ac_status); }; }; then
114525 save_LIBS="$LIBS"
114526 LIBS="-lpthread $LIBS"
114527 if test x$gcc_no_link = xyes; then
114528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114530 { (exit 1); exit 1; }; }
114532 cat >conftest.$ac_ext <<_ACEOF
114533 /* confdefs.h. */
114534 _ACEOF
114535 cat confdefs.h >>conftest.$ac_ext
114536 cat >>conftest.$ac_ext <<_ACEOF
114537 /* end confdefs.h. */
114538 #ifndef _GNU_SOURCE
114539 #define _GNU_SOURCE 1
114540 #endif
114541 #include <pthread.h>
114542 pthread_t th; void *status;
114544 main ()
114546 pthread_tryjoin_np (th, &status);
114548 return 0;
114550 _ACEOF
114551 rm -f conftest.$ac_objext conftest$ac_exeext
114552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114553 (eval $ac_link) 2>conftest.er1
114554 ac_status=$?
114555 grep -v '^ *+' conftest.er1 >conftest.err
114556 rm -f conftest.er1
114557 cat conftest.err >&5
114558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114559 (exit $ac_status); } &&
114560 { ac_try='test -z "$ac_c_werror_flag"
114561 || test ! -s conftest.err'
114562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114563 (eval $ac_try) 2>&5
114564 ac_status=$?
114565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114566 (exit $ac_status); }; } &&
114567 { ac_try='test -s conftest$ac_exeext'
114568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114569 (eval $ac_try) 2>&5
114570 ac_status=$?
114571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114572 (exit $ac_status); }; }; then
114573 enable_linux_futex=yes
114575 echo "$as_me: failed program was:" >&5
114576 sed 's/^/| /' conftest.$ac_ext >&5
114578 if test x$cross_compiling = xno; then
114579 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
114580 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
114581 { echo "$as_me:$LINENO: WARNING: The kernel might not support futex or gettid syscalls.
114582 If so, please configure with --disable-linux-futex" >&5
114583 echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
114584 If so, please configure with --disable-linux-futex" >&2;}
114587 enable_linux_futex=yes
114589 rm -f conftest.err conftest.$ac_objext \
114590 conftest$ac_exeext conftest.$ac_ext
114591 LIBS="$save_LIBS"
114593 echo "$as_me: failed program was:" >&5
114594 sed 's/^/| /' conftest.$ac_ext >&5
114597 rm -f conftest.err conftest.$ac_objext \
114598 conftest$ac_exeext conftest.$ac_ext
114601 if test x$gcc_no_link = xyes; then
114602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114604 { (exit 1); exit 1; }; }
114606 cat >conftest.$ac_ext <<_ACEOF
114607 /* confdefs.h. */
114608 _ACEOF
114609 cat confdefs.h >>conftest.$ac_ext
114610 cat >>conftest.$ac_ext <<_ACEOF
114611 /* end confdefs.h. */
114612 #include <sys/syscall.h>
114613 int lk;
114615 main ()
114617 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
114619 return 0;
114621 _ACEOF
114622 rm -f conftest.$ac_objext conftest$ac_exeext
114623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114624 (eval $ac_link) 2>conftest.er1
114625 ac_status=$?
114626 grep -v '^ *+' conftest.er1 >conftest.err
114627 rm -f conftest.er1
114628 cat conftest.err >&5
114629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114630 (exit $ac_status); } &&
114631 { ac_try='test -z "$ac_c_werror_flag"
114632 || test ! -s conftest.err'
114633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114634 (eval $ac_try) 2>&5
114635 ac_status=$?
114636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114637 (exit $ac_status); }; } &&
114638 { ac_try='test -s conftest$ac_exeext'
114639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114640 (eval $ac_try) 2>&5
114641 ac_status=$?
114642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114643 (exit $ac_status); }; }; then
114646 echo "$as_me: failed program was:" >&5
114647 sed 's/^/| /' conftest.$ac_ext >&5
114649 { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
114650 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
114651 { (exit 1); exit 1; }; }
114653 rm -f conftest.err conftest.$ac_objext \
114654 conftest$ac_exeext conftest.$ac_ext
114659 enable_linux_futex=no
114662 if test x$enable_linux_futex = xyes; then
114664 cat >>confdefs.h <<\_ACEOF
114665 #define HAVE_LINUX_FUTEX 1
114666 _ACEOF
114671 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
114674 # Check whether --enable-symvers or --disable-symvers was given.
114675 if test "${enable_symvers+set}" = set; then
114676 enableval="$enable_symvers"
114678 case "$enableval" in
114679 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
114680 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
114681 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
114682 { (exit 1); exit 1; }; } ;;
114686 enable_symvers=yes
114690 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
114691 # don't know enough about $LD to do tricks...
114694 # Turn a 'yes' into a suitable default.
114695 if test x$enable_symvers = xyes ; then
114696 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
114697 enable_symvers=no
114699 if test $with_gnu_ld = yes ; then
114700 enable_symvers=gnu
114702 case ${target_os} in
114703 darwin*)
114704 enable_symvers=darwin ;;
114706 enable_symvers=no ;;
114712 # Check to see if 'darwin' or 'darwin-export' can win.
114713 if test x$enable_symvers = xdarwin-export ; then
114714 enable_symvers=darwin
114717 # Check to see if 'gnu' can win.
114718 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
114719 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
114720 echo "$as_me:$LINENO: checking for shared libgcc" >&5
114721 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
114722 ac_save_CFLAGS="$CFLAGS"
114723 CFLAGS=' -lgcc_s'
114724 if test x$gcc_no_link = xyes; then
114725 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114726 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114727 { (exit 1); exit 1; }; }
114729 cat >conftest.$ac_ext <<_ACEOF
114730 /* confdefs.h. */
114731 _ACEOF
114732 cat confdefs.h >>conftest.$ac_ext
114733 cat >>conftest.$ac_ext <<_ACEOF
114734 /* end confdefs.h. */
114737 main ()
114739 return 0;
114741 return 0;
114743 _ACEOF
114744 rm -f conftest.$ac_objext conftest$ac_exeext
114745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114746 (eval $ac_link) 2>conftest.er1
114747 ac_status=$?
114748 grep -v '^ *+' conftest.er1 >conftest.err
114749 rm -f conftest.er1
114750 cat conftest.err >&5
114751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114752 (exit $ac_status); } &&
114753 { ac_try='test -z "$ac_c_werror_flag"
114754 || test ! -s conftest.err'
114755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114756 (eval $ac_try) 2>&5
114757 ac_status=$?
114758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114759 (exit $ac_status); }; } &&
114760 { ac_try='test -s conftest$ac_exeext'
114761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114762 (eval $ac_try) 2>&5
114763 ac_status=$?
114764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114765 (exit $ac_status); }; }; then
114766 glibcxx_shared_libgcc=yes
114768 echo "$as_me: failed program was:" >&5
114769 sed 's/^/| /' conftest.$ac_ext >&5
114771 glibcxx_shared_libgcc=no
114773 rm -f conftest.err conftest.$ac_objext \
114774 conftest$ac_exeext conftest.$ac_ext
114775 CFLAGS="$ac_save_CFLAGS"
114776 if test $glibcxx_shared_libgcc = no; then
114777 cat > conftest.c <<EOF
114778 int main (void) { return 0; }
114780 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
114781 -shared -shared-libgcc -o conftest.so \
114782 conftest.c -v 2>&1 >/dev/null \
114783 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
114784 rm -f conftest.c conftest.so
114785 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
114786 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
114787 if test x$gcc_no_link = xyes; then
114788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114790 { (exit 1); exit 1; }; }
114792 cat >conftest.$ac_ext <<_ACEOF
114793 /* confdefs.h. */
114794 _ACEOF
114795 cat confdefs.h >>conftest.$ac_ext
114796 cat >>conftest.$ac_ext <<_ACEOF
114797 /* end confdefs.h. */
114800 main ()
114802 return 0;
114804 return 0;
114806 _ACEOF
114807 rm -f conftest.$ac_objext conftest$ac_exeext
114808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114809 (eval $ac_link) 2>conftest.er1
114810 ac_status=$?
114811 grep -v '^ *+' conftest.er1 >conftest.err
114812 rm -f conftest.er1
114813 cat conftest.err >&5
114814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114815 (exit $ac_status); } &&
114816 { ac_try='test -z "$ac_c_werror_flag"
114817 || test ! -s conftest.err'
114818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114819 (eval $ac_try) 2>&5
114820 ac_status=$?
114821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114822 (exit $ac_status); }; } &&
114823 { ac_try='test -s conftest$ac_exeext'
114824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114825 (eval $ac_try) 2>&5
114826 ac_status=$?
114827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114828 (exit $ac_status); }; }; then
114829 glibcxx_shared_libgcc=yes
114831 echo "$as_me: failed program was:" >&5
114832 sed 's/^/| /' conftest.$ac_ext >&5
114835 rm -f conftest.err conftest.$ac_objext \
114836 conftest$ac_exeext conftest.$ac_ext
114837 CFLAGS="$ac_save_CFLAGS"
114840 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
114841 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
114843 # For GNU ld, we need at least this version. The format is described in
114844 # GLIBCXX_CHECK_LINKER_FEATURES above.
114845 glibcxx_min_gnu_ld_version=21400
114847 # If no shared libgcc, can't win.
114848 if test $glibcxx_shared_libgcc != yes; then
114849 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
114850 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
114851 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
114852 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
114853 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
114854 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
114855 enable_symvers=no
114856 elif test $with_gnu_ld != yes ; then
114857 # just fail for now
114858 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
114859 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
114860 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
114861 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
114862 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
114863 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
114864 enable_symvers=no
114865 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
114866 # The right tools, the right setup, but too old. Fallbacks?
114867 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
114868 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
114869 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
114870 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
114871 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
114872 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
114873 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
114874 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
114875 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
114876 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
114877 enable_symvers=no
114881 # Everything parsed; figure out what file to use.
114882 case $enable_symvers in
114884 SYMVER_FILE=config/abi/pre/none.ver
114887 SYMVER_FILE=config/abi/pre/gnu.ver
114889 cat >>confdefs.h <<\_ACEOF
114890 #define _GLIBCXX_SYMVER_GNU 1
114891 _ACEOF
114894 gnu-versioned-namespace)
114895 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
114897 cat >>confdefs.h <<\_ACEOF
114898 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
114899 _ACEOF
114902 darwin)
114903 SYMVER_FILE=config/abi/pre/gnu.ver
114905 cat >>confdefs.h <<\_ACEOF
114906 #define _GLIBCXX_SYMVER_DARWIN 1
114907 _ACEOF
114912 if test x$enable_symvers != xno ; then
114914 cat >>confdefs.h <<\_ACEOF
114915 #define _GLIBCXX_SYMVER 1
114916 _ACEOF
114926 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
114927 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
114929 # Now, set up compatibility support, if any.
114930 # In addition, need this to deal with std::size_t mangling in
114931 # src/compatibility.cc. In a perfect world, could use
114932 # typeid(std::size_t).name()[0] to do direct substitution.
114933 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
114934 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
114935 ac_save_CFLAGS="$CFLAGS"
114936 CFLAGS="-Werror"
114937 cat >conftest.$ac_ext <<_ACEOF
114938 /* confdefs.h. */
114939 _ACEOF
114940 cat confdefs.h >>conftest.$ac_ext
114941 cat >>conftest.$ac_ext <<_ACEOF
114942 /* end confdefs.h. */
114945 main ()
114947 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
114949 return 0;
114951 _ACEOF
114952 rm -f conftest.$ac_objext
114953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114954 (eval $ac_compile) 2>conftest.er1
114955 ac_status=$?
114956 grep -v '^ *+' conftest.er1 >conftest.err
114957 rm -f conftest.er1
114958 cat conftest.err >&5
114959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114960 (exit $ac_status); } &&
114961 { ac_try='test -z "$ac_c_werror_flag"
114962 || test ! -s conftest.err'
114963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114964 (eval $ac_try) 2>&5
114965 ac_status=$?
114966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114967 (exit $ac_status); }; } &&
114968 { ac_try='test -s conftest.$ac_objext'
114969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114970 (eval $ac_try) 2>&5
114971 ac_status=$?
114972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114973 (exit $ac_status); }; }; then
114974 glibcxx_size_t_is_i=yes
114976 echo "$as_me: failed program was:" >&5
114977 sed 's/^/| /' conftest.$ac_ext >&5
114979 glibcxx_size_t_is_i=no
114981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114982 CFLAGS=$ac_save_CFLAGS
114983 if test "$glibcxx_size_t_is_i" = yes; then
114985 cat >>confdefs.h <<\_ACEOF
114986 #define _GLIBCXX_SIZE_T_IS_UINT 1
114987 _ACEOF
114990 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
114991 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
114993 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
114994 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
114995 ac_save_CFLAGS="$CFLAGS"
114996 CFLAGS="-Werror"
114997 cat >conftest.$ac_ext <<_ACEOF
114998 /* confdefs.h. */
114999 _ACEOF
115000 cat confdefs.h >>conftest.$ac_ext
115001 cat >>conftest.$ac_ext <<_ACEOF
115002 /* end confdefs.h. */
115005 main ()
115007 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
115009 return 0;
115011 _ACEOF
115012 rm -f conftest.$ac_objext
115013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115014 (eval $ac_compile) 2>conftest.er1
115015 ac_status=$?
115016 grep -v '^ *+' conftest.er1 >conftest.err
115017 rm -f conftest.er1
115018 cat conftest.err >&5
115019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115020 (exit $ac_status); } &&
115021 { ac_try='test -z "$ac_c_werror_flag"
115022 || test ! -s conftest.err'
115023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115024 (eval $ac_try) 2>&5
115025 ac_status=$?
115026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115027 (exit $ac_status); }; } &&
115028 { ac_try='test -s conftest.$ac_objext'
115029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115030 (eval $ac_try) 2>&5
115031 ac_status=$?
115032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115033 (exit $ac_status); }; }; then
115034 glibcxx_ptrdiff_t_is_i=yes
115036 echo "$as_me: failed program was:" >&5
115037 sed 's/^/| /' conftest.$ac_ext >&5
115039 glibcxx_ptrdiff_t_is_i=no
115041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115042 CFLAGS=$ac_save_CFLAGS
115043 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
115045 cat >>confdefs.h <<\_ACEOF
115046 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
115047 _ACEOF
115050 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
115051 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
115054 # Check whether --enable-visibility or --disable-visibility was given.
115055 if test "${enable_visibility+set}" = set; then
115056 enableval="$enable_visibility"
115058 case "$enableval" in
115059 yes|no) ;;
115060 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
115061 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
115062 { (exit 1); exit 1; }; } ;;
115066 enable_visibility=yes
115070 if test x$enable_visibility = xyes ; then
115071 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
115072 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
115073 if test "${have_attribute_visibility+set}" = set; then
115074 echo $ECHO_N "(cached) $ECHO_C" >&6
115077 save_CFLAGS="$CFLAGS"
115078 CFLAGS="$CFLAGS -Werror"
115079 cat >conftest.$ac_ext <<_ACEOF
115080 /* confdefs.h. */
115081 _ACEOF
115082 cat confdefs.h >>conftest.$ac_ext
115083 cat >>conftest.$ac_ext <<_ACEOF
115084 /* end confdefs.h. */
115085 void __attribute__((visibility("hidden"))) foo(void) { }
115087 main ()
115091 return 0;
115093 _ACEOF
115094 rm -f conftest.$ac_objext
115095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115096 (eval $ac_compile) 2>conftest.er1
115097 ac_status=$?
115098 grep -v '^ *+' conftest.er1 >conftest.err
115099 rm -f conftest.er1
115100 cat conftest.err >&5
115101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115102 (exit $ac_status); } &&
115103 { ac_try='test -z "$ac_c_werror_flag"
115104 || test ! -s conftest.err'
115105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115106 (eval $ac_try) 2>&5
115107 ac_status=$?
115108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115109 (exit $ac_status); }; } &&
115110 { ac_try='test -s conftest.$ac_objext'
115111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115112 (eval $ac_try) 2>&5
115113 ac_status=$?
115114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115115 (exit $ac_status); }; }; then
115116 have_attribute_visibility=yes
115118 echo "$as_me: failed program was:" >&5
115119 sed 's/^/| /' conftest.$ac_ext >&5
115121 have_attribute_visibility=no
115123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115124 CFLAGS="$save_CFLAGS"
115126 echo "$as_me:$LINENO: result: $have_attribute_visibility" >&5
115127 echo "${ECHO_T}$have_attribute_visibility" >&6
115128 if test $have_attribute_visibility = no; then
115129 enable_visibility=no
115134 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
115135 echo "$as_me: visibility supported: $enable_visibility" >&6;}
115138 ac_ldbl_compat=no
115139 case "$target" in
115140 powerpc*-*-linux* | \
115141 powerpc*-*-gnu* | \
115142 sparc*-*-linux* | \
115143 s390*-*-linux* | \
115144 alpha*-*-linux*)
115145 cat >conftest.$ac_ext <<_ACEOF
115146 /* confdefs.h. */
115147 _ACEOF
115148 cat confdefs.h >>conftest.$ac_ext
115149 cat >>conftest.$ac_ext <<_ACEOF
115150 /* end confdefs.h. */
115153 main ()
115156 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
115157 #error no need for long double compatibility
115158 #endif
115161 return 0;
115163 _ACEOF
115164 rm -f conftest.$ac_objext
115165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115166 (eval $ac_compile) 2>conftest.er1
115167 ac_status=$?
115168 grep -v '^ *+' conftest.er1 >conftest.err
115169 rm -f conftest.er1
115170 cat conftest.err >&5
115171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115172 (exit $ac_status); } &&
115173 { ac_try='test -z "$ac_c_werror_flag"
115174 || test ! -s conftest.err'
115175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115176 (eval $ac_try) 2>&5
115177 ac_status=$?
115178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115179 (exit $ac_status); }; } &&
115180 { ac_try='test -s conftest.$ac_objext'
115181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115182 (eval $ac_try) 2>&5
115183 ac_status=$?
115184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115185 (exit $ac_status); }; }; then
115186 ac_ldbl_compat=yes
115188 echo "$as_me: failed program was:" >&5
115189 sed 's/^/| /' conftest.$ac_ext >&5
115191 ac_ldbl_compat=no
115193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115194 if test "$ac_ldbl_compat" = yes; then
115196 cat >>confdefs.h <<\_ACEOF
115197 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
115198 _ACEOF
115200 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
115205 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
115207 if $GLIBCXX_IS_NATIVE ; then
115208 # Do checks for resource limit functions.
115210 setrlimit_have_headers=yes
115214 for ac_header in unistd.h sys/time.h sys/resource.h
115216 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
115217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
115218 echo "$as_me:$LINENO: checking for $ac_header" >&5
115219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
115220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
115221 echo $ECHO_N "(cached) $ECHO_C" >&6
115223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
115224 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
115226 # Is the header compilable?
115227 echo "$as_me:$LINENO: checking $ac_header usability" >&5
115228 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
115229 cat >conftest.$ac_ext <<_ACEOF
115230 /* confdefs.h. */
115231 _ACEOF
115232 cat confdefs.h >>conftest.$ac_ext
115233 cat >>conftest.$ac_ext <<_ACEOF
115234 /* end confdefs.h. */
115235 $ac_includes_default
115236 #include <$ac_header>
115237 _ACEOF
115238 rm -f conftest.$ac_objext
115239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115240 (eval $ac_compile) 2>conftest.er1
115241 ac_status=$?
115242 grep -v '^ *+' conftest.er1 >conftest.err
115243 rm -f conftest.er1
115244 cat conftest.err >&5
115245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115246 (exit $ac_status); } &&
115247 { ac_try='test -z "$ac_c_werror_flag"
115248 || test ! -s conftest.err'
115249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115250 (eval $ac_try) 2>&5
115251 ac_status=$?
115252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115253 (exit $ac_status); }; } &&
115254 { ac_try='test -s conftest.$ac_objext'
115255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115256 (eval $ac_try) 2>&5
115257 ac_status=$?
115258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115259 (exit $ac_status); }; }; then
115260 ac_header_compiler=yes
115262 echo "$as_me: failed program was:" >&5
115263 sed 's/^/| /' conftest.$ac_ext >&5
115265 ac_header_compiler=no
115267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115268 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
115269 echo "${ECHO_T}$ac_header_compiler" >&6
115271 # Is the header present?
115272 echo "$as_me:$LINENO: checking $ac_header presence" >&5
115273 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
115274 cat >conftest.$ac_ext <<_ACEOF
115275 /* confdefs.h. */
115276 _ACEOF
115277 cat confdefs.h >>conftest.$ac_ext
115278 cat >>conftest.$ac_ext <<_ACEOF
115279 /* end confdefs.h. */
115280 #include <$ac_header>
115281 _ACEOF
115282 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
115283 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
115284 ac_status=$?
115285 grep -v '^ *+' conftest.er1 >conftest.err
115286 rm -f conftest.er1
115287 cat conftest.err >&5
115288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115289 (exit $ac_status); } >/dev/null; then
115290 if test -s conftest.err; then
115291 ac_cpp_err=$ac_c_preproc_warn_flag
115292 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
115294 ac_cpp_err=
115297 ac_cpp_err=yes
115299 if test -z "$ac_cpp_err"; then
115300 ac_header_preproc=yes
115302 echo "$as_me: failed program was:" >&5
115303 sed 's/^/| /' conftest.$ac_ext >&5
115305 ac_header_preproc=no
115307 rm -f conftest.err conftest.$ac_ext
115308 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
115309 echo "${ECHO_T}$ac_header_preproc" >&6
115311 # So? What about this header?
115312 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
115313 yes:no: )
115314 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
115315 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
115316 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
115317 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
115318 ac_header_preproc=yes
115320 no:yes:* )
115321 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
115322 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
115323 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
115324 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
115325 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
115326 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
115327 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
115328 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
115329 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
115330 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
115331 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
115332 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
115334 cat <<\_ASBOX
115335 ## ----------------------------------------- ##
115336 ## Report this to the package-unused lists. ##
115337 ## ----------------------------------------- ##
115338 _ASBOX
115340 sed "s/^/$as_me: WARNING: /" >&2
115343 echo "$as_me:$LINENO: checking for $ac_header" >&5
115344 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
115345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
115346 echo $ECHO_N "(cached) $ECHO_C" >&6
115348 eval "$as_ac_Header=\$ac_header_preproc"
115350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
115351 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
115354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
115355 cat >>confdefs.h <<_ACEOF
115356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
115357 _ACEOF
115360 setrlimit_have_headers=no
115365 # If don't have the headers, then we can't run the tests now, and we
115366 # won't be seeing any of these during testsuite compilation.
115367 if test $setrlimit_have_headers = yes; then
115368 # Can't do these in a loop, else the resulting syntax is wrong.
115370 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
115371 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
115372 cat >conftest.$ac_ext <<_ACEOF
115373 /* confdefs.h. */
115374 _ACEOF
115375 cat confdefs.h >>conftest.$ac_ext
115376 cat >>conftest.$ac_ext <<_ACEOF
115377 /* end confdefs.h. */
115378 #include <unistd.h>
115379 #include <sys/time.h>
115380 #include <sys/resource.h>
115383 main ()
115385 int f = RLIMIT_DATA ;
115387 return 0;
115389 _ACEOF
115390 rm -f conftest.$ac_objext
115391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115392 (eval $ac_compile) 2>conftest.er1
115393 ac_status=$?
115394 grep -v '^ *+' conftest.er1 >conftest.err
115395 rm -f conftest.er1
115396 cat conftest.err >&5
115397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115398 (exit $ac_status); } &&
115399 { ac_try='test -z "$ac_c_werror_flag"
115400 || test ! -s conftest.err'
115401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115402 (eval $ac_try) 2>&5
115403 ac_status=$?
115404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115405 (exit $ac_status); }; } &&
115406 { ac_try='test -s conftest.$ac_objext'
115407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115408 (eval $ac_try) 2>&5
115409 ac_status=$?
115410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115411 (exit $ac_status); }; }; then
115412 glibcxx_mresult=1
115414 echo "$as_me: failed program was:" >&5
115415 sed 's/^/| /' conftest.$ac_ext >&5
115417 glibcxx_mresult=0
115419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115421 cat >>confdefs.h <<_ACEOF
115422 #define HAVE_LIMIT_DATA $glibcxx_mresult
115423 _ACEOF
115425 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
115426 echo "$as_me:$LINENO: result: $res" >&5
115427 echo "${ECHO_T}$res" >&6
115430 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
115431 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
115432 cat >conftest.$ac_ext <<_ACEOF
115433 /* confdefs.h. */
115434 _ACEOF
115435 cat confdefs.h >>conftest.$ac_ext
115436 cat >>conftest.$ac_ext <<_ACEOF
115437 /* end confdefs.h. */
115438 #include <unistd.h>
115439 #include <sys/time.h>
115440 #include <sys/resource.h>
115443 main ()
115445 int f = RLIMIT_RSS ;
115447 return 0;
115449 _ACEOF
115450 rm -f conftest.$ac_objext
115451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115452 (eval $ac_compile) 2>conftest.er1
115453 ac_status=$?
115454 grep -v '^ *+' conftest.er1 >conftest.err
115455 rm -f conftest.er1
115456 cat conftest.err >&5
115457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115458 (exit $ac_status); } &&
115459 { ac_try='test -z "$ac_c_werror_flag"
115460 || test ! -s conftest.err'
115461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115462 (eval $ac_try) 2>&5
115463 ac_status=$?
115464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115465 (exit $ac_status); }; } &&
115466 { ac_try='test -s conftest.$ac_objext'
115467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115468 (eval $ac_try) 2>&5
115469 ac_status=$?
115470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115471 (exit $ac_status); }; }; then
115472 glibcxx_mresult=1
115474 echo "$as_me: failed program was:" >&5
115475 sed 's/^/| /' conftest.$ac_ext >&5
115477 glibcxx_mresult=0
115479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115481 cat >>confdefs.h <<_ACEOF
115482 #define HAVE_LIMIT_RSS $glibcxx_mresult
115483 _ACEOF
115485 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
115486 echo "$as_me:$LINENO: result: $res" >&5
115487 echo "${ECHO_T}$res" >&6
115490 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
115491 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
115492 cat >conftest.$ac_ext <<_ACEOF
115493 /* confdefs.h. */
115494 _ACEOF
115495 cat confdefs.h >>conftest.$ac_ext
115496 cat >>conftest.$ac_ext <<_ACEOF
115497 /* end confdefs.h. */
115498 #include <unistd.h>
115499 #include <sys/time.h>
115500 #include <sys/resource.h>
115503 main ()
115505 int f = RLIMIT_VMEM ;
115507 return 0;
115509 _ACEOF
115510 rm -f conftest.$ac_objext
115511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115512 (eval $ac_compile) 2>conftest.er1
115513 ac_status=$?
115514 grep -v '^ *+' conftest.er1 >conftest.err
115515 rm -f conftest.er1
115516 cat conftest.err >&5
115517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115518 (exit $ac_status); } &&
115519 { ac_try='test -z "$ac_c_werror_flag"
115520 || test ! -s conftest.err'
115521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115522 (eval $ac_try) 2>&5
115523 ac_status=$?
115524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115525 (exit $ac_status); }; } &&
115526 { ac_try='test -s conftest.$ac_objext'
115527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115528 (eval $ac_try) 2>&5
115529 ac_status=$?
115530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115531 (exit $ac_status); }; }; then
115532 glibcxx_mresult=1
115534 echo "$as_me: failed program was:" >&5
115535 sed 's/^/| /' conftest.$ac_ext >&5
115537 glibcxx_mresult=0
115539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115541 cat >>confdefs.h <<_ACEOF
115542 #define HAVE_LIMIT_VMEM $glibcxx_mresult
115543 _ACEOF
115545 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
115546 echo "$as_me:$LINENO: result: $res" >&5
115547 echo "${ECHO_T}$res" >&6
115550 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
115551 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
115552 cat >conftest.$ac_ext <<_ACEOF
115553 /* confdefs.h. */
115554 _ACEOF
115555 cat confdefs.h >>conftest.$ac_ext
115556 cat >>conftest.$ac_ext <<_ACEOF
115557 /* end confdefs.h. */
115558 #include <unistd.h>
115559 #include <sys/time.h>
115560 #include <sys/resource.h>
115563 main ()
115565 int f = RLIMIT_AS ;
115567 return 0;
115569 _ACEOF
115570 rm -f conftest.$ac_objext
115571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115572 (eval $ac_compile) 2>conftest.er1
115573 ac_status=$?
115574 grep -v '^ *+' conftest.er1 >conftest.err
115575 rm -f conftest.er1
115576 cat conftest.err >&5
115577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115578 (exit $ac_status); } &&
115579 { ac_try='test -z "$ac_c_werror_flag"
115580 || test ! -s conftest.err'
115581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115582 (eval $ac_try) 2>&5
115583 ac_status=$?
115584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115585 (exit $ac_status); }; } &&
115586 { ac_try='test -s conftest.$ac_objext'
115587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115588 (eval $ac_try) 2>&5
115589 ac_status=$?
115590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115591 (exit $ac_status); }; }; then
115592 glibcxx_mresult=1
115594 echo "$as_me: failed program was:" >&5
115595 sed 's/^/| /' conftest.$ac_ext >&5
115597 glibcxx_mresult=0
115599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115601 cat >>confdefs.h <<_ACEOF
115602 #define HAVE_LIMIT_AS $glibcxx_mresult
115603 _ACEOF
115605 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
115606 echo "$as_me:$LINENO: result: $res" >&5
115607 echo "${ECHO_T}$res" >&6
115610 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
115611 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
115612 cat >conftest.$ac_ext <<_ACEOF
115613 /* confdefs.h. */
115614 _ACEOF
115615 cat confdefs.h >>conftest.$ac_ext
115616 cat >>conftest.$ac_ext <<_ACEOF
115617 /* end confdefs.h. */
115618 #include <unistd.h>
115619 #include <sys/time.h>
115620 #include <sys/resource.h>
115623 main ()
115625 int f = RLIMIT_FSIZE ;
115627 return 0;
115629 _ACEOF
115630 rm -f conftest.$ac_objext
115631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115632 (eval $ac_compile) 2>conftest.er1
115633 ac_status=$?
115634 grep -v '^ *+' conftest.er1 >conftest.err
115635 rm -f conftest.er1
115636 cat conftest.err >&5
115637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115638 (exit $ac_status); } &&
115639 { ac_try='test -z "$ac_c_werror_flag"
115640 || test ! -s conftest.err'
115641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115642 (eval $ac_try) 2>&5
115643 ac_status=$?
115644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115645 (exit $ac_status); }; } &&
115646 { ac_try='test -s conftest.$ac_objext'
115647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115648 (eval $ac_try) 2>&5
115649 ac_status=$?
115650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115651 (exit $ac_status); }; }; then
115652 glibcxx_mresult=1
115654 echo "$as_me: failed program was:" >&5
115655 sed 's/^/| /' conftest.$ac_ext >&5
115657 glibcxx_mresult=0
115659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115661 cat >>confdefs.h <<_ACEOF
115662 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
115663 _ACEOF
115665 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
115666 echo "$as_me:$LINENO: result: $res" >&5
115667 echo "${ECHO_T}$res" >&6
115670 # Check for rlimit, setrlimit.
115671 if test "${ac_setrlimit+set}" = set; then
115672 echo $ECHO_N "(cached) $ECHO_C" >&6
115675 cat >conftest.$ac_ext <<_ACEOF
115676 /* confdefs.h. */
115677 _ACEOF
115678 cat confdefs.h >>conftest.$ac_ext
115679 cat >>conftest.$ac_ext <<_ACEOF
115680 /* end confdefs.h. */
115681 #include <unistd.h>
115682 #include <sys/time.h>
115683 #include <sys/resource.h>
115686 main ()
115688 struct rlimit r;
115689 setrlimit(0, &r);
115691 return 0;
115693 _ACEOF
115694 rm -f conftest.$ac_objext
115695 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115696 (eval $ac_compile) 2>conftest.er1
115697 ac_status=$?
115698 grep -v '^ *+' conftest.er1 >conftest.err
115699 rm -f conftest.er1
115700 cat conftest.err >&5
115701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115702 (exit $ac_status); } &&
115703 { ac_try='test -z "$ac_c_werror_flag"
115704 || test ! -s conftest.err'
115705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115706 (eval $ac_try) 2>&5
115707 ac_status=$?
115708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115709 (exit $ac_status); }; } &&
115710 { ac_try='test -s conftest.$ac_objext'
115711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115712 (eval $ac_try) 2>&5
115713 ac_status=$?
115714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115715 (exit $ac_status); }; }; then
115716 ac_setrlimit=yes
115718 echo "$as_me: failed program was:" >&5
115719 sed 's/^/| /' conftest.$ac_ext >&5
115721 ac_setrlimit=no
115723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115729 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
115730 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
115731 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
115732 ac_res_limits=yes
115734 cat >>confdefs.h <<\_ACEOF
115735 #define _GLIBCXX_RES_LIMITS 1
115736 _ACEOF
115739 ac_res_limits=no
115741 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
115742 echo "${ECHO_T}$ac_res_limits" >&6
115745 # Look for setenv, so that extended locale tests can be performed.
115747 echo "$as_me:$LINENO: checking for setenv declaration" >&5
115748 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
115749 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
115750 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
115751 echo $ECHO_N "(cached) $ECHO_C" >&6
115756 ac_ext=cc
115757 ac_cpp='$CXXCPP $CPPFLAGS'
115758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
115759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
115760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
115762 cat >conftest.$ac_ext <<_ACEOF
115763 /* confdefs.h. */
115764 _ACEOF
115765 cat confdefs.h >>conftest.$ac_ext
115766 cat >>conftest.$ac_ext <<_ACEOF
115767 /* end confdefs.h. */
115768 #include <stdlib.h>
115770 main ()
115772 setenv(0, 0, 0);
115774 return 0;
115776 _ACEOF
115777 rm -f conftest.$ac_objext
115778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115779 (eval $ac_compile) 2>conftest.er1
115780 ac_status=$?
115781 grep -v '^ *+' conftest.er1 >conftest.err
115782 rm -f conftest.er1
115783 cat conftest.err >&5
115784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115785 (exit $ac_status); } &&
115786 { ac_try='test -z "$ac_cxx_werror_flag"
115787 || test ! -s conftest.err'
115788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115789 (eval $ac_try) 2>&5
115790 ac_status=$?
115791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115792 (exit $ac_status); }; } &&
115793 { ac_try='test -s conftest.$ac_objext'
115794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115795 (eval $ac_try) 2>&5
115796 ac_status=$?
115797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115798 (exit $ac_status); }; }; then
115799 glibcxx_cv_func_setenv_use=yes
115801 echo "$as_me: failed program was:" >&5
115802 sed 's/^/| /' conftest.$ac_ext >&5
115804 glibcxx_cv_func_setenv_use=no
115806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115807 ac_ext=c
115808 ac_cpp='$CPP $CPPFLAGS'
115809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
115810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
115811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
115817 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
115818 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
115819 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
115821 for ac_func in setenv
115823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115824 echo "$as_me:$LINENO: checking for $ac_func" >&5
115825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115826 if eval "test \"\${$as_ac_var+set}\" = set"; then
115827 echo $ECHO_N "(cached) $ECHO_C" >&6
115829 if test x$gcc_no_link = xyes; then
115830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115832 { (exit 1); exit 1; }; }
115834 cat >conftest.$ac_ext <<_ACEOF
115835 /* confdefs.h. */
115836 _ACEOF
115837 cat confdefs.h >>conftest.$ac_ext
115838 cat >>conftest.$ac_ext <<_ACEOF
115839 /* end confdefs.h. */
115840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
115842 #define $ac_func innocuous_$ac_func
115844 /* System header to define __stub macros and hopefully few prototypes,
115845 which can conflict with char $ac_func (); below.
115846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115847 <limits.h> exists even on freestanding compilers. */
115849 #ifdef __STDC__
115850 # include <limits.h>
115851 #else
115852 # include <assert.h>
115853 #endif
115855 #undef $ac_func
115857 /* Override any gcc2 internal prototype to avoid an error. */
115858 #ifdef __cplusplus
115859 extern "C"
115861 #endif
115862 /* We use char because int might match the return type of a gcc2
115863 builtin and then its argument prototype would still apply. */
115864 char $ac_func ();
115865 /* The GNU C library defines this for functions which it implements
115866 to always fail with ENOSYS. Some functions are actually named
115867 something starting with __ and the normal name is an alias. */
115868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115869 choke me
115870 #else
115871 char (*f) () = $ac_func;
115872 #endif
115873 #ifdef __cplusplus
115875 #endif
115878 main ()
115880 return f != $ac_func;
115882 return 0;
115884 _ACEOF
115885 rm -f conftest.$ac_objext conftest$ac_exeext
115886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115887 (eval $ac_link) 2>conftest.er1
115888 ac_status=$?
115889 grep -v '^ *+' conftest.er1 >conftest.err
115890 rm -f conftest.er1
115891 cat conftest.err >&5
115892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115893 (exit $ac_status); } &&
115894 { ac_try='test -z "$ac_c_werror_flag"
115895 || test ! -s conftest.err'
115896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115897 (eval $ac_try) 2>&5
115898 ac_status=$?
115899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115900 (exit $ac_status); }; } &&
115901 { ac_try='test -s conftest$ac_exeext'
115902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115903 (eval $ac_try) 2>&5
115904 ac_status=$?
115905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115906 (exit $ac_status); }; }; then
115907 eval "$as_ac_var=yes"
115909 echo "$as_me: failed program was:" >&5
115910 sed 's/^/| /' conftest.$ac_ext >&5
115912 eval "$as_ac_var=no"
115914 rm -f conftest.err conftest.$ac_objext \
115915 conftest$ac_exeext conftest.$ac_ext
115917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115919 if test `eval echo '${'$as_ac_var'}'` = yes; then
115920 cat >>confdefs.h <<_ACEOF
115921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115922 _ACEOF
115931 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
115932 test $enable_symvers != no; then
115933 case "$host" in
115934 *-*-cygwin*)
115935 enable_abi_check=no ;;
115937 enable_abi_check=yes ;;
115940 # Only build this as native, since automake does not understand
115941 # CXX_FOR_BUILD.
115942 enable_abi_check=no
115945 # Export file names for ABI checking.
115946 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
115950 # Propagate the target-specific source directories through the build chain.
115951 ATOMICITY_SRCDIR=config/${atomicity_dir}
115952 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
115953 ATOMIC_FLAGS=${atomic_flags}
115954 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
115955 OS_INC_SRCDIR=config/${os_include_dir}
115956 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
115957 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
115967 # Determine cross-compile flags and AM_CONDITIONALs.
115968 #AC_SUBST(GLIBCXX_IS_NATIVE)
115969 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
115970 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
115971 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
115974 if test $is_hosted = yes; then
115975 GLIBCXX_HOSTED_TRUE=
115976 GLIBCXX_HOSTED_FALSE='#'
115978 GLIBCXX_HOSTED_TRUE='#'
115979 GLIBCXX_HOSTED_FALSE=
115985 if test $enable_libstdcxx_pch = yes; then
115986 GLIBCXX_BUILD_PCH_TRUE=
115987 GLIBCXX_BUILD_PCH_FALSE='#'
115989 GLIBCXX_BUILD_PCH_TRUE='#'
115990 GLIBCXX_BUILD_PCH_FALSE=
115996 if test $enable_cheaders = c; then
115997 GLIBCXX_C_HEADERS_C_TRUE=
115998 GLIBCXX_C_HEADERS_C_FALSE='#'
116000 GLIBCXX_C_HEADERS_C_TRUE='#'
116001 GLIBCXX_C_HEADERS_C_FALSE=
116007 if test $enable_cheaders = c_std; then
116008 GLIBCXX_C_HEADERS_C_STD_TRUE=
116009 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
116011 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
116012 GLIBCXX_C_HEADERS_C_STD_FALSE=
116018 if test $enable_cheaders = c_global; then
116019 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
116020 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
116022 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
116023 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
116029 if test $c_compatibility = yes; then
116030 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
116031 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
116033 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
116034 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
116040 if test $c_extra = yes; then
116041 GLIBCXX_C_HEADERS_EXTRA_TRUE=
116042 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
116044 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
116045 GLIBCXX_C_HEADERS_EXTRA_FALSE=
116051 if test $enable_libstdcxx_debug = yes; then
116052 GLIBCXX_BUILD_DEBUG_TRUE=
116053 GLIBCXX_BUILD_DEBUG_FALSE='#'
116055 GLIBCXX_BUILD_DEBUG_TRUE='#'
116056 GLIBCXX_BUILD_DEBUG_FALSE=
116062 if test $enable_parallel = yes; then
116063 ENABLE_PARALLEL_TRUE=
116064 ENABLE_PARALLEL_FALSE='#'
116066 ENABLE_PARALLEL_TRUE='#'
116067 ENABLE_PARALLEL_FALSE=
116073 if test $enable_symvers != no; then
116074 ENABLE_SYMVERS_TRUE=
116075 ENABLE_SYMVERS_FALSE='#'
116077 ENABLE_SYMVERS_TRUE='#'
116078 ENABLE_SYMVERS_FALSE=
116084 if test $enable_symvers = gnu; then
116085 ENABLE_SYMVERS_GNU_TRUE=
116086 ENABLE_SYMVERS_GNU_FALSE='#'
116088 ENABLE_SYMVERS_GNU_TRUE='#'
116089 ENABLE_SYMVERS_GNU_FALSE=
116095 if test $enable_symvers = gnu-versioned-namespace; then
116096 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
116097 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
116099 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
116100 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
116106 if test $enable_symvers = darwin; then
116107 ENABLE_SYMVERS_DARWIN_TRUE=
116108 ENABLE_SYMVERS_DARWIN_FALSE='#'
116110 ENABLE_SYMVERS_DARWIN_TRUE='#'
116111 ENABLE_SYMVERS_DARWIN_FALSE=
116117 if test $enable_visibility = yes; then
116118 ENABLE_VISIBILITY_TRUE=
116119 ENABLE_VISIBILITY_FALSE='#'
116121 ENABLE_VISIBILITY_TRUE='#'
116122 ENABLE_VISIBILITY_FALSE=
116128 if test $ac_ldbl_compat = yes; then
116129 GLIBCXX_LDBL_COMPAT_TRUE=
116130 GLIBCXX_LDBL_COMPAT_FALSE='#'
116132 GLIBCXX_LDBL_COMPAT_TRUE='#'
116133 GLIBCXX_LDBL_COMPAT_FALSE=
116139 cat >confcache <<\_ACEOF
116140 # This file is a shell script that caches the results of configure
116141 # tests run on this system so they can be shared between configure
116142 # scripts and configure runs, see configure's option --config-cache.
116143 # It is not useful on other systems. If it contains results you don't
116144 # want to keep, you may remove or edit it.
116146 # config.status only pays attention to the cache file if you give it
116147 # the --recheck option to rerun configure.
116149 # `ac_cv_env_foo' variables (set or unset) will be overridden when
116150 # loading this file, other *unset* `ac_cv_foo' will be assigned the
116151 # following values.
116153 _ACEOF
116155 # The following way of writing the cache mishandles newlines in values,
116156 # but we know of no workaround that is simple, portable, and efficient.
116157 # So, don't put newlines in cache variables' values.
116158 # Ultrix sh set writes to stderr and can't be redirected directly,
116159 # and sets the high bit in the cache file unless we assign to the vars.
116161 (set) 2>&1 |
116162 case `(ac_space=' '; set | grep ac_space) 2>&1` in
116163 *ac_space=\ *)
116164 # `set' does not quote correctly, so add quotes (double-quote
116165 # substitution turns \\\\ into \\, and sed turns \\ into \).
116166 sed -n \
116167 "s/'/'\\\\''/g;
116168 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
116171 # `set' quotes correctly as required by POSIX, so do not add quotes.
116172 sed -n \
116173 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
116175 esac;
116177 sed '
116178 t clear
116179 : clear
116180 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
116181 t end
116182 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
116183 : end' >>confcache
116184 if diff $cache_file confcache >/dev/null 2>&1; then :; else
116185 if test -w $cache_file; then
116186 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
116187 cat confcache >$cache_file
116189 echo "not updating unwritable cache $cache_file"
116192 rm -f confcache
116194 if test ${multilib} = yes; then
116195 multilib_arg="--enable-multilib"
116197 multilib_arg=
116200 # Export all the install information.
116202 glibcxx_toolexecdir=no
116203 glibcxx_toolexeclibdir=no
116204 glibcxx_prefixdir=$prefix
116206 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
116207 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
116209 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
116210 if test "${with_gxx_include_dir+set}" = set; then
116211 withval="$with_gxx_include_dir"
116212 case "$withval" in
116213 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
116214 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
116215 { (exit 1); exit 1; }; } ;;
116216 no) gxx_include_dir=no ;;
116217 *) gxx_include_dir=$withval ;;
116220 gxx_include_dir=no
116222 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
116223 echo "${ECHO_T}$gxx_include_dir" >&6
116225 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
116226 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
116227 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
116228 if test "${enable_version_specific_runtime_libs+set}" = set; then
116229 enableval="$enable_version_specific_runtime_libs"
116230 case "$enableval" in
116231 yes) version_specific_libs=yes ;;
116232 no) version_specific_libs=no ;;
116233 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
116234 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
116235 { (exit 1); exit 1; }; };;
116238 version_specific_libs=no
116240 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
116241 echo "${ECHO_T}$version_specific_libs" >&6
116243 # Default case for install directory for include files.
116244 if test $version_specific_libs = no && test $gxx_include_dir = no; then
116245 gxx_include_dir='include/c++/${gcc_version}'
116246 if test -n "$with_cross_host" &&
116247 test x"$with_cross_host" != x"no"; then
116248 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
116250 gxx_include_dir='${prefix}/'"$gxx_include_dir"
116254 # Version-specific runtime libs processing.
116255 if test $version_specific_libs = yes; then
116256 # Need the gcc compiler version to know where to install libraries
116257 # and header files if --enable-version-specific-runtime-libs option
116258 # is selected. FIXME: these variables are misnamed, there are
116259 # no executables installed in _toolexecdir or _toolexeclibdir.
116260 if test x"$gxx_include_dir" = x"no"; then
116261 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
116263 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
116264 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
116267 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
116268 # Install a library built with a cross compiler in tooldir, not libdir.
116269 if test x"$glibcxx_toolexecdir" = x"no"; then
116270 if test -n "$with_cross_host" &&
116271 test x"$with_cross_host" != x"no"; then
116272 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
116273 glibcxx_toolexeclibdir='${toolexecdir}/lib'
116275 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
116276 glibcxx_toolexeclibdir='${libdir}'
116278 multi_os_directory=`$CXX -print-multi-os-directory`
116279 case $multi_os_directory in
116280 .) ;; # Avoid trailing /.
116281 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
116285 echo "$as_me:$LINENO: checking for install location" >&5
116286 echo $ECHO_N "checking for install location... $ECHO_C" >&6
116287 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
116288 echo "${ECHO_T}$gxx_include_dir" >&6
116296 # Export all the include and flag information to Makefiles.
116298 # Used for every C++ compile we perform.
116299 GLIBCXX_INCLUDES="\
116300 -I$glibcxx_builddir/include/$host_alias \
116301 -I$glibcxx_builddir/include \
116302 -I$glibcxx_srcdir/libsupc++"
116304 # For Canadian crosses, pick this up too.
116305 if test $CANADIAN = yes; then
116306 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
116309 # Stuff in the actual top level. Currently only used by libsupc++ to
116310 # get unwind* headers from the gcc dir.
116311 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
116312 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
116314 # Now, export this to all the little Makefiles....
116319 # Optimization flags that are probably a good idea for thrill-seekers. Just
116320 # uncomment the lines below and make, everything else is ready to go...
116321 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
116322 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
116325 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
116329 if test "$enable_shared" = yes; then
116330 LIBSUPCXX_PICFLAGS="-prefer-pic"
116332 LIBSUPCXX_PICFLAGS=
116336 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
116338 ac_config_files="$ac_config_files scripts/testsuite_flags"
116341 ac_config_commands="$ac_config_commands default"
116344 cat >confcache <<\_ACEOF
116345 # This file is a shell script that caches the results of configure
116346 # tests run on this system so they can be shared between configure
116347 # scripts and configure runs, see configure's option --config-cache.
116348 # It is not useful on other systems. If it contains results you don't
116349 # want to keep, you may remove or edit it.
116351 # config.status only pays attention to the cache file if you give it
116352 # the --recheck option to rerun configure.
116354 # `ac_cv_env_foo' variables (set or unset) will be overridden when
116355 # loading this file, other *unset* `ac_cv_foo' will be assigned the
116356 # following values.
116358 _ACEOF
116360 # The following way of writing the cache mishandles newlines in values,
116361 # but we know of no workaround that is simple, portable, and efficient.
116362 # So, don't put newlines in cache variables' values.
116363 # Ultrix sh set writes to stderr and can't be redirected directly,
116364 # and sets the high bit in the cache file unless we assign to the vars.
116366 (set) 2>&1 |
116367 case `(ac_space=' '; set | grep ac_space) 2>&1` in
116368 *ac_space=\ *)
116369 # `set' does not quote correctly, so add quotes (double-quote
116370 # substitution turns \\\\ into \\, and sed turns \\ into \).
116371 sed -n \
116372 "s/'/'\\\\''/g;
116373 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
116376 # `set' quotes correctly as required by POSIX, so do not add quotes.
116377 sed -n \
116378 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
116380 esac;
116382 sed '
116383 t clear
116384 : clear
116385 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
116386 t end
116387 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
116388 : end' >>confcache
116389 if diff $cache_file confcache >/dev/null 2>&1; then :; else
116390 if test -w $cache_file; then
116391 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
116392 cat confcache >$cache_file
116394 echo "not updating unwritable cache $cache_file"
116397 rm -f confcache
116399 test "x$prefix" = xNONE && prefix=$ac_default_prefix
116400 # Let make expand exec_prefix.
116401 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
116403 # VPATH may cause trouble with some makes, so we remove $(srcdir),
116404 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
116405 # trailing colons and then remove the whole line if VPATH becomes empty
116406 # (actually we leave an empty line to preserve line numbers).
116407 if test "x$srcdir" = x.; then
116408 ac_vpsub='/^[ ]*VPATH[ ]*=/{
116409 s/:*\$(srcdir):*/:/;
116410 s/:*\${srcdir}:*/:/;
116411 s/:*@srcdir@:*/:/;
116412 s/^\([^=]*=[ ]*\):*/\1/;
116413 s/:*$//;
116414 s/^[^=]*=[ ]*$//;
116418 DEFS=-DHAVE_CONFIG_H
116420 ac_libobjs=
116421 ac_ltlibobjs=
116422 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
116423 # 1. Remove the extension, and $U if already installed.
116424 ac_i=`echo "$ac_i" |
116425 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
116426 # 2. Add them.
116427 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
116428 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
116430 LIBOBJS=$ac_libobjs
116432 LTLIBOBJS=$ac_ltlibobjs
116435 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
116436 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
116437 Usually this means the macro was only invoked conditionally." >&5
116438 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
116439 Usually this means the macro was only invoked conditionally." >&2;}
116440 { (exit 1); exit 1; }; }
116442 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
116443 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
116444 Usually this means the macro was only invoked conditionally." >&5
116445 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
116446 Usually this means the macro was only invoked conditionally." >&2;}
116447 { (exit 1); exit 1; }; }
116449 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
116450 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
116451 Usually this means the macro was only invoked conditionally." >&5
116452 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
116453 Usually this means the macro was only invoked conditionally." >&2;}
116454 { (exit 1); exit 1; }; }
116456 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
116457 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
116458 Usually this means the macro was only invoked conditionally." >&5
116459 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
116460 Usually this means the macro was only invoked conditionally." >&2;}
116461 { (exit 1); exit 1; }; }
116463 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
116464 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
116465 Usually this means the macro was only invoked conditionally." >&5
116466 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
116467 Usually this means the macro was only invoked conditionally." >&2;}
116468 { (exit 1); exit 1; }; }
116470 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
116471 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
116472 Usually this means the macro was only invoked conditionally." >&5
116473 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
116474 Usually this means the macro was only invoked conditionally." >&2;}
116475 { (exit 1); exit 1; }; }
116477 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
116478 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
116479 Usually this means the macro was only invoked conditionally." >&5
116480 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
116481 Usually this means the macro was only invoked conditionally." >&2;}
116482 { (exit 1); exit 1; }; }
116484 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
116485 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
116486 Usually this means the macro was only invoked conditionally." >&5
116487 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
116488 Usually this means the macro was only invoked conditionally." >&2;}
116489 { (exit 1); exit 1; }; }
116491 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
116492 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
116493 Usually this means the macro was only invoked conditionally." >&5
116494 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
116495 Usually this means the macro was only invoked conditionally." >&2;}
116496 { (exit 1); exit 1; }; }
116498 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
116499 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PARALLEL\" was never defined.
116500 Usually this means the macro was only invoked conditionally." >&5
116501 echo "$as_me: error: conditional \"ENABLE_PARALLEL\" was never defined.
116502 Usually this means the macro was only invoked conditionally." >&2;}
116503 { (exit 1); exit 1; }; }
116505 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
116506 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
116507 Usually this means the macro was only invoked conditionally." >&5
116508 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
116509 Usually this means the macro was only invoked conditionally." >&2;}
116510 { (exit 1); exit 1; }; }
116512 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
116513 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
116514 Usually this means the macro was only invoked conditionally." >&5
116515 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
116516 Usually this means the macro was only invoked conditionally." >&2;}
116517 { (exit 1); exit 1; }; }
116519 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
116520 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
116521 Usually this means the macro was only invoked conditionally." >&5
116522 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
116523 Usually this means the macro was only invoked conditionally." >&2;}
116524 { (exit 1); exit 1; }; }
116526 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
116527 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
116528 Usually this means the macro was only invoked conditionally." >&5
116529 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
116530 Usually this means the macro was only invoked conditionally." >&2;}
116531 { (exit 1); exit 1; }; }
116533 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
116534 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
116535 Usually this means the macro was only invoked conditionally." >&5
116536 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
116537 Usually this means the macro was only invoked conditionally." >&2;}
116538 { (exit 1); exit 1; }; }
116540 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
116541 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
116542 Usually this means the macro was only invoked conditionally." >&5
116543 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
116544 Usually this means the macro was only invoked conditionally." >&2;}
116545 { (exit 1); exit 1; }; }
116548 : ${CONFIG_STATUS=./config.status}
116549 ac_clean_files_save=$ac_clean_files
116550 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
116551 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
116552 echo "$as_me: creating $CONFIG_STATUS" >&6;}
116553 cat >$CONFIG_STATUS <<_ACEOF
116554 #! $SHELL
116555 # Generated by $as_me.
116556 # Run this file to recreate the current configuration.
116557 # Compiler output produced by configure, useful for debugging
116558 # configure, is in config.log if it exists.
116560 debug=false
116561 ac_cs_recheck=false
116562 ac_cs_silent=false
116563 SHELL=\${CONFIG_SHELL-$SHELL}
116564 _ACEOF
116566 cat >>$CONFIG_STATUS <<\_ACEOF
116567 ## --------------------- ##
116568 ## M4sh Initialization. ##
116569 ## --------------------- ##
116571 # Be Bourne compatible
116572 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
116573 emulate sh
116574 NULLCMD=:
116575 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
116576 # is contrary to our usage. Disable this feature.
116577 alias -g '${1+"$@"}'='"$@"'
116578 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
116579 set -o posix
116581 DUALCASE=1; export DUALCASE # for MKS sh
116583 # Support unset when possible.
116584 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
116585 as_unset=unset
116587 as_unset=false
116591 # Work around bugs in pre-3.0 UWIN ksh.
116592 $as_unset ENV MAIL MAILPATH
116593 PS1='$ '
116594 PS2='> '
116595 PS4='+ '
116597 # NLS nuisances.
116598 for as_var in \
116599 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
116600 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
116601 LC_TELEPHONE LC_TIME
116603 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
116604 eval $as_var=C; export $as_var
116606 $as_unset $as_var
116610 # Required to use basename.
116611 if expr a : '\(a\)' >/dev/null 2>&1; then
116612 as_expr=expr
116614 as_expr=false
116617 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
116618 as_basename=basename
116620 as_basename=false
116624 # Name of the executable.
116625 as_me=`$as_basename "$0" ||
116626 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
116627 X"$0" : 'X\(//\)$' \| \
116628 X"$0" : 'X\(/\)$' \| \
116629 . : '\(.\)' 2>/dev/null ||
116630 echo X/"$0" |
116631 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
116632 /^X\/\(\/\/\)$/{ s//\1/; q; }
116633 /^X\/\(\/\).*/{ s//\1/; q; }
116634 s/.*/./; q'`
116637 # PATH needs CR, and LINENO needs CR and PATH.
116638 # Avoid depending upon Character Ranges.
116639 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
116640 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
116641 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
116642 as_cr_digits='0123456789'
116643 as_cr_alnum=$as_cr_Letters$as_cr_digits
116645 # The user is always right.
116646 if test "${PATH_SEPARATOR+set}" != set; then
116647 echo "#! /bin/sh" >conf$$.sh
116648 echo "exit 0" >>conf$$.sh
116649 chmod +x conf$$.sh
116650 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
116651 PATH_SEPARATOR=';'
116653 PATH_SEPARATOR=:
116655 rm -f conf$$.sh
116659 as_lineno_1=$LINENO
116660 as_lineno_2=$LINENO
116661 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
116662 test "x$as_lineno_1" != "x$as_lineno_2" &&
116663 test "x$as_lineno_3" = "x$as_lineno_2" || {
116664 # Find who we are. Look in the path if we contain no path at all
116665 # relative or not.
116666 case $0 in
116667 *[\\/]* ) as_myself=$0 ;;
116668 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
116669 for as_dir in $PATH
116671 IFS=$as_save_IFS
116672 test -z "$as_dir" && as_dir=.
116673 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
116678 # We did not find ourselves, most probably we were run as `sh COMMAND'
116679 # in which case we are not to be found in the path.
116680 if test "x$as_myself" = x; then
116681 as_myself=$0
116683 if test ! -f "$as_myself"; then
116684 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
116685 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
116686 { (exit 1); exit 1; }; }
116688 case $CONFIG_SHELL in
116690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
116691 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
116693 IFS=$as_save_IFS
116694 test -z "$as_dir" && as_dir=.
116695 for as_base in sh bash ksh sh5; do
116696 case $as_dir in
116698 if ("$as_dir/$as_base" -c '
116699 as_lineno_1=$LINENO
116700 as_lineno_2=$LINENO
116701 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
116702 test "x$as_lineno_1" != "x$as_lineno_2" &&
116703 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
116704 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
116705 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
116706 CONFIG_SHELL=$as_dir/$as_base
116707 export CONFIG_SHELL
116708 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
116716 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
116717 # uniformly replaced by the line number. The first 'sed' inserts a
116718 # line-number line before each line; the second 'sed' does the real
116719 # work. The second script uses 'N' to pair each line-number line
116720 # with the numbered line, and appends trailing '-' during
116721 # substitution so that $LINENO is not a special case at line end.
116722 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
116723 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
116724 sed '=' <$as_myself |
116725 sed '
116727 s,$,-,
116728 : loop
116729 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
116730 t loop
116731 s,-$,,
116732 s,^['$as_cr_digits']*\n,,
116733 ' >$as_me.lineno &&
116734 chmod +x $as_me.lineno ||
116735 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
116736 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
116737 { (exit 1); exit 1; }; }
116739 # Don't try to exec as it changes $[0], causing all sort of problems
116740 # (the dirname of $[0] is not the place where we might find the
116741 # original and so on. Autoconf is especially sensible to this).
116742 . ./$as_me.lineno
116743 # Exit status is that of the last command.
116748 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
116749 *c*,-n*) ECHO_N= ECHO_C='
116750 ' ECHO_T=' ' ;;
116751 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
116752 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
116755 if expr a : '\(a\)' >/dev/null 2>&1; then
116756 as_expr=expr
116758 as_expr=false
116761 rm -f conf$$ conf$$.exe conf$$.file
116762 echo >conf$$.file
116763 if ln -s conf$$.file conf$$ 2>/dev/null; then
116764 # We could just check for DJGPP; but this test a) works b) is more generic
116765 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
116766 if test -f conf$$.exe; then
116767 # Don't use ln at all; we don't have any links
116768 as_ln_s='cp -p'
116770 as_ln_s='ln -s'
116772 elif ln conf$$.file conf$$ 2>/dev/null; then
116773 as_ln_s=ln
116775 as_ln_s='cp -p'
116777 rm -f conf$$ conf$$.exe conf$$.file
116779 if mkdir -p . 2>/dev/null; then
116780 as_mkdir_p=:
116782 test -d ./-p && rmdir ./-p
116783 as_mkdir_p=false
116786 as_executable_p="test -f"
116788 # Sed expression to map a string onto a valid CPP name.
116789 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
116791 # Sed expression to map a string onto a valid variable name.
116792 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
116795 # IFS
116796 # We need space, tab and new line, in precisely that order.
116797 as_nl='
116799 IFS=" $as_nl"
116801 # CDPATH.
116802 $as_unset CDPATH
116804 exec 6>&1
116806 # Open the log real soon, to keep \$[0] and so on meaningful, and to
116807 # report actual input values of CONFIG_FILES etc. instead of their
116808 # values after options handling. Logging --version etc. is OK.
116809 exec 5>>config.log
116812 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
116813 ## Running $as_me. ##
116814 _ASBOX
116815 } >&5
116816 cat >&5 <<_CSEOF
116818 This file was extended by package-unused $as_me version-unused, which was
116819 generated by GNU Autoconf 2.59. Invocation command line was
116821 CONFIG_FILES = $CONFIG_FILES
116822 CONFIG_HEADERS = $CONFIG_HEADERS
116823 CONFIG_LINKS = $CONFIG_LINKS
116824 CONFIG_COMMANDS = $CONFIG_COMMANDS
116825 $ $0 $@
116827 _CSEOF
116828 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
116829 echo >&5
116830 _ACEOF
116832 # Files that config.status was made for.
116833 if test -n "$ac_config_files"; then
116834 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
116837 if test -n "$ac_config_headers"; then
116838 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
116841 if test -n "$ac_config_links"; then
116842 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
116845 if test -n "$ac_config_commands"; then
116846 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
116849 cat >>$CONFIG_STATUS <<\_ACEOF
116851 ac_cs_usage="\
116852 \`$as_me' instantiates files from templates according to the
116853 current configuration.
116855 Usage: $0 [OPTIONS] [FILE]...
116857 -h, --help print this help, then exit
116858 -V, --version print version number, then exit
116859 -q, --quiet do not print progress messages
116860 -d, --debug don't remove temporary files
116861 --recheck update $as_me by reconfiguring in the same conditions
116862 --file=FILE[:TEMPLATE]
116863 instantiate the configuration file FILE
116864 --header=FILE[:TEMPLATE]
116865 instantiate the configuration header FILE
116867 Configuration files:
116868 $config_files
116870 Configuration headers:
116871 $config_headers
116873 Configuration commands:
116874 $config_commands
116876 Report bugs to <bug-autoconf@gnu.org>."
116877 _ACEOF
116879 cat >>$CONFIG_STATUS <<_ACEOF
116880 ac_cs_version="\\
116881 package-unused config.status version-unused
116882 configured by $0, generated by GNU Autoconf 2.59,
116883 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
116885 Copyright (C) 2003 Free Software Foundation, Inc.
116886 This config.status script is free software; the Free Software Foundation
116887 gives unlimited permission to copy, distribute and modify it."
116888 srcdir=$srcdir
116889 INSTALL="$INSTALL"
116890 _ACEOF
116892 cat >>$CONFIG_STATUS <<\_ACEOF
116893 # If no file are specified by the user, then we need to provide default
116894 # value. By we need to know if files were specified by the user.
116895 ac_need_defaults=:
116896 while test $# != 0
116898 case $1 in
116899 --*=*)
116900 ac_option=`expr "x$1" : 'x\([^=]*\)='`
116901 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
116902 ac_shift=:
116905 ac_option=$1
116906 ac_optarg=$2
116907 ac_shift=shift
116909 *) # This is not an option, so the user has probably given explicit
116910 # arguments.
116911 ac_option=$1
116912 ac_need_defaults=false;;
116915 case $ac_option in
116916 # Handling of the options.
116917 _ACEOF
116918 cat >>$CONFIG_STATUS <<\_ACEOF
116919 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
116920 ac_cs_recheck=: ;;
116921 --version | --vers* | -V )
116922 echo "$ac_cs_version"; exit 0 ;;
116923 --he | --h)
116924 # Conflict between --help and --header
116925 { { echo "$as_me:$LINENO: error: ambiguous option: $1
116926 Try \`$0 --help' for more information." >&5
116927 echo "$as_me: error: ambiguous option: $1
116928 Try \`$0 --help' for more information." >&2;}
116929 { (exit 1); exit 1; }; };;
116930 --help | --hel | -h )
116931 echo "$ac_cs_usage"; exit 0 ;;
116932 --debug | --d* | -d )
116933 debug=: ;;
116934 --file | --fil | --fi | --f )
116935 $ac_shift
116936 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
116937 ac_need_defaults=false;;
116938 --header | --heade | --head | --hea )
116939 $ac_shift
116940 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
116941 ac_need_defaults=false;;
116942 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
116943 | -silent | --silent | --silen | --sile | --sil | --si | --s)
116944 ac_cs_silent=: ;;
116946 # This is an error.
116947 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
116948 Try \`$0 --help' for more information." >&5
116949 echo "$as_me: error: unrecognized option: $1
116950 Try \`$0 --help' for more information." >&2;}
116951 { (exit 1); exit 1; }; } ;;
116953 *) ac_config_targets="$ac_config_targets $1" ;;
116956 shift
116959 ac_configure_extra_args=
116961 if $ac_cs_silent; then
116962 exec 6>/dev/null
116963 ac_configure_extra_args="$ac_configure_extra_args --silent"
116966 _ACEOF
116967 cat >>$CONFIG_STATUS <<_ACEOF
116968 if \$ac_cs_recheck; then
116969 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
116970 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
116973 _ACEOF
116975 cat >>$CONFIG_STATUS <<_ACEOF
116977 # INIT-COMMANDS section.
116981 srcdir="$srcdir"
116982 host="$host"
116983 target="$target"
116984 with_multisubdir="$with_multisubdir"
116985 with_multisrctop="$with_multisrctop"
116986 with_target_subdir="$with_target_subdir"
116987 ac_configure_args="${multilib_arg} ${ac_configure_args}"
116988 multi_basedir="$multi_basedir"
116989 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
116990 CC="$CC"
116993 # The HP-UX ksh and POSIX shell print the target directory to stdout
116994 # if CDPATH is set.
116995 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
116997 sed_quote_subst='$sed_quote_subst'
116998 double_quote_subst='$double_quote_subst'
116999 delay_variable_subst='$delay_variable_subst'
117000 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
117001 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
117002 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
117003 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
117004 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
117005 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
117006 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
117007 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
117008 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
117009 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
117010 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
117011 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
117012 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
117013 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
117014 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
117015 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
117016 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
117017 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
117018 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
117019 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
117020 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
117021 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
117022 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
117023 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
117024 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
117025 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
117026 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
117027 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117028 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
117029 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
117030 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
117031 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
117032 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
117033 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
117034 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117035 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117036 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117037 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
117038 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
117039 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
117040 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
117041 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
117042 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
117043 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"`'
117044 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
117045 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
117046 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
117047 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
117048 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
117049 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
117050 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
117051 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
117052 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
117053 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
117054 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
117055 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117056 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117057 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
117058 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
117059 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
117060 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
117061 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
117062 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117063 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117064 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117065 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117066 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117067 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117068 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
117069 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
117070 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
117071 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
117072 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
117073 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
117074 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
117075 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
117076 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
117077 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
117078 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
117079 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
117080 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
117081 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
117082 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
117083 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117084 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
117085 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
117086 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117087 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
117088 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
117089 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
117090 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
117091 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
117092 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
117093 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
117094 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
117095 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
117096 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
117097 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
117098 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117099 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117100 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
117101 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
117102 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
117103 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
117104 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
117105 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
117106 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
117107 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
117108 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
117109 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
117110 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
117111 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
117112 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
117113 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
117114 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
117115 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
117116 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117117 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117118 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117119 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117120 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117121 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117122 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117123 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117124 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117125 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117126 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117127 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117128 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117129 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117130 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117131 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117132 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117133 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117134 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117135 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117136 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117137 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117138 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117139 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117140 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117141 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117142 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117143 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117144 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117145 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117146 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117147 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117148 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117149 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117150 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117151 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117152 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117153 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117154 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117155 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117156 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117157 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117158 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117159 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117160 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117161 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
117163 LTCC='$LTCC'
117164 LTCFLAGS='$LTCFLAGS'
117165 compiler='$compiler_DEFAULT'
117167 # Quote evaled strings.
117168 for var in SED \
117169 GREP \
117170 EGREP \
117171 FGREP \
117174 LN_S \
117175 lt_SP2NL \
117176 lt_NL2SP \
117177 reload_flag \
117178 deplibs_check_method \
117179 file_magic_cmd \
117181 AR_FLAGS \
117182 STRIP \
117183 RANLIB \
117185 CFLAGS \
117186 compiler \
117187 lt_cv_sys_global_symbol_pipe \
117188 lt_cv_sys_global_symbol_to_cdecl \
117189 lt_cv_sys_global_symbol_to_c_name_address \
117190 SHELL \
117191 ECHO \
117192 lt_prog_compiler_no_builtin_flag \
117193 lt_prog_compiler_wl \
117194 lt_prog_compiler_pic \
117195 lt_prog_compiler_static \
117196 lt_cv_prog_compiler_c_o \
117197 need_locks \
117198 shrext_cmds \
117199 export_dynamic_flag_spec \
117200 whole_archive_flag_spec \
117201 compiler_needs_object \
117202 with_gnu_ld \
117203 allow_undefined_flag \
117204 no_undefined_flag \
117205 hardcode_libdir_flag_spec \
117206 hardcode_libdir_flag_spec_ld \
117207 hardcode_libdir_separator \
117208 fix_srcfile_path \
117209 exclude_expsyms \
117210 include_expsyms \
117211 file_list_spec \
117212 variables_saved_for_relink \
117213 libname_spec \
117214 library_names_spec \
117215 soname_spec \
117216 finish_eval \
117217 old_striplib \
117218 striplib \
117219 predep_objects \
117220 postdep_objects \
117221 predeps \
117222 postdeps \
117223 compiler_lib_search_path \
117224 LD_CXX \
117225 compiler_CXX \
117226 lt_prog_compiler_no_builtin_flag_CXX \
117227 lt_prog_compiler_wl_CXX \
117228 lt_prog_compiler_pic_CXX \
117229 lt_prog_compiler_static_CXX \
117230 lt_cv_prog_compiler_c_o_CXX \
117231 export_dynamic_flag_spec_CXX \
117232 whole_archive_flag_spec_CXX \
117233 compiler_needs_object_CXX \
117234 with_gnu_ld_CXX \
117235 allow_undefined_flag_CXX \
117236 no_undefined_flag_CXX \
117237 hardcode_libdir_flag_spec_CXX \
117238 hardcode_libdir_flag_spec_ld_CXX \
117239 hardcode_libdir_separator_CXX \
117240 fix_srcfile_path_CXX \
117241 exclude_expsyms_CXX \
117242 include_expsyms_CXX \
117243 file_list_spec_CXX \
117244 predep_objects_CXX \
117245 postdep_objects_CXX \
117246 predeps_CXX \
117247 postdeps_CXX \
117248 compiler_lib_search_path_CXX; do
117249 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
117250 *[\\\\\\\`\\"\\\$]*)
117251 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
117254 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
117259 # Double-quote double-evaled strings.
117260 for var in reload_cmds \
117261 old_postinstall_cmds \
117262 old_postuninstall_cmds \
117263 old_archive_cmds \
117264 extract_expsyms_cmds \
117265 old_archive_from_new_cmds \
117266 old_archive_from_expsyms_cmds \
117267 archive_cmds \
117268 archive_expsym_cmds \
117269 module_cmds \
117270 module_expsym_cmds \
117271 export_symbols_cmds \
117272 prelink_cmds \
117273 postinstall_cmds \
117274 postuninstall_cmds \
117275 finish_cmds \
117276 sys_lib_search_path_spec \
117277 sys_lib_dlsearch_path_spec \
117278 old_archive_cmds_CXX \
117279 old_archive_from_new_cmds_CXX \
117280 old_archive_from_expsyms_cmds_CXX \
117281 archive_cmds_CXX \
117282 archive_expsym_cmds_CXX \
117283 module_cmds_CXX \
117284 module_expsym_cmds_CXX \
117285 export_symbols_cmds_CXX \
117286 prelink_cmds_CXX; do
117287 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
117288 *[\\\\\\\`\\"\\\$]*)
117289 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
117292 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
117297 # Fix-up fallback echo if it was mangled by the above quoting rules.
117298 case \$lt_ECHO in
117299 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
117303 ac_aux_dir='$ac_aux_dir'
117304 xsi_shell='$xsi_shell'
117305 lt_shell_append='$lt_shell_append'
117307 # See if we are running on zsh, and set the options which allow our
117308 # commands through without removal of \ escapes INIT.
117309 if test -n "\${ZSH_VERSION+set}" ; then
117310 setopt NO_GLOB_SUBST
117314 PACKAGE='$PACKAGE'
117315 VERSION='$VERSION'
117316 TIMESTAMP='$TIMESTAMP'
117317 RM='$RM'
117318 ofile='$ofile'
117325 # Variables needed in config.status (file generation) which aren't already
117326 # passed by autoconf.
117327 SUBDIRS="$SUBDIRS"
117330 _ACEOF
117334 cat >>$CONFIG_STATUS <<\_ACEOF
117335 for ac_config_target in $ac_config_targets
117337 case "$ac_config_target" in
117338 # Handling of arguments.
117339 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
117340 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
117341 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
117342 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
117343 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
117344 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
117345 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
117346 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
117347 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
117348 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
117349 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
117350 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
117351 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
117352 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
117353 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
117354 { (exit 1); exit 1; }; };;
117358 # If the user did not use the arguments to specify the items to instantiate,
117359 # then the envvar interface is used. Set only those that are not.
117360 # We use the long form for the default assignment because of an extremely
117361 # bizarre bug on SunOS 4.1.3.
117362 if $ac_need_defaults; then
117363 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
117364 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
117365 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
117368 # Have a temporary directory for convenience. Make it in the build tree
117369 # simply because there is no reason to put it here, and in addition,
117370 # creating and moving files from /tmp can sometimes cause problems.
117371 # Create a temporary directory, and hook for its removal unless debugging.
117372 $debug ||
117374 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
117375 trap '{ (exit 1); exit 1; }' 1 2 13 15
117378 # Create a (secure) tmp directory for tmp files.
117381 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
117382 test -n "$tmp" && test -d "$tmp"
117385 tmp=./confstat$$-$RANDOM
117386 (umask 077 && mkdir $tmp)
117389 echo "$me: cannot create a temporary directory in ." >&2
117390 { (exit 1); exit 1; }
117393 _ACEOF
117395 cat >>$CONFIG_STATUS <<_ACEOF
117398 # CONFIG_FILES section.
117401 # No need to generate the scripts if there are no CONFIG_FILES.
117402 # This happens for instance when ./config.status config.h
117403 if test -n "\$CONFIG_FILES"; then
117404 # Protect against being on the right side of a sed subst in config.status.
117405 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
117406 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
117407 s,@SHELL@,$SHELL,;t t
117408 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
117409 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
117410 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
117411 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
117412 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
117413 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
117414 s,@exec_prefix@,$exec_prefix,;t t
117415 s,@prefix@,$prefix,;t t
117416 s,@program_transform_name@,$program_transform_name,;t t
117417 s,@bindir@,$bindir,;t t
117418 s,@sbindir@,$sbindir,;t t
117419 s,@libexecdir@,$libexecdir,;t t
117420 s,@datadir@,$datadir,;t t
117421 s,@sysconfdir@,$sysconfdir,;t t
117422 s,@sharedstatedir@,$sharedstatedir,;t t
117423 s,@localstatedir@,$localstatedir,;t t
117424 s,@libdir@,$libdir,;t t
117425 s,@includedir@,$includedir,;t t
117426 s,@oldincludedir@,$oldincludedir,;t t
117427 s,@infodir@,$infodir,;t t
117428 s,@mandir@,$mandir,;t t
117429 s,@build_alias@,$build_alias,;t t
117430 s,@host_alias@,$host_alias,;t t
117431 s,@target_alias@,$target_alias,;t t
117432 s,@DEFS@,$DEFS,;t t
117433 s,@ECHO_C@,$ECHO_C,;t t
117434 s,@ECHO_N@,$ECHO_N,;t t
117435 s,@ECHO_T@,$ECHO_T,;t t
117436 s,@LIBS@,$LIBS,;t t
117437 s,@libtool_VERSION@,$libtool_VERSION,;t t
117438 s,@multi_basedir@,$multi_basedir,;t t
117439 s,@build@,$build,;t t
117440 s,@build_cpu@,$build_cpu,;t t
117441 s,@build_vendor@,$build_vendor,;t t
117442 s,@build_os@,$build_os,;t t
117443 s,@host@,$host,;t t
117444 s,@host_cpu@,$host_cpu,;t t
117445 s,@host_vendor@,$host_vendor,;t t
117446 s,@host_os@,$host_os,;t t
117447 s,@target@,$target,;t t
117448 s,@target_cpu@,$target_cpu,;t t
117449 s,@target_vendor@,$target_vendor,;t t
117450 s,@target_os@,$target_os,;t t
117451 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
117452 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
117453 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
117454 s,@CYGPATH_W@,$CYGPATH_W,;t t
117455 s,@PACKAGE@,$PACKAGE,;t t
117456 s,@VERSION@,$VERSION,;t t
117457 s,@ACLOCAL@,$ACLOCAL,;t t
117458 s,@AUTOCONF@,$AUTOCONF,;t t
117459 s,@AUTOMAKE@,$AUTOMAKE,;t t
117460 s,@AUTOHEADER@,$AUTOHEADER,;t t
117461 s,@MAKEINFO@,$MAKEINFO,;t t
117462 s,@install_sh@,$install_sh,;t t
117463 s,@STRIP@,$STRIP,;t t
117464 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
117465 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
117466 s,@mkdir_p@,$mkdir_p,;t t
117467 s,@AWK@,$AWK,;t t
117468 s,@SET_MAKE@,$SET_MAKE,;t t
117469 s,@am__leading_dot@,$am__leading_dot,;t t
117470 s,@AMTAR@,$AMTAR,;t t
117471 s,@am__tar@,$am__tar,;t t
117472 s,@am__untar@,$am__untar,;t t
117473 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
117474 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
117475 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
117476 s,@CC@,$CC,;t t
117477 s,@ac_ct_CC@,$ac_ct_CC,;t t
117478 s,@EXEEXT@,$EXEEXT,;t t
117479 s,@OBJEXT@,$OBJEXT,;t t
117480 s,@CXX@,$CXX,;t t
117481 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
117482 s,@CFLAGS@,$CFLAGS,;t t
117483 s,@CXXFLAGS@,$CXXFLAGS,;t t
117484 s,@LN_S@,$LN_S,;t t
117485 s,@AS@,$AS,;t t
117486 s,@ac_ct_AS@,$ac_ct_AS,;t t
117487 s,@AR@,$AR,;t t
117488 s,@ac_ct_AR@,$ac_ct_AR,;t t
117489 s,@RANLIB@,$RANLIB,;t t
117490 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
117491 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
117492 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
117493 s,@MAINT@,$MAINT,;t t
117494 s,@CPP@,$CPP,;t t
117495 s,@CPPFLAGS@,$CPPFLAGS,;t t
117496 s,@EGREP@,$EGREP,;t t
117497 s,@LIBTOOL@,$LIBTOOL,;t t
117498 s,@SED@,$SED,;t t
117499 s,@FGREP@,$FGREP,;t t
117500 s,@GREP@,$GREP,;t t
117501 s,@LD@,$LD,;t t
117502 s,@DUMPBIN@,$DUMPBIN,;t t
117503 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
117504 s,@NM@,$NM,;t t
117505 s,@lt_ECHO@,$lt_ECHO,;t t
117506 s,@LDFLAGS@,$LDFLAGS,;t t
117507 s,@CXXCPP@,$CXXCPP,;t t
117508 s,@enable_shared@,$enable_shared,;t t
117509 s,@enable_static@,$enable_static,;t t
117510 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
117511 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
117512 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
117513 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
117514 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
117515 s,@CSTDIO_H@,$CSTDIO_H,;t t
117516 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
117517 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
117518 s,@check_msgfmt@,$check_msgfmt,;t t
117519 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
117520 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
117521 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
117522 s,@USE_NLS@,$USE_NLS,;t t
117523 s,@CLOCALE_H@,$CLOCALE_H,;t t
117524 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
117525 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
117526 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
117527 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
117528 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
117529 s,@CMONEY_CC@,$CMONEY_CC,;t t
117530 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
117531 s,@CTIME_H@,$CTIME_H,;t t
117532 s,@CTIME_CC@,$CTIME_CC,;t t
117533 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
117534 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
117535 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
117536 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
117537 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
117538 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
117539 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
117540 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
117541 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
117542 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
117543 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
117544 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
117545 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
117546 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
117547 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
117548 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
117549 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
117550 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
117551 s,@ENABLE_PARALLEL_TRUE@,$ENABLE_PARALLEL_TRUE,;t t
117552 s,@ENABLE_PARALLEL_FALSE@,$ENABLE_PARALLEL_FALSE,;t t
117553 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
117554 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
117555 s,@WERROR@,$WERROR,;t t
117556 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
117557 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
117558 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
117559 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
117560 s,@LIBICONV@,$LIBICONV,;t t
117561 s,@LTLIBICONV@,$LTLIBICONV,;t t
117562 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
117563 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
117564 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
117565 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
117566 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
117567 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
117568 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
117569 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
117570 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
117571 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
117572 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
117573 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
117574 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
117575 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
117576 s,@baseline_dir@,$baseline_dir,;t t
117577 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
117578 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
117579 s,@ATOMIC_FLAGS@,$ATOMIC_FLAGS,;t t
117580 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
117581 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
117582 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
117583 s,@ERROR_CONSTANTS_SRCDIR@,$ERROR_CONSTANTS_SRCDIR,;t t
117584 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
117585 s,@gxx_include_dir@,$gxx_include_dir,;t t
117586 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
117587 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
117588 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
117589 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
117590 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
117591 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
117592 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
117593 s,@LIBOBJS@,$LIBOBJS,;t t
117594 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
117597 _ACEOF
117599 cat >>$CONFIG_STATUS <<\_ACEOF
117600 # Split the substitutions into bite-sized pieces for seds with
117601 # small command number limits, like on Digital OSF/1 and HP-UX.
117602 ac_max_sed_lines=48
117603 ac_sed_frag=1 # Number of current file.
117604 ac_beg=1 # First line for current file.
117605 ac_end=$ac_max_sed_lines # Line after last line for current file.
117606 ac_more_lines=:
117607 ac_sed_cmds=
117608 while $ac_more_lines; do
117609 if test $ac_beg -gt 1; then
117610 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
117612 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
117614 if test ! -s $tmp/subs.frag; then
117615 ac_more_lines=false
117617 # The purpose of the label and of the branching condition is to
117618 # speed up the sed processing (if there are no `@' at all, there
117619 # is no need to browse any of the substitutions).
117620 # These are the two extra sed commands mentioned above.
117621 (echo ':t
117622 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
117623 if test -z "$ac_sed_cmds"; then
117624 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
117626 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
117628 ac_sed_frag=`expr $ac_sed_frag + 1`
117629 ac_beg=$ac_end
117630 ac_end=`expr $ac_end + $ac_max_sed_lines`
117633 if test -z "$ac_sed_cmds"; then
117634 ac_sed_cmds=cat
117636 fi # test -n "$CONFIG_FILES"
117638 _ACEOF
117639 cat >>$CONFIG_STATUS <<\_ACEOF
117640 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
117641 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
117642 case $ac_file in
117643 - | *:- | *:-:* ) # input from stdin
117644 cat >$tmp/stdin
117645 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
117646 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
117647 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
117648 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
117649 * ) ac_file_in=$ac_file.in ;;
117652 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
117653 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
117654 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
117655 X"$ac_file" : 'X\(//\)[^/]' \| \
117656 X"$ac_file" : 'X\(//\)$' \| \
117657 X"$ac_file" : 'X\(/\)' \| \
117658 . : '\(.\)' 2>/dev/null ||
117659 echo X"$ac_file" |
117660 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
117661 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
117662 /^X\(\/\/\)$/{ s//\1/; q; }
117663 /^X\(\/\).*/{ s//\1/; q; }
117664 s/.*/./; q'`
117665 { if $as_mkdir_p; then
117666 mkdir -p "$ac_dir"
117668 as_dir="$ac_dir"
117669 as_dirs=
117670 while test ! -d "$as_dir"; do
117671 as_dirs="$as_dir $as_dirs"
117672 as_dir=`(dirname "$as_dir") 2>/dev/null ||
117673 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
117674 X"$as_dir" : 'X\(//\)[^/]' \| \
117675 X"$as_dir" : 'X\(//\)$' \| \
117676 X"$as_dir" : 'X\(/\)' \| \
117677 . : '\(.\)' 2>/dev/null ||
117678 echo X"$as_dir" |
117679 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
117680 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
117681 /^X\(\/\/\)$/{ s//\1/; q; }
117682 /^X\(\/\).*/{ s//\1/; q; }
117683 s/.*/./; q'`
117685 test ! -n "$as_dirs" || mkdir $as_dirs
117686 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
117687 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
117688 { (exit 1); exit 1; }; }; }
117690 ac_builddir=.
117692 if test "$ac_dir" != .; then
117693 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
117694 # A "../" for each directory in $ac_dir_suffix.
117695 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
117697 ac_dir_suffix= ac_top_builddir=
117700 case $srcdir in
117701 .) # No --srcdir option. We are building in place.
117702 ac_srcdir=.
117703 if test -z "$ac_top_builddir"; then
117704 ac_top_srcdir=.
117706 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
117707 fi ;;
117708 [\\/]* | ?:[\\/]* ) # Absolute path.
117709 ac_srcdir=$srcdir$ac_dir_suffix;
117710 ac_top_srcdir=$srcdir ;;
117711 *) # Relative path.
117712 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
117713 ac_top_srcdir=$ac_top_builddir$srcdir ;;
117716 # Do not use `cd foo && pwd` to compute absolute paths, because
117717 # the directories may not exist.
117718 case `pwd` in
117719 .) ac_abs_builddir="$ac_dir";;
117721 case "$ac_dir" in
117722 .) ac_abs_builddir=`pwd`;;
117723 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
117724 *) ac_abs_builddir=`pwd`/"$ac_dir";;
117725 esac;;
117727 case $ac_abs_builddir in
117728 .) ac_abs_top_builddir=${ac_top_builddir}.;;
117730 case ${ac_top_builddir}. in
117731 .) ac_abs_top_builddir=$ac_abs_builddir;;
117732 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
117733 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
117734 esac;;
117736 case $ac_abs_builddir in
117737 .) ac_abs_srcdir=$ac_srcdir;;
117739 case $ac_srcdir in
117740 .) ac_abs_srcdir=$ac_abs_builddir;;
117741 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
117742 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
117743 esac;;
117745 case $ac_abs_builddir in
117746 .) ac_abs_top_srcdir=$ac_top_srcdir;;
117748 case $ac_top_srcdir in
117749 .) ac_abs_top_srcdir=$ac_abs_builddir;;
117750 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
117751 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
117752 esac;;
117756 case $INSTALL in
117757 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
117758 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
117761 if test x"$ac_file" != x-; then
117762 { echo "$as_me:$LINENO: creating $ac_file" >&5
117763 echo "$as_me: creating $ac_file" >&6;}
117764 rm -f "$ac_file"
117766 # Let's still pretend it is `configure' which instantiates (i.e., don't
117767 # use $as_me), people would be surprised to read:
117768 # /* config.h. Generated by config.status. */
117769 if test x"$ac_file" = x-; then
117770 configure_input=
117772 configure_input="$ac_file. "
117774 configure_input=$configure_input"Generated from `echo $ac_file_in |
117775 sed 's,.*/,,'` by configure."
117777 # First look for the input files in the build tree, otherwise in the
117778 # src tree.
117779 ac_file_inputs=`IFS=:
117780 for f in $ac_file_in; do
117781 case $f in
117782 -) echo $tmp/stdin ;;
117783 [\\/$]*)
117784 # Absolute (can't be DOS-style, as IFS=:)
117785 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
117786 echo "$as_me: error: cannot find input file: $f" >&2;}
117787 { (exit 1); exit 1; }; }
117788 echo "$f";;
117789 *) # Relative
117790 if test -f "$f"; then
117791 # Build tree
117792 echo "$f"
117793 elif test -f "$srcdir/$f"; then
117794 # Source tree
117795 echo "$srcdir/$f"
117797 # /dev/null tree
117798 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
117799 echo "$as_me: error: cannot find input file: $f" >&2;}
117800 { (exit 1); exit 1; }; }
117803 done` || { (exit 1); exit 1; }
117804 _ACEOF
117805 cat >>$CONFIG_STATUS <<_ACEOF
117806 sed "$ac_vpsub
117807 $extrasub
117808 _ACEOF
117809 cat >>$CONFIG_STATUS <<\_ACEOF
117811 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
117812 s,@configure_input@,$configure_input,;t t
117813 s,@srcdir@,$ac_srcdir,;t t
117814 s,@abs_srcdir@,$ac_abs_srcdir,;t t
117815 s,@top_srcdir@,$ac_top_srcdir,;t t
117816 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
117817 s,@builddir@,$ac_builddir,;t t
117818 s,@abs_builddir@,$ac_abs_builddir,;t t
117819 s,@top_builddir@,$ac_top_builddir,;t t
117820 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
117821 s,@INSTALL@,$ac_INSTALL,;t t
117822 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
117823 rm -f $tmp/stdin
117824 if test x"$ac_file" != x-; then
117825 mv $tmp/out $ac_file
117827 cat $tmp/out
117828 rm -f $tmp/out
117831 # Run the commands associated with the file.
117832 case $ac_file in
117833 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
117836 _ACEOF
117837 cat >>$CONFIG_STATUS <<\_ACEOF
117840 # CONFIG_HEADER section.
117843 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
117844 # NAME is the cpp macro being defined and VALUE is the value it is being given.
117846 # ac_d sets the value in "#define NAME VALUE" lines.
117847 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
117848 ac_dB='[ ].*$,\1#\2'
117849 ac_dC=' '
117850 ac_dD=',;t'
117851 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
117852 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
117853 ac_uB='$,\1#\2define\3'
117854 ac_uC=' '
117855 ac_uD=',;t'
117857 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
117858 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
117859 case $ac_file in
117860 - | *:- | *:-:* ) # input from stdin
117861 cat >$tmp/stdin
117862 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
117863 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
117864 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
117865 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
117866 * ) ac_file_in=$ac_file.in ;;
117869 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
117870 echo "$as_me: creating $ac_file" >&6;}
117872 # First look for the input files in the build tree, otherwise in the
117873 # src tree.
117874 ac_file_inputs=`IFS=:
117875 for f in $ac_file_in; do
117876 case $f in
117877 -) echo $tmp/stdin ;;
117878 [\\/$]*)
117879 # Absolute (can't be DOS-style, as IFS=:)
117880 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
117881 echo "$as_me: error: cannot find input file: $f" >&2;}
117882 { (exit 1); exit 1; }; }
117883 # Do quote $f, to prevent DOS paths from being IFS'd.
117884 echo "$f";;
117885 *) # Relative
117886 if test -f "$f"; then
117887 # Build tree
117888 echo "$f"
117889 elif test -f "$srcdir/$f"; then
117890 # Source tree
117891 echo "$srcdir/$f"
117893 # /dev/null tree
117894 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
117895 echo "$as_me: error: cannot find input file: $f" >&2;}
117896 { (exit 1); exit 1; }; }
117899 done` || { (exit 1); exit 1; }
117900 # Remove the trailing spaces.
117901 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
117903 _ACEOF
117905 # Transform confdefs.h into two sed scripts, `conftest.defines' and
117906 # `conftest.undefs', that substitutes the proper values into
117907 # config.h.in to produce config.h. The first handles `#define'
117908 # templates, and the second `#undef' templates.
117909 # And first: Protect against being on the right side of a sed subst in
117910 # config.status. Protect against being in an unquoted here document
117911 # in config.status.
117912 rm -f conftest.defines conftest.undefs
117913 # Using a here document instead of a string reduces the quoting nightmare.
117914 # Putting comments in sed scripts is not portable.
117916 # `end' is used to avoid that the second main sed command (meant for
117917 # 0-ary CPP macros) applies to n-ary macro definitions.
117918 # See the Autoconf documentation for `clear'.
117919 cat >confdef2sed.sed <<\_ACEOF
117920 s/[\\&,]/\\&/g
117921 s,[\\$`],\\&,g
117922 t clear
117923 : clear
117924 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
117925 t end
117926 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
117927 : end
117928 _ACEOF
117929 # If some macros were called several times there might be several times
117930 # the same #defines, which is useless. Nevertheless, we may not want to
117931 # sort them, since we want the *last* AC-DEFINE to be honored.
117932 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
117933 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
117934 rm -f confdef2sed.sed
117936 # This sed command replaces #undef with comments. This is necessary, for
117937 # example, in the case of _POSIX_SOURCE, which is predefined and required
117938 # on some systems where configure will not decide to define it.
117939 cat >>conftest.undefs <<\_ACEOF
117940 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
117941 _ACEOF
117943 # Break up conftest.defines because some shells have a limit on the size
117944 # of here documents, and old seds have small limits too (100 cmds).
117945 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
117946 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
117947 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
117948 echo ' :' >>$CONFIG_STATUS
117949 rm -f conftest.tail
117950 while grep . conftest.defines >/dev/null
117952 # Write a limited-size here document to $tmp/defines.sed.
117953 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
117954 # Speed up: don't consider the non `#define' lines.
117955 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
117956 # Work around the forget-to-reset-the-flag bug.
117957 echo 't clr' >>$CONFIG_STATUS
117958 echo ': clr' >>$CONFIG_STATUS
117959 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
117960 echo 'CEOF
117961 sed -f $tmp/defines.sed $tmp/in >$tmp/out
117962 rm -f $tmp/in
117963 mv $tmp/out $tmp/in
117964 ' >>$CONFIG_STATUS
117965 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
117966 rm -f conftest.defines
117967 mv conftest.tail conftest.defines
117969 rm -f conftest.defines
117970 echo ' fi # grep' >>$CONFIG_STATUS
117971 echo >>$CONFIG_STATUS
117973 # Break up conftest.undefs because some shells have a limit on the size
117974 # of here documents, and old seds have small limits too (100 cmds).
117975 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
117976 rm -f conftest.tail
117977 while grep . conftest.undefs >/dev/null
117979 # Write a limited-size here document to $tmp/undefs.sed.
117980 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
117981 # Speed up: don't consider the non `#undef'
117982 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
117983 # Work around the forget-to-reset-the-flag bug.
117984 echo 't clr' >>$CONFIG_STATUS
117985 echo ': clr' >>$CONFIG_STATUS
117986 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
117987 echo 'CEOF
117988 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
117989 rm -f $tmp/in
117990 mv $tmp/out $tmp/in
117991 ' >>$CONFIG_STATUS
117992 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
117993 rm -f conftest.undefs
117994 mv conftest.tail conftest.undefs
117996 rm -f conftest.undefs
117998 cat >>$CONFIG_STATUS <<\_ACEOF
117999 # Let's still pretend it is `configure' which instantiates (i.e., don't
118000 # use $as_me), people would be surprised to read:
118001 # /* config.h. Generated by config.status. */
118002 if test x"$ac_file" = x-; then
118003 echo "/* Generated by configure. */" >$tmp/config.h
118005 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
118007 cat $tmp/in >>$tmp/config.h
118008 rm -f $tmp/in
118009 if test x"$ac_file" != x-; then
118010 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
118011 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
118012 echo "$as_me: $ac_file is unchanged" >&6;}
118014 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
118015 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
118016 X"$ac_file" : 'X\(//\)[^/]' \| \
118017 X"$ac_file" : 'X\(//\)$' \| \
118018 X"$ac_file" : 'X\(/\)' \| \
118019 . : '\(.\)' 2>/dev/null ||
118020 echo X"$ac_file" |
118021 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
118022 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
118023 /^X\(\/\/\)$/{ s//\1/; q; }
118024 /^X\(\/\).*/{ s//\1/; q; }
118025 s/.*/./; q'`
118026 { if $as_mkdir_p; then
118027 mkdir -p "$ac_dir"
118029 as_dir="$ac_dir"
118030 as_dirs=
118031 while test ! -d "$as_dir"; do
118032 as_dirs="$as_dir $as_dirs"
118033 as_dir=`(dirname "$as_dir") 2>/dev/null ||
118034 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
118035 X"$as_dir" : 'X\(//\)[^/]' \| \
118036 X"$as_dir" : 'X\(//\)$' \| \
118037 X"$as_dir" : 'X\(/\)' \| \
118038 . : '\(.\)' 2>/dev/null ||
118039 echo X"$as_dir" |
118040 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
118041 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
118042 /^X\(\/\/\)$/{ s//\1/; q; }
118043 /^X\(\/\).*/{ s//\1/; q; }
118044 s/.*/./; q'`
118046 test ! -n "$as_dirs" || mkdir $as_dirs
118047 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
118048 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
118049 { (exit 1); exit 1; }; }; }
118051 rm -f $ac_file
118052 mv $tmp/config.h $ac_file
118055 cat $tmp/config.h
118056 rm -f $tmp/config.h
118058 # Compute $ac_file's index in $config_headers.
118059 _am_stamp_count=1
118060 for _am_header in $config_headers :; do
118061 case $_am_header in
118062 $ac_file | $ac_file:* )
118063 break ;;
118065 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
118068 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
118069 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
118070 X$ac_file : 'X\(//\)[^/]' \| \
118071 X$ac_file : 'X\(//\)$' \| \
118072 X$ac_file : 'X\(/\)' \| \
118073 . : '\(.\)' 2>/dev/null ||
118074 echo X$ac_file |
118075 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
118076 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
118077 /^X\(\/\/\)$/{ s//\1/; q; }
118078 /^X\(\/\).*/{ s//\1/; q; }
118079 s/.*/./; q'`/stamp-h$_am_stamp_count
118081 _ACEOF
118082 cat >>$CONFIG_STATUS <<\_ACEOF
118085 # CONFIG_COMMANDS section.
118087 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
118088 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
118089 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
118090 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
118091 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
118092 X"$ac_dest" : 'X\(//\)[^/]' \| \
118093 X"$ac_dest" : 'X\(//\)$' \| \
118094 X"$ac_dest" : 'X\(/\)' \| \
118095 . : '\(.\)' 2>/dev/null ||
118096 echo X"$ac_dest" |
118097 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
118098 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
118099 /^X\(\/\/\)$/{ s//\1/; q; }
118100 /^X\(\/\).*/{ s//\1/; q; }
118101 s/.*/./; q'`
118102 { if $as_mkdir_p; then
118103 mkdir -p "$ac_dir"
118105 as_dir="$ac_dir"
118106 as_dirs=
118107 while test ! -d "$as_dir"; do
118108 as_dirs="$as_dir $as_dirs"
118109 as_dir=`(dirname "$as_dir") 2>/dev/null ||
118110 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
118111 X"$as_dir" : 'X\(//\)[^/]' \| \
118112 X"$as_dir" : 'X\(//\)$' \| \
118113 X"$as_dir" : 'X\(/\)' \| \
118114 . : '\(.\)' 2>/dev/null ||
118115 echo X"$as_dir" |
118116 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
118117 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
118118 /^X\(\/\/\)$/{ s//\1/; q; }
118119 /^X\(\/\).*/{ s//\1/; q; }
118120 s/.*/./; q'`
118122 test ! -n "$as_dirs" || mkdir $as_dirs
118123 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
118124 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
118125 { (exit 1); exit 1; }; }; }
118127 ac_builddir=.
118129 if test "$ac_dir" != .; then
118130 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
118131 # A "../" for each directory in $ac_dir_suffix.
118132 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
118134 ac_dir_suffix= ac_top_builddir=
118137 case $srcdir in
118138 .) # No --srcdir option. We are building in place.
118139 ac_srcdir=.
118140 if test -z "$ac_top_builddir"; then
118141 ac_top_srcdir=.
118143 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
118144 fi ;;
118145 [\\/]* | ?:[\\/]* ) # Absolute path.
118146 ac_srcdir=$srcdir$ac_dir_suffix;
118147 ac_top_srcdir=$srcdir ;;
118148 *) # Relative path.
118149 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
118150 ac_top_srcdir=$ac_top_builddir$srcdir ;;
118153 # Do not use `cd foo && pwd` to compute absolute paths, because
118154 # the directories may not exist.
118155 case `pwd` in
118156 .) ac_abs_builddir="$ac_dir";;
118158 case "$ac_dir" in
118159 .) ac_abs_builddir=`pwd`;;
118160 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
118161 *) ac_abs_builddir=`pwd`/"$ac_dir";;
118162 esac;;
118164 case $ac_abs_builddir in
118165 .) ac_abs_top_builddir=${ac_top_builddir}.;;
118167 case ${ac_top_builddir}. in
118168 .) ac_abs_top_builddir=$ac_abs_builddir;;
118169 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
118170 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
118171 esac;;
118173 case $ac_abs_builddir in
118174 .) ac_abs_srcdir=$ac_srcdir;;
118176 case $ac_srcdir in
118177 .) ac_abs_srcdir=$ac_abs_builddir;;
118178 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
118179 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
118180 esac;;
118182 case $ac_abs_builddir in
118183 .) ac_abs_top_srcdir=$ac_top_srcdir;;
118185 case $ac_top_srcdir in
118186 .) ac_abs_top_srcdir=$ac_abs_builddir;;
118187 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
118188 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
118189 esac;;
118193 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
118194 echo "$as_me: executing $ac_dest commands" >&6;}
118195 case $ac_dest in
118196 default-1 )
118197 # Only add multilib support code if we just rebuilt the top-level
118198 # Makefile.
118199 case " $CONFIG_FILES " in
118200 *" Makefile "*)
118201 ac_file=Makefile . ${multi_basedir}/config-ml.in
118203 esac ;;
118204 libtool )
118206 # See if we are running on zsh, and set the options which allow our
118207 # commands through without removal of \ escapes.
118208 if test -n "${ZSH_VERSION+set}" ; then
118209 setopt NO_GLOB_SUBST
118212 cfgfile="${ofile}T"
118213 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
118214 $RM "$cfgfile"
118216 cat <<_LT_EOF >> "$cfgfile"
118217 #! $SHELL
118219 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
118220 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
118221 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
118222 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
118224 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
118225 # 2006, 2007 Free Software Foundation, Inc.
118227 # This file is part of GNU Libtool:
118228 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
118230 # This program is free software; you can redistribute it and/or modify
118231 # it under the terms of the GNU General Public License as published by
118232 # the Free Software Foundation; either version 2 of the License, or
118233 # (at your option) any later version.
118235 # This program is distributed in the hope that it will be useful, but
118236 # WITHOUT ANY WARRANTY; without even the implied warranty of
118237 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
118238 # General Public License for more details.
118240 # You should have received a copy of the GNU General Public License
118241 # along with this program; if not, a copy can be downloaded from
118242 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
118243 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
118244 # MA 02110-1301, USA.
118246 # As a special exception to the GNU General Public License, if you
118247 # distribute this file as part of a program that contains a
118248 # configuration script generated by Autoconf, you may include it under
118249 # the same distribution terms that you use for the rest of that program.
118252 # The names of the tagged configurations supported by this script.
118253 available_tags="CXX "
118255 # ### BEGIN LIBTOOL CONFIG
118257 # Which release of libtool.m4 was used?
118258 macro_version=$macro_version
118259 macro_revision=$macro_revision
118261 # Whether or not to build shared libraries.
118262 build_libtool_libs=$enable_shared
118264 # Whether or not to build static libraries.
118265 build_old_libs=$enable_static
118267 # What type of objects to build.
118268 pic_mode=$pic_mode
118270 # Whether or not to optimize for fast installation.
118271 fast_install=$enable_fast_install
118273 # The host system.
118274 host_alias=$host_alias
118275 host=$host
118276 host_os=$host_os
118278 # The build system.
118279 build_alias=$build_alias
118280 build=$build
118281 build_os=$build_os
118283 # A sed program that does not truncate output.
118284 SED=$lt_SED
118286 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
118287 Xsed="\$SED -e 1s/^X//"
118289 # A grep program that handles long lines.
118290 GREP=$lt_GREP
118292 # An ERE matcher.
118293 EGREP=$lt_EGREP
118295 # A literal string matcher.
118296 FGREP=$lt_FGREP
118298 # A BSD- or MS-compatible name lister.
118299 NM=$lt_NM
118301 # Whether we need soft or hard links.
118302 LN_S=$lt_LN_S
118304 # What is the maximum length of a command?
118305 max_cmd_len=$max_cmd_len
118307 # Object file suffix (normally "o").
118308 objext=$ac_objext
118310 # Executable file suffix (normally "").
118311 exeext=$exeext
118313 # whether the shell understands "unset".
118314 lt_unset=$lt_unset
118316 # turn spaces into newlines.
118317 SP2NL=$lt_lt_SP2NL
118319 # turn newlines into spaces.
118320 NL2SP=$lt_lt_NL2SP
118322 # How to create reloadable object files.
118323 reload_flag=$lt_reload_flag
118324 reload_cmds=$lt_reload_cmds
118326 # Method to check whether dependent libraries are shared objects.
118327 deplibs_check_method=$lt_deplibs_check_method
118329 # Command to use when deplibs_check_method == "file_magic".
118330 file_magic_cmd=$lt_file_magic_cmd
118332 # The archiver.
118333 AR=$lt_AR
118334 AR_FLAGS=$lt_AR_FLAGS
118336 # A symbol stripping program.
118337 STRIP=$lt_STRIP
118339 # Commands used to install an old-style archive.
118340 RANLIB=$lt_RANLIB
118341 old_postinstall_cmds=$lt_old_postinstall_cmds
118342 old_postuninstall_cmds=$lt_old_postuninstall_cmds
118344 # A C compiler.
118345 LTCC=$lt_CC
118347 # LTCC compiler flags.
118348 LTCFLAGS=$lt_CFLAGS
118350 # Take the output of nm and produce a listing of raw symbols and C names.
118351 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
118353 # Transform the output of nm in a proper C declaration.
118354 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
118356 # Transform the output of nm in a C name address pair.
118357 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
118359 # The name of the directory that contains temporary libtool files.
118360 objdir=$objdir
118362 # Shell to use when invoking shell scripts.
118363 SHELL=$lt_SHELL
118365 # An echo program that does not interpret backslashes.
118366 ECHO=$lt_ECHO
118368 # Used to examine libraries when file_magic_cmd begins with "file".
118369 MAGIC_CMD=$MAGIC_CMD
118371 # Must we lock files when doing compilation?
118372 need_locks=$lt_need_locks
118374 # Old archive suffix (normally "a").
118375 libext=$libext
118377 # Shared library suffix (normally ".so").
118378 shrext_cmds=$lt_shrext_cmds
118380 # The commands to extract the exported symbol list from a shared archive.
118381 extract_expsyms_cmds=$lt_extract_expsyms_cmds
118383 # Variables whose values should be saved in libtool wrapper scripts and
118384 # restored at link time.
118385 variables_saved_for_relink=$lt_variables_saved_for_relink
118387 # Do we need the "lib" prefix for modules?
118388 need_lib_prefix=$need_lib_prefix
118390 # Do we need a version for libraries?
118391 need_version=$need_version
118393 # Library versioning type.
118394 version_type=$version_type
118396 # Shared library runtime path variable.
118397 runpath_var=$runpath_var
118399 # Shared library path variable.
118400 shlibpath_var=$shlibpath_var
118402 # Is shlibpath searched before the hard-coded library search path?
118403 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
118405 # Format of library name prefix.
118406 libname_spec=$lt_libname_spec
118408 # List of archive names. First name is the real one, the rest are links.
118409 # The last name is the one that the linker finds with -lNAME
118410 library_names_spec=$lt_library_names_spec
118412 # The coded name of the library, if different from the real name.
118413 soname_spec=$lt_soname_spec
118415 # Command to use after installation of a shared archive.
118416 postinstall_cmds=$lt_postinstall_cmds
118418 # Command to use after uninstallation of a shared archive.
118419 postuninstall_cmds=$lt_postuninstall_cmds
118421 # Commands used to finish a libtool library installation in a directory.
118422 finish_cmds=$lt_finish_cmds
118424 # As "finish_cmds", except a single script fragment to be evaled but
118425 # not shown.
118426 finish_eval=$lt_finish_eval
118428 # Whether we should hardcode library paths into libraries.
118429 hardcode_into_libs=$hardcode_into_libs
118431 # Compile-time system search path for libraries.
118432 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
118434 # Run-time system search path for libraries.
118435 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
118437 # Whether dlopen is supported.
118438 dlopen_support=$enable_dlopen
118440 # Whether dlopen of programs is supported.
118441 dlopen_self=$enable_dlopen_self
118443 # Whether dlopen of statically linked programs is supported.
118444 dlopen_self_static=$enable_dlopen_self_static
118446 # Commands to strip libraries.
118447 old_striplib=$lt_old_striplib
118448 striplib=$lt_striplib
118451 # The linker used to build libraries.
118452 LD=$lt_LD
118454 # Commands used to build an old-style archive.
118455 old_archive_cmds=$lt_old_archive_cmds
118457 # A language specific compiler.
118458 CC=$lt_compiler
118460 # Is the compiler the GNU compiler?
118461 with_gcc=$GCC
118463 # Compiler flag to turn off builtin functions.
118464 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
118466 # How to pass a linker flag through the compiler.
118467 wl=$lt_lt_prog_compiler_wl
118469 # Additional compiler flags for building library objects.
118470 pic_flag=$lt_lt_prog_compiler_pic
118472 # Compiler flag to prevent dynamic linking.
118473 link_static_flag=$lt_lt_prog_compiler_static
118475 # Does compiler simultaneously support -c and -o options?
118476 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
118478 # Whether or not to add -lc for building shared libraries.
118479 build_libtool_need_lc=$archive_cmds_need_lc
118481 # Whether or not to disallow shared libs when runtime libs are static.
118482 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
118484 # Compiler flag to allow reflexive dlopens.
118485 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
118487 # Compiler flag to generate shared objects directly from archives.
118488 whole_archive_flag_spec=$lt_whole_archive_flag_spec
118490 # Whether the compiler copes with passing no objects directly.
118491 compiler_needs_object=$lt_compiler_needs_object
118493 # Create an old-style archive from a shared archive.
118494 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
118496 # Create a temporary old-style archive to link instead of a shared archive.
118497 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
118499 # Commands used to build a shared archive.
118500 archive_cmds=$lt_archive_cmds
118501 archive_expsym_cmds=$lt_archive_expsym_cmds
118503 # Commands used to build a loadable module if different from building
118504 # a shared archive.
118505 module_cmds=$lt_module_cmds
118506 module_expsym_cmds=$lt_module_expsym_cmds
118508 # Whether we are building with GNU ld or not.
118509 with_gnu_ld=$lt_with_gnu_ld
118511 # Flag that allows shared libraries with undefined symbols to be built.
118512 allow_undefined_flag=$lt_allow_undefined_flag
118514 # Flag that enforces no undefined symbols.
118515 no_undefined_flag=$lt_no_undefined_flag
118517 # Flag to hardcode \$libdir into a binary during linking.
118518 # This must work even if \$libdir does not exist
118519 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
118521 # If ld is used when linking, flag to hardcode \$libdir into a binary
118522 # during linking. This must work even if \$libdir does not exist.
118523 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
118525 # Whether we need a single "-rpath" flag with a separated argument.
118526 hardcode_libdir_separator=$lt_hardcode_libdir_separator
118528 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
118529 # DIR into the resulting binary.
118530 hardcode_direct=$hardcode_direct
118532 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
118533 # DIR into the resulting binary and the resulting library dependency is
118534 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
118535 # library is relocated.
118536 hardcode_direct_absolute=$hardcode_direct_absolute
118538 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
118539 # into the resulting binary.
118540 hardcode_minus_L=$hardcode_minus_L
118542 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
118543 # into the resulting binary.
118544 hardcode_shlibpath_var=$hardcode_shlibpath_var
118546 # Set to "yes" if building a shared library automatically hardcodes DIR
118547 # into the library and all subsequent libraries and executables linked
118548 # against it.
118549 hardcode_automatic=$hardcode_automatic
118551 # Set to yes if linker adds runtime paths of dependent libraries
118552 # to runtime path list.
118553 inherit_rpath=$inherit_rpath
118555 # Whether libtool must link a program against all its dependency libraries.
118556 link_all_deplibs=$link_all_deplibs
118558 # Fix the shell variable \$srcfile for the compiler.
118559 fix_srcfile_path=$lt_fix_srcfile_path
118561 # Set to "yes" if exported symbols are required.
118562 always_export_symbols=$always_export_symbols
118564 # The commands to list exported symbols.
118565 export_symbols_cmds=$lt_export_symbols_cmds
118567 # Symbols that should not be listed in the preloaded symbols.
118568 exclude_expsyms=$lt_exclude_expsyms
118570 # Symbols that must always be exported.
118571 include_expsyms=$lt_include_expsyms
118573 # Commands necessary for linking programs (against libraries) with templates.
118574 prelink_cmds=$lt_prelink_cmds
118576 # Specify filename containing input files.
118577 file_list_spec=$lt_file_list_spec
118579 # How to hardcode a shared library path into an executable.
118580 hardcode_action=$hardcode_action
118582 # Dependencies to place before and after the objects being linked to
118583 # create a shared library.
118584 predep_objects=$lt_predep_objects
118585 postdep_objects=$lt_postdep_objects
118586 predeps=$lt_predeps
118587 postdeps=$lt_postdeps
118589 # The library search path used internally by the compiler when linking
118590 # a shared library.
118591 compiler_lib_search_path=$lt_compiler_lib_search_path
118593 # ### END LIBTOOL CONFIG
118595 _LT_EOF
118597 case $host_os in
118598 aix3*)
118599 cat <<\_LT_EOF >> "$cfgfile"
118600 # AIX sometimes has problems with the GCC collect2 program. For some
118601 # reason, if we set the COLLECT_NAMES environment variable, the problems
118602 # vanish in a puff of smoke.
118603 if test "X${COLLECT_NAMES+set}" != Xset; then
118604 COLLECT_NAMES=
118605 export COLLECT_NAMES
118607 _LT_EOF
118612 ltmain="$ac_aux_dir/ltmain.sh"
118615 # We use sed instead of cat because bash on DJGPP gets confused if
118616 # if finds mixed CR/LF and LF-only lines. Since sed operates in
118617 # text mode, it properly converts lines to CR/LF. This bash problem
118618 # is reportedly fixed, but why not run on old versions too?
118619 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
118620 || (rm -f "$cfgfile"; exit 1)
118622 case $xsi_shell in
118624 cat << \_LT_EOF >> "$cfgfile"
118625 # func_dirname file append nondir_replacement
118626 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
118627 # otherwise set result to NONDIR_REPLACEMENT.
118628 func_dirname ()
118630 case ${1} in
118631 */*) func_dirname_result="${1%/*}${2}" ;;
118632 * ) func_dirname_result="${3}" ;;
118636 # func_basename file
118637 func_basename ()
118639 func_basename_result="${1##*/}"
118642 # func_stripname prefix suffix name
118643 # strip PREFIX and SUFFIX off of NAME.
118644 # PREFIX and SUFFIX must not contain globbing or regex special
118645 # characters, hashes, percent signs, but SUFFIX may contain a leading
118646 # dot (in which case that matches only a dot).
118647 func_stripname ()
118649 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
118650 # positional parameters, so assign one to ordinary parameter first.
118651 func_stripname_result=${3}
118652 func_stripname_result=${func_stripname_result#"${1}"}
118653 func_stripname_result=${func_stripname_result%"${2}"}
118656 # func_opt_split
118657 func_opt_split ()
118659 func_opt_split_opt=${1%%=*}
118660 func_opt_split_arg=${1#*=}
118663 # func_lo2o object
118664 func_lo2o ()
118666 case ${1} in
118667 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
118668 *) func_lo2o_result=${1} ;;
118671 _LT_EOF
118673 *) # Bourne compatible functions.
118674 cat << \_LT_EOF >> "$cfgfile"
118675 # func_dirname file append nondir_replacement
118676 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
118677 # otherwise set result to NONDIR_REPLACEMENT.
118678 func_dirname ()
118680 # Extract subdirectory from the argument.
118681 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
118682 if test "X$func_dirname_result" = "X${1}"; then
118683 func_dirname_result="${3}"
118685 func_dirname_result="$func_dirname_result${2}"
118689 # func_basename file
118690 func_basename ()
118692 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
118695 # func_stripname prefix suffix name
118696 # strip PREFIX and SUFFIX off of NAME.
118697 # PREFIX and SUFFIX must not contain globbing or regex special
118698 # characters, hashes, percent signs, but SUFFIX may contain a leading
118699 # dot (in which case that matches only a dot).
118700 # func_strip_suffix prefix name
118701 func_stripname ()
118703 case ${2} in
118704 .*) func_stripname_result=`$ECHO "X${3}" \
118705 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
118706 *) func_stripname_result=`$ECHO "X${3}" \
118707 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
118711 # sed scripts:
118712 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
118713 my_sed_long_arg='1s/^-[^=]*=//'
118715 # func_opt_split
118716 func_opt_split ()
118718 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
118719 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
118722 # func_lo2o object
118723 func_lo2o ()
118725 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
118727 _LT_EOF
118730 case $lt_shell_append in
118732 cat << \_LT_EOF >> "$cfgfile"
118734 # func_append var value
118735 # Append VALUE to the end of shell variable VAR.
118736 func_append ()
118738 eval "$1+=\$2"
118740 _LT_EOF
118743 cat << \_LT_EOF >> "$cfgfile"
118745 # func_append var value
118746 # Append VALUE to the end of shell variable VAR.
118747 func_append ()
118749 eval "$1=\$$1\$2"
118751 _LT_EOF
118756 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
118757 || (rm -f "$cfgfile"; exit 1)
118759 mv -f "$cfgfile" "$ofile" ||
118760 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
118761 chmod +x "$ofile"
118764 cat <<_LT_EOF >> "$ofile"
118766 # ### BEGIN LIBTOOL TAG CONFIG: CXX
118768 # The linker used to build libraries.
118769 LD=$lt_LD_CXX
118771 # Commands used to build an old-style archive.
118772 old_archive_cmds=$lt_old_archive_cmds_CXX
118774 # A language specific compiler.
118775 CC=$lt_compiler_CXX
118777 # Is the compiler the GNU compiler?
118778 with_gcc=$GCC_CXX
118780 # Compiler flag to turn off builtin functions.
118781 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
118783 # How to pass a linker flag through the compiler.
118784 wl=$lt_lt_prog_compiler_wl_CXX
118786 # Additional compiler flags for building library objects.
118787 pic_flag=$lt_lt_prog_compiler_pic_CXX
118789 # Compiler flag to prevent dynamic linking.
118790 link_static_flag=$lt_lt_prog_compiler_static_CXX
118792 # Does compiler simultaneously support -c and -o options?
118793 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
118795 # Whether or not to add -lc for building shared libraries.
118796 build_libtool_need_lc=$archive_cmds_need_lc_CXX
118798 # Whether or not to disallow shared libs when runtime libs are static.
118799 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
118801 # Compiler flag to allow reflexive dlopens.
118802 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
118804 # Compiler flag to generate shared objects directly from archives.
118805 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
118807 # Whether the compiler copes with passing no objects directly.
118808 compiler_needs_object=$lt_compiler_needs_object_CXX
118810 # Create an old-style archive from a shared archive.
118811 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
118813 # Create a temporary old-style archive to link instead of a shared archive.
118814 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
118816 # Commands used to build a shared archive.
118817 archive_cmds=$lt_archive_cmds_CXX
118818 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
118820 # Commands used to build a loadable module if different from building
118821 # a shared archive.
118822 module_cmds=$lt_module_cmds_CXX
118823 module_expsym_cmds=$lt_module_expsym_cmds_CXX
118825 # Whether we are building with GNU ld or not.
118826 with_gnu_ld=$lt_with_gnu_ld_CXX
118828 # Flag that allows shared libraries with undefined symbols to be built.
118829 allow_undefined_flag=$lt_allow_undefined_flag_CXX
118831 # Flag that enforces no undefined symbols.
118832 no_undefined_flag=$lt_no_undefined_flag_CXX
118834 # Flag to hardcode \$libdir into a binary during linking.
118835 # This must work even if \$libdir does not exist
118836 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
118838 # If ld is used when linking, flag to hardcode \$libdir into a binary
118839 # during linking. This must work even if \$libdir does not exist.
118840 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
118842 # Whether we need a single "-rpath" flag with a separated argument.
118843 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
118845 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
118846 # DIR into the resulting binary.
118847 hardcode_direct=$hardcode_direct_CXX
118849 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
118850 # DIR into the resulting binary and the resulting library dependency is
118851 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
118852 # library is relocated.
118853 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
118855 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
118856 # into the resulting binary.
118857 hardcode_minus_L=$hardcode_minus_L_CXX
118859 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
118860 # into the resulting binary.
118861 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
118863 # Set to "yes" if building a shared library automatically hardcodes DIR
118864 # into the library and all subsequent libraries and executables linked
118865 # against it.
118866 hardcode_automatic=$hardcode_automatic_CXX
118868 # Set to yes if linker adds runtime paths of dependent libraries
118869 # to runtime path list.
118870 inherit_rpath=$inherit_rpath_CXX
118872 # Whether libtool must link a program against all its dependency libraries.
118873 link_all_deplibs=$link_all_deplibs_CXX
118875 # Fix the shell variable \$srcfile for the compiler.
118876 fix_srcfile_path=$lt_fix_srcfile_path_CXX
118878 # Set to "yes" if exported symbols are required.
118879 always_export_symbols=$always_export_symbols_CXX
118881 # The commands to list exported symbols.
118882 export_symbols_cmds=$lt_export_symbols_cmds_CXX
118884 # Symbols that should not be listed in the preloaded symbols.
118885 exclude_expsyms=$lt_exclude_expsyms_CXX
118887 # Symbols that must always be exported.
118888 include_expsyms=$lt_include_expsyms_CXX
118890 # Commands necessary for linking programs (against libraries) with templates.
118891 prelink_cmds=$lt_prelink_cmds_CXX
118893 # Specify filename containing input files.
118894 file_list_spec=$lt_file_list_spec_CXX
118896 # How to hardcode a shared library path into an executable.
118897 hardcode_action=$hardcode_action_CXX
118899 # Dependencies to place before and after the objects being linked to
118900 # create a shared library.
118901 predep_objects=$lt_predep_objects_CXX
118902 postdep_objects=$lt_postdep_objects_CXX
118903 predeps=$lt_predeps_CXX
118904 postdeps=$lt_postdeps_CXX
118906 # The library search path used internally by the compiler when linking
118907 # a shared library.
118908 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
118910 # ### END LIBTOOL TAG CONFIG: CXX
118911 _LT_EOF
118914 default ) if test -n "$CONFIG_FILES"; then
118915 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
118916 # that multilib installs will end up installed in the correct place.
118917 # The testsuite needs it for multilib-aware ABI baseline files.
118918 # To work around this not being passed down from config-ml.in ->
118919 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
118920 # append it here. Only modify Makefiles that have just been created.
118922 # Also, get rid of this simulated-VPATH thing that automake does.
118923 cat > vpsed << \_EOF
118924 s!`test -f '$<' || echo '$(srcdir)/'`!!
118926 for i in $SUBDIRS; do
118927 case $CONFIG_FILES in
118928 *${i}/Makefile*)
118929 #echo "Adding MULTISUBDIR to $i/Makefile"
118930 sed -f vpsed $i/Makefile > tmp
118931 grep '^MULTISUBDIR =' Makefile >> tmp
118932 mv tmp $i/Makefile
118936 rm vpsed
118938 (cd include && ${MAKE-make})
118942 _ACEOF
118944 cat >>$CONFIG_STATUS <<\_ACEOF
118946 { (exit 0); exit 0; }
118947 _ACEOF
118948 chmod +x $CONFIG_STATUS
118949 ac_clean_files=$ac_clean_files_save
118952 # configure is writing to config.log, and then calls config.status.
118953 # config.status does its own redirection, appending to config.log.
118954 # Unfortunately, on DOS this fails, as config.log is still kept open
118955 # by configure, so config.status won't be able to write to it; its
118956 # output is simply discarded. So we exec the FD to /dev/null,
118957 # effectively closing config.log, so it can be properly (re)opened and
118958 # appended to by config.status. When coming back to configure, we
118959 # need to make the FD available again.
118960 if test "$no_create" != yes; then
118961 ac_cs_success=:
118962 ac_config_status_args=
118963 test "$silent" = yes &&
118964 ac_config_status_args="$ac_config_status_args --quiet"
118965 exec 5>/dev/null
118966 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
118967 exec 5>>config.log
118968 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
118969 # would make configure fail if this is the last instruction.
118970 $ac_cs_success || { (exit 1); exit 1; }